1
0
Fork 0

- create styles directory

- move old style there, named "default.xml"
- add experimental style: "anthrax.xml" ("anthracite.xml" was too long :-)
This commit is contained in:
mfranz 2005-07-13 10:53:38 +00:00
parent cefc6a87b1
commit 79ba75f01b
2 changed files with 270 additions and 0 deletions

130
gui/styles/anthrax.xml Normal file
View file

@ -0,0 +1,130 @@
<?xml version="1.0"?>
<PropertyList>
<!-- possible font names:
"default", "FIXED_8x13", "FIXED_9x15", "TIMES_10", "TIMES_24",
"HELVETICA_10", "HELVETICA_12", "HELVETICA_14", "HELVETICA_18",
"VERA_12B", and all font file names from $FG_ROOT/Fonts/, such as
"helvetica_bold.txf". "size" and "slant" take only effect on
texture fonts.
-->
<font>
<name type="string">HELVETICA_12</name>
</font>
<colors>
<background>
<red type="float">0.41</red>
<green type="float">0.4</green>
<blue type="float">0.42</blue>
<alpha type="float">1.0</alpha>
</background>
<label>
<red type="float">0.8</red>
<green type="float">0.8</green>
<blue type="float">0.8</blue>
<alpha type="float">1.0</alpha>
</label>
<checkbox-foreground>
<red type="float">0.41</red>
<green type="float">0.4</green>
<blue type="float">0.42</blue>
<alpha type="float">1.0</alpha>
</checkbox-foreground>
<checkbox-highlight>
<red type="float">1.0</red>
<green type="float">0.7</green>
<blue type="float">0.0</blue>
<alpha type="float">0.7</alpha>
</checkbox-highlight>
<checkbox-misc>
<red type="float">1.0</red>
<green type="float">0.7</green>
<blue type="float">0.0</blue>
<alpha type="float">1.0</alpha>
</checkbox-misc>
<radio-foreground>
<red type="float">1.0</red>
<green type="float">0.7</green>
<blue type="float">0.0</blue>
<alpha type="float">0.7</alpha>
</radio-foreground>
<input-legend>
<red type="float">0.3</red>
<green type="float">0.0</green>
<blue type="float">0.0</blue>
<alpha type="float">1.0</alpha>
</input-legend>
<input-foreground>
<red type="float">0.9</red>
<green type="float">0.6</green>
<blue type="float">0.0</blue>
<alpha type="float">1.0</alpha>
</input-foreground>
<input-misc>
<red type="float">1.0</red>
<green type="float">0.0</green>
<blue type="float">0.0</blue>
<alpha type="float">1.0</alpha>
</input-misc>
<button>
<red type="float">0.44</red>
<green type="float">0.43</green>
<blue type="float">0.45</blue>
<alpha type="float">1.0</alpha>
</button>
<button-legend>
<red type="float">1.0</red>
<green type="float">1.0</green>
<blue type="float">1.0</blue>
<alpha type="float">1.0</alpha>
</button-legend>
<dial-misc>
<red type="float">1.0</red>
<green type="float">0.7</green>
<blue type="float">0.0</blue>
<alpha type="float">0.7</alpha>
</dial-misc>
<hrule>
<red type="float">1.0</red>
<green type="float">0.7</green>
<blue type="float">0.0</blue>
<alpha type="float">1.0</alpha>
</hrule>
<vrule>
<red type="float">1.0</red>
<green type="float">0.7</green>
<blue type="float">0.0</blue>
<alpha type="float">1.0</alpha>
</vrule>
<slider>
<red type="float">0.9</red>
<green type="float">0.6</green>
<blue type="float">0.0</blue>
<alpha type="float">1.0</alpha>
</slider>
<!-- splash screen font color -->
<splash>
<red type="float">1.0</red>
<green type="float">0.9</green>
<blue type="float">0.0</blue>
</splash>
</colors>
</PropertyList>

