> > > When you set:
> > >
> > > o->down_box(FL_UP_BOX);
> > >
> > > You set the down_box (pressed button) to a rectangular shape.
> >
> > Also, the FL_POUNDED_BOX and the FL_OVAL_BOX are the only two box
> > types that have no corresponding DOWN shape. You could use the
> > FL_ROUND_UP_BOX instead.
>

If I used following then rounded button doesn't change to rectangle shape. So 
it's working fine.

Fl_Button* o = new Fl_Button(10, 30, 75, 25, "File");
o->box(FL_ROUND_UP_BOX);
o->down_box(FL_ROUND_UP_BOX);
o->labelfont(9);

or

Fl_Button* o = new Fl_Button(230, 30, 75, 25, "Save");
o->box(FL_ROUND_DOWN_BOX);
o->down_box(FL_ROUND_DOWN_BOX);
o->labelfont(9);

But there is a dashed rectangle appear on button. Now i'm using version 8 
(fltk-1.1.x-r5891). can we remove this dashed rectangle. It appear on every 
control like check box, radio button etc.

And i think rectangular shape box is UP_BOX,DOWN_BOX, FLAT_BOX, BORDER_BOX. Am 
i right?

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

Reply via email to