octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: handle graphics


From: John W. Eaton
Subject: Re: handle graphics
Date: Thu, 14 Jul 2005 00:55:15 -0400

On 14-Jul-2005, Shai Ayal wrote:

| One note on properties: I think some of them need to be new octave
| types. The types of properties I am already aware of:
| 
| types which exist in octave:
| scalar
| vector
| matrix
| string
| bool
| 
| types which don't exist in octave yet:
| * multiple choice or radio button type: where you can choose one of a
| limited sets of values
| * color: can be either a RGB vector or a basic color name (e.g.
| "r","g","b","c",...)
| * a combination of the above two: e.g. something which can be either
| "none" or a basic color or a RGB vector

I don't think we really need new primitive data types for these.  We
can express them using existing primitive types.

| This also raises the following question: Who will be responsible for
| checking the values of the properties? will octave do it before
| passing it to the GUI or will the GUI do it?

I think Octave should verify the properties and ensure the
consistency of the data structure that describes the graphics.

jwe



reply via email to

[Prev in Thread] Current Thread [Next in Thread]