<width>150</width>
<height>100</height>
<modal>false</modal>
+ <draggable>true</draggable>
<text>
<x>10</x>
<y>50</y>
<label>Hello, world</label>
+ <color>
+ <red>1.0</red>
+ <green>0.0</green>
+ <blue>0.0</blue>
+ </color>
</text>
<button>
height - the height of the object, in pseudo-pixels. The default is
the width of the parent container.
+ border - the border thickness, in pseudo-pixels. The default is 2.
+
+ color - a subgroup to specify the dialogs color:
+ red - specify the red color component of the color scheme.
+ green - specify the green color component of the color scheme.
+ blue - specify the blue color component of the color scheme.
+ alpha - specify the alpha color component of the color scheme.
+
+ font - a subgroup to specify a specific font type
+ name - the name of the font (excluding it's .txf extension)
+ size - size of the font
+ slant - the slant of the font (in pseudo-pixels)
+
legend - the text legend to display in the object.
label - the text label to display near the object.
presses the [RETURN] key.
Objects may appear nested within the top-level dialog or a "group"
-object. Here are all the object types allowed, with their special
-properties:
+or a "frame" object. Here are all the object types allowed, with their
+special properties:
dialog
modal - true if the dialog is modal (it blocks the rest of the
program), false otherwise. The default is false.
+ draggable - false if the dialog is not draggable. The default is true.
+
Example:
<PropertyList>
</PropertyList>
-group
------
+group and frame
+---------------
A group of subobjects. This object does not draw anything on the
screen, but all of its children specify their coordinates relative to
the group; using groups makes it easy to move parts of a dialog
around.
+A frame is a visual representation of a group and has a border and an
+adjustable background color.
+
Example:
<group>
<label>Heading</label>
</text>
+ <text>
+ <x>10</x>
+ <y>200</y>
+ <label>-9.9999</label> <!-- placeholder for width -->
+ <format>%-0.4f m</format>
+ <property>/foo/altitude</property>
+ </text>
+
checkbox
--------
<max>360</max>
</dial>
+textbox
+-------
+
+The text will be retrieved/buffered from/within a specified
+property tree, like:
+
+<textbox>
+ <!-- position -->
+ <x>100</x>
+ <y>100</y>
+
+ <!-- dimensions -->
+ <width>200</width>
+ <height>400</height>
+
+ <property>/gui/path-to-text-node/contents</property>
+
+ <slider>15</slider> <!--width for slider -->
+ <wrap>false</wrap> <!-- don't wrap text; default: true -->
+
+ <editable>true</editable> <!-- whether the puLargeInput is supposed to be editable -->
+</textbox>
__end__