#include <GLApplication.h>
Inherits Application.
Inheritance diagram for GLApplication:


Public Methods | |
| GLApplication () | |
| Default constructor. | |
| void | addWindow (GLWindow *w) |
| Add a window to be handled by the OpenGL application. | |
| int | start () |
| Runs the application. | |
Static Public Methods | |
| const GLApplication::Mode & | GLApplication::getFullScreenMode () |
| Return the default fullscreen mode. | |
| bool | fullscreen (bool flag) |
| Switches the system to fullscreen mode and back. More... | |
Protected Attributes | |
| bool | active |
| True iff the application is active. | |
| GLWindow * | window |
| OpenGL window that is owned by the application. | |
Handle multiple OpenGL windows.
A GLApplication has a set of OpenGL windows (currently only one) that are feeded with keyboard and mouse input and are refreshed continously.
|
|
Switches the system to fullscreen mode and back. Switches the system to original mode (non-fullscreen) when currently in fullscreen and vice versa. Displays a message box when the system could not switch to fullscreen mode.
|