mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-09-21 20:06:40 +00:00
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.
This commit is contained in:
@@ -1,173 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<styles>
|
||||
|
||||
<!--
|
||||
==========================================
|
||||
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>
|
||||
@@ -1,6 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<styles>
|
||||
|
||||
<!--
|
||||
==========================================
|
||||
- DEFAULT STYLE: The style with the name 'default' is special, it will
|
||||
@@ -20,4 +21,173 @@
|
||||
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>
|
||||
|
||||
@@ -5,9 +5,8 @@
|
||||
<include>common/modern/sprites.xml</include>
|
||||
|
||||
<include>common/setup.xml</include>
|
||||
<include>common/sprites.xml</include>
|
||||
<include>common/styles.xml</include>
|
||||
<include>common/common_sprites.xml</include>
|
||||
<include>common/common_styles.xml</include>
|
||||
|
||||
<include>civinfo/civinfo.xml</include>
|
||||
<include>civinfo/setup.xml</include>
|
||||
|
||||
@@ -5,9 +5,8 @@
|
||||
<include>common/modern/sprites.xml</include>
|
||||
|
||||
<include>common/setup.xml</include>
|
||||
<include>common/sprites.xml</include>
|
||||
<include>common/styles.xml</include>
|
||||
<include>common/common_sprites.xml</include>
|
||||
<include>common/common_styles.xml</include>
|
||||
|
||||
<include>gamesetup/setup.xml</include>
|
||||
<include>gamesetup/sprites.xml</include>
|
||||
|
||||
@@ -5,9 +5,8 @@
|
||||
<include>common/modern/sprites.xml</include>
|
||||
|
||||
<include>common/setup.xml</include>
|
||||
<include>common/sprites.xml</include>
|
||||
<include>common/styles.xml</include>
|
||||
<include>common/common_sprites.xml</include>
|
||||
<include>common/common_styles.xml</include>
|
||||
|
||||
<include>savedgames/load.xml</include>
|
||||
</page>
|
||||
|
||||
@@ -5,9 +5,8 @@
|
||||
<include>common/modern/sprites.xml</include>
|
||||
|
||||
<include>common/setup.xml</include>
|
||||
<include>common/sprites.xml</include>
|
||||
<include>common/styles.xml</include>
|
||||
<include>common/common_sprites.xml</include>
|
||||
<include>common/common_styles.xml</include>
|
||||
<include>common/init.xml</include>
|
||||
|
||||
<include>loading/styles.xml</include>
|
||||
|
||||
@@ -5,9 +5,8 @@
|
||||
<include>common/modern/sprites.xml</include>
|
||||
|
||||
<include>common/setup.xml</include>
|
||||
<include>common/sprites.xml</include>
|
||||
<include>common/styles.xml</include>
|
||||
<include>common/common_sprites.xml</include>
|
||||
<include>common/common_styles.xml</include>
|
||||
<include>common/init.xml</include>
|
||||
|
||||
<include>pregame/backgrounds/</include>
|
||||
|
||||
@@ -5,9 +5,8 @@
|
||||
<include>common/modern/sprites.xml</include>
|
||||
|
||||
<include>common/setup.xml</include>
|
||||
<include>common/sprites.xml</include>
|
||||
<include>common/styles.xml</include>
|
||||
<include>common/common_sprites.xml</include>
|
||||
<include>common/common_styles.xml</include>
|
||||
|
||||
<include>replaymenu/replay_menu.xml</include>
|
||||
</page>
|
||||
|
||||
@@ -5,9 +5,8 @@
|
||||
<include>common/modern/sprites.xml</include>
|
||||
|
||||
<include>common/setup.xml</include>
|
||||
<include>common/sprites.xml</include>
|
||||
<include>common/styles.xml</include>
|
||||
<include>common/common_sprites.xml</include>
|
||||
<include>common/common_styles.xml</include>
|
||||
|
||||
<include>savedgames/save.xml</include>
|
||||
</page>
|
||||
|
||||
@@ -6,9 +6,8 @@
|
||||
|
||||
<include>common/setup.xml</include>
|
||||
<include>common/setup_resources.xml</include>
|
||||
<include>common/sprites.xml</include>
|
||||
<include>common/styles.xml</include>
|
||||
<include>common/common_sprites.xml</include>
|
||||
<include>common/common_styles.xml</include>
|
||||
<include>common/icon_sprites.xml</include>
|
||||
|
||||
<include>session/sprites.xml</include>
|
||||
|
||||
@@ -5,9 +5,8 @@
|
||||
<include>common/modern/sprites.xml</include>
|
||||
|
||||
<include>common/setup_resources.xml</include>
|
||||
<include>common/sprites.xml</include>
|
||||
<include>common/styles.xml</include>
|
||||
<include>common/common_sprites.xml</include>
|
||||
<include>common/common_styles.xml</include>
|
||||
|
||||
<include>structree/styles.xml</include>
|
||||
<include>structree/sprites.xml</include>
|
||||
|
||||
Reference in New Issue
Block a user