Public Member Functions | |
void | addFrame (Frame *frame) |
void | removeFrame (Frame *frame) |
void | paint () |
void | importMouseMotion (int x, int y) |
void | importMousePressed (int button) |
void | importMouseReleased (int button) |
void | importKeyPressed (int keyCode, int modifier) |
void | importKeyReleased (int keyCode, int modifier) |
void | importUpdate (float deltaTime) |
void | setFontFactory (AbstractFontFactory *factory) |
AbstractFontFactory * | getFontFactory () const |
|
Add a frame instance to the Gui manager.
|
|
Removes a frame instance from the Gui manager. This means the frame will no longer be painted or updated. If you just disable a Frame temporarely, the setVisible(false) or hide() options are a better choice than removing the frame from the Gui. |
|
Draw the Gui. This should be called every frame, and if possible when in orthographic mode. |
|
Send mouse coordinates to the Gui. This should be done everyframe, as the mouse coordinates are used by the picking engine. |
|
Send a mouse press to the Gui.
|
|
Send a mouse release to the Gui.
|
|
Send a key press to the Gui. Possible values for the parameters can be found in KeyEvent
|
|
Send a key release to the Gui. Possible values for the parameters can be found in KeyEvent
|
|
Send a time based update to the Gui.
|
|
Sets the font factory for the Gui. Font factories are used to create all Fonts in the system, and have to be implemented by the end user. Also see the online article. |
|
Returns the FontFactory currently in use. |