[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: color & radio classes
From: |
John W. Eaton |
Subject: |
Re: color & radio classes |
Date: |
Thu, 31 May 2007 23:33:24 -0400 |
On 22-May-2007, Shai Ayal wrote:
| Sorry for replying to my own posts, but no one else seems to answer ...
|
| anyway, I'm attaching the changes proposed in the previous email as a
| patch to src/graphics.cc
|
| Shai
|
| 2007-05-22 Shai Ayal <address@hidden>
|
| * graphics.cc (color_property): modified to accept both color and
| radio values
|
| * graphics.cc: added radio_values, radio_property, color_values
| classes
Sorry for the delay.
I applied this patch with a few minor changes. One thing I changed
was to change the "color_property (const octave_value& val)"
constructor to handle character strings ("r", "g", "b", etc.) as color
names. But I'm not sure that is enough. What needs to change to make
it handle the radio values? Can you take a look at the current
version of graphics.cc in CVS?
Thanks,
jwe