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 me.toggle_unit(); # set to imperial
# #
# "private" # "private"
var font = ""; me.font = { name: getprop("/sim/gui/selected-style/fonts/mp-list/name") or "FIXED_8x13",
if (getprop("/sim/gui/current-syle")) size: getprop("/sim/gui/selected-style/fonts/mp-list/size") or 20,
font = {name: "FIXED_8x13" }; slant: getprop("/sim/gui/selected-style/fonts/mp-list/slant") or 0,
else };
font = { name: "AvantGarde-Demi.txf"};
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 = [ me.columns = [
{ type: "button", legend: "", halign: "right", callback: "multiplayer.compose_message", "pref-height": 14, "pref-width": 14 }, { 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: "callsign", format: " %s", label: "-----------", halign: "fill" , font: me.font },
{ type: "text", property: "id-code", format: " %s", label: "-----", halign: "fill" , font: 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: 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: 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: 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: 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", { 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.cs_warnings = {};
me.name = "who-is-online"; me.name = "who-is-online";
@ -193,6 +193,7 @@ var dialog = {
me.dialog = gui.dialog[me.name] = gui.Widget.new(); me.dialog = gui.dialog[me.name] = gui.Widget.new();
me.dialog.set("name", me.name); me.dialog.set("name", me.name);
me.dialog.set("dialog-name", me.name); me.dialog.set("dialog-name", me.name);
me.dialog.set("font", me.font.name);
if (me.x != nil) if (me.x != nil)
me.dialog.set("x", me.x); me.dialog.set("x", me.x);
if (me.y != nil) if (me.y != nil)
@ -233,6 +234,8 @@ var dialog = {
var col = 0; var col = 0;
foreach (var h; me.header) { foreach (var h; me.header) {
var w = content.addChild("text"); var w = content.addChild("text");
w.node.setValues({ "font" : me.font});
var l = typeof(h) == "func" ? h() : h; var l = typeof(h) == "func" ? h() : h;
w.node.setValues({ "label": l, "row": row, "col": col, halign: me.columns[col].halign }); w.node.setValues({ "label": l, "row": row, "col": col, halign: me.columns[col].halign });
w = content.addChild("hrule"); 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 # screen.window
@ -133,10 +133,11 @@ var window = {
me.dialog.set("y", me.y); me.dialog.set("y", me.y);
me.dialog.set("layout", "vbox"); me.dialog.set("layout", "vbox");
me.dialog.set("default-padding", 2); me.dialog.set("default-padding", 2);
if (me.font != nil) if (me.font != nil)
me.dialog.setFont(me.font); me.dialog.setFont(me.font, me.fontsize);
elsif (theme_font != nil) 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]); 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 # var dpy = screen.display.new(20, 10); # x/y coordinate
# dpy.setcolor(1, 0, 1); # magenta (default: white) # 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("/position/latitude-deg", "/position/longitude-deg");
# dpy.add(props.globals.getNode("/orientation").getChildren()); # dpy.add(props.globals.getNode("/orientation").getChildren());
@ -244,7 +245,8 @@ var display = {
m.x = x; m.x = x;
m.y = y; m.y = y;
m.tags = show_tags; 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.color = [1, 1, 1, 1];
m.tagformat = "%s"; m.tagformat = "%s";
m.format = "%.12g"; m.format = "%.12g";
@ -266,8 +268,9 @@ var display = {
me.redraw(); me.redraw();
me; me;
}, },
setfont : func(font) { setfont : func(font, size=13) {
me.font = font; me.font = font;
me.fontsize = size;
me.redraw(); me.redraw();
me; me;
}, },
@ -278,7 +281,7 @@ var display = {
me.dialog.set("y", me.y); me.dialog.set("y", me.y);
me.dialog.set("layout", "vbox"); me.dialog.set("layout", "vbox");
me.dialog.set("default-padding", 2); 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); me.dialog.setColor(0, 0, 0, 0);
foreach (var e; me.entries) { foreach (var e; me.entries) {
@ -416,8 +419,7 @@ _setlistener("/sim/signals/nasal-dir-initialized", func {
}); });
setlistener("/sim/gui/current-style", func { setlistener("/sim/gui/current-style", func {
var theme = getprop("/sim/gui/current-style"); theme_font = getprop("/sim/gui/selected-style/fonts/message-display/name");
theme_font = getprop("/sim/gui/style[" ~ theme ~ "]/fonts/message-display/name");
}, 1); }, 1);
log = window.new(nil, -30, 10, 10); 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); 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 # return string converted to lower case letters

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -102,8 +102,8 @@
<text> <text>
<font> <font>
<name>SANS_12B</name> <property>sim/gui/selected-style/fonts/replay</property>
</font> </font>
<label>REPLAY</label> <label>REPLAY</label>
<color> <color>
<red>0.9</red> <red>0.9</red>
@ -516,23 +516,6 @@
<blue>0.3</blue> <blue>0.3</blue>
<alpha>0.8</alpha> <alpha>0.8</alpha>
</color> </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> <pref-width>90</pref-width>
<binding> <binding>
<command>property-assign</command> <command>property-assign</command>

View file

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

View file

@ -1,170 +1,209 @@
<?xml version="1.0"?> <?xml version="1.0"?>
<PropertyList> <PropertyList>
<!-- possible font names: <!-- possible font names:
"default", "FIXED_8x13", "FIXED_9x15", "TIMES_10", "TIMES_24", "default", "FIXED_8x13", "FIXED_9x15", "TIMES_10", "TIMES_24",
"HELVETICA_10", "HELVETICA_12", "HELVETICA_14", "HELVETICA_18", "HELVETICA_10", "HELVETICA_12", "HELVETICA_14", "HELVETICA_18",
"SANS_12B", and all font file names from $FG_ROOT/Fonts/, such as "SANS_12B", and all font file names from $FG_ROOT/Fonts/, such as
"helvetica_bold.txf". "size" and "slant" take only effect on "helvetica_bold.txf". "size" and "slant" take only effect on
texture fonts. texture fonts.
--> -->
<style-name>Anthrax</style-name> <style-name>Anthrax</style-name>
<fonts> <fonts>
<gui> <gui>
<name type="string">HELVETICA_12</name> <name type="string">HELVETICA_12</name>
<baseline-height type="float">21</baseline-height> <baseline-height type="float">21</baseline-height>
</gui> </gui>
<splash> <splash>
<name type="string">default.txf</name> <name type="string">default.txf</name>
<size type="float">19</size> <size type="float">19</size>
<slant type="float">0</slant> <slant type="float">0</slant>
</splash> </splash>
<message-display> <gui-large>
<name type="string">SANS_12B</name> <name>HELVETICA_14</name>
</message-display> </gui-large>
</fonts>
<colors> <fixed>
<background> <name>FIXED_8x13</name>
<red type="float">0.41</red> </fixed>
<green type="float">0.4</green>
<blue type="float">0.42</blue>
<alpha type="float">1.0</alpha>
</background>
<label> <gui-small>
<red type="float">0.9</red> <name>HELVETICA_12</name>
<green type="float">0.9</green> </gui-small>
<blue type="float">0.9</blue>
<alpha type="float">1.0</alpha>
</label>
<combo-editfield> <mp-list>
<red type="float">0.9</red> <name>FIXED_8x13</name>
<green type="float">0.6</green> </mp-list>
<blue type="float">0.0</blue>
<alpha type="float">1.0</alpha>
</combo-editfield>
<select-editfield> <replay>
<red type="float">0.9</red> <name>SANS_12B</name>
<green type="float">0.6</green> <size type="float">14</size>
<blue type="float">0.0</blue> </replay>
<alpha type="float">1.0</alpha>
</select-editfield>
<checkbox-foreground> <model-view>
<red type="float">0.41</red> <name type="string">HELVETICA_14</name>
<green type="float">0.4</green> </model-view>
<blue type="float">0.42</blue>
<alpha type="float">1.0</alpha>
</checkbox-foreground>
<checkbox-highlight> <nasal-editor>
<red type="float">1.0</red> <name type="string">HELVETICA_12</name>
<green type="float">0.7</green> <size>6</size>
<blue type="float">0.0</blue> </nasal-editor>
<alpha type="float">0.7</alpha>
</checkbox-highlight>
<checkbox-misc> <message-display>
<red type="float">1.0</red> <name type="string">SANS_12B</name>
<green type="float">0.7</green> </message-display>
<blue type="float">0.0</blue>
<alpha type="float">1.0</alpha>
</checkbox-misc>
<radio-foreground> <screen>
<red type="float">1.0</red> <name type="string">HELVETICA_14</name>
<green type="float">0.7</green> <size type="float">13</size>
<blue type="float">0.0</blue> </screen>
<alpha type="float">0.7</alpha>
</radio-foreground>
<input> <stopwatch>
<red type="float">0.9</red> <name>TIMES_24</name>
<green type="float">0.6</green> </stopwatch>
<blue type="float">0.0</blue> </fonts>
<alpha type="float">1.0</alpha>
</input>
<input-legend> <colors>
<red type="float">0.3</red> <background>
<green type="float">0.0</green> <red type="float">0.41</red>
<blue type="float">0.0</blue> <green type="float">0.4</green>
<alpha type="float">1.0</alpha> <blue type="float">0.42</blue>
</input-legend> <alpha type="float">1.0</alpha>
</background>
<input-misc> <label>
<red type="float">1.0</red> <red type="float">0.9</red>
<green type="float">0.0</green> <green type="float">0.9</green>
<blue type="float">0.0</blue> <blue type="float">0.9</blue>
<alpha type="float">1.0</alpha> <alpha type="float">1.0</alpha>
</input-misc> </label>
<button> <combo-editfield>
<red type="float">0.44</red> <red type="float">0.9</red>
<green type="float">0.43</green> <green type="float">0.6</green>
<blue type="float">0.45</blue> <blue type="float">0.0</blue>
<alpha type="float">1.0</alpha> <alpha type="float">1.0</alpha>
</button> </combo-editfield>
<button-legend> <select-editfield>
<red type="float">1.0</red> <red type="float">0.9</red>
<green type="float">1.0</green> <green type="float">0.6</green>
<blue type="float">1.0</blue> <blue type="float">0.0</blue>
<alpha type="float">1.0</alpha> <alpha type="float">1.0</alpha>
</button-legend> </select-editfield>
<dial-misc> <checkbox-foreground>
<red type="float">1.0</red> <red type="float">0.41</red>
<green type="float">0.7</green> <green type="float">0.4</green>
<blue type="float">0.0</blue> <blue type="float">0.42</blue>
<alpha type="float">0.7</alpha> <alpha type="float">1.0</alpha>
</dial-misc> </checkbox-foreground>
<hrule> <checkbox-highlight>
<red type="float">1.0</red> <red type="float">1.0</red>
<green type="float">0.7</green> <green type="float">0.7</green>
<blue type="float">0.0</blue> <blue type="float">0.0</blue>
<alpha type="float">1.0</alpha> <alpha type="float">0.7</alpha>
</hrule> </checkbox-highlight>
<vrule> <checkbox-misc>
<red type="float">1.0</red> <red type="float">1.0</red>
<green type="float">0.7</green> <green type="float">0.7</green>
<blue type="float">0.0</blue> <blue type="float">0.0</blue>
<alpha type="float">1.0</alpha> <alpha type="float">1.0</alpha>
</vrule> </checkbox-misc>
<slider> <radio-foreground>
<red type="float">0.9</red> <red type="float">1.0</red>
<green type="float">0.6</green> <green type="float">0.7</green>
<blue type="float">0.0</blue> <blue type="float">0.0</blue>
<alpha type="float">1.0</alpha> <alpha type="float">0.7</alpha>
</slider> </radio-foreground>
<textbox-editable> <input>
<red type="float">0.9</red> <red type="float">0.9</red>
<green type="float">0.6</green> <green type="float">0.6</green>
<blue type="float">0.0</blue> <blue type="float">0.0</blue>
<alpha type="float">1.0</alpha> <alpha type="float">1.0</alpha>
</textbox-editable> </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> <input-misc>
<red type="float">1.0</red> <red type="float">1.0</red>
<green type="float">0.9</green> <green type="float">0.0</green>
<blue type="float">0.0</blue> <blue type="float">0.0</blue>
</splash-font> <alpha type="float">1.0</alpha>
</input-misc>
<splash-screen> <button>
<red type="float">0.0</red> <red type="float">0.44</red>
<green type="float">0.0</green> <green type="float">0.43</green>
<blue type="float">0.0</blue> <blue type="float">0.45</blue>
</splash-screen> <alpha type="float">1.0</alpha>
</colors> </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> </PropertyList>

View file

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