j. davis wrote:
>>>> If the widget is to be "output only",
> 
> yes

[...]


> OK, I'm hearing 'derive your own custom widget starting with Fl_Box.
> Sounds reasonable to me... can someone point me to a tutorial on custom 
> widget construction? And/or examples thereof? Thanks again!

You can start here:

http://www.fltk.org/doc-1.1/subclassing.html

For your case you probably would only need to write your own draw() 
method, in other cases handle() would be needed to be written, too.
A value() method for setting the actual value would also be useful.

You can find many examples on Greg Ercolano's page:

http://seriss.com/people/erco/fltk/

Albrecht
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to