# HG changeset patch # User John W. Eaton # Date 1257283103 18000 # Node ID 2364eebcd6444537d64095349531669cc76bec8a # Parent 6e6d8ea324bc28e757eeabddb6b2f1f5a37fcbd7 new root figure properties diff -r 6e6d8ea324bc -r 2364eebcd644 src/ChangeLog --- a/src/ChangeLog Tue Nov 03 15:34:40 2009 -0500 +++ b/src/ChangeLog Tue Nov 03 16:18:23 2009 -0500 @@ -1,3 +1,9 @@ +2009-11-03 John W. Eaton + + * graphics.h.in (root_figure): Add commandwindowsize, diary, + diaryfile, echo, format, language, monitorpositions, + pointerlocation, pointerwindow, and recursionlimit properties. + 2009-11-03 David Grundberg * graphics.h.in (root_figure): Add FormatSpacing property. diff -r 6e6d8ea324bc -r 2364eebcd644 src/graphics.h.in --- a/src/graphics.h.in Tue Nov 03 15:34:40 2009 -0500 +++ b/src/graphics.h.in Tue Nov 03 16:18:23 2009 -0500 @@ -2203,15 +2203,34 @@ // See the genprops.awk script for an explanation of the // properties declarations. + // FIXME -- it seems strange to me that the diary, diaryfile, + // echo, format, formatspacing, language, and recursionlimit + // properties are here. WTF do they have to do with graphics? + // Also note that these properties (and the monitorpositions, + // pointerlocation, and pointerwindow properties) are not yet used + // by Octave, so setting them will have no effect, and changes + // made elswhere (say, the diary or format functions) will not + // cause these properties to be updated. + BEGIN_PROPERTIES (root_figure, root) + handle_property callbackobject Sr , graphics_handle () + array_property commandwindowsize r , Matrix (1, 2, 0) handle_property currentfigure S , graphics_handle () - handle_property callbackobject Sr , graphics_handle () + bool_property diary , "off" + string_property diaryfile , "diary" + bool_property echo , "off" + radio_property format , "+|bank|bit|debug|hex|long|longe|longeng|longg|native-bit|native-hex|rational|{short}|shorte|shorteng|shortg" + radio_property formatspacing , "{loose}|compact" + string_property language , "ascii" + array_value monitorpositions , Matrix (1, 4, 0) + array_property pointerlocation , Matrix (1, 2, 0) + double_property pointerwindow , 0.0 + double_property recursionlimit , 256.0 double_property screendepth r , default_screendepth () + double_property screenpixelsperinch r , default_screenpixelsperinch () array_property screensize r , default_screensize () - double_property screenpixelsperinch r , default_screenpixelsperinch () + bool_property showhiddenhandles , "off" radio_property units U , "inches|centimeters|normalized|points|{pixels}" - radio_property formatspacing , "{loose}|compact" - bool_property showhiddenhandles , "off" END_PROPERTIES private: