Hello.
I'm trying to create a transparent window, with window
decorations.
For some reason, I can't get ANYTHING to appear when shape()
is called:
static unsigned char xbm_buffer[300 * 30];
static fltk::xbmImage xbm(xbm_buffer, 300, 30);
main_window::main_window(int w, int h)
: fltk::ShapedWindow(w, h),
time_out(0, 0, w / 2, h, 0),
name_out(w / 2, 0, w / 2, h, 0)
{
shape(&xbm);
begin();
border(true);
end();
If shape() is commented out, everything is drawn correctly.
If shape() is left as is, the window is completely invisble
and so are the two widgets within it.
What have I done wrong here?
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk