]> git.mxchange.org Git - flightgear.git/commitdiff
Add loadxml/savexml commands and textbox gui dialog.
authorehofman <ehofman>
Sun, 24 Oct 2004 09:26:00 +0000 (09:26 +0000)
committerehofman <ehofman>
Sun, 24 Oct 2004 09:26:00 +0000 (09:26 +0000)
docs-mini/README.commands
docs-mini/README.gui

index e9ed009f08a3a3567d53aae99ee20bb134e6a814..0583ddd78c3cee3261e8d0693398ed794cb20b5a 100644 (file)
@@ -77,6 +77,16 @@ save - save properties to an XML file
   file: the name of the file to save, relative to the current
     directory (defaults to "fgfs.sav").
 
+loadxml - load XML file into property tree
+  filename: the path & filename of the file to load
+  targetnode: the target node within the property tree where to store the XML 
+  file's structure
+
+savexml - save property tree node to XML file
+  filename: the path & filename for the file to be saved
+  sourcenode: the source node within the property tree where the XML file's 
+  structure is assembled from.     
+    
 panel-load - (re)load the 2D instrument panel
   path: the path of the XML panel file, relative to $FG_ROOT (defaults
     to the value of /sim/panel/path if specified, or
index 4b76917285c34b9378e0353ed649a690e03aa3f8..dd26f4865d0fbbf4a6f25106fcdafe330ada3e4a 100644 (file)
@@ -358,5 +358,26 @@ Example:
    <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 -->
+
+    <editable>true</editable> <!-- whether the puLargeInput is supposed to be editable -->
+</textbox>  
 
 __end__