1
0
Fork 0

Theme rework.

Change fonts; make use of the new feature to allow fonts to be specified using property from dialog xml.

Ensure that all fonts are defined within the style.
This commit is contained in:
Richard Harrison 2017-11-12 16:55:25 +01:00
parent eabece0148
commit 08fd851489
18 changed files with 516 additions and 426 deletions

BIN
Fonts/accid.txf Normal file

Binary file not shown.

Binary file not shown.

View file

@ -157,23 +157,23 @@ var dialog = {
me.toggle_unit(); # set to imperial
#
# "private"
var font = "";
if (getprop("/sim/gui/current-syle"))
font = {name: "FIXED_8x13" };
else
font = { name: "AvantGarde-Demi.txf"};
me.font = { name: getprop("/sim/gui/selected-style/fonts/mp-list/name") or "FIXED_8x13",
size: getprop("/sim/gui/selected-style/fonts/mp-list/size") or 20,
slant: getprop("/sim/gui/selected-style/fonts/mp-list/slant") or 0,
};
me.header = ["chat", " callsign"," code"," model", " brg", func dialog.dist_hdr, func dialog.alt_hdr ~ " ", "ignore" ~ " "];
me.header = ["chat", " callsign"," code"," model", " brg", func dialog.dist_hdr, func dialog.alt_hdr ~ " ", "ver", "ignore" ~ " "];
me.columns = [
{ type: "button", legend: "", halign: "right", callback: "multiplayer.compose_message", "pref-height": 14, "pref-width": 14 },
{ type: "text", property: "callsign", format: " %s", label: "-----------", halign: "fill" , font: font },
{ type: "text", property: "id-code", format: " %s", label: "-----", halign: "fill" , font: font },
{ type: "text", property: "model-short", format: "%s", label: "--------------", halign: "fill" , font: font },
{ type: "text", property: "bearing-to", format: " %3.0f", label: "----", halign: "right", font: font },
{ type: "text", property: func dialog.dist_node, format:" %8.2f", label: "---------", halign: "right", font: font },
{ type: "text", property: func dialog.alt_node, format:" %7.0f", label: "---------", halign: "right", font: font },
{ type: "text", property: "callsign", format: " %s", label: "-----------", halign: "fill" , font: me.font },
{ type: "text", property: "id-code", format: " %s", label: "-----", halign: "fill" , font: me.font },
{ type: "text", property: "model-short", format: " %s", label: "--------------", halign: "fill" , font: me.font },
{ type: "text", property: "bearing-to", format: " %3.0f", label: "----", halign: "right", font: me.font },
{ type: "text", property: func dialog.dist_node, format:" %8.2f", label: "---------", halign: "right", font: me.font },
{ type: "text", property: func dialog.alt_node, format:" %7.0f", label: "---------", halign: "right", font: me.font },
{ type: "text", property: "sim/multiplay/protocol-version", format: " %s", label: "--", halign: "fill" , font: me.font },
{ type: "checkbox", property: "controls/invisible", callback: "multiplayer.dialog.toggle_ignore",
argprop: "callsign", label: "---------", halign: "right", font: font },
argprop: "callsign", label: "---------", halign: "right", font: me.font },
];
me.cs_warnings = {};
me.name = "who-is-online";
@ -193,6 +193,7 @@ var dialog = {
me.dialog = gui.dialog[me.name] = gui.Widget.new();
me.dialog.set("name", me.name);
me.dialog.set("dialog-name", me.name);
me.dialog.set("font", me.font.name);
if (me.x != nil)
me.dialog.set("x", me.x);
if (me.y != nil)
@ -233,6 +234,8 @@ var dialog = {
var col = 0;
foreach (var h; me.header) {
var w = content.addChild("text");
w.node.setValues({ "font" : me.font});
var l = typeof(h) == "func" ? h() : h;
w.node.setValues({ "label": l, "row": row, "col": col, halign: me.columns[col].halign });
w = content.addChild("hrule");

View file

@ -30,8 +30,8 @@ var sanitize = func(s, newline = 0) {
var theme_font = nil;
var theme_font = getprop("/sim/gui/selected-style/fonts/message-display/name") or "HELVETICA_14";
var theme_fontsize = getprop("/sim/gui/selected-style/fonts/message-display/size") or 13;
# screen.window
@ -133,10 +133,11 @@ var window = {
me.dialog.set("y", me.y);
me.dialog.set("layout", "vbox");
me.dialog.set("default-padding", 2);
if (me.font != nil)
me.dialog.setFont(me.font);
me.dialog.setFont(me.font, me.fontsize);
elsif (theme_font != nil)
me.dialog.setFont(theme_font);
me.dialog.setFont(theme_font, theme_fontsize);
me.dialog.setColor(me.bg[0], me.bg[1], me.bg[2], me.bg[3]);
@ -209,7 +210,7 @@ var window = {
#
# var dpy = screen.display.new(20, 10); # x/y coordinate
# dpy.setcolor(1, 0, 1); # magenta (default: white)
# dpy.setfont("SANS_12B"); # see $FG_ROOT/gui/styles/*.xml
# dpy.setfont("SANS_12B",12); # see $FG_ROOT/gui/styles/*.xml
#
# dpy.add("/position/latitude-deg", "/position/longitude-deg");
# dpy.add(props.globals.getNode("/orientation").getChildren());
@ -244,7 +245,8 @@ var display = {
m.x = x;
m.y = y;
m.tags = show_tags;
m.font = "HELVETICA_14";
m.font = getprop("/sim/gui/selected-style/fonts/message-display/name") or "HELVETICA_14";
m.fontsize = getprop("/sim/gui/selected-style/fonts/message-display/size") or 13;
m.color = [1, 1, 1, 1];
m.tagformat = "%s";
m.format = "%.12g";
@ -266,8 +268,9 @@ var display = {
me.redraw();
me;
},
setfont : func(font) {
setfont : func(font, size=13) {
me.font = font;
me.fontsize = size;
me.redraw();
me;
},
@ -278,7 +281,7 @@ var display = {
me.dialog.set("y", me.y);
me.dialog.set("layout", "vbox");
me.dialog.set("default-padding", 2);
me.dialog.setFont(me.font);
me.dialog.setFont(me.font, me.fontsize);
me.dialog.setColor(0, 0, 0, 0);
foreach (var e; me.entries) {
@ -416,8 +419,7 @@ _setlistener("/sim/signals/nasal-dir-initialized", func {
});
setlistener("/sim/gui/current-style", func {
var theme = getprop("/sim/gui/current-style");
theme_font = getprop("/sim/gui/style[" ~ theme ~ "]/fonts/message-display/name");
theme_font = getprop("/sim/gui/selected-style/fonts/message-display/name");
}, 1);
log = window.new(nil, -30, 10, 10);

View file

@ -44,6 +44,18 @@ var trim = func(s, lr = 0, istrim = nil) {
return r < l ? "" : substr(s, l, r - l + 1);
}
##
# truncate at the first match
#
# string.truncateAt("file.xml", ".xml"); # "file.xml" -> "file"
# string.truncateAt("file.xml", ".txt"); # "file.xml" -> "file.xml"
#
var truncateAt = func(src, match){
var pos = find(match,src);
if (pos>=0)
return substr(src,0,pos);
return src;
}
##
# return string converted to lower case letters

View file

@ -7,10 +7,10 @@
<layout>vbox</layout>
<draggable>false</draggable>
<default-padding>1</default-padding>
<font>
<name>HELVETICA_12</name>
</font>
<color>
<font>
<property>sim/gui/selected-style/fonts/gui-small</property>
</font>
<color>
<red>0</red>
<green>0</green>
<blue>0</blue>

View file

@ -81,7 +81,7 @@
<alpha>1</alpha>
</color-legend>
<font>
<name>FIXED_9x15</name>
<property>sim/gui/selected-style/fonts/gui-small</property>
</font>
</input>

View file

@ -62,7 +62,7 @@
<editable>falsee</editable>
<wrap>false</wrap>
<font>
<name>FIXED_8x13</name>
<property>sim/gui/selected-style/fonts/fixed</property>
</font>
<property>/sim/gui/dialogs/doc-browser/edit</property>
</textbox>

View file

@ -7,8 +7,8 @@
<layout>hbox</layout>
<default-padding>2</default-padding>
<font>
<name>HELVETICA_12</name>
</font>
<property>sim/gui/selected-style/fonts/gui-small</property>
</font>
<color>
<red>0</red>
<green>0</green>

View file

@ -7,8 +7,8 @@
<layout>hbox</layout>
<default-padding>0</default-padding>
<font>
<name>HELVETICA_12</name>
</font>
<property>sim/gui/selected-style/fonts/gui-small</property>
</font>
<color>
<red>0</red>
<green>0</green>

View file

@ -62,8 +62,8 @@
<alpha>1</alpha>
</color>
<font>
<name>HELVETICA_14</name>
</font>
<property>sim/gui/selected-style/fonts/gui-large</property>
</font>
</text>
<button>

View file

@ -62,8 +62,8 @@
<alpha>1</alpha>
</color>
<font>
<name>HELVETICA_14</name>
</font>
<property>sim/gui/selected-style/fonts/gui-large</property>
</font>
</text>
<button>

View file

@ -62,7 +62,7 @@
<alpha>1</alpha>
</color>
<font>
<name>HELVETICA_14</name>
<property>sim/gui/selected-style/fonts/model-view</property>
</font>
</text>

View file

@ -45,7 +45,7 @@
<editable>true</editable>
<wrap>false</wrap>
<font>
<name>AvantGarde-Book.txf</name>
<property>sim/gui/selected-style/fonts/nasal-editor</property>
</font>
<property>/sim/gui/dialogs/nasal-console/edit</property>
<binding>

View file

@ -102,8 +102,8 @@
<text>
<font>
<name>SANS_12B</name>
</font>
<property>sim/gui/selected-style/fonts/replay</property>
</font>
<label>REPLAY</label>
<color>
<red>0.9</red>
@ -516,23 +516,6 @@
<blue>0.3</blue>
<alpha>0.8</alpha>
</color>
<visible>
<and>
<not><property>/sim/replay/disable-my-controls</property></not>
<or>
<equals>
<property>/sim/flight-model</property>
<value>yasim</value>
</equals>
<!-- Not supported yet...
<equals>
<property>/sim/flight-model</property>
<value>jsb</value>
</equals>
-->
</or>
</and>
</visible>
<pref-width>90</pref-width>
<binding>
<command>property-assign</command>

View file

@ -89,8 +89,8 @@
<live>true</live>
<property>/sim/gui/dialogs/stopwatch-dialog/display</property>
<font>
<name>TIMES_24</name>
</font>
<property>sim/gui/selected-style/fonts/gui-large</property>
</font>
<color>
<red>1</red>
<green>0.9</green>

View file

@ -1,170 +1,209 @@
<?xml version="1.0"?>
<PropertyList>
<!-- possible font names:
<!-- 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.
-->
<style-name>Anthrax</style-name>
<fonts>
<gui>
<name type="string">HELVETICA_12</name>
<baseline-height type="float">21</baseline-height>
</gui>
<style-name>Anthrax</style-name>
<fonts>
<gui>
<name type="string">HELVETICA_12</name>
<baseline-height type="float">21</baseline-height>
</gui>
<splash>
<name type="string">default.txf</name>
<size type="float">19</size>
<slant type="float">0</slant>
</splash>
<splash>
<name type="string">default.txf</name>
<size type="float">19</size>
<slant type="float">0</slant>
</splash>
<message-display>
<name type="string">SANS_12B</name>
</message-display>
</fonts>
<gui-large>
<name>HELVETICA_14</name>
</gui-large>
<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>
<fixed>
<name>FIXED_8x13</name>
</fixed>
<label>
<red type="float">0.9</red>
<green type="float">0.9</green>
<blue type="float">0.9</blue>
<alpha type="float">1.0</alpha>
</label>
<gui-small>
<name>HELVETICA_12</name>
</gui-small>
<combo-editfield>
<red type="float">0.9</red>
<green type="float">0.6</green>
<blue type="float">0.0</blue>
<alpha type="float">1.0</alpha>
</combo-editfield>
<mp-list>
<name>FIXED_8x13</name>
</mp-list>
<select-editfield>
<red type="float">0.9</red>
<green type="float">0.6</green>
<blue type="float">0.0</blue>
<alpha type="float">1.0</alpha>
</select-editfield>
<replay>
<name>SANS_12B</name>
<size type="float">14</size>
</replay>
<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>
<model-view>
<name type="string">HELVETICA_14</name>
</model-view>
<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>
<nasal-editor>
<name type="string">HELVETICA_12</name>
<size>6</size>
</nasal-editor>
<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>
<message-display>
<name type="string">SANS_12B</name>
</message-display>
<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>
<screen>
<name type="string">HELVETICA_14</name>
<size type="float">13</size>
</screen>
<input>
<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>
<stopwatch>
<name>TIMES_24</name>
</stopwatch>
</fonts>
<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>
<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>
<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>
<label>
<red type="float">0.9</red>
<green type="float">0.9</green>
<blue type="float">0.9</blue>
<alpha type="float">1.0</alpha>
</label>
<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>
<combo-editfield>
<red type="float">0.9</red>
<green type="float">0.6</green>
<blue type="float">0.0</blue>
<alpha type="float">1.0</alpha>
</combo-editfield>
<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>
<select-editfield>
<red type="float">0.9</red>
<green type="float">0.6</green>
<blue type="float">0.0</blue>
<alpha type="float">1.0</alpha>
</select-editfield>
<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>
<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>
<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>
<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>
<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>
<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>
<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>
<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>
<textbox-editable>
<red type="float">0.9</red>
<green type="float">0.6</green>
<blue type="float">0.0</blue>
<alpha type="float">1.0</alpha>
</textbox-editable>
<input>
<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>
<!-- splash screen colors -->
<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>
<splash-font>
<red type="float">1.0</red>
<green type="float">0.9</green>
<blue type="float">0.0</blue>
</splash-font>
<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>
<splash-screen>
<red type="float">0.0</red>
<green type="float">0.0</green>
<blue type="float">0.0</blue>
</splash-screen>
</colors>
<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>
<textbox-editable>
<red type="float">0.9</red>
<green type="float">0.6</green>
<blue type="float">0.0</blue>
<alpha type="float">1.0</alpha>
</textbox-editable>
<!-- splash screen colors -->
<splash-font>
<red type="float">1.0</red>
<green type="float">0.9</green>
<blue type="float">0.0</blue>
</splash-font>
<splash-screen>
<red type="float">0.0</red>
<green type="float">0.0</green>
<blue type="float">0.0</blue>
</splash-screen>
</colors>
</PropertyList>

View file

@ -1,7 +1,7 @@
<?xml version="1.0"?>
<PropertyList>
<!-- possible font names:
<!-- 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
@ -19,271 +19,322 @@
I also think it looks nice, but MRDA.
Richard Harrison; 2017-09-17
-->
<name>Tortola</name>
<name>Tortola</name>
<fonts>
<gui>
<name type="string">AvantGarde-Demi.txf</name>
</gui>
<fonts>
<gui>
<!--<name type="string">accid.txf</name>
<size type="float">10</size>-->
<name type="string">accid.txf</name>
<size type="float">16</size>
<slant type="float">0</slant>
</gui>
<splash>
<name type="string">HELVETICA_18</name>
</splash>
<splash>
<name type="string">AvantGarde-Demi.txf</name>
<size type="float">15</size>
<slant type="float">0</slant>
</splash>
<gui-small>
<name>AvantGarde-Demi.txf</name>
<size>12</size>
</gui-small>
<mp-list>
<name>AvantGarde-Demi.txf</name>
<size>12</size>
</mp-list>
<message-display>
<name type="string">Helvetica-BoldOblique.txf</name>
<!--helvetica_bold.txf-->
</message-display>
</fonts>
<model-view>
<name>AvantGarde-Demi.txf</name>
<size>12</size>
</model-view>
<colors>
<!-- default colors for all GUI objects -->
<background>
<red type="float">0.21</red>
<green type="float">0.212</green>
<blue type="float">0.221</blue>
<alpha type="float">0.8</alpha>
</background>
<replay>
<name>AvantGarde-Demi.txf</name>
<size>11</size>
</replay>
<stopwatch>
<name type="string">accid.txf</name>
<size type="float">20</size>
<slant type="float">0</slant>
</stopwatch>
<gui-large>
<name type="string">accid.txf</name>
<size type="float">17</size>
<slant type="float">0</slant>
</gui-large>
<foreground>
<red type="float">0.9</red>
<green type="float">0.9</green>
<blue type="float">0.9</blue>
<alpha type="float">0.9</alpha>
</foreground>
<fixed>
<name>monoMMM_5.txf</name>
<size>6</size>
</fixed>
<nasal-editor>
<name>monoMMM_5.txf</name>
<size>6</size>
</nasal-editor>
<highlight>
<red type="float">0.21</red>
<green type="float">0.212</green>
<blue type="float">0.221</blue>
<alpha type="float">1.0</alpha>
</highlight>
<message-display>
<name type="string">accid.txf</name>
<size type="float">16</size>
<slant type="float">0</slant>
</message-display>
<label>
<red type="float">0.9</red>
<green type="float">0.9</green>
<blue type="float">0.9</blue>
<alpha type="float">0.9</alpha>
</label>
<screen>
<name type="string">accid.txf</name>
<size type="float">16</size>
<slant type="float">0</slant>
</screen>
<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>
</fonts>
<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>
<colors>
<!-- default colors for all GUI objects -->
<background>
<red type="float">0.21</red>
<green type="float">0.212</green>
<blue type="float">0.221</blue>
<alpha type="float">0.8</alpha>
</background>
<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>
<foreground>
<red type="float">0.9</red>
<green type="float">0.9</green>
<blue type="float">0.9</blue>
<alpha type="float">0.9</alpha>
</foreground>
<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>
<highlight>
<red type="float">0.21</red>
<green type="float">0.212</green>
<blue type="float">0.221</blue>
<alpha type="float">1.0</alpha>
</highlight>
<checkbox-foreground>
<red type="float">0.51</red>
<green type="float">0.511</green>
<blue type="float">0.61</blue>
<alpha type="float">1.0</alpha>
</checkbox-foreground>
<label>
<red type="float">0.9</red>
<green type="float">0.9</green>
<blue type="float">0.9</blue>
<alpha type="float">0.9</alpha>
</label>
<combo-background>
<red type="float">0.31</red>
<green type="float">0.312</green>
<blue type="float">0.321</blue>
<alpha type="float">0.8</alpha>
</combo-background>
<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>
<editfield>
<red type="float">0.31</red>
<green type="float">0.312</green>
<blue type="float">0.321</blue>
<alpha type="float">0.8</alpha>
</editfield>
<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>
<combo-editfield>
<red type="float">0.31</red>
<green type="float">0.312</green>
<blue type="float">0.321</blue>
<alpha type="float">0.8</alpha>
</combo-editfield>
<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>
<select-editfield>
<red type="float">0.31</red>
<green type="float">0.312</green>
<blue type="float">0.321</blue>
<alpha type="float">0.8</alpha>
</select-editfield>
<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>
<textbox-editable>
<red type="float">0.31</red>
<green type="float">0.312</green>
<blue type="float">0.321</blue>
<alpha type="float">0.8</alpha>
</textbox-editable>
<checkbox-foreground>
<red type="float">0.51</red>
<green type="float">0.511</green>
<blue type="float">0.61</blue>
<alpha type="float">1.0</alpha>
</checkbox-foreground>
<text-background>
<red type="float">0.31</red>
<green type="float">0.312</green>
<blue type="float">0.321</blue>
<alpha type="float">0.8</alpha>
</text-background>
<combo-background>
<red type="float">0.31</red>
<green type="float">0.312</green>
<blue type="float">0.321</blue>
<alpha type="float">0.8</alpha>
</combo-background>
<checkbox-highlight>
<!-- box frame -->
<red type="float">0.51</red>
<green type="float">0.511</green>
<blue type="float">0.61</blue>
<alpha type="float">1.0</alpha>
</checkbox-highlight>
<editfield>
<red type="float">0.31</red>
<green type="float">0.312</green>
<blue type="float">0.321</blue>
<alpha type="float">0.8</alpha>
</editfield>
<text-highlight>
<red type="float">0.51</red>
<green type="float">0.511</green>
<blue type="float">0.61</blue>
<alpha type="float">1.0</alpha>
</text-highlight>
<combo-editfield>
<red type="float">0.31</red>
<green type="float">0.312</green>
<blue type="float">0.321</blue>
<alpha type="float">0.8</alpha>
</combo-editfield>
<textbox-highlight>
<red type="float">0.51</red>
<green type="float">0.511</green>
<blue type="float">0.61</blue>
<alpha type="float">1.0</alpha>
</textbox-highlight>
<select-editfield>
<red type="float">0.31</red>
<green type="float">0.312</green>
<blue type="float">0.321</blue>
<alpha type="float">0.8</alpha>
</select-editfield>
<radio-foreground>
<red type="float">0.51</red>
<green type="float">0.511</green>
<blue type="float">0.61</blue>
<alpha type="float">1.0</alpha>
</radio-foreground>
<textbox-editable>
<red type="float">0.31</red>
<green type="float">0.312</green>
<blue type="float">0.321</blue>
<alpha type="float">0.8</alpha>
</textbox-editable>
<radio-highlight>
<red type="float">0.51</red>
<green type="float">0.511</green>
<blue type="float">0.61</blue>
<alpha type="float">1.0</alpha>
</radio-highlight>
<text-background>
<red type="float">0.31</red>
<green type="float">0.312</green>
<blue type="float">0.321</blue>
<alpha type="float">0.8</alpha>
</text-background>
<slider-foreground>
<red type="float">0.571</red>
<green type="float">0.57</green>
<blue type="float">0.57</blue>
<alpha type="float">1.0</alpha>
</slider-foreground>
<checkbox-highlight>
<!-- box frame -->
<red type="float">0.51</red>
<green type="float">0.511</green>
<blue type="float">0.61</blue>
<alpha type="float">1.0</alpha>
</checkbox-highlight>
<slider-background>
<red type="float">0.571</red>
<green type="float">0.57</green>
<blue type="float">0.57</blue>
<alpha type="float">1.0</alpha>
</slider-background>
<text-highlight>
<red type="float">0.51</red>
<green type="float">0.511</green>
<blue type="float">0.61</blue>
<alpha type="float">1.0</alpha>
</text-highlight>
<slider-highlight>
<red type="float">0.371</red>
<green type="float">0.37</green>
<blue type="float">0.37</blue>
<alpha type="float">1.0</alpha>
</slider-highlight>
<textbox-highlight>
<red type="float">0.51</red>
<green type="float">0.511</green>
<blue type="float">0.61</blue>
<alpha type="float">1.0</alpha>
</textbox-highlight>
<input-background>
<red type="float">0.31</red>
<green type="float">0.312</green>
<blue type="float">0.321</blue>
<alpha type="float">1.0</alpha>
</input-background>
<radio-foreground>
<red type="float">0.51</red>
<green type="float">0.511</green>
<blue type="float">0.61</blue>
<alpha type="float">1.0</alpha>
</radio-foreground>
<input-foreground>
<red type="float">0.31</red>
<green type="float">0.312</green>
<blue type="float">0.321</blue>
<alpha type="float">1.0</alpha>
</input-foreground>
<radio-highlight>
<red type="float">0.51</red>
<green type="float">0.511</green>
<blue type="float">0.61</blue>
<alpha type="float">1.0</alpha>
</radio-highlight>
<input-highlight>
<red type="float">0.31</red>
<green type="float">0.312</green>
<blue type="float">0.321</blue>
<alpha type="float">1.0</alpha>
</input-highlight>
<slider-foreground>
<red type="float">0.571</red>
<green type="float">0.57</green>
<blue type="float">0.57</blue>
<alpha type="float">1.0</alpha>
</slider-foreground>
<input-misc>
<!-- cursor -->
<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>
<slider-background>
<red type="float">0.571</red>
<green type="float">0.57</green>
<blue type="float">0.57</blue>
<alpha type="float">1.0</alpha>
</slider-background>
<textbox-background>
<red type="float">0.21</red>
<green type="float">0.212</green>
<blue type="float">0.221</blue>
<alpha type="float">1.0</alpha>
</textbox-background>
<slider-highlight>
<red type="float">0.371</red>
<green type="float">0.37</green>
<blue type="float">0.37</blue>
<alpha type="float">1.0</alpha>
</slider-highlight>
<textbox-foreground>
<red type="float">0.21</red>
<green type="float">0.212</green>
<blue type="float">0.221</blue>
<alpha type="float">1.0</alpha>
</textbox-foreground>
<input-background>
<red type="float">0.31</red>
<green type="float">0.312</green>
<blue type="float">0.321</blue>
<alpha type="float">1.0</alpha>
</input-background>
<textbox-highlight>
<!-- outer box and second color internall-->
<red type="float">0.23</red>
<green type="float">0.232</green>
<blue type="float">0.231</blue>
<alpha type="float">1.0</alpha>
</textbox-highlight>
<input-foreground>
<red type="float">0.31</red>
<green type="float">0.312</green>
<blue type="float">0.321</blue>
<alpha type="float">1.0</alpha>
</input-foreground>
<list-background>
<red type="float">0.21</red>
<green type="float">0.212</green>
<blue type="float">0.221</blue>
<alpha type="float">1.0</alpha>
</list-background>
<input-highlight>
<red type="float">0.31</red>
<green type="float">0.312</green>
<blue type="float">0.321</blue>
<alpha type="float">1.0</alpha>
</input-highlight>
<list-foreground>
<red type="float">0.21</red>
<green type="float">0.212</green>
<blue type="float">0.221</blue>
<alpha type="float">1.0</alpha>
</list-foreground>
<input-misc>
<!-- cursor -->
<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>
<list-highlight>
<red type="float">0.23</red>
<green type="float">0.232</green>
<blue type="float">0.231</blue>
<alpha type="float">1.0</alpha>
</list-highlight>
<textbox-background>
<red type="float">0.21</red>
<green type="float">0.212</green>
<blue type="float">0.221</blue>
<alpha type="float">1.0</alpha>
</textbox-background>
<!-- splash screen colors -->
<textbox-foreground>
<red type="float">0.21</red>
<green type="float">0.212</green>
<blue type="float">0.221</blue>
<alpha type="float">1.0</alpha>
</textbox-foreground>
<splash-font>
<red type="float">1.0</red>
<green type="float">0.9</green>
<blue type="float">0.0</blue>
</splash-font>
<textbox-highlight>
<!-- outer box and second color internall-->
<red type="float">0.23</red>
<green type="float">0.232</green>
<blue type="float">0.231</blue>
<alpha type="float">1.0</alpha>
</textbox-highlight>
<splash-screen>
<red type="float">0.0</red>
<green type="float">0.0</green>
<blue type="float">0.0</blue>
</splash-screen>
</colors>
<list-background>
<red type="float">0.21</red>
<green type="float">0.212</green>
<blue type="float">0.221</blue>
<alpha type="float">1.0</alpha>
</list-background>
<list-foreground>
<red type="float">0.21</red>
<green type="float">0.212</green>
<blue type="float">0.221</blue>
<alpha type="float">1.0</alpha>
</list-foreground>
<list-highlight>
<red type="float">0.23</red>
<green type="float">0.232</green>
<blue type="float">0.231</blue>
<alpha type="float">1.0</alpha>
</list-highlight>
<!-- splash screen colors -->
<splash-font>
<red type="float">1.0</red>
<green type="float">0.9</green>
<blue type="float">0.0</blue>
</splash-font>
<splash-screen>
<red type="float">0.0</red>
<green type="float">0.0</green>
<blue type="float">0.0</blue>
</splash-screen>
</colors>
</PropertyList>