DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

Link: http://www.fltk.org/str.php?L1844
Version: 2.0-feature


Regarding the "Re: Make child widget doesn't erase borders ?"
thread on fltk.general (ending 12/08/2007), it was determined that it's
pretty hard to make a group clip its children.

Seems it would help folks if Fl_Group had an easy way for to let the user
easily turn on clipping for the group's children.

Might be useful if Fl_Group had two new methods:

            clip(flag): enable/disable clipping. If enabled, by default
            it would clip to the widget's own xywh, so a group could
            be a child of a window, and children would clip within that
            region.

            clip(x,y,w,h): set the actual clip region for drawing
            children, so it can be smaller than xywh. If set, it would
            enable an fl_push/pop_clip around the draw_children() call.

Mike's comments on fltk.development were:

    "This should be pretty straight forward."


Link: http://www.fltk.org/str.php?L1844
Version: 2.0-feature

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

Reply via email to