> void setrowheader_cb(Fl_Widget* w)
> {
>
> Fl_Check_Button* flcb = ((Fl_Check_Button*)w);
> if ( flcb->value() == 1 ) {
> flcb->labelcolor(FL_RED);
> flcb->label("Label&Scale");
> new Fl_Box(0, 20, 1000, 20, " first ");
> new Fl_Box(0, 640, 1000, 20, " second ");
> new Fl_Box(0, 660, 1000, 20, " third ");
You don't appear to have added you new widgets to any parent window or
group, so they probably will never get drawn.
> }
> else {
> flcb->labelcolor(FL_BLACK);
> flcb->label("No Label&Scale");
> }
> flcb->damage(1);
I doubt this dmage call is useful.
SELEX Sensors and Airborne Systems Limited
Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14
3EL
A company registered in England & Wales. Company no. 02426132
********************************************************************
This email and any attachments are confidential to the intended
recipient and may also be privileged. If you are not the intended
recipient please delete it from your system and notify the sender.
You should not copy it or use it for any purpose nor disclose or
distribute its contents to any other person.
********************************************************************
_______________________________________________
fltk-dev mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-dev