examples/windowing/transparentWindow/README.md
This example demonstrates how to set and get window properties for GLFW Transparency setup and GLFW attribute for mouse passThrough this transparency to context behind the window
In the code, pay attention to:
ofSetWindowTransparencyInput() to set if mouse input passThrough is enabled or disabled for the windowmouseMoved() used to check if within bounds to disable passThrough to region developer electedofSetFullscreen() to toggle between fullscreen and windowed modesmain.cpp setup
ofGLFWWindowSettings settings;
settings.transparent = true;
settings.transparentInput = true;
settings.floating = true;
settings.decorated = false;
When launching this application you will see the following:
floating window with no titlebar shown even when setWhen the key g is pressed:
When the key h is pressed:
When the key f is pressed:
When the key l is pressed:
Instructions for use:
This Example uses no other classes.