Commit graph

63 commits

Author SHA1 Message Date
Eric S. Raymond
a8cee73c12 Enrich the editor theme markup for hotkeys by adding a description= attribute.
A new script, data/tools/extractbindings, uses this to automatically
generate an up-to-date list of editor keybindings in a form suitable
for the wiki.
2008-02-29 21:11:35 +00:00
Nils Kneuper
4a8f987c2c add border fade-out to the editor
code changes by mordante, gimp-magic/theming by me
2008-02-24 14:06:37 +00:00
Nils Kneuper
b987cc7835 fixed a problem with the background not scaling correctly 2008-02-17 16:53:41 +00:00
Nils Kneuper
4ec550135a change editor theme to work in 800x600, too
move minimap to the topright to increase space for the terrain list

decrease center button area to increase available space for terrain list

comment out unused/broken items in the editor theme

add TODO markers for enhancement of themeability for the editor
2008-02-17 16:38:40 +00:00
Eric S. Raymond
aba249cf83 Move all #textdomain declarations to line 1 at Ivanovic's request. 2008-02-05 21:56:35 +00:00
Eric S. Raymond
b1b2435d40 Reindent the mainline content to uniiform whitespace. 2008-01-24 00:16:42 +00:00
Eric S. Raymond
d41da3537c Fix some paths in the editor theme. 2007-11-29 23:29:19 +00:00
John W. C. McNabb
500eb327a3 added village count to editor 2007-11-29 22:11:14 +00:00
Eric S. Raymond
35245ba904 Move the themes images again,
this time to where the binary_paths code reliably finds them.
2007-11-26 23:43:13 +00:00
Eric S. Raymond
15f26e42be Move theme images to their own directory.
This makes cleaner reporting of  unused images possible.
2007-11-26 03:29:38 +00:00
Ali El Gariani
a67bc242bf New "rotate selection" feature for the editor (very old FR, bug #3870)
- Use the cursor as center of rotation, if not on map then use "center of mass"

- Use hotkey shift+r, as Gimp. (ctrl+r is reserved by recruit, old hotkey bug)

- copy/paste instead of moving, not sure about that but seems more
useful (if wanted you can overwrite on the current selection and then
cut/paste) Because the main use is probably to help create map like
Hexcake, but rotate after a select-all allow to rotate the whole map
(with cropping of corners)
2007-09-22 00:12:41 +00:00
Mark de Wever
60bb1b1b71 Made the offmap tiles themable in the map, the minimap stays as is. 2007-08-12 14:22:41 +00:00
Mark de Wever
2f750bb152 Renamed some images and fixed their references.
Also fixed a small bug in the top border, always using the same images
instead of alternating.
2007-08-11 14:08:03 +00:00
Mark de Wever
246f65b846 Made the border themable.
Still doesn't work in the editor, also the
0.5 hex border is still assumed at some places.
2007-08-11 13:27:36 +00:00
Eric S. Raymond
08c6876453 Almost all WML files are now uniformly indented.
There are a few exceptions that need further work or careful
examination; UtBS, the tutorial, and the terrain macros.
2007-06-29 10:36:10 +00:00
Ali El Gariani
67169e261a For pseudo bug #9104
(Zoom hotkeys not working in editor, also no option for standard zoom)

Use the same default keys for zoom (+,-,0) as the game.
For some reason you need to install to activate this change.
2007-05-10 18:28:27 +00:00
Ali El Gariani
a559247f43 Add 2 commands in the editor:
"update transitions"(key b) and "delay transitions update" (key ctrl+t)
2007-04-24 19:56:24 +00:00
Mark de Wever
f126c2cc9e added the paste option to the edit menu 2007-02-10 11:31:20 +00:00
Patrick Parker
0158294883 as requested by Soliton,
use kotkey ctrl+l to toggle the mouse scrolling preference

renamed disable mouse scroll to prevent double-negative logic (disable(false))
2006-06-08 01:14:52 +00:00
Gunter Labes
488e861307 more line ending clean-ups 2006-06-06 00:05:03 +00:00
András Salamon
80dff6f996 whitespace tidy (checked with diff -b) 2005-12-05 09:53:34 +00:00
Bram Ridder
5a0808d073 Editor works once more 2005-11-24 18:46:22 +00:00
Bram Ridder
678863e7a3 Fixed small bug, the rectangle coordinates of the selection menu were corrupt.
This prevented the editor from starting up.
2005-11-15 23:39:03 +00:00
Bram Ridder
4a03b49aed Partial fix for bug #3948.
The only strings not translated after the user changes the language,
are the menu buttons (File, Edit, Settings). A new menu button,
'settings' is added. Users can access the preferences and change
language dialog from here.
2005-11-14 14:37:51 +00:00
Bram Ridder
34c984bf25 First attempt to fix bug #11966,
it is now possible to change the language in the editor by pressing
alt-l. The only problem are the menu buttons, they will only show the
right language after a restart. I'm not sure if it'll be fixed before
the 1.0 release...propably not.
2005-09-17 14:01:49 +00:00
Bram Ridder
8113e295ec Fixed the shotkey bug under apple computers 2005-07-20 06:51:01 +00:00
Bram Ridder
a65cfed035 Hotkeys should work under Mac OS X, plz test 2005-07-20 05:27:34 +00:00
Bram Ridder
fcfb96201f Cropped the buttons together 2005-07-17 14:03:26 +00:00
Bram Ridder
cd699e2a69 Fixed a bug which causes the toolbar buttons to fall outside the screen...
...at lower resolutions.
2005-07-16 07:38:58 +00:00
Bram Ridder
b332fa9869 Editor hotkeys now work under Mac OS X 2005-07-15 10:24:02 +00:00
Hogne Håskjold
867d0a72d6 New toolbar icons 2005-07-14 22:06:08 +00:00
Bram Ridder
119e2702d3 Tweaked the toolbar layout a little bit 2005-07-13 05:43:52 +00:00
Bram Ridder
a59bde7da9 Created a toolbar under the mini map.
The buttons with labels have been replaced by buttons with icons. The
art needs to be redone, obviously, but the current images work for
now...
2005-07-13 00:27:57 +00:00
András Salamon
a298ea548f actually update button text 2005-07-05 20:22:43 +00:00
Bram Ridder
915ffc2b01 The previous contained a WIP on bug #11969 2005-07-05 10:43:27 +00:00
Bram Ridder
8726ea7e61 Fixes bug #11965
and makes the pallette 3-wide in stead of 2-wide (see also patch #4144)
2005-07-05 10:14:50 +00:00
Philippe Plantier
ba195ecd8a [[Attack some problems with data serialization in saves]]
* Made serialized data be saved as untranslated. To achieve this, added the
  t_string class, which encapsulates a translatable string.

* Completely rewrote the (text) WML parser, making it use a tokenizer / parser
  architecture. The parser is now much more strict and validates a WML grammar.

  - Change to the WML syntax: pluses are now ignored, spaces are now forbidden
    in WML keys

* Rewrote the way the variables are interpolated. There is no more default
  interpolation, however, the vconfig class was added, which provides a
  variable-interpolating proxy to config objects.

* There is still an important known bug: this is impossible to load textmode
  save games now, because the statistics module saves some WML with spaces in
  keys, which the parser refuses. I am commiting anyway to respect the string
  freeze; the fix for this bug will come tomorrow

Hoping I do not break everything...
2005-03-27 23:06:17 +00:00
Jon Daniel
c4436e2fa9 Added refresh image cache hotkey and menu entry to the editor 2005-03-05 19:03:56 +00:00
Guillaume Melquiond
a976231401 Putting the textdomain outside a block breaks almost all the translations...
...of the game. Putting it inside the theme will solve the problem with
the editor menu, but only once this file has been switched to the
wesnoth-editor domain, gettext-wise. In the meantime it won't solve
anything, but at least it shouldn't make the game untranslated.
2005-02-11 23:45:07 +00:00
Jon Daniel
ac806bcfec fix typo 2005-02-09 19:22:34 +00:00
Jon Daniel
9029d68081 Fixed editor theme
so generated buttons aren't translated by adding textdomain=wesnoth-editor
2005-02-09 15:53:42 +00:00
Yann Dirson
0219dcc6fb fixed install and dist target in po/ 2004-09-02 22:25:07 +00:00
Jordà Polo
f6e026b8ff editor theme fixed 2004-07-01 22:21:00 +00:00
Kristoffer Erlandsson
6cc26aa22c A square is now drawn around the currently selected function...
...for the left mouse button.

Fixed a problem where the selected terrain and brush size was not
remembered through operations that affected the whole map, such as
flip and resize.
2004-05-31 20:41:57 +00:00
Kristoffer Erlandsson
0a85b60fe1 Added Turin's new brush-pictures.
Changed the menu names to file and edit.

Changed the color to magenta when the same terrain is selected as both
foreground and background.
2004-05-31 17:21:50 +00:00
Kristoffer Erlandsson
23d62b4e06 Restructured the Editor UI:
Two terrains may now be selected in the palette, one is used for
filling when moving selections and cutting/pasting and will be used
when drawing with the right button.

The context menu is removed, instead the function of the left button
is chosen in the right panel and operations that do not need a
location to work is chosen from an additional menu.
2004-05-30 22:17:42 +00:00
Kristoffer Erlandsson
c179b12c44 Cleaned up the editor theme. 2004-05-24 19:41:09 +00:00
Kristoffer Erlandsson
3ee1fbff42 'Select all' operation added. 2004-05-20 17:43:11 +00:00
Kristoffer Erlandsson
61a548307b Flip operation added. 2004-05-19 23:55:55 +00:00
Kristoffer Erlandsson
9ce185a2f0 Added the ability to resize the map. 2004-05-11 20:03:02 +00:00