changeset 7405:b0734cf13ad4

[project @ 2008-01-19 07:33:00 by jwe]
author jwe
date Sat, 19 Jan 2008 07:33:01 +0000
parents 32c1c3a3b07c
children e9b2e44f9341
files src/ChangeLog src/graphics.h.in
diffstat 2 files changed, 63 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Sat Jan 19 06:24:47 2008 +0000
+++ b/src/ChangeLog	Sat Jan 19 07:33:01 2008 +0000
@@ -1,3 +1,17 @@
+2008-01-19  Shai Ayal  <shaiay@users.sourceforge.net>
+
+	* graphics.h.in (class figure::properties): New properties:
+	alphamap, currentcharacter, currentobject, current_point,
+	dockcontrols, doublebuffer, filename, integerhandle,
+	inverthardcopy, keypressfcn, keyreleasefcn, menubar, mincolormap,
+	name, numbertitle, paperunits, paperposition, paperpositionmode,
+	papersize, papertype, pointer, pointershapecdata,
+	pointershapehotspot, position, renderer, renderermode, resize,
+	resizefcn, selectiontype, toolbar, units, windowbuttondownfcn,
+	windowbuttonmotionfcn, windowbuttonupfcn, windowbuttonwheelfcn,
+	windowstyle, wvisual, wvisualmode, xdisplay, xvisual, xvisualmode,
+	buttondownfcn.
+
 2008-01-19  Michael Goffioul  <michael.goffioul@gmail.com>
 
 	* graphics.h.in (base_properties::beingdeleted,
--- a/src/graphics.h.in	Sat Jan 19 06:24:47 2008 +0000
+++ b/src/graphics.h.in	Sat Jan 19 07:33:01 2008 +0000
@@ -1753,18 +1753,65 @@
     BEGIN_PROPERTIES(figure)
       any_property __plot_stream__ h , Matrix ()
       bool_property __enhanced__ h , "on"
-      radio_property nextplot , "add|replace_children|{replace}"
+      radio_property nextplot , "new|{add}|replace_children|replace"
       callback_property closerequestfcn , "closereq"
       handle_property currentaxes S , graphics_handle ()
       array_property colormap , jet_colormap ()
-      radio_property paperorientation , "{portrait}|landscape"
+      radio_property paperorientation , "{portrait}|landscape|rotated"
       color_property color , color_values (1, 1, 1)
+      array_property alphamap , Matrix (64, 1, 1)
+      string_property currentcharacter r , ""
+      handle_property currentobject r , graphics_handle ()
+      array_property current_point r , Matrix (2, 1, 0)
+      bool_property dockcontrols , "off"
+      bool_property doublebuffer , "on"
+      string_property filename r , ""
+      bool_property integerhandle , "on"
+      bool_property inverthardcopy , "off"
+      callback_property keypressfcn , Matrix ()
+      callback_property keyreleasefcn , Matrix ()
+      radio_property menubar , "none|{figure}"
+      double_property mincolormap , 64
+      string_property name , ""
+      bool_property numbertitle , "on"
+      radio_property paperunits , "{inches}|centimeters|normalized|points"
+      array_property paperposition , Matrix (1, 4 , 0) 
+      radio_property paperpositionmode , "auto|{manual}"
+      array_property papersize r , Matrix (1, 4, 0)
+      radio_property papertype , "{usletter}|uslegal|a0|a1|a2|a3|a4|a5|b0|b1|b2|b3|b4|b5|arch-a|arch-b|arch-c|arch-d|arch-e|a|b|c|d|e|tabloid"
+      radio_property pointer , "crosshair|fullcrosshair|{arrow}|ibeam|watch|topl|topr|botl|botr|left|top|right|bottom|circle|cross|fleur|custom|hand"
+      array_property pointershapecdata , Matrix (16, 16, 0)
+      array_property pointershapehotspot , Matrix (1, 2, 0)
+      array_property position , Matrix (1, 4, 0)
+      radio_property renderer , "{painters}|zbuffer|opengl|none"
+      radio_property renderermode , "{auto}|manual"
+      bool_property resize , "on"
+      callback_property resizefcn , Matrix ()
+      radio_property selectiontype , "{normal}|open|alt|extend"
+      radio_property toolbar , "none|{auto}|figure"
+      radio_property units , "inches|centimeters|normalized|points|{pixels}|characters"
+      callback_property windowbuttondownfcn , Matrix ()
+      callback_property windowbuttonmotionfcn , Matrix ()
+      callback_property windowbuttonupfcn , Matrix ()
+      callback_property windowbuttonwheelfcn , Matrix ()
+      radio_property windowstyle , "{normal}|modal|docked"
+      string_property wvisual , ""
+      radio_property wvisualmode , "{auto}|manual"
+      string_property xdisplay , ""
+      string_property xvisual , ""
+      radio_property xvisualmode , "{auto}|manual"
+      callback_property buttondownfcn , Matrix ()
     END_PROPERTIES
     
   protected:
     void init (void)
       {
         colormap.add_constraint (dim_vector (-1, 3));
+	alphamap.add_constraint (dim_vector (-1 , 1));
+	paperposition.add_constraint (dim_vector (1 , 4));
+	pointershapecdata.add_constraint (dim_vector (16 , 16));
+	pointershapehotspot.add_constraint (dim_vector (1 , 2));
+	position.add_constraint (dim_vector (1 , 4));
       }
   };