-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding support for dynamic fullScreen() in default render mode #6139
Comments
PSurface is the main class for such things, and there's no direct way to toggle fullscreen through it. However, if you're using GLWindow glw = (GLWindow) surface.getNative();
glw.setFullscreen(shouldBeFullScreen); and there are probably somewhat similar things in the other rendering modes. |
Thanks for the info! However, there is no way to do this in the default rendering mode that I could find. |
I can't find any way either, even with access to the frame. It doesn't seem like awt allows changing it dynamically, so it'd probably need to recreate the frame (and whatever is connected to it) on fullscreening. |
I am speaking of either making it so that
fullScreen()
can be called after setup or adding a new function with this functionality. This would be helpful in cases where a program can run in either fullscreen or windowed modes and wants to allow users to switch between them after export via a settings document. Or a program could have a fullscreen button to switch after program start. Is there a way to implement this feature? Thanks!The text was updated successfully, but these errors were encountered: