wesnoth/data/themes/editor.cfg
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

708 lines
13 KiB
INI

[theme]
name=null
[resolution]
width=1
height=1
[/resolution]
[/theme]
[theme]
name=editor
#textdomain wesnoth-editor
#ifdef APPLE
[hotkey]
command="zoomin"
key="+"
cmd=no
alt=no
shift=no
[/hotkey]
[hotkey]
command="undo"
key="u"
cmd=no
alt=no
shift=no
[/hotkey]
[hotkey]
command="redo"
key="r"
cmd=no
alt=no
shift=no
[/hotkey]
[hotkey]
command="zoomout"
key="-"
cmd=no
alt=no
shift=no
[/hotkey]
[hotkey]
command="zoomdefault"
key="0"
cmd=no
alt=no
shift=no
[/hotkey]
[hotkey]
command="togglegrid"
key="g"
cmd=yes
alt=no
shift=no
[/hotkey]
[hotkey]
command="mousescroll"
key="l"
cmd=yes
alt=no
shift=no
[/hotkey]
[hotkey]
command="editsavemap"
key="s"
cmd=yes
alt=no
shift=no
[/hotkey]
[hotkey]
command="editsaveas"
key="s"
cmd=yes
alt=yes
shift=no
[/hotkey]
[hotkey]
command="editquit"
key="q"
cmd=yes
alt=no
shift=no
[/hotkey]
[hotkey]
command="editsetstartpos"
key="t"
cmd=no
alt=no
shift=no
[/hotkey]
[hotkey]
command="editnewmap"
key="n"
cmd=yes
alt=no
shift=no
[/hotkey]
[hotkey]
command="editloadmap"
key="l"
cmd=yes
alt=no
shift=no
[/hotkey]
[hotkey]
command="editfloodfill"
key="f"
cmd=no
alt=no
shift=no
[/hotkey]
[hotkey]
command="editfillselection"
key="f"
cmd=no
alt=yes
shift=no
[/hotkey]
[hotkey]
command="editrotateselection"
key="r"
cmd=no
alt=no
shift=yes
[/hotkey]
[hotkey]
command="editcut"
key="x"
cmd=yes
alt=no
shift=no
[/hotkey]
[hotkey]
command="editcopy"
key="c"
cmd=yes
alt=no
shift=no
[/hotkey]
[hotkey]
command="editpaste"
key="v"
cmd=yes
alt=no
shift=no
[/hotkey]
[hotkey]
command="editrevert"
key="r"
cmd=yes
alt=no
shift=no
[/hotkey]
[hotkey]
command="preferences"
key="p"
cmd=yes
alt=no
shift=no
[/hotkey]
[hotkey]
command="editresize"
key="r"
cmd=yes
alt=yes
shift=no
[/hotkey]
[hotkey]
command="fullscreen"
key="f"
cmd=yes
alt=no
shift=no
[/hotkey]
[hotkey]
command="editselectall"
key="a"
cmd=yes
alt=no
shift=no
[/hotkey]
[hotkey]
command="editflip"
key="f"
cmd=yes
alt=yes
shift=no
[/hotkey]
[hotkey]
command="editdraw"
key="d"
cmd=yes
alt=no
shift=no
[/hotkey]
[hotkey]
command="editrefresh"
key="e"
cmd=yes
alt=no
shift=no
[/hotkey]
[hotkey]
command="editupdate"
key="b"
cmd=no
alt=no
shift=no
[/hotkey]
[hotkey]
command="editautoupdate"
key="t"
cmd=yes
alt=no
shift=no
[/hotkey]
[hotkey]
command="changelanguage"
key="l"
cmd=no
alt=yes
shift=no
[/hotkey]
#else
[hotkey]
command="zoomin"
key="+"
ctrl=no
alt=no
shift=no
[/hotkey]
[hotkey]
command="undo"
key="u"
ctrl=no
alt=no
shift=no
[/hotkey]
[hotkey]
command="redo"
key="r"
ctrl=no
alt=no
shift=no
[/hotkey]
[hotkey]
command="zoomout"
key="-"
ctrl=no
alt=no
shift=no
[/hotkey]
[hotkey]
command="zoomdefault"
key="0"
ctrl=no
alt=no
shift=no
[/hotkey]
[hotkey]
command="togglegrid"
key="g"
ctrl=yes
alt=no
shift=no
[/hotkey]
[hotkey]
command="mousescroll"
key="l"
ctrl=yes
alt=no
shift=no
[/hotkey]
[hotkey]
command="editsavemap"
key="s"
ctrl=yes
alt=no
shift=no
[/hotkey]
[hotkey]
command="editsaveas"
key="s"
ctrl=yes
alt=yes
shift=no
[/hotkey]
[hotkey]
command="editquit"
key="q"
ctrl=yes
alt=no
shift=no
[/hotkey]
[hotkey]
command="editsetstartpos"
key="t"
ctrl=no
alt=no
shift=no
[/hotkey]
[hotkey]
command="editnewmap"
key="n"
ctrl=yes
alt=no
shift=no
[/hotkey]
[hotkey]
command="editloadmap"
key="l"
ctrl=yes
alt=no
shift=no
[/hotkey]
[hotkey]
command="editfloodfill"
key="f"
ctrl=no
alt=no
shift=no
[/hotkey]
[hotkey]
command="editfillselection"
key="f"
ctrl=no
alt=yes
shift=no
[/hotkey]
[hotkey]
command="editrotateselection"
key="r"
ctrl=no
alt=no
shift=yes
[/hotkey]
[hotkey]
command="editcut"
key="x"
ctrl=yes
alt=no
shift=no
[/hotkey]
[hotkey]
command="editcopy"
key="c"
ctrl=yes
alt=no
shift=no
[/hotkey]
[hotkey]
command="editpaste"
key="v"
ctrl=yes
alt=no
shift=no
[/hotkey]
[hotkey]
command="editrevert"
key="r"
ctrl=yes
alt=no
shift=no
[/hotkey]
[hotkey]
command="preferences"
key="p"
ctrl=yes
alt=no
shift=no
[/hotkey]
[hotkey]
command="editresize"
key="r"
ctrl=yes
alt=yes
shift=no
[/hotkey]
[hotkey]
command="fullscreen"
key="f"
ctrl=yes
alt=no
shift=no
[/hotkey]
[hotkey]
command="editselectall"
key="a"
ctrl=yes
alt=no
shift=no
[/hotkey]
[hotkey]
command="editflip"
key="f"
ctrl=yes
alt=yes
shift=no
[/hotkey]
[hotkey]
command="editdraw"
key="d"
ctrl=yes
alt=no
shift=no
[/hotkey]
[hotkey]
command="editrefresh"
key="e"
ctrl=yes
alt=no
shift=no
[/hotkey]
[hotkey]
command="editupdate"
key="b"
ctrl=no
alt=no
shift=no
[/hotkey]
[hotkey]
command="editautoupdate"
key="t"
ctrl=yes
alt=no
shift=no
[/hotkey]
[hotkey]
command="changelanguage"
key="l"
ctrl=no
alt=yes
shift=no
[/hotkey]
#endif
[resolution]
width=800
height=600
[main_map]
rect=0,26,882,768
xanchor=left
yanchor=top
[/main_map]
[main_map_border]
border_size = 0.5
background_image = "terrain/off-map/background.png"
# this image is processed by the terrain matching code so should be
# in the terrains directory and should ommit the 'terrain/' prefix
# and the '.png' suffix
tile_image = "off-map/alpha"
corner_image_top_left = "terrain/off-map/fade_corner_top_left.png"
corner_image_bottom_left = "terrain/off-map/fade_corner_bottom_left.png"
# odd means the corner is on a tile with an odd x value,
# the tile is the ingame tile not the odd in C++
corner_image_top_right_odd = "terrain/off-map/fade_corner_top_right_odd.png"
corner_image_top_right_even = "terrain/off-map/fade_corner_top_right_even.png"
corner_image_bottom_right_odd = "terrain/off-map/fade_corner_bottom_right_odd.png"
corner_image_bottom_right_even = "terrain/off-map/fade_corner_bottom_right_even.png"
border_image_left = "terrain/off-map/fade_border_left.png"
border_image_right = "terrain/off-map/fade_border_right.png"
border_image_top_odd = "terrain/off-map/fade_border_top_odd.png"
border_image_top_even = "terrain/off-map/fade_border_top_even.png"
border_image_bottom_odd = "terrain/off-map/fade_border_bottom_odd.png"
border_image_bottom_even = "terrain/off-map/fade_border_bottom_even.png"
[/main_map_border]
[menu]
title=_"File"
image=lite
items=editnewmap,editloadmap,editsaveas,editsavemap,editrevert,editquit
rect=3,1,103,22
xanchor=fixed
yanchor=fixed
[/menu]
[menu]
title=_"Edit"
image=lite
items=undo,redo,editcut,editcopy,editpaste,editselectall,editfillselection,editrotateselection,editresize,editflip,editrefresh,editupdate,
rect=107,1,207,22
[/menu]
[menu]
title=_"Settings"
image=lite
items=changelanguage,preferences,editautoupdate
rect=211,1,311,22
[/menu]
# The toolbar.
[menu]
image=draw_button_editor
items=editdraw
rect=913,229,937,254
xanchor=right
yanchor=fixed
[/menu]
[menu]
image=flood_button_editor
items=editfloodfill
rect=945,229,969,254
xanchor=right
yanchor=fixed
[/menu]
[menu]
image=start_position_button_editor
items=editsetstartpos
rect=977,229,1001,254
xanchor=right
yanchor=fixed
[/menu]
[menu]
image=resize_button_editor
items=editresize
rect=913,264,937,288
xanchor=right
yachnor=fixed
[/menu]
[menu]
image=flip_map_button_editor
items=editflip
rect=945,264,969,288
xanchor=right
yachnor=fixed
[/menu]
[menu]
image=undo_button_editor
items=undo
rect=957,304,981,328
xanchor=right
yachnor=fixed
[/menu]
[menu]
image=redo_button_editor
items=redo
rect=985,304,1009,328
xanchor=right
yachnor=fixed
[/menu]
[menu]
image=toggle_grid_button_editor
items=togglegrid
rect=977,264,1001,288
xanchor=right
yachnor=fixed
[/menu]
[menu]
image=zoom_in_button_editor
items=zoomin
rect=900,304,924,328
xanchor=right
yachnor=fixed
[/menu]
[menu]
image=zoom_out_button_editor
items=zoomout
rect=928,304,952,328
xanchor=right
yanchor=fixed
[/menu]
# top panel
[panel]
image=misc/top-bg.png
rect=0,0,1024,26
xanchor=top
yanchor=fixed
[/panel]
[panel]
image=misc/rightside-bg.png
rect=882,359,1024,722
xanchor=right
yanchor=top
[/panel]
[panel]
image=misc/rightside-bottom.png
rect=882,722,1024,768
xanchor=right
yanchor=bottom
[/panel]
[panel]
image=misc/rightside-editor.png
rect=882,25,1024,359
xanchor=right
yanchor=fixed
[/panel]
[mini_map]
rect=892,32,1017,175
xanchor=right
yanchor=fixed
[/mini_map]
[status]
[terrain]
font_size=12
rect=820,4,920,20
xanchor=proportional
yanchor=fixed
[/terrain]
[position]
font_size=12
rect=925,4,1020,20
xanchor=proportional
yanchor=fixed
[/position]
[edit_left_button_function]
font_size=10
rect=900,330,1024,345
xanchor=right
yanchor=fixed
[/edit_left_button_function]
[selected_terrain]
font_size=10
rect=890,730,1024,20
xanchor=right
yanchor=bottom
[/selected_terrain]
[/status]
[/resolution]
[/theme]