From 350386e4f506bdbb56688633f01b5443a0e5c980 Mon Sep 17 00:00:00 2001 From: mfranz <mfranz> Date: Thu, 7 Jul 2005 21:03:15 +0000 Subject: [PATCH] - simple style file, that is supposed to eventually define the old fgfs style by means of the new "theme engine". Currently there are some differences, though. --- gui/style.xml | 84 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 84 insertions(+) create mode 100644 gui/style.xml diff --git a/gui/style.xml b/gui/style.xml new file mode 100644 index 000000000..59ac2b580 --- /dev/null +++ b/gui/style.xml @@ -0,0 +1,84 @@ +<?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.txf</name> + <size type="float">15</size> + <slant type="float">0</slant> + </font> + + <colors> + <!-- default color qualities 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> + + <!-- 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>