0ad/binaries/data/mods/public/gui/common/common_sprites.xml
fcxSanya 894dc30c69 Trade. Closes #30.
This was SVN commit r11279.
2012-03-08 20:42:28 +00:00

735 lines
18 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<sprites>
<!--
==========================================
LOGOS
==========================================
-->
<sprite name="productLogo">
<image texture="pregame/shell/logo/0ad_logo.png"
real_texture_placement="0 0 256 128"
size="0 -5% 100% 105%"
/>
</sprite>
<sprite name="companyLogo">
<image texture="pregame/shell/logo/wfg_logo_white.png"
real_texture_placement="0 0 32 32"
/>
</sprite>
<!--
==========================================
BACKCOLOR SPRITES
==========================================
-->
<sprite name="BackgroundTranslucent">
<image backcolor="0 0 0 85"
size="0 0 100% 100%"
/>
</sprite>
<sprite name="BackgroundBlack">
<image backcolor="black"
size="0 0 100% 100%"
/>
</sprite>
<sprite name="BackgroundRed">
<image backcolor="darkred"
size="0 0 100% 100%"
/>
</sprite>
<sprite name="BackgroundSelectArea">
<image backcolor="darkred"
bordercolor="gold"
size="0 0 100% 100%"
border="true"
/>
</sprite>
<sprite name="BackgroundListBox">
<image backcolor="darkbrown"
size="0 0 100% 100%"
border="true"
bordercolor="60 60 40"
/>
</sprite>
<sprite name="BackgroundSessionTooltip">
<image
backcolor="darkbrown"
size="0 0 100% 100%"
border="true"
bordercolor="gold"
/>
</sprite>
<sprite name="BackgroundInformationTooltip">
<image
backcolor="0 0 0 191"
size="0 0 100% 100%"
border="false"
/>
</sprite>
<sprite name="BackgroundIndentFillDark">
<!-- Starting with top left corner continuing in a clockwise manner -->
<!-- Top border -->
<image backcolor="60 60 40"
size="0 0 100%-1 1"
/>
<!-- Right border -->
<image backcolor="120 120 80"
size="100%-1 0 100% 100%"
/>
<!-- Bottom border -->
<image backcolor="120 120 80"
size="0 100%-1 100% 100%"
/>
<!-- Left border -->
<image backcolor="60 60 40"
size="0 0 1 100%-1"
/>
<!-- middle -->
<image backcolor="0 0 0 85"
size="1 1 100%-1 100%-1"
/>
</sprite>
<!--
==========================================
PANEL SPRITES
==========================================
-->
<!-- MainMenuPanel -->
<sprite name="MainMenuPanel">
<image texture="global/tile/stone_background.png"
real_texture_placement="28 0 292 264"
texture_size="0 0 240 240"
/>
<image texture="pregame/shading/menu_panel_background_shading.png"
texture_size="0 0 100% 100%"
size="0 0 100% 100%"
/>
<!-- sides -->
<!-- <image backcolor="230 190 80"
size="2 0 100%-2 2"
/>
<image backcolor="230 190 80"
size="100%-2 0 100% 100%"
/>
<image backcolor="230 190 80"
size="2 100%-2 100%-2 100%"
/>
<image backcolor="230 190 80"
size="0 0 2 100%"
/>-->
<!-- top -->
<image backcolor="230 190 80"
size="2 0 100%-2 2"
/>
<!-- bottom -->
<image backcolor="230 190 80"
size="2 100%-2 100%-2 100%"
/>
<!-- left -->
<image backcolor="230 190 80"
size="0 0 2 100%"
/>
</sprite>
<!-- MainMenuPanelRightBorder -->
<sprite name="MainMenuPanelRightBorder">
<!-- right -->
<image backcolor="230 190 80"
size="0 0 100% 100%"
/>
</sprite>
<!-- SubmenuPanel -->
<sprite name="SubmenuPanel">
<image texture="global/tile/stone_background.png"
real_texture_placement="32 0 292 264"
texture_size="0 0 240 240"
/>
<image texture="pregame/shading/menu_panel_background_shading.png"
texture_size="0 0 100% 100%"
size="0 0 100% 100%"
/>
<!-- sides -->
<image backcolor="230 190 80"
size="0 0 100%-2 2"
/>
<image backcolor="230 190 80"
size="100%-2 0 100% 100%"
/>
<image backcolor="230 190 80"
size="0 100%-2 100%-2 100%"
/>
<!-- no left border here -->
</sprite>
<!-- TranslucentPanel -->
<sprite name="TranslucentPanelThinBorder">
<image backcolor="0 0 0 85"
size="0 0 100% 100%"
/>
<!-- sides -->
<image texture="global/border/line_horiz.png"
texture_size="0 0 64 4"
size="4 0 100%-4 4"
/>
<image texture="global/border/line_vert.png"
texture_size="0 0 4 64"
size="100%-4 4 100% 100%-4"
/>
<image texture="global/border/line_horiz.png"
texture_size="0 0 64 4"
size="4 100%-4 100%-4 100%"
/>
<image texture="global/border/line_vert.png"
texture_size="0 0 4 64"
size="0 4 4 100%-4"
/>
<!-- corners -->
<image
texture="global/border/line_corner_top_right.png"
texture_size="0 0 4 4"
size="100%-4 0 100% 4"
/>
<image texture="global/border/line_corner_bottom_right.png"
texture_size="0 0 4 4"
size="100%-4 100%-4 100% 100%"
/>
<image texture="global/border/line_corner_bottom_left.png"
texture_size="0 0 4 4"
size="0 100%-4 4 100%"
/>
<image texture="global/border/line_corner_top_left.png"
texture_size="0 0 4 4"
size="0 0 4 4"
/>
</sprite>
<!-- LargeStonePanelThinBorder -->
<sprite name="LargeStonePanelThinBorder">
<image texture="global/tile/stone_background.png"
real_texture_placement="0 0 312 312"
texture_size="0 0 256 256"
size="4 4 100%-4 100%-4"
/>
<!-- sides -->
<image texture="global/border/line_horiz.png"
texture_size="0 0 64 4"
size="4 0 100%-4 4"
/>
<image texture="global/border/line_vert.png"
texture_size="0 0 4 64"
size="100%-4 4 100% 100%-4"
/>
<image texture="global/border/line_horiz.png"
texture_size="0 0 64 4"
size="4 100%-4 100%-4 100%"
/>
<image texture="global/border/line_vert.png"
texture_size="0 0 4 64"
size="0 4 4 100%-4"
/>
<!-- corners -->
<image
texture="global/border/line_corner_top_right.png"
texture_size="0 0 4 4"
size="100%-4 0 100% 4"
/>
<image texture="global/border/line_corner_bottom_right.png"
texture_size="0 0 4 4"
size="100%-4 100%-4 100% 100%"
/>
<image texture="global/border/line_corner_bottom_left.png"
texture_size="0 0 4 4"
size="0 100%-4 4 100%"
/>
<image texture="global/border/line_corner_top_left.png"
texture_size="0 0 4 4"
size="0 0 4 4"
/>
</sprite>
<!-- StonePanelThinBorder -->
<sprite name="StonePanelThinBorder">
<image texture="global/tile/stone_background.png"
texture_size="0 0 512 512"
size="4 4 100%-4 100%-4"
/>
<!-- sides -->
<image texture="global/border/line_horiz.png"
texture_size="0 0 64 4"
size="4 0 100%-4 4"
/>
<image texture="global/border/line_vert.png"
texture_size="0 0 4 64"
size="100%-4 4 100% 100%-4"
/>
<image texture="global/border/line_horiz.png"
texture_size="0 0 64 4"
size="4 100%-4 100%-4 100%"
/>
<image texture="global/border/line_vert.png"
texture_size="0 0 4 64"
size="0 4 4 100%-4"
/>
<!-- corners -->
<image
texture="global/border/line_corner_top_right.png"
texture_size="0 0 4 4"
size="100%-4 0 100% 4"
/>
<image texture="global/border/line_corner_bottom_right.png"
texture_size="0 0 4 4"
size="100%-4 100%-4 100% 100%"
/>
<image texture="global/border/line_corner_bottom_left.png"
texture_size="0 0 4 4"
size="0 100%-4 4 100%"
/>
<image texture="global/border/line_corner_top_left.png"
texture_size="0 0 4 4"
size="0 0 4 4"
/>
</sprite>
<!-- StonePanel
<sprite name="StonePanel">
background
<image texture="global/tile/stone_background.png"
texture_size="0 0 512 512"
size="4 4 100%-4 100%-4"
/>
sides
<image texture="global/border/border-top.png"
texture_size="0 0 128 16"
size="16 0 100%-16 16"
/>
<image texture="global/border/border-right.png"
texture_size="0 0 16 128"
size="100%-16 16 100% 100%-16"
/>
<image texture="global/border/border-bottom.png"
texture_size="0 0 128 16"
size="16 100%-16 100%-16 100%"
/>
<image texture="global/border/border-left.png"
texture_size="0 0 16 128"
size="0 16 16 100%-16"
/>
corners
<image texture="global/border/border-corner.png"
texture_size="0 0 16 16"
size="100%-16 0 100% 16"
/>
<image texture="global/border/border-corner.png"
texture_size="0 0 16 16"
size="100%-16 100%-16 100% 100%"
/>
<image texture="global/border/border-corner.png"
texture_size="0 0 16 16"
size="0 100%-16 16 100%"
/>
<image texture="global/border/border-corner.png"
texture_size="0 0 16 16"
size="0 0 16 16"
/>
</sprite>-->
<!-- StoneWindow -->
<sprite name="StoneWindow">
<!-- background -->
<image texture="global/tile/stone_background_light.png"
texture_size="0 0 512 512"
size="4 4 100%-4 100%-4"
/>
<!-- shading -->
<image
texture="global/shading/gradient_wide.png"
size="0 0 100% 100%"
/>
<!-- thin sides -->
<image texture="global/border/line_horiz.png"
texture_size="0 0 64 4"
size="20 16 100%-20 20"
/>
<image texture="global/border/line_vert.png"
texture_size="0 0 4 64"
size="100%-20 20 100%-16 100%-20"
/>
<image texture="global/border/line_horiz.png"
texture_size="0 0 64 4"
size="20 100%-20 100%-20 100%-16"
/>
<image texture="global/border/line_vert.png"
texture_size="0 0 4 64"
size="16 20 20 100%-20"
/>
<!-- thin corners -->
<image
texture="global/border/line_corner_top_right.png"
texture_size="0 0 4 4"
size="100%-20 16 100%-16 20"
/>
<image texture="global/border/line_corner_bottom_right.png"
texture_size="0 0 4 4"
size="100%-20 100%-20 100%-16 100%-16"
/>
<image texture="global/border/line_corner_bottom_left.png"
texture_size="0 0 4 4"
size="16 100%-20 20 100%-16"
/>
<image texture="global/border/line_corner_top_left.png"
texture_size="0 0 4 4"
size="16 16 20 20"
/>
<!-- sides -->
<image texture="global/border/border-top.png"
texture_size="0 0 128 16"
size="16 0 100%-16 16"
/>
<image texture="global/border/border-right.png"
texture_size="0 0 16 128"
size="100%-16 16 100% 100%-16"
/>
<image texture="global/border/border-bottom.png"
texture_size="0 0 128 16"
size="16 100%-16 100%-16 100%"
/>
<image texture="global/border/border-left.png"
texture_size="0 0 16 128"
size="0 16 16 100%-16"
/>
<!-- corners -->
<image texture="global/border/border-corner.png"
texture_size="0 0 16 16"
size="100%-16 0 100% 16"
/>
<image texture="global/border/border-corner.png"
texture_size="0 0 16 16"
size="100%-16 100%-16 100% 100%"
/>
<image texture="global/border/border-corner.png"
texture_size="0 0 16 16"
size="0 100%-16 16 100%"
/>
<image texture="global/border/border-corner.png"
texture_size="0 0 16 16"
size="0 0 16 16"
/>
<!-- title frame -->
<image texture="global/titlebar/titlebar_left.png"
real_texture_placement="0 0 64 32"
size="50%-128 36 50%-64 4"
/>
<image texture="global/titlebar/titlebar_middle.png"
real_texture_placement="0 0 64 32"
size="50%-64 36 50%+64 4"
/>
<image texture="global/titlebar/titlebar_right.png"
real_texture_placement="0 0 64 32"
size="50%+64 36 50%+128 4"
/>
</sprite>
<!-- StoneDialog -->
<sprite name="StoneDialog">
<!-- background -->
<image texture="global/tile/stone_background_light.png"
texture_size="0 0 512 512"
size="4 4 100%-4 100%-4"
/>
<!-- shading -->
<image
texture="global/shading/gradient_wide.png"
size="0 0 100% 100%"
/>
<!-- thin sides -->
<image texture="global/border/line_horiz.png"
texture_size="0 0 64 4"
size="20 16 100%-20 20"
/>
<image texture="global/border/line_vert.png"
texture_size="0 0 4 64"
size="100%-20 20 100%-16 100%-20"
/>
<image texture="global/border/line_horiz.png"
texture_size="0 0 64 4"
size="20 100%-20 100%-20 100%-16"
/>
<image texture="global/border/line_vert.png"
texture_size="0 0 4 64"
size="16 20 20 100%-20"
/>
<!-- thin corners -->
<image
texture="global/border/line_corner_top_right.png"
texture_size="0 0 4 4"
size="100%-20 16 100%-16 20"
/>
<image texture="global/border/line_corner_bottom_right.png"
texture_size="0 0 4 4"
size="100%-20 100%-20 100%-16 100%-16"
/>
<image texture="global/border/line_corner_bottom_left.png"
texture_size="0 0 4 4"
size="16 100%-20 20 100%-16"
/>
<image texture="global/border/line_corner_top_left.png"
texture_size="0 0 4 4"
size="16 16 20 20"
/>
<!-- sides -->
<image texture="global/border/border-top.png"
texture_size="0 0 128 16"
size="16 0 100%-16 16"
/>
<image texture="global/border/border-right.png"
texture_size="0 0 16 128"
size="100%-16 16 100% 100%-16"
/>
<image texture="global/border/border-bottom.png"
texture_size="0 0 128 16"
size="16 100%-16 100%-16 100%"
/>
<image texture="global/border/border-left.png"
texture_size="0 0 16 128"
size="0 16 16 100%-16"
/>
<!-- corners -->
<image texture="global/border/border-corner.png"
texture_size="0 0 16 16"
size="100%-16 0 100% 16"
/>
<image texture="global/border/border-corner.png"
texture_size="0 0 16 16"
size="100%-16 100%-16 100% 100%"
/>
<image texture="global/border/border-corner.png"
texture_size="0 0 16 16"
size="0 100%-16 16 100%"
/>
<image texture="global/border/border-corner.png"
texture_size="0 0 16 16"
size="0 0 16 16"
/>
<!-- title frame -->
<image texture="global/titlebar/titlebar_left.png"
real_texture_placement="0 0 64 32"
size="50%-128 0%-16 50%-64 16"
/>
<image texture="global/titlebar/titlebar_middle.png"
real_texture_placement="0 0 64 32"
size="50%-64 0%-16 50%+64 16"
/>
<image texture="global/titlebar/titlebar_right.png"
real_texture_placement="0 0 64 32"
size="50%+64 0%-16 50%+128 16"
/>
</sprite>
<!-- Stone Dialog Title Bar -->
<!-- <sprite name="StoneDialogTitleBar">
<image texture="global/titlebar/titlebar_left.png"
real_texture_placement="0 0 64 32"
size="50%-128 0 50%-64 32"
/>
<image texture="global/titlebar/titlebar_middle.png"
real_texture_placement="0 0 64 32"
size="50%-64 0 50%+64 32"
/>
<image texture="global/titlebar/titlebar_right.png"
real_texture_placement="0 0 64 32"
size="50%+64 0 50%+128 32"
/>
</sprite>-->
<!--
==========================================
MENU CONTROL ELEMENT SPRITES
==========================================
-->
<sprite name="StoneButton">
<image texture="global/button/button_stone_unselected.png"
real_texture_placement="0 0 256 28"
size="0 0 100% 100%"
/>
</sprite>
<sprite name="StoneButtonOver">
<image texture="global/button/button_stone_selected.png"
real_texture_placement="0 0 256 28"
size="0 0 100% 100%"
/>
</sprite>
<sprite name="StoneButtonGlow">
<effect add_color="60 42 42 0" />
<image texture="global/button/button_stone_selected.png"
real_texture_placement="0 0 256 28"
size="0 0 100% 100%"
/>
</sprite>
<sprite name="StoneButtonFancyOver">
<image texture="global/button/button_stone_selected.png"
real_texture_placement="0 0 256 28"
size="0 0 100% 100%"
/>
<image texture="global/button/button_stone_selected_left_trim.png"
real_texture_placement="0 0 32 28"
size="0 0 32 28"
/>
<image texture="global/button/button_stone_selected_right_trim.png"
real_texture_placement="0 0 32 28"
size="100%-32 0 100% 28"
/>
</sprite>
<sprite name="StoneButtonFancyGlow">
<effect add_color="60 42 42 0" />
<image texture="global/button/button_stone_selected.png"
real_texture_placement="0 0 256 28"
size="0 0 100% 100%"
/>
<image texture="global/button/button_stone_selected_left_trim.png"
real_texture_placement="0 0 32 28"
size="0 0 32 28"
/>
<image texture="global/button/button_stone_selected_right_trim.png"
real_texture_placement="0 0 32 28"
size="100%-32 0 100% 28"
/>
</sprite>
<sprite name="StoneButtonDisabled">
<effect grayscale="" />
<image texture="global/button/button_stone_unselected.png"
real_texture_placement="0 0 256 28"
size="0 0 100% 100%"
/>
</sprite>
<sprite name="StoneCheckBoxOpen">
<image texture="global/button/checkbox_open_gray.dds"
size="0 0 100% 100%"
/>
</sprite>
<sprite name="StoneCheckBoxTick">
<image texture="global/button/checkbox_tick_gray.dds"
size="0 0 100% 100%"
/>
</sprite>
<sprite name="StoneCheckBoxCross">
<image texture="global/button/checkbox_cross_gray.dds"
size="0 0 100% 100%"
/>
</sprite>
<sprite name="StoneCheckBoxCrossOver">
<image texture="global/button/checkbox_cross_over_gray.dds"
size="0 0 100% 100%"
/>
</sprite>
<!--
<sprite name="StoneArrowLeft">
<image texture="global/button/arrowbox_lt.png"
size="0 0 100% 100%"
/>
</sprite>
<sprite name="StoneArrowLeftOver">
<image texture="global/button/arrowbox_lt_over.png"
size="0 0 100% 100%"
/>
</sprite>
<sprite name="StoneArrowRight">
<image texture="global/button/arrowbox_rt.png"
size="0 0 100% 100%"
/>
</sprite>
<sprite name="StoneArrowRightOver">
<image texture="global/button/arrowbox_rt_over.png"
size="0 0 100% 100%"
/>
</sprite>
-->
<sprite name="StoneArrowUp">
<image texture="global/button/arrowbox_up.dds"
size="0 0 100% 100%"
/>
</sprite>
<sprite name="StoneArrowUpOver">
<image texture="global/button/arrowbox_up_over.dds"
size="0 0 100% 100%"
/>
</sprite>
<sprite name="StoneArrowDn">
<image texture="global/button/arrowbox_dn.dds"
size="0 0 100% 100%"
/>
</sprite>
<sprite name="StoneArrowDnOver">
<image texture="global/button/arrowbox_dn_over.dds"
size="0 0 100% 100%"
/>
</sprite>
<sprite name="StoneScrollSpriteBar">
<image texture="global/border/scrollbar.dds"
real_texture_placement="0 0 16 128"
size="0 0 100% 100%"
/>
</sprite>
</sprites>