mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-18 16:46:04 +00:00
Hotkeys, panels and context menu added. Menus extended.
This commit is contained in:
parent
37e3f78146
commit
84b148ae76
@ -10,6 +10,86 @@ height=1
|
||||
[theme]
|
||||
name=editor
|
||||
|
||||
[hotkey]
|
||||
command="zoomin"
|
||||
key="z"
|
||||
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="x"
|
||||
ctrl=no
|
||||
alt=no
|
||||
shift=no
|
||||
[/hotkey]
|
||||
|
||||
[hotkey]
|
||||
command="zoomdefault"
|
||||
key="d"
|
||||
ctrl=no
|
||||
alt=no
|
||||
shift=no
|
||||
[/hotkey]
|
||||
|
||||
[hotkey]
|
||||
command="togglegrid"
|
||||
key="g"
|
||||
ctrl=yes
|
||||
alt=no
|
||||
shift=no
|
||||
[/hotkey]
|
||||
|
||||
[hotkey]
|
||||
command="editsavemap"
|
||||
key="s"
|
||||
ctrl=no
|
||||
alt=no
|
||||
shift=no
|
||||
[/hotkey]
|
||||
|
||||
[hotkey]
|
||||
command="editsaveas"
|
||||
key="s"
|
||||
ctrl=no
|
||||
alt=yes
|
||||
shift=no
|
||||
[/hotkey]
|
||||
|
||||
[hotkey]
|
||||
command="editquit"
|
||||
key="q"
|
||||
ctrl=no
|
||||
alt=no
|
||||
shift=no
|
||||
[/hotkey]
|
||||
|
||||
[hotkey]
|
||||
command="editsetstartpos"
|
||||
key="t"
|
||||
ctrl=no
|
||||
alt=no
|
||||
shift=no
|
||||
[/hotkey]
|
||||
|
||||
[resolution]
|
||||
width=800
|
||||
height=600
|
||||
@ -23,24 +103,16 @@ height=600
|
||||
[menu]
|
||||
title=main_menu
|
||||
image=lite
|
||||
items=save,quit
|
||||
items=undo,redo,editsavemap,togglegrid,editquit,#editsaveas
|
||||
rect=3,1,107,22
|
||||
xanchor=fixed
|
||||
yanchor=fixed
|
||||
[/menu]
|
||||
|
||||
#[menu]
|
||||
#title=game_menu
|
||||
#image=lite
|
||||
#items=undo,redo,save,preferences,quit
|
||||
#rect=110,1,215,22
|
||||
#xanchor=fixed
|
||||
#yanchor=fixed
|
||||
|
||||
# [menu]
|
||||
# is_context_menu=true
|
||||
# items=undo,redo,cycle,describeunit,speak,recruit,recall,createunit,renameunit,labelterrain,showenemymoves,bestenemymoves,endturn
|
||||
# [/menu]
|
||||
[menu]
|
||||
is_context_menu=true
|
||||
items=undo,redo,togglegrid,editsetstartpos
|
||||
[/menu]
|
||||
|
||||
# top panel
|
||||
[panel]
|
||||
@ -49,289 +121,33 @@ height=600
|
||||
xanchor=top
|
||||
yanchor=fixed
|
||||
[/panel]
|
||||
#[menu]
|
||||
#title=action_preferences
|
||||
#items=preferences
|
||||
#rect=5,1
|
||||
#xanchor=left
|
||||
#yanchor=top
|
||||
#[/menu]
|
||||
|
||||
# # rightside panel
|
||||
# [panel]
|
||||
# image=misc/rightside.png
|
||||
# rect=887,24,1024,284
|
||||
# xanchor=right
|
||||
# yanchor=fixed
|
||||
# [/panel]
|
||||
[panel]
|
||||
image=misc/rightside-bg.png
|
||||
rect=887,284,1024,768
|
||||
xanchor=right
|
||||
yanchor=top
|
||||
[/panel]
|
||||
|
||||
[panel]
|
||||
image=misc/rightside-bottom.png
|
||||
rect=887,713,0,768
|
||||
xanchor=right
|
||||
yanchor=bottom
|
||||
[/panel]
|
||||
|
||||
[panel]
|
||||
image=misc/rightside-editor.png
|
||||
rect=887,24,1024,284
|
||||
xanchor=right
|
||||
yanchor=fixed
|
||||
[/panel]
|
||||
|
||||
[mini_map]
|
||||
rect=900,32,1016,177
|
||||
xanchor=right
|
||||
yanchor=fixed
|
||||
[/mini_map]
|
||||
# [panel]
|
||||
# image=misc/rightside-bg.png
|
||||
# rect=887,284,1024,768
|
||||
# xanchor=right
|
||||
# yanchor=top
|
||||
# [/panel]
|
||||
# [panel]
|
||||
# image=misc/rightside-bottom.png
|
||||
# rect=887,713,0,768
|
||||
# xanchor=right
|
||||
# yanchor=bottom
|
||||
# [/panel]
|
||||
|
||||
# [menu]
|
||||
# title=action_endturn
|
||||
# items=endturn
|
||||
# rect=904,736
|
||||
# xanchor=right
|
||||
# yanchor=bottom
|
||||
# [/menu]
|
||||
|
||||
# [panel]
|
||||
# image=misc/status-bg.png
|
||||
# rect=175,2,280,21
|
||||
# xanchor=proportional
|
||||
# yanchor=fixed
|
||||
# [/panel]
|
||||
# [panel]
|
||||
# image=misc/status-bg.png
|
||||
# rect=285,2,390,21
|
||||
# xanchor=proportional
|
||||
# yanchor=fixed
|
||||
# [/panel]
|
||||
# [panel]
|
||||
# image=misc/status-bg.png
|
||||
# rect=395,2,495,21
|
||||
# xanchor=proportional
|
||||
# yanchor=fixed
|
||||
# [/panel]
|
||||
# [panel]
|
||||
# image=misc/status-bg.png
|
||||
# rect=500,2,600,21
|
||||
# xanchor=proportional
|
||||
# yanchor=fixed
|
||||
# [/panel]
|
||||
# [panel]
|
||||
# image=misc/status-bg.png
|
||||
# rect=605,2,705,21
|
||||
# xanchor=proportional
|
||||
# yanchor=fixed
|
||||
# [/panel]
|
||||
# [panel]
|
||||
# image=misc/status-bg.png
|
||||
# rect=710,2,810,21
|
||||
# xanchor=proportional
|
||||
# yanchor=fixed
|
||||
# [/panel]
|
||||
|
||||
# # gold icon
|
||||
# [label]
|
||||
# icon=misc/gold.png
|
||||
# text=gold
|
||||
# rect=290,3,306,19
|
||||
# xanchor=proportional
|
||||
# yanchor=fixed
|
||||
# [/label]
|
||||
# # villages icon
|
||||
# [label]
|
||||
# icon=misc/villages.png
|
||||
# text=villages
|
||||
# rect=400,3,416,19
|
||||
# xanchor=proportional
|
||||
# yanchor=fixed
|
||||
# [/label]
|
||||
# # units icon
|
||||
# [label]
|
||||
# icon=misc/units.png
|
||||
# text=units
|
||||
# rect=505,3,521,19
|
||||
# xanchor=proportional
|
||||
# yanchor=fixed
|
||||
# [/label]
|
||||
# # upkeep icon
|
||||
# [label]
|
||||
# icon=misc/upkeep.png
|
||||
# text=upkeep
|
||||
# rect=610,3,642,19
|
||||
# xanchor=proportional
|
||||
# yanchor=fixed
|
||||
# [/label]
|
||||
# # income icon
|
||||
# [label]
|
||||
# icon=misc/income.png
|
||||
# text=income
|
||||
# rect=715,3,747,19
|
||||
# xanchor=proportional
|
||||
# yanchor=fixed
|
||||
# [/label]
|
||||
|
||||
# [status]
|
||||
# # the time of day image
|
||||
# [time_of_day]
|
||||
# rect=900,185,1017,225
|
||||
# xanchor=right
|
||||
# yanchor=fixed
|
||||
# [/time_of_day]
|
||||
|
||||
# [observers]
|
||||
# font_size=12
|
||||
# rect=156,4,172,20
|
||||
# xanchor=proportional
|
||||
# yanchor=fixed
|
||||
# [/observers]
|
||||
|
||||
# #put the side playing indicator next to the turn indicator
|
||||
# [side_playing]
|
||||
# rect=178,4,193,20
|
||||
# xanchor=proportional
|
||||
# yanchor=fixed
|
||||
# [/side_playing]
|
||||
|
||||
# # the game status
|
||||
# [turn]
|
||||
# font_size=12
|
||||
# rect=200,4,275,20
|
||||
# xanchor=proportional
|
||||
# yanchor=fixed
|
||||
# prefix=
|
||||
# prefix_literal=""
|
||||
# [/turn]
|
||||
# [gold]
|
||||
# font_size=12
|
||||
# rect=310,4,385,20
|
||||
# xanchor=proportional
|
||||
# yanchor=fixed
|
||||
# prefix=
|
||||
# prefix_literal=""
|
||||
# [/gold]
|
||||
# [villages]
|
||||
# font_size=12
|
||||
# rect=420,4,490,20
|
||||
# xanchor=proportional
|
||||
# yanchor=fixed
|
||||
# prefix=
|
||||
# prefix_literal=""
|
||||
# [/villages]
|
||||
# [num_units]
|
||||
# font_size=12
|
||||
# rect=525,4,595,20
|
||||
# xanchor=proportional
|
||||
# yanchor=fixed
|
||||
# prefix=
|
||||
# prefix_literal=""
|
||||
# [/num_units]
|
||||
# [upkeep]
|
||||
# font_size=12
|
||||
# rect=647,4,700,20
|
||||
# xanchor=proportional
|
||||
# yanchor=fixed
|
||||
# prefix=
|
||||
# prefix_literal=""
|
||||
# [/upkeep]
|
||||
# [income]
|
||||
# font_size=12
|
||||
# rect=752,4,805,20
|
||||
# xanchor=proportional
|
||||
# yanchor=fixed
|
||||
# prefix=
|
||||
# prefix_literal=""
|
||||
# [/income]
|
||||
# [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]
|
||||
|
||||
# #unit stats here
|
||||
# [unit_image]
|
||||
# rect=900,235,946,283
|
||||
# xanchor=right
|
||||
# yanchor=fixed
|
||||
# [/unit_image]
|
||||
# [unit_description]
|
||||
# font_size=14
|
||||
# rect=900,290,1020,308
|
||||
# xanchor=right
|
||||
# yanchor=fixed
|
||||
# [/unit_description]
|
||||
# [unit_type]
|
||||
# font_size=12
|
||||
# rect=900,308,1020,324
|
||||
# xanchor=right
|
||||
# yanchor=fixed
|
||||
# [/unit_type]
|
||||
# [unit_level]
|
||||
# font_size=12
|
||||
# rect=900,324,1020,340
|
||||
# prefix=level
|
||||
# prefix_literal=" "
|
||||
# xanchor=right
|
||||
# yanchor=fixed
|
||||
# [/unit_level]
|
||||
# [unit_alignment]
|
||||
# font_size=12
|
||||
# rect=900,340,1020,356
|
||||
# xanchor=right
|
||||
# yanchor=fixed
|
||||
# [/unit_alignment]
|
||||
# [unit_traits]
|
||||
# font_size=12
|
||||
# rect=900,356,1020,372
|
||||
# xanchor=right
|
||||
# yanchor=fixed
|
||||
# [/unit_traits]
|
||||
# [unit_abilities]
|
||||
# font_size=12
|
||||
# rect=900,372,1020,388
|
||||
# xanchor=right
|
||||
# yanchor=fixed
|
||||
# [/unit_abilities]
|
||||
# [unit_status]
|
||||
# font_size=12
|
||||
# rect=958,241,1008,291
|
||||
# xanchor=right
|
||||
# yanchor=fixed
|
||||
# [/unit_status]
|
||||
# [unit_moves]
|
||||
# font_size=12
|
||||
# rect=900,404,1020,420
|
||||
# prefix=movement
|
||||
# prefix_literal=": "
|
||||
# xanchor=right
|
||||
# yanchor=fixed
|
||||
# [/unit_moves]
|
||||
# [unit_hp]
|
||||
# font_size=12
|
||||
# rect=900,420,1020,436
|
||||
# prefix=hp
|
||||
# prefix_literal=": "
|
||||
# xanchor=right
|
||||
# yanchor=fixed
|
||||
# [/unit_hp]
|
||||
# [unit_xp]
|
||||
# font_size=12
|
||||
# rect=900,436,1020,452
|
||||
# prefix=xp
|
||||
# prefix_literal=": "
|
||||
# xanchor=right
|
||||
# yanchor=fixed
|
||||
# [/unit_xp]
|
||||
# [unit_weapons]
|
||||
# font_size=12
|
||||
# rect=900,452,1020,680
|
||||
# xanchor=right
|
||||
# yanchor=fixed
|
||||
# [/unit_weapons]
|
||||
# [/status]
|
||||
[/resolution]
|
||||
[/theme]
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user