comparison 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
comparison
equal deleted inserted replaced
10516:f0266ee4aabe 10517:9cdd6c8c05a4
1379 : base_property (p), callback (p.callback) { } 1379 : base_property (p), callback (p.callback) { }
1380 1380
1381 octave_value get (void) const { return callback; } 1381 octave_value get (void) const { return callback; }
1382 1382
1383 OCTINTERP_API void execute (const octave_value& data = octave_value ()) const; 1383 OCTINTERP_API void execute (const octave_value& data = octave_value ()) const;
1384
1385 bool is_defined (void) const
1386 {
1387 return (callback.is_defined () && ! callback.is_empty ());
1388 }
1384 1389
1385 callback_property& operator = (const octave_value& val) 1390 callback_property& operator = (const octave_value& val)
1386 { 1391 {
1387 set (val); 1392 set (val);
1388 return *this; 1393 return *this;
2570 radio_property paperorientation , "{portrait}|landscape|rotated" 2575 radio_property paperorientation , "{portrait}|landscape|rotated"
2571 color_property color , color_values (1, 1, 1) 2576 color_property color , color_values (1, 1, 1)
2572 array_property alphamap , Matrix (64, 1, 1) 2577 array_property alphamap , Matrix (64, 1, 1)
2573 string_property currentcharacter r , "" 2578 string_property currentcharacter r , ""
2574 handle_property currentobject r , graphics_handle () 2579 handle_property currentobject r , graphics_handle ()
2575 array_property current_point r , Matrix (2, 1, 0) 2580 array_property currentpoint r , Matrix (2, 1, 0)
2576 bool_property dockcontrols , "off" 2581 bool_property dockcontrols , "off"
2577 bool_property doublebuffer , "on" 2582 bool_property doublebuffer , "on"
2578 string_property filename r , "" 2583 string_property filename r , ""
2579 bool_property integerhandle , "on" 2584 bool_property integerhandle , "on"
2580 bool_property inverthardcopy , "off" 2585 bool_property inverthardcopy , "off"