#include <MAUI/Engine.h>
Inheritance diagram for MAUI::Engine:
Public Types | |
enum | { MAX_WIDGET_DEPTH = 16 } |
Public Member Functions | |
void | setMain (Widget *main) |
virtual | ~Engine () |
void | setDefaultFont (Font *systemFont) |
Font * | getDefaultFont () |
void | setDefaultSkin (WidgetSkin *systemSkin) |
WidgetSkin * | getDefaultSkin () |
void | idle () |
void | requestUIUpdate () |
void | repaint () |
bool | isOverlayShown () |
void | showOverlay (int x, int y, Widget *overlay) |
void | hideOverlay () |
Static Public Member Functions | |
static Engine & | getSingleton () |
Protected Attributes | |
Widget * | overlay |
Point | overlayPosition |
Widget * | main |
Font * | defaultFont |
WidgetSkin * | defaultSkin |
bool | characterInputActive |
Static Protected Attributes | |
static Engine * | singletonPtr |
|
|
|
|
|
Sets the widget that is main to the application, constituting the root of the UI tree |
|
Sets the default font to be used by Widgets when they are not assigned any particular font. |
|
Returns the MAUI-wide default font |
|
Sets the default skin to be used by Widgets when they are not assigned any particular skin. |
|
Returns the MAUI-wide default skin |
|
This function is called once per event loop. Implements MAUtil::IdleListener. |
|
Widgets call this function when they require repainting. It will cause any dirty widgets to be redrawn in the next iteration of the event loop. |
|
Actually performs repainting |
|
Returns a reference to the single instance of this class, using lazy initialization. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|