#include <FlexiManager.h>
Public Member Functions | |
bool | initialize (FlexiGfxRenderer *gr=0) |
bool | setEventMode (int mode) |
bool | addInterface (FlexiGui *fInterface) |
float | getHRatio () |
FlexiCommand * | getCommand () |
void | showFPS (bool enable) |
FlexiFont * | getDefaultFont () |
FlexiGfxRenderer * | getRenderer () |
Static Public Member Functions | |
static FlexiManager * | instance () |
Public Attributes | |
FlexiTheme | theme |
std::string | fontPath |
FT_Library | ftLib |
FlexiManager * FlexiManager::instance | ( | ) | [static] |
Static instance
bool FlexiManager::initialize | ( | FlexiGfxRenderer * | gr = 0 |
) |
Main methods
bool FlexiManager::setEventMode | ( | int | mode | ) |
Events
bool FlexiManager::addInterface | ( | FlexiGui * | fInterface | ) |
Interfaces
float FlexiManager::getHRatio | ( | ) |
Transitions
Console
Screen ratios
FlexiCommand * FlexiManager::getCommand | ( | ) |
I/O commands (interface to game loop)
void FlexiManager::showFPS | ( | bool | enable | ) | [inline] |
Dialogs
Mouse Pointer
On screen informations
FlexiFont* FlexiManager::getDefaultFont | ( | ) | [inline] |
Default elements
FlexiGfxRenderer* FlexiManager::getRenderer | ( | ) | [inline] |
Renderer
FlexiTheme FlexiManager::theme |
Theme
std::string FlexiManager::fontPath |
Configuration variables
FT_Library FlexiManager::ftLib |
FreeType 2