Hi all,
I am trying to create a simple object representing a "bargraph".
It is a simple filled rectangle, derived in a Fl_Group ; the draw method simply 
draw two rectangles,
one with "fill" color, the other with "background" color.

All is ok ; now I want to add a "transparent" background option.
I cannot draw the "background" rectangle, so when the rectangle is growing all 
is right,
but when the bargraph value goes down...
How can I force the erasing of the filled rectangle before redrawing it with 
the new dimension ?
Any suggestion is welcome.

Thanks all,
regards

Lucio Dona'



 
_______________________________________________
fltk mailing list
fltk@easysw.com
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to