Theme WML cleanup inspired by a wmlindent pass
Mostly comments and indentation only.
This commit is contained in:
parent
4c39592471
commit
b8ce752221
1 changed files with 88 additions and 98 deletions
|
@ -50,7 +50,7 @@
|
|||
{MAIN_MAP_BORDER}
|
||||
|
||||
# rightside panel
|
||||
|
||||
|
||||
[panel]
|
||||
id=sidebar-panel
|
||||
image=themes/editor/classic/sidebar.png
|
||||
|
@ -61,7 +61,7 @@
|
|||
|
||||
[panel]
|
||||
id=minimap-panel
|
||||
# ref=terrain-description-box-botleft
|
||||
#ref=terrain-description-box-botleft
|
||||
image=themes/classic/minimap.png
|
||||
rect="=+3,=+6,+181,+214"
|
||||
xanchor=right
|
||||
|
@ -69,15 +69,15 @@
|
|||
[/panel]
|
||||
|
||||
{STATUS_BOX =+4 +25 +165 +15 terrain-info minimap-panel right fixed}
|
||||
# [label]
|
||||
# id=terrain-icon
|
||||
# icon=icons/terrain/terrain_type_info.png
|
||||
# text= _ "terrain"
|
||||
# ref=terrain-info-box-center
|
||||
# rect="=-1,=-1,+20,+16"
|
||||
# xanchor=right
|
||||
# yanchor=fixed
|
||||
# [/label]
|
||||
#[label]
|
||||
# id=terrain-icon
|
||||
# icon=icons/terrain/terrain_type_info.png
|
||||
# text= _ "terrain"
|
||||
# ref=terrain-info-box-center
|
||||
# rect="=-1,=-1,+20,+16"
|
||||
# xanchor=right
|
||||
# yanchor=fixed
|
||||
#[/label]
|
||||
{STATUS_BOX =+0 -2 +165 +15 terrain-description terrain-info-box-botleft right fixed}
|
||||
[terrain]
|
||||
id=terrain-description
|
||||
|
@ -89,7 +89,7 @@
|
|||
|
||||
{STATUS_BOX =+3 +3 +122 +36 tod terrain-description-box-botleft right fixed}
|
||||
|
||||
{STATUS_BOX =+0 +5 +72 +72 unit tod-box-botleft right fixed}
|
||||
{STATUS_BOX =+0 +5 +72 +72 unit tod-box-botleft right fixed}
|
||||
|
||||
[menu]
|
||||
id=menu-main
|
||||
|
@ -254,7 +254,6 @@
|
|||
yanchor=fixed
|
||||
[/label]
|
||||
|
||||
|
||||
[label]
|
||||
id=gold-icon
|
||||
icon=themes/gold.png
|
||||
|
@ -302,7 +301,6 @@
|
|||
[/label]
|
||||
|
||||
[status]
|
||||
|
||||
[zoom_level]
|
||||
id=zoom-level
|
||||
ref=map-zoom-slider
|
||||
|
@ -337,7 +335,6 @@
|
|||
yanchor=fixed
|
||||
[/terrain]
|
||||
|
||||
|
||||
# the time of day image
|
||||
[time_of_day]
|
||||
id=image-tod
|
||||
|
@ -452,7 +449,7 @@
|
|||
xanchor=left
|
||||
yanchor=fixed
|
||||
[/panel]
|
||||
|
||||
|
||||
[observers]
|
||||
id=observers
|
||||
font_size={DEFAULT_FONT_SMALL}
|
||||
|
@ -493,14 +490,14 @@
|
|||
xanchor=right
|
||||
yanchor=fixed
|
||||
[/unit_level]
|
||||
# [unit_race]
|
||||
# id=unit-race
|
||||
# font_size={DEFAULT_FONT_SMALL}
|
||||
# rect="=,+0,=,+16"
|
||||
# prefix= " "
|
||||
# xanchor=right
|
||||
# yanchor=fixed
|
||||
# [/unit_race]
|
||||
#[unit_race]
|
||||
# id=unit-race
|
||||
# font_size={DEFAULT_FONT_SMALL}
|
||||
# rect="=,+0,=,+16"
|
||||
# prefix= " "
|
||||
# xanchor=right
|
||||
# yanchor=fixed
|
||||
#[/unit_race]
|
||||
[unit_traits]
|
||||
ref=unit-type
|
||||
id=unit-traits
|
||||
|
@ -568,14 +565,14 @@
|
|||
|
||||
# current position not usable, overlays with the status indication (like slow)
|
||||
# please find a better place (yes, I know that this is barely possible...)
|
||||
# [unit_side]
|
||||
# id=unit-side
|
||||
# font_size={DEFAULT_FONT_SMALL}
|
||||
# ref=unit-xp
|
||||
# rect="=,+0,=,+16"
|
||||
# xanchor=right
|
||||
# yanchor=fixed
|
||||
# [/unit_side]
|
||||
# [unit_side]
|
||||
# id=unit-side
|
||||
# font_size={DEFAULT_FONT_SMALL}
|
||||
# ref=unit-xp
|
||||
# rect="=,+0,=,+16"
|
||||
# xanchor=right
|
||||
# yanchor=fixed
|
||||
# [/unit_side]
|
||||
[unit_weapons]
|
||||
id=unit-weapons
|
||||
font_size={DEFAULT_FONT_SMALL}
|
||||
|
@ -584,7 +581,6 @@
|
|||
xanchor=right
|
||||
yanchor=top
|
||||
[/unit_weapons]
|
||||
|
||||
[/status]
|
||||
|
||||
{REPLAY_THEME {DEFAULT_FONT_SMALL}}
|
||||
|
@ -597,55 +593,52 @@
|
|||
height=600
|
||||
|
||||
# use right pane with a smaller minimap
|
||||
[change]
|
||||
id=minimap-panel
|
||||
image=themes/editor/classic/minimap-800.png
|
||||
rect="843,=+2,+181,+155"
|
||||
[/change]
|
||||
# # increase size in middle panel since minimap is smaller
|
||||
[change]
|
||||
id=minimap-panel
|
||||
image=themes/editor/classic/minimap-800.png
|
||||
rect="843,=+2,+181,+155"
|
||||
[/change]
|
||||
# increase size in middle panel since minimap is smaller
|
||||
|
||||
# # reduce size of minimap
|
||||
[change]
|
||||
id=mini-map
|
||||
rect="=+51,=+10,=-14,+131"
|
||||
[/change]
|
||||
[remove]
|
||||
id=map-zoom-slider
|
||||
[/remove]
|
||||
[change]
|
||||
id=minimapbutton-1
|
||||
#id=minimap_button_1
|
||||
ref=sidebar-panel
|
||||
rect="=+30,=+60,+25,+25"
|
||||
[/change]
|
||||
[change]
|
||||
id=minimap_button_2
|
||||
#id=zoom_in_button_editor
|
||||
#ref=zoom_default_button_editor
|
||||
rect="=,+20,+25,+25"
|
||||
|
||||
[/change]
|
||||
[change]
|
||||
id=minimap_button_3
|
||||
#id=zoom_out_button_editor
|
||||
#ref=zoom_in_button_editor
|
||||
rect="=,+2,+25,+25"
|
||||
[/change]
|
||||
[change]
|
||||
id=minimap_button_4
|
||||
# id=resize_button_editor
|
||||
rect="=,+2,+25,+25"
|
||||
[/change]
|
||||
[change]
|
||||
id=minimap_button_5
|
||||
# id=flip_map_button_editor
|
||||
rect="=,+2,+25,+25"
|
||||
[/change]
|
||||
# reduce size of minimap
|
||||
[change]
|
||||
id=mini-map
|
||||
rect="=+51,=+10,=-14,+131"
|
||||
[/change]
|
||||
[remove]
|
||||
id=map-zoom-slider
|
||||
[/remove]
|
||||
[change]
|
||||
id=minimapbutton-1
|
||||
#id=minimap_button_1
|
||||
ref=sidebar-panel
|
||||
rect="=+30,=+60,+25,+25"
|
||||
[/change]
|
||||
[change]
|
||||
id=minimap_button_2
|
||||
#id=zoom_in_button_editor
|
||||
#ref=zoom_default_button_editor
|
||||
rect="=,+20,+25,+25"
|
||||
[/change]
|
||||
[change]
|
||||
id=minimap_button_3
|
||||
#id=zoom_out_button_editor
|
||||
#ref=zoom_in_button_editor
|
||||
rect="=,+2,+25,+25"
|
||||
[/change]
|
||||
[change]
|
||||
id=minimap_button_4
|
||||
# id=resize_button_editor
|
||||
rect="=,+2,+25,+25"
|
||||
[/change]
|
||||
[change]
|
||||
id=minimap_button_5
|
||||
# id=flip_map_button_editor
|
||||
rect="=,+2,+25,+25"
|
||||
[/change]
|
||||
|
||||
|
||||
|
||||
# {CHANGE_STATUS_BOX =+9 +1 +122 +36 tod}
|
||||
# {CHANGE_STATUS_BOX =-125 +2 +72 +72 unit}
|
||||
# {CHANGE_STATUS_BOX =+9 +1 +122 +36 tod}
|
||||
# {CHANGE_STATUS_BOX =-125 +2 +72 +72 unit}
|
||||
|
||||
# [change]
|
||||
# id=unit-description
|
||||
|
@ -696,9 +689,6 @@
|
|||
# rect="=,+0,=,+11"
|
||||
# [/change]
|
||||
|
||||
|
||||
|
||||
|
||||
# # [change]
|
||||
# # id=unit-description
|
||||
# # rect="=+3,+2,+200,+18"
|
||||
|
@ -783,11 +773,11 @@
|
|||
font_size={DEFAULT_FONT_TINY}
|
||||
rect="+0,=,+55,+20"
|
||||
[/change]
|
||||
# [change]
|
||||
# id=status-position
|
||||
# rect="=+5,=,+80,="
|
||||
# font_size={DEFAULT_FONT_TINY}
|
||||
# [/change]
|
||||
#[change]
|
||||
# id=status-position
|
||||
# rect="=+5,=,+80,="
|
||||
# font_size={DEFAULT_FONT_TINY}
|
||||
#[/change]
|
||||
[/partialresolution]
|
||||
|
||||
[partialresolution]
|
||||
|
@ -795,12 +785,12 @@
|
|||
inherits=800x600
|
||||
width=800
|
||||
height=480
|
||||
# [remove]
|
||||
# id=unit-race
|
||||
# [/remove]
|
||||
#[remove]
|
||||
# id=unit-race
|
||||
#[/remove]
|
||||
|
||||
{REMOVE_STATUS_BOX tod}
|
||||
{CHANGE_STATUS_BOX =+5 +5 +72 +72 unit top-right-panel}
|
||||
{CHANGE_STATUS_BOX =+5 +5 +72 +72 unit top-right-panel}
|
||||
|
||||
# use smaller fonts to display things correctly when using a vertical resolution smaller than 600px
|
||||
[change]
|
||||
|
@ -847,12 +837,12 @@
|
|||
[remove]
|
||||
id=unit-weapons
|
||||
[/remove]
|
||||
# [change]
|
||||
# id=unit-weapons
|
||||
# ref=unit-moves
|
||||
# font_size={DEFAULT_FONT_REALLYTINY}
|
||||
# rect="=+0,+0,=,504"
|
||||
# [/change]
|
||||
#[change]
|
||||
# id=unit-weapons
|
||||
# ref=unit-moves
|
||||
# font_size={DEFAULT_FONT_REALLYTINY}
|
||||
# rect="=+0,+0,=,504"
|
||||
#[/change]
|
||||
[/partialresolution]
|
||||
[/theme]
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue