various tinygui improvements...

...tinygui should now basically look like "normal" guie beside using a
smaller font, most of the object placement at 400x300 and upwards is
exactly like normally (eg end turn) in 320x240 only display of weapons
and hp/xp is improved
This commit is contained in:
Nils Kneuper 2008-02-14 14:28:54 +00:00
parent 19633422b0
commit bc5db4faab

View file

@ -549,9 +549,10 @@
[/partialresolution]
[partialresolution]
width=320
height=240
inherits=800x600
id=400x300
width=400
height=300
inherits=1024x768
[change]
id=top-panel
@ -560,7 +561,7 @@
[change]
id=main-map
rect="=,+0,+946,768"
rect="=,+0,+953,768"
[/change]
[change]
@ -570,13 +571,9 @@
[change]
id=middle-right-panel
rect="=,+0,=,768"
rect="=,+0,=,+610"
[/change]
[remove]
id=bottom-right-panel
[/remove]
[change]
id=menu-main
rect="=,=,+5,=-2"
@ -584,7 +581,6 @@
[change]
id=actions-menu
title= _ "Act."
rect="=+30,=,+5,="
[/change]
@ -600,7 +596,7 @@
font_size={DEFAULT_FONT320_SMALL}
items=zoomin
ref=top-panel
rect="982,=,5,="
rect="997,=,5,="
xanchor=right
yanchor=top
[/menu]
@ -617,10 +613,17 @@
[change]
id=button-endturn
title= _ "short end-turn^E."
ref=top-panel
rect="1008,=,=-2,="
yanchor=top
title= _ "End Turn"
title2= _ "End Scenario"
items=endturn
ref=bottom-right-panel
rect="=+14,=+3,+300,+14"
[/change]
[change]
id=status-terrain
font_size={DEFAULT_FONT320_SMALL}
rect="+10,=,+170,+12"
[/change]
[change]
@ -652,13 +655,12 @@
[change]
id=label-hp
font_size={DEFAULT_FONT320_TINY}
rect="=+45,=+93,+12,+8"
rect="=+42,=+93,+12,+8"
[/change]
[change]
id=label-xp
font_size={DEFAULT_FONT320_TINY}
ref=label-hp
rect="=,+0,=,+8"
rect="=,+8,=,+8"
[/change]
[change]
@ -684,12 +686,12 @@
[change]
id=image-tod
rect="=+9,=+71,=-0,+17"
rect="=+5,=+71,=-0,+17"
[/change]
[change]
id=icon-sideplaying
rect="=+3,=+1,+8,+8"
rect="=+3,=+1,+20,+8"
[/change]
# timer panel too big...
@ -711,7 +713,7 @@
[change]
id=turn
font_size={DEFAULT_FONT320_SMALL}
rect="+15,=,+58,+8"
rect="+4,=,+58,+8"
[/change]
[change]
id=gold
@ -741,7 +743,7 @@
[remove]
id=status-position
font_size={DEFAULT_FONT320_SMALL}
rect="+15,=,+130,+8"
rect="+15,=,+200,+8"
[/remove]
[remove]
id=observers
@ -793,25 +795,91 @@
id=unit-hp
font_size={DEFAULT_FONT320_SMALL}
ref=label-hp
rect="+0,=,1022,+8"
rect="=,+0,+54,+8"
[/change]
[change]
id=unit-xp
font_size={DEFAULT_FONT320_SMALL}
ref=label-xp
rect="+0,=,1022,+8"
rect="=,+0,+54,+8"
[/change]
[change]
id=unit-weapons
font_size={DEFAULT_FONT320_SMALL}
rect="=+8,+0,=,768"
rect="=,+0,=,768"
[/change]
[change]
id=unit-status
font_size={DEFAULT_FONT320_SMALL}
ref=label-xp
rect="=+8,+2,=,+8"
ref=unit-level
rect="=+36,=,=+36,+10"
[/change]
[/partialresolution]
[partialresolution]
id=320x240
width=320
height=240
inherits=400x300
[change]
id=top-right-panel
rect="+0,=-1,1024,+125"
[/change]
[change]
id=middle-right-panel
rect="=,+0,=,768"
[/change]
[remove]
id=bottom-right-panel
[/remove]
[change]
id=actions-menu
title= _ "Act."
rect="=+30,=,+5,="
[/change]
[remove]
id=status-terrain
[/remove]
[change]
id=zoom-in
rect="982,=,5,="
[/change]
[change]
id=zoom-out
rect="=+15,=,5,="
[/change]
[remove]
id=button-endturn
title= _ "short end-turn^E."
ref=top-panel
rect="1008,=,=-2,="
yanchor=top
[/remove]
[add]
[menu]
id=button-endturn2
title= _ "short end-turn^E."
title2= _ "End Scenario"
items=endturn
ref=top-panel
rect="1008,=,=-2,="
xanchor=right
yanchor=top
[/menu]
[/add]
[/partialresolution]
[/theme]