Closed danoli3 closed 3 weeks ago
I made an example as this requires a bit of main.cpp setup and understanding of the limitations and powers of this GLFW passThrough.
I wonder if .transparentInput
is the correct base name for the click through feature? adopting GLFW naming would make things more auto-documented, so .mousePassthrough
to shadow GLFW_MOUSE_PASSTHROUGH
?
likewise, ofSetWindowMousePassthrough(bool)
instead of ofSetWindowTransparencyInput(bool)
?
unless "transparent input" is a term commonly used?
Okay rechecked this bad boi going to merge
As mentioned on the forums here: https://forum.openframeworks.cc/t/transparent-window-app-with-mouse-click-pass-through/43816
GLFW Window clear transparency - mouse passThrough
Changes additional bools for GLFW settings.
Thanks to @artificiel for documenting floating / passThrough info
usage would be something like in main.cpp:
Example: