diff src/graphics.h.in @ 10517:9cdd6c8c05a4

[mq]: fltk_cb
author Shai Ayal <shaiay@users.sourceforge.net>
date Tue, 13 Apr 2010 20:26:08 +0300
parents 82ee24bf783c
children f88e3d5d88e2
line wrap: on
line diff
--- a/src/graphics.h.in
+++ b/src/graphics.h.in
@@ -1382,6 +1382,11 @@
 
   OCTINTERP_API void execute (const octave_value& data = octave_value ()) const;
 
+  bool is_defined (void) const
+    { 
+      return (callback.is_defined () && ! callback.is_empty ());
+    }
+
   callback_property& operator = (const octave_value& val)
     {
       set (val);
@@ -2572,7 +2577,7 @@
       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)
+      array_property currentpoint r , Matrix (2, 1, 0)
       bool_property dockcontrols , "off"
       bool_property doublebuffer , "on"
       string_property filename r , ""