Default theme: restore backgrounds to sidebar panels
This commit is contained in:
parent
9e7fc0eabe
commit
edc2fb7e9d
2 changed files with 79 additions and 8 deletions
|
@ -32,7 +32,7 @@
|
|||
[/main_map_border]
|
||||
#enddef
|
||||
|
||||
#define STATUS_BOX X1 Y1 X2 Y2 ID REF XANCHOR YANCHOR
|
||||
#define STATUS_BOX_BORDERLESS X1 Y1 X2 Y2 ID REF XANCHOR YANCHOR
|
||||
[panel]
|
||||
id={ID}-box-topleft
|
||||
rect="{X1},{Y1},+5,+5"
|
||||
|
@ -94,6 +94,77 @@
|
|||
[/panel]
|
||||
#enddef
|
||||
|
||||
#define STATUS_BOX X1 Y1 X2 Y2 ID REF XANCHOR YANCHOR
|
||||
[panel]
|
||||
id={ID}-box-topleft
|
||||
image=themes/status_box/status_box-border-topleft.png
|
||||
rect="{X1},{Y1},+3,+3"
|
||||
xanchor={XANCHOR}
|
||||
ref={REF}
|
||||
yanchor={YANCHOR}
|
||||
[/panel]
|
||||
[panel]
|
||||
id={ID}-box-top
|
||||
image=themes/status_box/status_box-border-top.png
|
||||
rect="+0,=+0,{X2},+3"
|
||||
xanchor={XANCHOR}
|
||||
yanchor={YANCHOR}
|
||||
[/panel]
|
||||
[panel]
|
||||
id={ID}-box-topright
|
||||
image=themes/status_box/status_box-border-topright.png
|
||||
rect="+0,=+0,+3,+3"
|
||||
xanchor={XANCHOR}
|
||||
yanchor={YANCHOR}
|
||||
[/panel]
|
||||
|
||||
[panel]
|
||||
id={ID}-box-left
|
||||
image=themes/status_box/status_box-border-left.png
|
||||
ref={ID}-box-topleft
|
||||
rect="=+0,+0,+3,{Y2}"
|
||||
xanchor={XANCHOR}
|
||||
yanchor={YANCHOR}
|
||||
[/panel]
|
||||
[panel]
|
||||
id={ID}-box-center
|
||||
image=themes/status_box/status_box-background.png
|
||||
rect="+0,=+0,{X2},{Y2}"
|
||||
xanchor={XANCHOR}
|
||||
yanchor={YANCHOR}
|
||||
[/panel]
|
||||
[panel]
|
||||
id={ID}-box-right
|
||||
image=themes/status_box/status_box-border-right.png
|
||||
rect="+0,=+0,+3,{Y2}"
|
||||
xanchor={XANCHOR}
|
||||
yanchor={YANCHOR}
|
||||
[/panel]
|
||||
|
||||
[panel]
|
||||
id={ID}-box-botleft
|
||||
image=themes/status_box/status_box-border-botleft.png
|
||||
ref={ID}-box-left
|
||||
rect="=+0,+0,+3,+3"
|
||||
xanchor={XANCHOR}
|
||||
yanchor={YANCHOR}
|
||||
[/panel]
|
||||
[panel]
|
||||
id={ID}-box-bottom
|
||||
image=themes/status_box/status_box-border-bottom.png
|
||||
rect="+0,=+0,{X2},+3"
|
||||
xanchor={XANCHOR}
|
||||
yanchor={YANCHOR}
|
||||
[/panel]
|
||||
[panel]
|
||||
id={ID}-box-botright
|
||||
image=themes/status_box/status_box-border-botright.png
|
||||
rect="+0,=+0,+3,+3"
|
||||
xanchor={XANCHOR}
|
||||
yanchor={YANCHOR}
|
||||
[/panel]
|
||||
#enddef
|
||||
|
||||
#define REMOVE_STATUS_BOX ID
|
||||
[remove]
|
||||
id={ID}-box-topleft
|
||||
|
@ -327,7 +398,7 @@
|
|||
#enddef
|
||||
|
||||
#define COUNTDOWN_THEME
|
||||
{STATUS_BOX +3 =+0 +90 +15 timeout income-box-topright fixed fixed}
|
||||
{STATUS_BOX_BORDERLESS +3 =+0 +90 +15 timeout income-box-topright fixed fixed}
|
||||
[label]
|
||||
id=time-icon
|
||||
#icon=themes/units.png
|
||||
|
|
|
@ -102,12 +102,12 @@
|
|||
xanchor=fixed
|
||||
yanchor=fixed
|
||||
[/menu]
|
||||
{STATUS_BOX +5 =+0 +75 +15 turn actions-menu fixed fixed}
|
||||
{STATUS_BOX +3 =+0 +75 +15 gold turn-box-topright fixed fixed}
|
||||
{STATUS_BOX +3 =+0 +70 +15 villages gold-box-topright fixed fixed}
|
||||
{STATUS_BOX +3 =+0 +65 +15 units villages-box-topright fixed fixed}
|
||||
{STATUS_BOX +3 =+0 +85 +15 upkeep units-box-topright fixed fixed}
|
||||
{STATUS_BOX +3 =+0 +85 +15 income upkeep-box-topright fixed fixed}
|
||||
{STATUS_BOX_BORDERLESS +5 =+0 +75 +15 turn actions-menu fixed fixed}
|
||||
{STATUS_BOX_BORDERLESS +3 =+0 +75 +15 gold turn-box-topright fixed fixed}
|
||||
{STATUS_BOX_BORDERLESS +3 =+0 +70 +15 villages gold-box-topright fixed fixed}
|
||||
{STATUS_BOX_BORDERLESS +3 =+0 +65 +15 units villages-box-topright fixed fixed}
|
||||
{STATUS_BOX_BORDERLESS +3 =+0 +85 +15 upkeep units-box-topright fixed fixed}
|
||||
{STATUS_BOX_BORDERLESS +3 =+0 +85 +15 income upkeep-box-topright fixed fixed}
|
||||
{COUNTDOWN_THEME}
|
||||
[menu]
|
||||
is_context_menu=true
|
||||
|
|
Loading…
Add table
Reference in a new issue