GT-Anakin wrote:i'm tied to Qt 5. So that would work for me, correct??
There are so many overlays (steam, origin, Nvidia,...) i wonder there is no kind of api that allows you to add some overlay items to the screen (labels, image) and to interact with them (get mouse position, get mouse klick event)
There is really not much needed. Just image/label print + option to grap the mouse with press/position.
Then you can write your own program to show the content permanent, to hide them, to interact with mouse...
Our implementation only worked on Qt 4.
What we did was, we made use of our existing overlay.
Then we leveraged our GlobalShortcut implementation (including the ability to suppress events).
This allowed us to grab mouse coordinates, clicks, etc. -- and ensure they weren't delivered to any other app on the system.
Our code is old and unmaintained, and I doubt it works well anymore. However, our implementation mirrored the "Windows platform" windows from Mumble into overlay. That was the most hacky part of it.
If you instead use a custom platform plugin in Qt, or you simply draw your widgets yourself, it should be much more doable.
Unfortunately, our overlay code isn't really its own project, so it's not easy to integrate into something else.