2013-11-07 21:07:24 +01:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
|
|
|
|
<!--
|
|
|
|
- This file contains the sprites for the 'modern' style GUI.
|
|
|
|
-
|
|
|
|
-->
|
|
|
|
|
|
|
|
<sprites>
|
|
|
|
|
|
|
|
<!--
|
|
|
|
==========================================
|
|
|
|
- Scrollbar -
|
|
|
|
==========================================
|
|
|
|
-->
|
|
|
|
<sprite name = "ModernScrollBack">
|
2014-04-27 20:30:40 +02:00
|
|
|
<image backcolor="43 42 40"
|
|
|
|
size="0 0 100% 100%"
|
|
|
|
border="true"
|
|
|
|
bordercolor="0 0 0"
|
|
|
|
/>
|
|
|
|
<image texture = "global/modern/scrollback.png"
|
2013-11-07 21:07:24 +01:00
|
|
|
real_texture_placement = "0 0 15 128"
|
|
|
|
size = "0 0 100% 100%"
|
|
|
|
/>
|
|
|
|
</sprite>
|
|
|
|
<sprite name = "ModernScrollBar">
|
2014-04-27 20:30:40 +02:00
|
|
|
<image texture = "global/modern/scrollbar.png"
|
2013-11-07 21:07:24 +01:00
|
|
|
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"
|
2014-04-27 02:07:27 +02:00
|
|
|
size = "50%-128 4 50%+128 37"
|
2013-11-07 21:07:24 +01:00
|
|
|
/>
|
|
|
|
<image texture = "global/modern/titlebar-left.png"
|
|
|
|
real_texture_placement = "0 0 32 32"
|
2014-04-27 02:07:27 +02:00
|
|
|
size = "50%-154 4 50%-122 37"
|
2013-11-07 21:07:24 +01:00
|
|
|
/>
|
|
|
|
<image texture = "global/modern/titlebar-left.png"
|
|
|
|
real_texture_placement = "32 32 0 0"
|
2014-04-27 02:07:27 +02:00
|
|
|
size = "50%+122 4 50%+154 37"
|
2013-11-07 21:07:24 +01:00
|
|
|
/>
|
|
|
|
|
|
|
|
</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>
|
|
|
|
|
2014-03-04 03:23:01 +01:00
|
|
|
<!--
|
|
|
|
==========================================
|
|
|
|
- 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>
|
2013-11-07 21:07:24 +01:00
|
|
|
<!--
|
|
|
|
==========================================
|
|
|
|
- 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. -->
|
2014-03-05 22:24:48 +01:00
|
|
|
<sprite name = "ModernFade">
|
2014-01-18 03:38:07 +01:00
|
|
|
<image backcolor="0 0 0 85"
|
2013-11-07 21:07:24 +01:00
|
|
|
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>
|
|
|
|
<!--
|
|
|
|
==========================================
|
2014-04-29 02:07:27 +02:00
|
|
|
- Buttons -
|
|
|
|
==========================================
|
|
|
|
-->
|
|
|
|
<sprite name="ModernButtonRed">
|
|
|
|
<!-- Left -->
|
|
|
|
<image texture="global/modern/button/red-unselected-left-top.png"
|
|
|
|
real_texture_placement="0 0 8 8"
|
|
|
|
size="0 0 8 8"
|
|
|
|
/>
|
|
|
|
<image texture="global/modern/button/red-unselected-left-center.png"
|
|
|
|
real_texture_placement="0 0 8 16"
|
|
|
|
texture_size="0 0 8 16"
|
|
|
|
size="0 8 8 100%-8"
|
|
|
|
/>
|
|
|
|
<image texture="global/modern/button/red-unselected-left-bottom.png"
|
|
|
|
real_texture_placement="0 0 8 8"
|
|
|
|
size="0 100%-8 8 100%"
|
|
|
|
/>
|
|
|
|
<!-- Center -->
|
|
|
|
<image texture="global/modern/button/red-unselected-center-top.png"
|
|
|
|
real_texture_placement="0 0 128 8"
|
|
|
|
texture_size="0 0 128 8"
|
|
|
|
size="8 0 100%-8 8"
|
|
|
|
/>
|
|
|
|
<image texture="global/modern/button/red-unselected-center-center.png"
|
|
|
|
real_texture_placement="0 0 128 16"
|
|
|
|
texture_size="0 0 128 16"
|
|
|
|
size="8 8 100%-8 100%-8"
|
|
|
|
/>
|
|
|
|
<image texture="global/modern/button/red-unselected-center-bottom.png"
|
|
|
|
real_texture_placement="0 0 128 8"
|
|
|
|
texture_size="0 0 128 8"
|
|
|
|
size="8 100%-8 100%-8 100%"
|
|
|
|
/>
|
|
|
|
<!-- Right -->
|
|
|
|
<image texture="global/modern/button/red-unselected-right-top.png"
|
|
|
|
real_texture_placement="0 0 8 8"
|
|
|
|
size="100%-8 0 100% 8"
|
|
|
|
/>
|
|
|
|
<image texture="global/modern/button/red-unselected-right-center.png"
|
|
|
|
real_texture_placement="0 0 8 16"
|
|
|
|
texture_size="0 0 8 16"
|
|
|
|
size="100%-8 8 100% 100%-8"
|
|
|
|
/>
|
|
|
|
<image texture="global/modern/button/red-unselected-right-bottom.png"
|
|
|
|
real_texture_placement="0 0 8 8"
|
|
|
|
size="100%-8 100%-8 100% 100%"
|
|
|
|
/>
|
|
|
|
</sprite>
|
|
|
|
<sprite name="ModernButtonRedOver">
|
|
|
|
<effect add_color="60 42 42 0"/>
|
|
|
|
<!-- Left -->
|
|
|
|
<image texture="global/modern/button/red-unselected-left-top.png"
|
|
|
|
real_texture_placement="0 0 8 8"
|
|
|
|
size="0 0 8 8"
|
|
|
|
/>
|
|
|
|
<image texture="global/modern/button/red-unselected-left-center.png"
|
|
|
|
real_texture_placement="0 0 8 16"
|
|
|
|
texture_size="0 0 8 16"
|
|
|
|
size="0 8 8 100%-8"
|
|
|
|
/>
|
|
|
|
<image texture="global/modern/button/red-unselected-left-bottom.png"
|
|
|
|
real_texture_placement="0 0 8 8"
|
|
|
|
size="0 100%-8 8 100%"
|
|
|
|
/>
|
|
|
|
<!-- Center -->
|
|
|
|
<image texture="global/modern/button/red-unselected-center-top.png"
|
|
|
|
real_texture_placement="0 0 128 8"
|
|
|
|
texture_size="0 0 128 8"
|
|
|
|
size="8 0 100%-8 8"
|
|
|
|
/>
|
|
|
|
<image texture="global/modern/button/red-unselected-center-center.png"
|
|
|
|
real_texture_placement="0 0 128 16"
|
|
|
|
texture_size="0 0 128 16"
|
|
|
|
size="8 8 100%-8 100%-8"
|
|
|
|
/>
|
|
|
|
<image texture="global/modern/button/red-unselected-center-bottom.png"
|
|
|
|
real_texture_placement="0 0 128 8"
|
|
|
|
texture_size="0 0 128 8"
|
|
|
|
size="8 100%-8 100%-8 100%"
|
|
|
|
/>
|
|
|
|
<!-- Right -->
|
|
|
|
<image texture="global/modern/button/red-unselected-right-top.png"
|
|
|
|
real_texture_placement="0 0 8 8"
|
|
|
|
size="100%-8 0 100% 8"
|
|
|
|
/>
|
|
|
|
<image texture="global/modern/button/red-unselected-right-center.png"
|
|
|
|
real_texture_placement="0 0 8 16"
|
|
|
|
texture_size="0 0 8 16"
|
|
|
|
size="100%-8 8 100% 100%-8"
|
|
|
|
/>
|
|
|
|
<image texture="global/modern/button/red-unselected-right-bottom.png"
|
|
|
|
real_texture_placement="0 0 8 8"
|
|
|
|
size="100%-8 100%-8 100% 100%"
|
|
|
|
/>
|
|
|
|
</sprite>
|
|
|
|
<sprite name="ModernButtonRedDisabled">
|
|
|
|
<effect grayscale=""/>
|
|
|
|
<!-- Left -->
|
|
|
|
<image texture="global/modern/button/red-unselected-left-top.png"
|
|
|
|
real_texture_placement="0 0 8 8"
|
|
|
|
size="0 0 8 8"
|
|
|
|
/>
|
|
|
|
<image texture="global/modern/button/red-unselected-left-center.png"
|
|
|
|
real_texture_placement="0 0 8 16"
|
|
|
|
texture_size="0 0 8 16"
|
|
|
|
size="0 8 8 100%-8"
|
|
|
|
/>
|
|
|
|
<image texture="global/modern/button/red-unselected-left-bottom.png"
|
|
|
|
real_texture_placement="0 0 8 8"
|
|
|
|
size="0 100%-8 8 100%"
|
|
|
|
/>
|
|
|
|
<!-- Center -->
|
|
|
|
<image texture="global/modern/button/red-unselected-center-top.png"
|
|
|
|
real_texture_placement="0 0 128 8"
|
|
|
|
texture_size="0 0 128 8"
|
|
|
|
size="8 0 100%-8 8"
|
|
|
|
/>
|
|
|
|
<image texture="global/modern/button/red-unselected-center-center.png"
|
|
|
|
real_texture_placement="0 0 128 16"
|
|
|
|
texture_size="0 0 128 16"
|
|
|
|
size="8 8 100%-8 100%-8"
|
|
|
|
/>
|
|
|
|
<image texture="global/modern/button/red-unselected-center-bottom.png"
|
|
|
|
real_texture_placement="0 0 128 8"
|
|
|
|
texture_size="0 0 128 8"
|
|
|
|
size="8 100%-8 100%-8 100%"
|
|
|
|
/>
|
|
|
|
<!-- Right -->
|
|
|
|
<image texture="global/modern/button/red-unselected-right-top.png"
|
|
|
|
real_texture_placement="0 0 8 8"
|
|
|
|
size="100%-8 0 100% 8"
|
|
|
|
/>
|
|
|
|
<image texture="global/modern/button/red-unselected-right-center.png"
|
|
|
|
real_texture_placement="0 0 8 16"
|
|
|
|
texture_size="0 0 8 16"
|
|
|
|
size="100%-8 8 100% 100%-8"
|
|
|
|
/>
|
|
|
|
<image texture="global/modern/button/red-unselected-right-bottom.png"
|
|
|
|
real_texture_placement="0 0 8 8"
|
|
|
|
size="100%-8 100%-8 100% 100%"
|
|
|
|
/>
|
|
|
|
</sprite>
|
|
|
|
<!--
|
|
|
|
==========================================
|
2013-11-07 21:07:24 +01:00
|
|
|
- Misc. -
|
|
|
|
==========================================
|
|
|
|
-->
|
|
|
|
<sprite name = "ModernDropDownArrow">
|
|
|
|
<image texture = "global/modern/dropdown-arrow.png"
|
|
|
|
real_texture_placement = "0 0 16 16"
|
2014-04-26 20:34:34 +02:00
|
|
|
texture_size="0 0 16 16"
|
|
|
|
size="0 6 16 22"
|
2013-11-07 21:07:24 +01:00
|
|
|
/>
|
|
|
|
</sprite>
|
|
|
|
<sprite name = "ModernDropDownArrowHighlight">
|
|
|
|
<image texture = "global/modern/dropdown-arrow.png"
|
|
|
|
real_texture_placement = "0 0 16 16"
|
2014-04-26 20:34:34 +02:00
|
|
|
texture_size="0 0 16 16"
|
|
|
|
size="0 6 16 22"
|
2013-11-07 21:07:24 +01:00
|
|
|
/>
|
|
|
|
</sprite>
|
2014-01-01 07:15:06 +01:00
|
|
|
<sprite name="ModernTickOn">
|
|
|
|
<image texture="global/modern/tick-on.png"
|
|
|
|
real_texture_placement="0 0 27 27"
|
2014-01-02 04:28:15 +01:00
|
|
|
size="0 0 22 22"
|
2014-01-01 07:15:06 +01:00
|
|
|
/>
|
|
|
|
</sprite>
|
|
|
|
<sprite name="ModernTickOff">
|
|
|
|
<image texture="global/modern/tick-off.png"
|
|
|
|
real_texture_placement="0 0 27 27"
|
2014-01-02 04:28:15 +01:00
|
|
|
size="0 0 22 22"
|
2014-01-01 07:15:06 +01:00
|
|
|
/>
|
|
|
|
</sprite>
|
|
|
|
<sprite name="ModernTickDisabled">
|
|
|
|
<image texture="global/modern/tick-disabled.png"
|
|
|
|
real_texture_placement="0 0 27 27"
|
2014-01-02 04:28:15 +01:00
|
|
|
size="0 0 22 22"
|
2014-01-01 07:15:06 +01:00
|
|
|
/>
|
|
|
|
</sprite>
|
2014-04-26 20:34:34 +02:00
|
|
|
<sprite name="ModernGear">
|
|
|
|
<image texture="global/modern/gear.png"
|
|
|
|
texture_size="0 0 24 24"
|
|
|
|
/>
|
|
|
|
</sprite>
|
|
|
|
<sprite name="ModernGearHover">
|
|
|
|
<image texture="global/modern/gear-hover.png"
|
|
|
|
texture_size="0 0 24 24"
|
|
|
|
/>
|
|
|
|
</sprite>
|
|
|
|
<sprite name="ModernGearPressed">
|
|
|
|
<image texture="global/modern/gear-press.png"
|
|
|
|
texture_size="0 0 24 24"
|
|
|
|
/>
|
|
|
|
</sprite>
|
2014-04-29 02:07:27 +02:00
|
|
|
<sprite name="logo">
|
|
|
|
<image texture="pregame/shell/logo/0ad_logo.png"
|
|
|
|
real_texture_placement="0 0 256 128"
|
|
|
|
size="0 -5% 100% 105%"
|
|
|
|
/>
|
|
|
|
</sprite>
|
2013-11-07 21:07:24 +01:00
|
|
|
</sprites>
|