1
0
forked from 0ad/0ad
0ad/binaries/data/mods/official/gui/test/styles.xml
2008-07-29 14:26:27 +00:00

831 lines
18 KiB
XML
Executable File

<?xml version="1.0" encoding="iso-8859-1" standalone="no"?>
<!DOCTYPE styles SYSTEM "..\gui.dtd">
<styles>
<!--
==========================================
- DEFAULT STYLE: The style with the name 'default' is special, it will
- be called by every object before any other style is loaded.
==========================================
-->
<style name="default"
absolute="false"
enabled="true"
ghost="false"
hidden="false"
size="0 0 100% 100%"
z="0"
font="verdana12"
buffer_zone="5"
multiline="false"
/>
<!--
==========================================
- STYLE - GLOBAL - PANES - WHEAT SKIN
==========================================
-->
<style name="wheatWindow"
sprite="wheatWindowSand"
buffer_zone="10"
text_align="left"
text_valign="top"
/>
<style name="wheatWindowGranite"
sprite="wheatWindowGranite"
buffer_zone="10"
text_align="left"
text_valign="top"
/>
<style name="wheatWindowTitleBar"
size="50%-150 0%-25 50%+150 0%-9"
font="prospero18"
sprite="wheatWindowTitle"
text_align="center"
text_valign="center"
/>
<!--
==========================================
- STYLE - GLOBAL - PANES - HELLENIC SKIN
==========================================
-->
<style name="skin*Hele*Window"
sprite="bkGraniteBorderBlack"
buffer_zone="10"
text_align="left"
text_valign="top"
/>
<style name="skin*Hele*BorderBlack"
sprite="bkBorderBlack"
sprite_selectarea="bkFillGray"
textcolor="black"
textcolor_selected="white"
/>
<style name="skin*Hele*Button"
sprite="bkGrayBorderBlack"
sprite_disabled="wheatButtonDisabled"
sprite_over="wheatButtonOver"
sprite_pressed="wheatButtonOver"
text_align="center"
text_valign="center"
/>
<!--
==========================================
- STYLE - GLOBAL - WHEAT SKIN - CONTROLS
==========================================
-->
<style name="wheatButton"
sprite="wheatButton"
sprite_disabled="wheatButtonDisabled"
sprite_over="wheatButtonOver"
sprite_pressed="wheatButtonOver"
text_align="center"
text_valign="center"
/>
<style name="wheatButtonFancy"
sprite="wheatButton"
sprite_disabled="wheatButtonDisabled"
sprite_over="wheatButtonOver"
sprite_pressed="wheatButtonOver"
font="prospero18"
text_align="center"
text_valign="center"
/>
<style name="wheatTabButton"
sprite="wheatButton"
sprite_disabled="wheatButtonGlow"
sprite_over="wheatButtonOver"
sprite_pressed="wheatButtonTabbed"
text_align="center"
text_valign="center"
/>
<style name="wheatExit"
size="100%+9 0%-25 100%+25 0%-9"
sprite="wheatCheckBoxCross"
sprite_over="wheatCheckBoxCrossOver"
tooltip="Close this window and return to the previous screen."
tooltip_style="pgToolTip"
/>
<style name="wheatCrossBox"
font="verdana12"
sprite="wheatCheckBoxOpen"
sprite2="wheatCheckBoxCross"
square_side="16"
textcolor="black"
/>
<style name="wheatArrowLeft"
font="verdana12"
sprite="wheatCheckBoxOpen"
textcolor="black"
/>
<style name="wheatArrowRight"
font="verdana12"
sprite="wheatCheckBoxOpen"
textcolor="black"
/>
<style name="wheatArrowUp"
font="verdana12"
sprite="wheatCheckBoxOpen"
textcolor="black"
/>
<style name="wheatArrowDn"
font="verdana12"
sprite="wheatCheckBoxOpen"
textcolor="black"
/>
<style name="wheatList"
buffer_zone="5"
font="verdana12"
scrollbar="true"
scrollbar_style="wheatScrollBar"
sprite="wheatIndentFillLight"
sprite_selectarea="bkWhiteBorderBlack"
sprite_over="wheatIndentBorder"
textcolor="black"
textcolor_selected="white"
text_align="left"
text_valign="center"
/>
<!--
This control is new, so here's a summary:
* dropdown_buffer: vertical gap between dropdown and list
Dropdown button:
* size=shape
* sprite=bkg
* textcolor=text color
Dropdown arrow button:
* button_width=shape
* sprite2=bkg
* sprite2_pressed=bkg clicked
Dropdown list:
* buffer_zone=margin
* dropdown_size=height
* sprite_list=bkg
* sprite_selectarea=bkg hovered item
* textcolor_selected=text color hobered item
-->
<style name="wheatDropDown"
dropdown_buffer="1"
font="verdana12"
textcolor="black"
text_align="center"
text_valign="center"
sprite="wheatButton"
sprite_over="wheatButtonOver"
button_width="15"
sprite2="wheatArrowDn"
sprite2_pressed="wheatArrowDnOver"
buffer_zone="10"
dropdown_size="100"
sprite_list="textureGranite"
sprite_selectarea="bkGrayBorderBlack"
textcolor_selected="white"
scrollbar="true"
scrollbar_style="wheatScrollBar"
/>
<!--
==========================================
- STYLE - GLOBAL - WHEAT SKIN - TEXT
==========================================
-->
<!--
=============================================================
- STYLE - GLOBAL - WHEAT SKIN - TEXT - LARGE HEADING
- Standard text. Largest heading. (eg "Player Slots" in host screen.)
=============================================================
-->
<style name="wheatTextHeadMaxBlack"
ghost="true"
font="giovanni22bold"
text_align="center"
textcolor="black"
/>
<!--
=============================================================
- STYLE - GLOBAL - WHEAT SKIN - TEXT - HEADING
- Standard text. Heading. (eg "Player Name").
=============================================================
-->
<style name="wheatTextHeadBlack"
ghost="true"
font="tahoma16"
textcolor="black"
/>
<style name="wheatTextHeadWhite"
ghost="true"
font="tahoma16"
textcolor="white"
/>
<style name="wheatTextHeadBlackRt"
ghost="true"
font="tahoma16"
text_align="right"
textcolor="black"
/>
<!--
=============================================================
- STYLE - GLOBAL - WHEAT SKIN - TEXT - SUBHEADING
- Standard text. Subheading.
=============================================================
-->
<style name="wheatTextHeadSubBlack"
ghost="true"
font="tahoma14"
textcolor="black"
/>
<!--
=============================================================
- STYLE - GLOBAL - WHEAT SKIN - TEXT - LABEL
- Standard text. Plain medium text (eg window text). Default.
=============================================================
-->
<style name="wheatTextLabelBlack"
ghost="true"
font="verdana12"
textcolor="black"
/>
<style name="wheatTextLabelWhite"
ghost="true"
font="verdana12"
textcolor="white"
/>
<!--
=============================================================
- STYLE - GLOBAL - WHEAT SKIN - TEXT - SUB LABEL
- Standard text. Plain smaller label.
=============================================================
-->
<style name="wheatTextSubLabelBlack"
ghost="true"
font="verdana11"
textcolor="black"
/>
<!--
=============================================================
- STYLE - GLOBAL - WHEAT SKIN - TEXT - FOOTNOTE MAX
- Standard text. Large footnote.
=============================================================
-->
<style name="wheatTextFootMaxBlack"
ghost="true"
font="verdana10"
textcolor="black"
/>
<!--
=============================================================
- STYLE - GLOBAL - WHEAT SKIN - TEXT - FOOTNOTE
- Standard text. Normal footnote.
=============================================================
-->
<style name="wheatTextFootBlack"
ghost="true"
font="verdana9"
textcolor="black"
/>
<!--
=============================================================
- STYLE - GLOBAL - WHEAT SKIN - TEXT - SUBFOOTNOTE
- Standard text. Small subfootnote.
=============================================================
-->
<style name="wheatTextFootSubBlack"
ghost="true"
font="verdana8"
textcolor="black"
/>
<!--
=============================================================
- STYLE - GLOBAL - WHEAT SKIN - TEXT - FANCY - TITLEBAR
- Large and ornate. eg Window titlebar.
=============================================================
-->
<style name="fancyTextTitleGold"
ghost="true"
font="prospero18"
textcolor="gold"
/>
<style name="fancyTextTitleWhite"
ghost="true"
font="prospero18"
textcolor="white"
/>
<style name="fancyTextTitleBlack"
ghost="true"
font="prospero18"
textcolor="black"
/>
<!--
=============================================================
- STYLE - GLOBAL - WHEAT SKIN - TEXT - FANCY - HEADING
- Medium and ornate. eg Version number.
=============================================================
-->
<style name="fancyTextHeadGold"
ghost="true"
font="prospero16"
textcolor="gold"
/>
<style name="fancyTextHeadWhite"
ghost="true"
font="prospero16"
textcolor="white"
/>
<!--
==========================================
- STYLE - GLOBAL - WHEAT SKIN - BORDERS
==========================================
-->
<style name="wheatBorderBlack"
scrollbar_style="wheatScrollBar"
sprite="bkBorderBlack"
sprite_selectarea="bkFillGray"
textcolor="black"
textcolor_selected="white"
/>
<style name="wheatBorderBlackNote"
font="verdana9"
sprite="bkBorderBlack"
sprite_selectarea="bkFillGray"
textcolor="black"
textcolor_selected="white"
/>
<style name="wheatDividerBlack"
sprite="bkBorderBlack"
sprite_selectarea="bkFillGray"
textcolor="black"
textcolor_selected="white"
/>
<!--
==========================================
- STYLE - GLOBAL - WHEAT SKIN - PROGRESS BARS
==========================================
-->
<style name="wheatProgressBarBlue"
sprite_background="bkBorderBlack"
sprite_bar="bkBlueBorderBlack"
ghost="true"
tooltip_style="snToolTip"
tooltip="(TBA)"
/>
<!--
==========================================
- STYLE - UNIQUE
==========================================
-->
<!--
==========================================
- STYLE - UNIQUE - PREGAME
==========================================
-->
<style name="pgButton"
tooltip_style="pgToolTip"
tooltip=""
/>
<!--
==========================================
- STYLE - UNIQUE - SESSION
==========================================
-->
<style name="snObject"
tooltip_style="snToolTip"
tooltip=""
/>
<style name="snAction"
sprite="snIconCommand"
sprite_over="snIconCommandOver"
sprite_disabled="snIconCommandDisabled"
text_align="right"
textcolor="255 255 255"
tooltip_style="snToolTip"
tooltip="(TBA)"
/>
<style name="snPortrait"
sprite="snIconPortrait"
sprite_over="snIconPortraitOver"
sprite_disabled="snIconPortraitDisabled"
text_align="right"
textcolor="255 255 255"
tooltip_style="snToolTip"
tooltip="(TBA)"
/>
<style name="snPortraitProgress"
sprite_background=""
sprite_bar="bkTranslucent"
text_align="center"
text_valign="center"
textcolor="255 255 255"
tooltip_style="snToolTip"
tooltip="(TBA)"
/>
<style name="snIcon"
ghost="true"
/>
<style name="snResourceIcon"
ghost="true"
sprite="snIconSheetResource"
z="100"
/>
<style name="snStat"
text_align="left"
text_valign="center"
font="tahoma14"
textcolor="white"
tooltip_style="snToolTip"
ghost="true"
/>
<style name="snCounter"
sprite="snCounter"
text_align="right"
text_valign="center"
font="tahoma14"
textcolor="white"
tooltip_style="snToolTip"
ghost="false"
/>
<style name="snStatusPane"
sprite="snStatusPane"
buffer_zone="10"
text_align="left"
text_valign="top"
/>
<style name="snMiniMapBorder"
sprite="snMiniMapBorder"
buffer_zone="10"
ghost="true"
text_align="left"
text_valign="top"
/>
<style name="snMiniMapArcLeft"
sprite="snIconArcLeft"
sprite_over="snIconArcLeftOver"
sprite_disabled="snIconArcLeftDisabled"
tooltip_style="snToolTip"
ghost="false"
enabled="true"
/>
<style name="snMiniMapArcUp"
sprite="snIconArcUp"
sprite_over="snIconArcUpOver"
sprite_disabled="snIconArcUpDisabled"
tooltip_style="snToolTip"
ghost="false"
enabled="true"
/>
<style name="snMiniMapButton"
text_align="left"
text_valign="center"
font="tahoma14"
textcolor="white"
tooltip_style="snToolTip"
sprite="snIconSheetMiniMapButton"
sprite_over="snIconSheetMiniMapButtonOver"
sprite_disabled="snIconSheetMiniMapButtonDisabled"
ghost="false"
enabled="true"
/>
<style name="snGreenBar"
sprite_background=""
sprite_bar="bkGreenBar"
ghost="true"
tooltip_style="snToolTip"
tooltip="(TBA)"
/>
<style name="snBlueBar"
sprite_background=""
sprite_bar="bkBlueBar"
ghost="true"
tooltip_style="snToolTip"
tooltip="(TBA)"
/>
<!--
NOT YET CONVERTED NOT YET CONVERTED NOT YET CONVERTED NOT YET CONVERTED NOT YET CONVERTED NOT YET CONVERTED
NOT YET CONVERTED NOT YET CONVERTED NOT YET CONVERTED NOT YET CONVERTED NOT YET CONVERTED NOT YET CONVERTED
-->
<!--
==========================================
- STYLE - UNIQUE - SESSION
==========================================
-->
<style name="control_group"
size="0 0 100% 100%"
/>
<style name="session_object"
tooltip_style="snToolTip"
tooltip="(TBA)"
/>
<style name="session_button_object"
text_align="center"
text_valign="center"
sprite="wheatButton"
sprite_over="wheatButtonOver"
tooltip_style="snToolTip"
tooltip="(TBA)"
/>
<style name="session_ghost_object"
tooltip_style="snToolTip"
tooltip="(TBA)"
ghost="true"
/>
<style name="session_ghost_miniheading_object"
font="verdana8"
textcolor="200 200 200"
tooltip_style="snToolTip"
tooltip="(TBA)"
ghost="true"
/>
<style name="session_ghost_subheading_object"
font="verdana10"
textcolor="200 200 200"
tooltip_style="snToolTip"
tooltip="(TBA)"
ghost="true"
/>
<style name="session_ghost_subheading_center_object"
font="verdana10"
textcolor="200 200 200"
text_align="center"
tooltip_style="snToolTip"
tooltip="(TBA)"
ghost="true"
/>
<style name="session_ghost_subheading_left_object"
font="verdana10"
textcolor="200 200 200"
text_align="left"
tooltip_style="snToolTip"
tooltip="(TBA)"
ghost="true"
/>
<style name="session_ghost_midheading_object"
font="verdana11"
textcolor="255 255 255"
text_align="center"
text_valign="bottom"
tooltip_style="snToolTip"
tooltip="(TBA)"
ghost="true"
/>
<style name="session_ghost_midheading_center_bottom_object"
font="verdana11"
textcolor="255 255 255"
text_align="center"
text_valign="bottom"
tooltip_style="snToolTip"
tooltip="(TBA)"
ghost="true"
/>
<style name="session_ghost_heading_object"
font="verdana12"
textcolor="200 200 200"
tooltip_style="snToolTip"
tooltip="(TBA)"
ghost="true"
/>
<style name="session_ghost_heading_left_object"
font="verdana12"
textcolor="200 200 200"
text_align="left"
tooltip_style="snToolTip"
tooltip="(TBA)"
ghost="true"
/>
<style name="session_ghost_text_object"
font="verdana10"
textcolor="255 255 255"
tooltip_style="snToolTip"
tooltip="(TBA)"
ghost="true"
/>
<style name="session_ghost_text_left_object"
font="verdana10"
textcolor="255 255 255"
text_align="left"
tooltip_style="snToolTip"
tooltip="(TBA)"
ghost="true"
/>
<style name="session_ghost_text_left_centre_object"
font="verdana10"
textcolor="255 255 255"
text_align="left"
text_valign="center"
tooltip_style="snToolTip"
tooltip="(TBA)"
ghost="true"
/>
<style name="portrait_progress"
sprite_background=""
sprite_bar="translucent_background"
text_align="center"
text_valign="center"
textcolor="255 255 255"
tooltip_style="snToolTip"
tooltip="(TBA)"
/>
<style name="action"
sprite="ui_portrait_default_circle"
sprite_over="ui_portrait_default_circle_lit"
sprite_disabled="ui_portrait_default_circle_grey"
text_align="right"
textcolor="255 255 255"
tooltip_style="snToolTip"
tooltip="(TBA)"
/>
<style name="action_left"
sprite="ui_portrait_default_circle"
sprite_over="ui_portrait_default_circle_lit"
sprite_disabled="ui_portrait_default_circle_grey"
text_align="left"
textcolor="255 255 255"
tooltip_style="snToolTip"
tooltip="(TBA)"
/>
<!-- Entity progress bar. -->
<style name="group_portrait_bar"
sprite_background=""
sprite_bar="green_bar"
ghost="true"
tooltip_style="snToolTip"
tooltip="(TBA)"
/>
<style name="up_bar"
sprite_background=""
sprite_bar="yellow_bar"
ghost="true"
tooltip_style="snToolTip"
tooltip="(TBA)"
/>
<style name="blue_bar"
sprite_background=""
sprite_bar="blue_bar"
ghost="true"
tooltip_style="snToolTip"
tooltip="(TBA)"
/>
<style name="blue_bar_outlined"
sprite_background="bkBorderBlack"
sprite_bar="blue_bar_outlined"
ghost="true"
tooltip_style="snToolTip"
tooltip="(TBA)"
/>
<style name="globalMessageStyle"
hidden="true"
text_align="left"
text_valign="top"
textcolor="255 255 255"
ghost="true"
font="trebuchet14b"
size="20 150 100% 30%"
/>
<!-- This is for creating a small 1px. shadow so the text is visible on the bright maps. -->
<style name="globalMessageStyleUnder"
hidden="true"
text_align="left"
text_valign="top"
textcolor="50 50 50"
ghost="true"
font="trebuchet14b"
size="19 150 100% 30%"
/>
<style name="PlayersListStyle"
hidden="true"
text_align="right"
text_valign="bottom"
textcolor="white"
ghost="true"
font="trebuchet14b"
size="100%-500 100%-320 100% 100%-180"
/>
<style name="PlayersListStyleShadow"
hidden="true"
text_align="right"
text_valign="bottom"
textcolor="50 50 50"
ghost="true"
font="trebuchet14b"
size="100%-500 100%-320 100% 100%-180"
/>
<style name="PlayerStyle"
ghost="true"
textcolor="white"
text_align="right"
font="trebuchet14b"
/>
<style name="PlayerStyleShadow"
ghost="true"
textcolor="50 50 50"
text_align="right"
font="trebuchet14b"
/>
</styles>