diff src/graphics.h.in @ 12443:24b38afd6a45

fix plotyy bugs #31800, #32211
author Konstantinos Poulios <logari81@googlemail.com>
date Sun, 13 Feb 2011 21:37:18 +0100
parents b932ae4381da
children 2f83974d5a6d
line wrap: on
line diff
--- a/src/graphics.h.in	Sun Feb 13 18:30:30 2011 +0100
+++ b/src/graphics.h.in	Sun Feb 13 21:37:18 2011 +0100
@@ -3644,7 +3644,7 @@
       array_property position mu , Matrix (1, 3, 0.0)
       double_property rotation mu , 0
       radio_property horizontalalignment mu , "{left}|center|right"
-      color_property color , color_values (0, 0, 0)
+      color_property color u , color_values (0, 0, 0)
       string_property fontname u , OCTAVE_DEFAULT_FONTNAME
       double_property fontsize u , 10
       radio_property fontangle u , "{normal}|italic|oblique"
@@ -3727,6 +3727,7 @@
 
     void update_string (void) { request_autopos (); update_text_extent (); }
     void update_rotation (void) { update_text_extent (); }
+    void update_color (void) { update_text_extent (); }
     void update_fontname (void) { update_text_extent (); }
     void update_fontsize (void) { update_text_extent (); }
     void update_fontangle (void) { update_text_extent (); }