Albrecht Schlosser wrote:
> My proposal for such an inner_box() method is:
> virtual Fl_Widget::inner_box(int X, int Y, int W, int H);

        Mmm, that makes a lot of sense.
        One less argument as well.

> enum Fl_Area {
>    FL_AREA_BOX = 0,   ///< the widget's box
>    FL_AREA_INNER,     ///< the area inside the frame
>    FL_AREA_SCROLL,    ///< the area inside the scrollbars

        Sounds neat; implies all the high level widgets with
        scrollbars would need to reimplement that for
        FL_AREA_SCROLL to work right.

        If we get a quick agreement on that, I'd go for it.

        Otherwise, in the interest of expedience, going for
        the simpler Fl_Widget::inner_box(x,y,w,h) suggestion,
        cause that would be done in a quick swipe.
_______________________________________________
fltk-dev mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-dev

Reply via email to