diff src/graphics.h.in @ 10724:f0236b444356

Allow set(h) to work if the handle includes color properties
author David Bateman <dbateman@free.fr>
date Wed, 23 Jun 2010 11:44:21 +0200
parents 755fcb5baad3
children 84c35a483d1f
line wrap: on
line diff
--- a/src/graphics.h.in	Wed Jun 23 11:37:22 2010 +0200
+++ b/src/graphics.h.in	Wed Jun 23 11:44:21 2010 +0200
@@ -970,6 +970,10 @@
 
   base_property* clone (void) const { return new color_property (*this); }
 
+  std::string values_as_string (void) const { return radio_val.values_as_string (); }
+
+  Cell values_as_cell (void) const { return radio_val.values_as_cell (); }
+      
 protected:
   OCTINTERP_API bool do_set (const octave_value& newval);