diff src/graphics.h.in @ 8247:e41f420875db

set name of root_figure object to root
author John W. Eaton <jwe@octave.org>
date Mon, 20 Oct 2008 12:22:28 -0400
parents 11badf6c9e9f
children 1f429086565c
line wrap: on
line diff
--- a/src/graphics.h.in
+++ b/src/graphics.h.in
@@ -2094,7 +2094,7 @@
     // See the genprops.awk script for an explanation of the
     // properties declarations.
 
-    BEGIN_PROPERTIES(root_figure)
+    BEGIN_PROPERTIES (root_figure, root)
       handle_property currentfigure S , graphics_handle ()
       handle_property callbackobject Sr , graphics_handle ()
       bool_property showhiddenhandles , "off"
@@ -2260,7 +2260,7 @@
     // See the genprops.awk script for an explanation of the
     // properties declarations.
 
-    BEGIN_PROPERTIES(figure)
+    BEGIN_PROPERTIES (figure)
       any_property __plot_stream__ h , Matrix ()
       bool_property __enhanced__ h , "on"
       radio_property nextplot , "new|{add}|replace_children|replace"
@@ -2541,7 +2541,7 @@
 
     // properties which are not in matlab: interpreter
 
-    BEGIN_PROPERTIES(axes)
+    BEGIN_PROPERTIES (axes)
       array_property position u , default_axes_position ()
       handle_property title SOf , gh_manager::make_graphics_handle ("text", __myhandle__)
       bool_property box , "on"
@@ -2841,7 +2841,7 @@
     // properties which are not in matlab:
     // ldata, udata, xldata, xudata, keylabel, interpreter
 
-    BEGIN_PROPERTIES(line)
+    BEGIN_PROPERTIES (line)
       row_vector_property xdata u , default_data ()
       row_vector_property ydata u , default_data ()
       row_vector_property zdata u , Matrix ()
@@ -2918,7 +2918,7 @@
     // See the genprops.awk script for an explanation of the
     // properties declarations.
 
-    BEGIN_PROPERTIES(text)
+    BEGIN_PROPERTIES (text)
       string_property string , ""
       radio_property units , "{data}|pixels|normalized|inches|centimeters|points"
       array_property position u , Matrix (1, 3, 0.0)
@@ -3016,7 +3016,7 @@
     // See the genprops.awk script for an explanation of the
     // properties declarations.
 
-    BEGIN_PROPERTIES(image)
+    BEGIN_PROPERTIES (image)
       row_vector_property xdata u , Matrix ()
       row_vector_property ydata u , Matrix ()
       array_property cdata u , Matrix ()
@@ -3101,7 +3101,7 @@
     // See the genprops.awk script for an explanation of the
     // properties declarations.
 
-    BEGIN_PROPERTIES(patch)
+    BEGIN_PROPERTIES (patch)
       array_property xdata u , Matrix ()
       array_property ydata u , Matrix ()
       array_property zdata u , Matrix ()
@@ -3219,7 +3219,7 @@
     // See the genprops.awk script for an explanation of the
     // properties declarations.
 
-    BEGIN_PROPERTIES(surface)
+    BEGIN_PROPERTIES (surface)
       array_property xdata u , Matrix ()
       array_property ydata u , Matrix ()
       array_property zdata u , Matrix ()
@@ -3366,7 +3366,7 @@
     // See the genprops.awk script for an explanation of the
     // properties declarations.
 
-    BEGIN_PROPERTIES(hggroup)
+    BEGIN_PROPERTIES (hggroup)
       // hidden properties for limit computation
       row_vector_property xlim hr , Matrix()
       row_vector_property ylim hr , Matrix()