mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-18 22:54:31 +00:00
Widescreen Theme: Use new minimap style
This commit is contained in:
parent
6ebd079f20
commit
2d5cb4c9ed
@ -35,7 +35,7 @@
|
||||
id=top-panel
|
||||
image=themes/classic/menubar.png
|
||||
ref=screen
|
||||
rect="=,=,=,+26"
|
||||
rect="=,=,=,+27"
|
||||
xanchor=top
|
||||
yanchor=fixed
|
||||
[/panel]
|
||||
@ -67,7 +67,7 @@
|
||||
[main_map]
|
||||
id=main-map
|
||||
ref=top-panel
|
||||
rect="142,+0,+740,768"
|
||||
rect="142,+0,+690,768"
|
||||
xanchor=left
|
||||
yanchor=top
|
||||
[/main_map]
|
||||
@ -76,26 +76,13 @@
|
||||
|
||||
# rightside panel
|
||||
[panel]
|
||||
id=top-right-panel
|
||||
id=right-panel
|
||||
image=themes/classic/sidebar.png
|
||||
rect="+0,=+0,1024,+284"
|
||||
rect="+0,0,1024,768"
|
||||
xanchor=right
|
||||
yanchor=fixed
|
||||
[/panel]
|
||||
[panel]
|
||||
id=middle-right-panel
|
||||
image=themes/classic/sidebar.png
|
||||
rect="=,+0,=,+421"
|
||||
xanchor=right
|
||||
yanchor=top
|
||||
[/panel]
|
||||
[panel]
|
||||
id=bottom-right-panel
|
||||
image=themes/classic/sidebar.png
|
||||
rect="=,+0,=,768"
|
||||
xanchor=right
|
||||
yanchor=bottom
|
||||
[/panel]
|
||||
{MINIMAP_THEME}
|
||||
|
||||
[menu]
|
||||
id=menu-main
|
||||
@ -122,29 +109,14 @@
|
||||
is_context_menu=true
|
||||
items=wml,undo,redo,wbexecuteaction,wbdeleteaction,wbbumpupaction,wbbumpdownaction,wbsupposedead,describeunit,renameunit,createunit,changeside,killunit,labelteamterrain,labelterrain,clearlabels,speak,continue,recruit,recall,wbtoggle,delayshroud,updateshroud,cycle,endturn
|
||||
[/menu]
|
||||
[mini_map]
|
||||
id=mini-map
|
||||
ref=top-right-panel
|
||||
rect="=+10,=+7,=-7,+143"
|
||||
xanchor=right
|
||||
yanchor=fixed
|
||||
[/mini_map]
|
||||
|
||||
[mini_map]
|
||||
id=mini-map2
|
||||
ref=top-left-panel
|
||||
rect="=+10,=+7,=-7,+143"
|
||||
xanchor=right
|
||||
yanchor=fixed
|
||||
[/mini_map]
|
||||
|
||||
[menu]
|
||||
id=button-endturn
|
||||
title= _ "End Turn"
|
||||
title2= _ "End Scenario"
|
||||
items=endturn
|
||||
ref=bottom-right-panel
|
||||
rect="=+17,=+7,+80,+20"
|
||||
ref=right-panel
|
||||
rect="=+17,=+693,+80,+20"
|
||||
xanchor=right
|
||||
yanchor=bottom
|
||||
[/menu]
|
||||
@ -214,8 +186,8 @@
|
||||
id=label-hp
|
||||
font_size={DEFAULT_FONT_TINY}
|
||||
text= _ "HP"
|
||||
ref=top-right-panel
|
||||
rect="=+84,=+209,+54,+12"
|
||||
ref=right-panel
|
||||
rect="=+84,=+474,+54,+12"
|
||||
xanchor=right
|
||||
yanchor=fixed
|
||||
[/label]
|
||||
@ -279,8 +251,8 @@
|
||||
# the time of day image
|
||||
[time_of_day]
|
||||
id=image-tod
|
||||
ref=top-right-panel
|
||||
rect="=+10,=+159,=-7,+39"
|
||||
ref=right-panel
|
||||
rect="=+10,=+424,=-7,+39"
|
||||
xanchor=right
|
||||
yanchor=fixed
|
||||
[/time_of_day]
|
||||
@ -541,16 +513,16 @@
|
||||
#unit stats here
|
||||
[unit_image]
|
||||
id=unit-image
|
||||
ref=top-right-panel
|
||||
rect="=+9,=+215,+72,+72"
|
||||
ref=right-panel
|
||||
rect="=+9,=+480,+72,+72"
|
||||
xanchor=right
|
||||
yanchor=fixed
|
||||
[/unit_image]
|
||||
[unit_name]
|
||||
id=unit-description
|
||||
font_size={DEFAULT_FONT_NORMAL}
|
||||
ref=middle-right-panel
|
||||
rect="=+9,=+3,=-2,+18"
|
||||
ref=right-panel
|
||||
rect="=+9,=+268,=-2,+18"
|
||||
xanchor=right
|
||||
yanchor=fixed
|
||||
[/unit_name]
|
||||
@ -677,7 +649,7 @@
|
||||
# using a right pane with a smaller minimap to achieve this
|
||||
# use backgound with 40px less for minimap
|
||||
[change]
|
||||
id=top-right-panel
|
||||
id=right-panel
|
||||
image=themes/classic/sidebar.png
|
||||
rect="+0,=+0,1024,+244"
|
||||
[/change]
|
||||
@ -689,7 +661,7 @@
|
||||
# increase size in middle panel since minimap is 40px smaller
|
||||
# give it additional 10px and move the end-turn button down
|
||||
[change]
|
||||
id=middle-right-panel
|
||||
id=right-panel
|
||||
rect="=,+0,=,+471"
|
||||
[/change]
|
||||
[change]
|
||||
|
Loading…
x
Reference in New Issue
Block a user