yassine wrote:

> Another question though, what is use of
> 
>> #if DRAW_BG
>>      fl_color(FL_WHITE);             // bg color
>>      fl_rectf(x,y,i->w(),i->h());    // draw bg
>> #endif
> 
> There is no difference when removing it.

That was for testing only. If you add

#define DRAW_BG

then you will see a white background behind your icon.

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

Reply via email to