-
Notifications
You must be signed in to change notification settings - Fork 0
WindowManager
Daniel Grace edited this page May 20, 2019
·
1 revision
The window manager configuration is defined by the com.gracefulcode.opengine.WindowManager.Configuration class. It currently has two fields:
If this is set to true, the application is closed after the last window is closed. This is what most applications are expected to do. Note that if you open multiple windows, it will wait until there are zero open windows.
Whenever you create a new window, if you don't provide a configuration, this is the configuration that is used.
com.gracefulcode.opengine.Window createWindow(com.gracefulcode.opengine.Window.Configuration configuration)
These two functions create a new window. If no configuration is passed, the default configuration is used.
Ticks this window manager. This will draw one frame of the window. Returns true if the application should end.