Ykkrosh
c8c10a4871
Add various GUI pieces (exit button, resource counts, unit details). Clean up implementation of button panels. Split some content out of 'common' and into page-specific files. Delete some obsolete content. This was SVN commit r7337.
429 lines
9.4 KiB
XML
429 lines
9.4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<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)"
|
|
/>
|
|
|
|
</styles>
|