140
gui/styles/default.xml Normal file
View file

@ -0,0 +1,140 @@
<?xml version="1.0"?>
<PropertyList>
<!-- possible font names:
"default", "FIXED_8x13", "FIXED_9x15", "TIMES_10", "TIMES_24",
"HELVETICA_10", "HELVETICA_12", "HELVETICA_14", "HELVETICA_18",
"SANS_12B", and all font file names from $FG_ROOT/Fonts/, such as
"helvetica_bold.txf". "size" and "slant" take only effect on
texture fonts.
-->
<font>
<name type="string">Helvetica.txf</name>
<size type="float">15</size>
<slant type="float">0</slant>
</font>
<colors>
<!-- default colors for all GUI objects -->
<background>
<red type="float">0.8</red>
<green type="float">0.8</green>
<blue type="float">0.9</blue>
<alpha type="float">0.85</alpha>
</background>
<foreground>
<red type="float">0.8</red>
<green type="float">0.8</green>
<blue type="float">0.9</blue>
<alpha type="float">0.85</alpha>
</foreground>
<highlight>
<red type="float">1.0</red>
<green type="float">1.0</green>
<blue type="float">1.0</blue>
<alpha type="float">1.0</alpha>
</highlight>
<label>
<red type="float">0.0</red>
<green type="float">0.0</green>
<blue type="float">0.0</blue>
<alpha type="float">1.0</alpha>
</label>
<legend>
<red type="float">0.0</red>
<green type="float">0.0</green>
<blue type="float">0.0</blue>
<alpha type="float">1.0</alpha>
</legend>
<misc>
<red type="float">0.0</red>
<green type="float">0.0</green>
<blue type="float">0.0</blue>
<alpha type="float">1.0</alpha>
</misc>
<!-- GUI object specific colors -->
<hrule>
<red type="float">0.0</red>
<green type="float">0.0</green>
<blue type="float">0.0</blue>
<alpha type="float">1.0</alpha>
</hrule>
<vrule>
<red type="float">0.0</red>
<green type="float">0.0</green>
<blue type="float">0.0</blue>
<alpha type="float">1.0</alpha>
</vrule>
<checkbox-foreground>
<red type="float">0.8</red>
<green type="float">0.7</green>
<blue type="float">0.7</blue>
<alpha type="float">1.0</alpha>
</checkbox-foreground>
<checkbox-highlight> <!-- box frame -->
<red type="float">1</red>
<green type="float">0.9</green>
<blue type="float">0.9</blue>
<alpha type="float">1.0</alpha>
</checkbox-highlight>
<radio-foreground>
<red type="float">0.8</red>
<green type="float">0.7</green>
<blue type="float">0.7</blue>
<alpha type="float">1.0</alpha>
</radio-foreground>
<radio-highlight>
<red type="float">1</red>
<green type="float">0.9</green>
<blue type="float">0.9</blue>
<alpha type="float">1.0</alpha>
</radio-highlight>
<input-background>
<red type="float">0.4</red>
<green type="float">0.3</green>
<blue type="float">0.3</blue>
<alpha type="float">1.0</alpha>
</input-background>
<input-foreground>
<red type="float">0.8</red>
<green type="float">0.7</green>
<blue type="float">0.7</blue>
<alpha type="float">1.0</alpha>
</input-foreground>
<input-highlight>
<red type="float">1.0</red>
<green type="float">0.9</green>
<blue type="float">0.9</blue>
<alpha type="float">1.0</alpha>
</input-highlight>
<input-misc> <!-- cursor -->
<red type="float">0.1</red>
<green type="float">0.1</green>
<blue type="float">1.0</blue>
<alpha type="float">1.0</alpha>
</input-misc>
<!-- splash screen font color -->
<splash>
<red type="float">1.0</red>
<green type="float">0.9</green>
<blue type="float">0.0</blue>
</splash>
</colors>
</PropertyList>