> >> If the widget is to be "output only",

yes

> then you may be best just
> > rolling your own.
> > it was less hassle than deriving from
> > Fl_Slider - but I didn't try that at the time so...

> Well I did derived custom sliders from Fl_Slider and it worked great for 
> creating nice realistic audio mixing table sliders in an audio project but as 
> Ian says, for 'bar graphs' with output only, the simplest and best way to go 
> is probably just drawing a rectangle in an Fl_Box derived widget.

OK

> This is just not the same thing, 'rectangular' sliders are just a particular 
> specialization of valuators having all in common user interaction, mainly 
> with the mouse, to change a value.

Understood.


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!

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

Reply via email to