mirror of
https://gitea.wildfiregames.com/0ad/0ad
synced 2026-07-04 05:55:47 -07:00
More GUI fixes. Specifically, making panel textures size appropriately in different resolutions.
Smaller panel image with less dark on the sides. This was SVN commit r8217.
This commit is contained in:
parent
61fa8d29f6
commit
729cf72d2b
2 changed files with 13 additions and 13 deletions
|
|
@ -0,0 +1,3 @@
|
|||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:177c663125dafe5aa2dc2237c6965268474371b3b4dd60d1917e61c1c4f0a52d
|
||||
size 185540
|
||||
|
|
@ -84,7 +84,7 @@
|
|||
<!-- generic -->
|
||||
<sprite name="genericPanel">
|
||||
<image
|
||||
texture="session/ui_bg.png"
|
||||
texture="session/panel_bg.png"
|
||||
real_texture_placement="256 0 768 205"
|
||||
size="0 0 100% 100%"
|
||||
/>
|
||||
|
|
@ -133,16 +133,12 @@
|
|||
size="0 0 4 4"
|
||||
/>
|
||||
</sprite>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<!-- top -->
|
||||
<sprite name="topPanel">
|
||||
<image
|
||||
texture="session/ribbon_bg.png"
|
||||
texture_size="0 0 1024 32"
|
||||
real_texture_placement="0 0 2048 32"
|
||||
size="0 0 100% 100%"
|
||||
/>
|
||||
<!-- Sides -->
|
||||
|
|
@ -212,7 +208,7 @@
|
|||
<!-- bottomLeft -->
|
||||
<sprite name="bottomLeft">
|
||||
<image
|
||||
texture="global/tile/tile_dark.png"
|
||||
texture="session/panel_bg.png"
|
||||
texture_size="0 0 256 256"
|
||||
/>
|
||||
|
||||
|
|
@ -264,9 +260,9 @@
|
|||
<!-- bottomMiddle-->
|
||||
<sprite name="bottomMiddle">
|
||||
<image
|
||||
texture="session/ui_bg.png"
|
||||
real_texture_placement="256 0 768 205"
|
||||
texture_size="0 0 224 256"
|
||||
texture="session/panel_bg.png"
|
||||
real_texture_placement="0 0 512 256"
|
||||
size="0 0 100% 100%"
|
||||
/>
|
||||
|
||||
<!-- Sides -->
|
||||
|
|
@ -317,8 +313,9 @@
|
|||
<!-- bottomRight -->
|
||||
<sprite name="bottomRight">
|
||||
<image
|
||||
texture="global/tile/tile_dark.png"
|
||||
texture_size="0 0 256 256"
|
||||
texture="session/panel_bg.png"
|
||||
real_texture_placement="0 0 512 256"
|
||||
size="0 0 100% 100%"
|
||||
/>
|
||||
|
||||
<!-- Sides -->
|
||||
|
|
|
|||
Loading…
Reference in a new issue