0ad/binaries/data/mods/public/gui/common/modern/sprites.xml

300 lines
7.7 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="utf-8"?>
<!--
- This file contains the sprites for the 'modern' style GUI.
-
-->
<sprites>
<!--
==========================================
- Scrollbar -
==========================================
-->
<sprite name = "ModernScrollBack">
<image texture = "global/modern/scrollback.png"
real_texture_placement = "0 0 15 128"
size = "0 0 100% 100%"
/>
</sprite>
<sprite name = "ModernScrollBar">
<image texture = "global/modern/scrollbar.png"
real_texture_placement = "0 0 15 15"
size = "0 0 100% 100%"
/>
</sprite>
<!--
==========================================
- Window -
==========================================
-->
<sprite name = "ModernWindow">
<!-- background -->
<image backcolor = "12 12 12"/>
<image texture = "global/modern/background.png"
texture_size = "0 0 1024 1024"
size = "12 22 100%-12 100%-12"
/>
<!-- shading -->
<!-- we just mirror the same texture on the top and bottom -->
<image texture = "global/modern/shadow-high.png"
texture_size = "0 0 1024 256"
size = "12 100%-268 100%-12 100%-12"
/>
<image texture = "global/modern/shadow-high.png"
texture_size = "1024 256 0 0"
size = "12 22 100%-12 268"
/>
<!-- top and bottom edge -->
<image texture = "global/modern/border.png"
real_texture_placement = "0 0 2048 8"
size = "10 18 100%-10 26"
/>
<image texture = "global/modern/border.png"
real_texture_placement = "0 0 2048 8"
size = "10 100%-16 100%-10 100%-8"
/>
<!-- title frame -->
<image texture = "global/modern/titlebar-middle.png"
real_texture_placement = "0 0 128 32"
size = "50%-72 4 50%+72 37"
/>
<image texture = "global/modern/titlebar-left.png"
real_texture_placement = "0 0 32 32"
size = "50%-98 4 50%-66 37"
/>
<image texture = "global/modern/titlebar-left.png"
real_texture_placement = "32 32 0 0"
size = "50%+66 4 50%+98 37"
/>
</sprite>
<!--
==========================================
- Dialog -
==========================================
-->
<sprite name="ModernDialog">
<!-- background -->
<image texture = "global/modern/background.png"
texture_size = "0 0 512 512"
size = "4 0 100%-4 100%-4"
/>
<!-- shading -->
<!-- we just mirror the same texture on the top and bottom -->
<image texture = "global/modern/shadow-low.png"
texture_size = "0 0 1024 128"
size = "4 100%-132 100%-4 100%-4"
/>
<image texture = "global/modern/shadow-low.png"
texture_size = "1024 128 0 0"
size = "4 0 100%-4 128"
/>
<!-- top and bottom edge -->
<image texture = "global/modern/border.png"
real_texture_placement = "0 0 2048 8"
size = "4 0%-4 100%-4 4"
/>
<image texture = "global/modern/border.png"
real_texture_placement = "0 0 2048 8"
size = "4 100%-8 100%-4 100%"
/>
<!-- corners -->
<image texture = "global/modern/dialog-deco-top.png"
real_texture_placement = "0 0 64 32"
texture_size = "64 0 0 32"
size = "-14 -21 50 11"
/>
<image texture = "global/modern/dialog-deco-top.png"
real_texture_placement = "0 0 64 32"
texture_size = "0 0 64 32"
size = "100%-50 -21 100%+14 11"
/>
<image texture = "global/modern/dialog-deco-bottom.png"
real_texture_placement = "0 0 64 32"
texture_size = "64 0 0 32"
size = "-31 100%-23 33 100%+9"
/>
<image texture = "global/modern/dialog-deco-bottom.png"
real_texture_placement = "0 0 64 32"
texture_size = "0 0 64 32"
size = "100%-31 100%-23 100%+33 100%+9"
/>
<!-- title frame -->
<image texture = "global/modern/titlebar-middle.png"
real_texture_placement = "0 0 128 32"
size = "50%-72 0%-18 50%+72 15"
/>
<image texture = "global/modern/titlebar-left.png"
real_texture_placement = "0 0 32 32"
size = "50%-98 0%-18 50%-66 15"
/>
<image texture = "global/modern/titlebar-left.png"
real_texture_placement = "32 32 0 0"
size = "50%+66 0%-18 50%+98 15"
/>
</sprite>
<!--
==========================================
- Panel -
==========================================
-->
<sprite name = "ModernPanel">
<!-- background -->
<image backcolor = "12 12 12"/>
<image texture = "global/modern/background.png"
texture_size = "0 0 1024 1024"
size = "12 22 100%-12 100%-12"
/>
<!-- shading -->
<!-- we just mirror the same texture on the top and bottom -->
<image texture = "global/modern/shadow-high.png"
texture_size = "0 0 1024 256"
size = "12 100%-268 100%-12 100%-12"
/>
<image texture = "global/modern/shadow-high.png"
texture_size = "1024 256 0 0"
size = "12 22 100%-12 268"
/>
</sprite>
<!--
==========================================
- Box -
==========================================
-->
<sprite name="ModernDarkBoxGold">
<!-- borders -->
<image texture = "global/modern/gold-separator.png"
real_texture_placement = "0 0 806 1"
size = "0 0 100% 1"
/>
<image texture = "global/modern/gold-separator.png"
real_texture_placement = "0 0 806 1"
size = "0 100%-1 100% 100%"
/>
<!-- background -->
<image backcolor = "12 12 12 100"
size = "0 1 100% 100%-1"
/>
</sprite>
<sprite name="ModernDarkBoxWhite">
<!-- borders -->
<image texture = "global/modern/white-separator.png"
real_texture_placement = "0 0 806 1"
size = "0 0 100% 1"
/>
<image texture = "global/modern/white-separator.png"
real_texture_placement = "0 0 806 1"
size = "0 100%-1 100% 100%"
/>
<!-- background -->
<image backcolor = "12 12 12 100"
size = "0 1 100% 100%-1"
/>
</sprite>
<sprite name = "ModernDarkBoxGoldNoBottom">
<image texture = "global/modern/gold-separator.png"
real_texture_placement = "0 0 806 1"
size = "0 0 100% 1"
/>
<image backcolor = "12 12 12 100"
size = "0 1 100% 100%"
/>
</sprite>
<sprite name = "ModernDarkBoxGoldNoTop">
<image texture = "global/modern/gold-separator.png"
real_texture_placement = "0 0 806 1"
size = "0 100%-1 100% 100%"
/>
<image backcolor = "12 12 12 100"
size = "0 0 100% 100%-1"
/>
</sprite>
<!--
==========================================
- Shading -
==========================================
-->
<sprite name = "ModernItemBackShadeLeft">
<image texture = "global/modern/item-shading-left.png"
real_texture_placement = "108 0 256 32"
/>
</sprite>
<sprite name = "ModernItemBackShadeRight">
<image texture = "global/modern/item-shading-right.png"
real_texture_placement = "0 0 148 32"
/>
</sprite>
<!-- A translucent black background for behind dialogs. -->
<sprite name = "ModernFade">
<image backcolor="0 0 0 85"
size="0 0 100% 100%"
/>
</sprite>
<!--
==========================================
- Lines -
==========================================
-->
<sprite name = "ModernGoldLine">
<image texture = "global/modern/gold-separator.png"
real_texture_placement = "0 0 806 1"
/>
</sprite>
<sprite name="ModernWhiteLine">
<image texture = "global/modern/white-separator.png"
real_texture_placement = "0 0 806 1"
/>
</sprite>
<!--
==========================================
- Misc. -
==========================================
-->
<sprite name = "ModernDropDownArrow">
<image texture = "global/modern/dropdown-arrow.png"
real_texture_placement = "0 0 16 16"
/>
</sprite>
<sprite name = "ModernDropDownArrowHighlight">
<image texture = "global/modern/dropdown-arrow.png"
real_texture_placement = "0 0 16 16"
/>
</sprite>
<sprite name="ModernTickOn">
<image texture="global/modern/tick-on.png"
real_texture_placement="0 0 27 27"
size="0 0 22 22"
/>
</sprite>
<sprite name="ModernTickOff">
<image texture="global/modern/tick-off.png"
real_texture_placement="0 0 27 27"
size="0 0 22 22"
/>
</sprite>
<sprite name="ModernTickDisabled">
<image texture="global/modern/tick-disabled.png"
real_texture_placement="0 0 27 27"
size="0 0 22 22"
/>
</sprite>
</sprites>