Using FLUID, I created 2 Groups. I made 1 of them an instance
of a C++ class called MyGroup.  This is the FLUID output:

{ Fl_Group* o = new Fl_Group(25, 25, 15, 15);
  o->end();
} // Fl_Group* o
{ MyGroup* o = new MyGroup(25, 25, 15, 15);
  o->box(FL_NO_BOX);
  o->color(FL_BACKGROUND_COLOR);
  o->selection_color(FL_BACKGROUND_COLOR);
  o->labeltype(FL_NORMAL_LABEL);
  o->labelfont(0);
  o->labelsize(14);
  o->labelcolor(FL_FOREGROUND_COLOR);
  o->align(FL_ALIGN_TOP);
  o->when(FL_WHEN_RELEASE);
  o->end();
} // MyGroup* o

Ironically, I'd be quite happy to use the default attribute
values for an "out of the box" Fl_Group, but I want to set
my own attributes in MyGroup's constructor.  Is there anything
to be done about this?

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

Reply via email to