Hi,
I'm trying to build up a sort of windows splitter wich consist in 2
windows separated by a split bar that the user can drag to reduce the size of
one of the window.
(I know, Fl_Tile does a similar job but it has some behaviours that bother me)
So here's the constructor of my widget:
(this widget is create by the main windows)
MySplitter(int x, int y, int w, int h, const char *l = 0)
: Fl_Group(x, y, w, h, l)
{
begin();
container1 = new Fl_Double_Window(x, y, w / 2, h);
container1->set_non_modal();
container1->box(FL_DOWN_BOX);
container1->color((Fl_Color) FL_RED);
container2 = new Fl_Double_Window(w / 2, y, w / 2, h);
container2->set_non_modal();
container2->box(FL_DOWN_BOX);
container2->color((Fl_Color) FL_BLUE);
end();
}
the pb is that only the first window is shown and I don't understand why.
Can someone help me ?
Thanks
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk