1
0
forked from mirrors/0ad
Files
0ad/binaries/data/mods/public/gui/common/styles.xml
T
elexis 29c95f3a49 GUI sprite / style cleanup.
Merge common/styles.xml (which contains only the special default style)
with common/common_styles.xml.
Rename common/common_sprites.xml to common/sprites.xml.

This was SVN commit r18637.
2016-08-25 20:23:17 +00:00

194 lines
3.8 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="sans-14"
buffer_zone="5"
multiline="false"
/>
<!--
==========================================
MENU TEXT STYLES
==========================================
-->
<style name="CenteredButtonText"
font="sans-bold-stroke-14"
textcolor="white"
text_align="center"
text_valign="center"
/>
<style name="LeftButtonText"
font="sans-bold-stroke-14"
textcolor="white"
text_align="left"
text_valign="top"
/>
<style name="RightButtonText"
font="sans-bold-stroke-14"
textcolor="white"
text_align="right"
text_valign="top"
/>
<style name="LeftLabelText"
font="sans-bold-stroke-14"
textcolor="gold"
text_align="left"
text_valign="center"
/>
<style name="RightLabelText"
font="sans-bold-stroke-14"
textcolor="gold"
text_align="right"
text_valign="center"
/>
<style name="CenteredLabelText"
font="sans-bold-stroke-14"
textcolor="gold"
text_align="center"
text_valign="center"
/>
<style name="LeftTabLabelText"
font="sans-bold-stroke-14"
textcolor="gold"
text_align="left"
text_valign="top"
/>
<style name="RightTabLabelText"
font="sans-bold-stroke-14"
textcolor="gold"
text_align="right"
text_valign="top"
/>
<style name="CenteredTabLabelText"
font="sans-bold-stroke-14"
textcolor="gold"
text_align="center"
text_valign="top"
/>
<style name="SmallLeftLabelText"
font="sans-12"
textcolor="white"
text_align="left"
text_valign="top"
/>
<style name="TitleText"
font="sans-bold-stroke-14"
textcolor="white"
text_align="center"
text_valign="center"
/>
<style name="LargeTitleText"
font="sans-bold-24"
textcolor="white"
text_align="center"
text_valign="center"
/>
<style name="MediumTitleText"
font="sans-bold-12"
textcolor="white"
text_align="center"
text_valign="center"
/>
<!--
==========================================
MENU WINDOW STYLES
==========================================
-->
<style name="TranslucentPanel"
sprite="BackgroundTranslucent"
buffer_zone="10"
font="sans-bold-stroke-14"
textcolor="white"
text_align="left"
text_valign="top"
/>
<style name="TranslucentPanelThinBorder"
sprite="TranslucentPanelThinBorder"
buffer_zone="10"
font="sans-bold-stroke-14"
textcolor="white"
text_align="left"
text_valign="top"
/>
<style name="StonePanelThinBorder"
sprite="StonePanelThinBorder"
buffer_zone="10"
text_align="left"
text_valign="top"
/>
<!--
==========================================
MENU CONTROL ELEMENT STYLES
==========================================
-->
<style name="StoneButtonFancy"
sprite="StoneButton"
sprite_disabled="StoneButtonDisabled"
sprite_over="StoneButtonFancyOver"
sprite_pressed="StoneButtonFancyGlow"
font="sans-bold-stroke-14"
textcolor="white"
text_align="center"
text_valign="center"
sound_pressed="audio/interface/ui/ui_button_click.ogg"
/>
<style name="StoneButton"
sprite="StoneButton"
sprite_disabled="StoneButtonDisabled"
sprite_over="StoneButtonOver"
sprite_pressed="StoneButtonGlow"
font="sans-bold-stroke-14"
textcolor="white"
text_align="center"
text_valign="center"
sound_pressed="audio/interface/ui/ui_button_click.ogg"
/>
<style name="MapPlayerList"
buffer_zone="8"
font="sans-14"
scrollbar="true"
scrollbar_style="ModernScrollBar"
scroll_bottom="false"
textcolor="white"
text_align="left"
text_valign="top"
/>
</styles>