-
Notifications
You must be signed in to change notification settings - Fork 25
Description
OverlayWindow needs a way to supply an overlay-drawing function. I don't see a way to do that; it looks like it's not supported yet.
It would probably be more useful to have it [and Group] automatically delegate to an optional overlay-drawing function on each of its children, since likely you'll have widget-specific overlays, but that would be a departure from the base FLTK behavior. I haven't used it myself. Looking back at the old FLTK C++ code I'm replacing with Haskell, I see that I implemented my own overlay without using OverlayWindow, for a specific widget that needed overlay-like behavior. It's less efficient, but was fast enough. I think I'd intended to move it to the real overlay if it turned out to be necessary, and it never was.
I suspect this feature isn't high-priority, but I don't know how widely-used it is in FLTK.