Thanks again Greg for all these tips.
> On 02/26/13 12:21, Greg Ercolano wrote: > >> To make nice looking 'rounded' multicolor progress bars, I've used a > >> custom > >> widget that derived from Fl_Box that manipulates alpha images for the > >> round endcaps, and uses a regular fl_rectf() to connect them, eg: > >> [ASCII art follows -- read with a fixed width font!] > >> _____________ > >> (_|_________|_) > >> 1 2 3 > >> > >> ..where 1 is the left end cap, 3 is the right end cap, and 2 is the > >> fl_rectf(). > > ..bleh, I think thunderbird mangled my ascii art image because it (still) > doesn't always handle tabs correctly. I hate it when ascii art doesn't > show > correctly, so here it is again without tabs, hopefully showing up more > clearly > (if reading this list with a fixed width font): > > _____________ > (_|_________|_) > 1 2 3 > > ..where 1 is the left end cap, 3 is the right end cap, and 2 is the > fl_rectf(). > > That technique is how I made this widget (screenshot): > http://seriss.com/people/erco/fltk/tmp/alpha-progress-bar.jpg > > I'll see if I can post the code for that widget.. _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

