Dear All,
I have a window, it need to use a transparent effect png file as it's 
background, but I found that use the transparent png file as background image, 
it still can see the white backrgound color in the window, I try to modify the 
draw() function in Fl_Window.cxx, comment the following:

/*
if (damage() & ~FL_DAMAGE_CHILD) {     // draw the entire thing
    draw_box(box(),0,0,w(),h(),color()); // draw box with x/y = 0
  }
*/

This time can see the black background color in the window, so how can I set a 
transparent png file as background picture and I can see the content below the 
window.

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

Reply via email to