Hello,
I am trying to derive my own custom class from a Fl_Group. I would like it to
have a specific background color an rounded box instead of the default ones for
the Fl_Group. The following code doesn't do that successfully. Could someone
please tell me how do I fix it?
Thanks,
Frank
class FrankGrp : public Fl_Group {
public:
FrankGrp(int X, int Y, int W, int H, const char *L=0);
};
FrankGrp::FrankGrp(int X, int Y, int W, int H, const char
*L):Fl_Group(X,Y,W,H,L) {
/*CONSTRUCTOR*/
if (debugOn==1)
std::cout<<"constructed a FrankGrp\n";
begin();
box(FL_ROUNDED_BOX);
color(FL_LIGHT3);
labelcolor(FL_BACKGROUND2_COLOR);
selection_color(FL_BACKGROUND_COLOR);
end();
}
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk