#include <gui-manager.h>
|
void | runLoop () |
|
void | exitLoop () |
|
void | processEvent (const Common::Event &event, Dialog *const activeDialog) |
|
Common::Keymap * | getKeymap () const |
|
void | scheduleTopDialogRedraw () |
|
void | scheduleFullRedraw () |
|
bool | isActive () const |
|
bool | loadNewTheme (Common::String id, ThemeEngine::GraphicsMode gfx=ThemeEngine::kGfxDisabled, bool force=false) |
|
ThemeEngine * | theme () |
|
ThemeEval * | xmlEval () |
|
void | lockIconsSet () |
|
void | unlockIconsSet () |
|
Common::SearchSet & | getIconsSet () |
|
int16 | getGUIWidth () const |
|
int16 | getGUIHeight () const |
|
float | getScaleFactor () const |
|
void | computeScaleFactor () |
|
bool | useLowResGUI () const |
|
bool | useRTL () const |
|
void | setLanguageRTL () |
|
void | setDialogPaddings (int l, int r) |
|
int | getOverlayOffset () |
|
const Graphics::Font & | getFont (ThemeEngine::FontStyle style=ThemeEngine::kFontStyleBold) const |
|
int | getFontHeight (ThemeEngine::FontStyle style=ThemeEngine::kFontStyleBold) const |
|
int | getStringWidth (const Common::String &str, ThemeEngine::FontStyle style=ThemeEngine::kFontStyleBold) const |
|
int | getStringWidth (const Common::U32String &str, ThemeEngine::FontStyle style=ThemeEngine::kFontStyleBold) const |
|
int | getCharWidth (uint32 c, ThemeEngine::FontStyle style=ThemeEngine::kFontStyleBold) const |
|
int | getKerningOffset (uint32 left, uint32 right, ThemeEngine::FontStyle font=ThemeEngine::kFontStyleBold) const |
|
bool | checkScreenChange () |
|
void | addToTrash (GuiObject *, Dialog *parent=nullptr) |
|
void | initTextToSpeech () |
|
void | redrawFull () |
|
void | initIconsSet () |
|
void | displayTopDialogOnly (bool mode) |
|
Graphics::MacWindowManager * | getWM () |
|
Public Member Functions inherited from GUI::CommandSender |
| CommandSender (CommandReceiver *target) |
|
void | setTarget (CommandReceiver *target) |
|
CommandReceiver * | getTarget () const |
|
virtual void | sendCommand (uint32 cmd, uint32 data) |
|
|
enum | RedrawStatus {
kRedrawDisabled = 0,
kRedrawOpenDialog,
kRedrawCloseDialog,
kRedrawTopDialog,
kRedrawFull
} |
|
typedef GuiManager | SingletonBaseType |
|
|
void | initKeymap () |
|
void | enableKeymap (bool enabled) |
|
void | saveState () |
|
void | restoreState () |
|
void | openDialog (Dialog *dialog) |
|
void | closeTopDialog () |
|
void | redraw () |
|
void | redrawInternalTopDialogOnly () |
|
void | redrawInternal () |
|
void | setupCursor () |
|
void | animateCursor () |
|
Dialog * | getTopDialog () const |
|
void | screenChange () |
|
void | giveFocusToDialog (Dialog *dialog) |
|
void | setLastMousePos (int16 x, int16 y) |
|
|
static bool | hasInstance () |
|
static GuiManager & | instance () |
|
static void | destroy () |
|
static GuiManager * | _singleton |
|
◆ checkScreenChange()
bool GUI::GuiManager::checkScreenChange |
( |
| ) |
|
Tell the GuiManager to check whether the screen resolution has changed. If that is the case, the GuiManager will reload/refresh the active theme.
- Returns
- true if the a screen change indeed occurred, false otherwise
◆ addToTrash()
void GUI::GuiManager::addToTrash |
( |
GuiObject * |
, |
|
|
Dialog * |
parent = nullptr |
|
) |
| |
Tell the GuiManager to delete the given GuiObject later. If a parent dialog is provided and is present in the DialogStack, the object will only be deleted when that dialog is the top level dialog.
The documentation for this class was generated from the following file: