Skip to content

Support for OverlayWindow is missing? #129

@ericu

Description

@ericu

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions