|
| CheckboxWidget (GuiObject *boss, int x, int y, int w, int h, bool scale, const Common::U32String &label, const Common::U32String &tooltip=Common::U32String(), uint32 cmd=0, uint8 hotkey=0) |
|
| CheckboxWidget (GuiObject *boss, int x, int y, int w, int h, const Common::U32String &label, const Common::U32String &tooltip=Common::U32String(), uint32 cmd=0, uint8 hotkey=0) |
|
| CheckboxWidget (GuiObject *boss, const Common::String &name, const Common::U32String &label, const Common::U32String &tooltip=Common::U32String(), uint32 cmd=0, uint8 hotkey=0) |
|
void | handleMouseUp (int x, int y, int button, int clickCount) override |
|
void | handleMouseEntered (int button) override |
|
void | handleMouseLeft (int button) override |
|
void | setState (bool state) |
|
void | toggleState () |
|
bool | getState () const |
|
void | setOverride (bool enable) |
|
| ButtonWidget (GuiObject *boss, int x, int y, int w, int h, bool scale, const Common::U32String &label, const Common::U32String &tooltip=Common::U32String(), uint32 cmd=0, uint8 hotkey=0, const Common::U32String &lowresLabel=Common::U32String()) |
|
| ButtonWidget (GuiObject *boss, int x, int y, int w, int h, const Common::U32String &label, const Common::U32String &tooltip=Common::U32String(), uint32 cmd=0, uint8 hotkey=0, const Common::U32String &lowresLabel=Common::U32String()) |
|
| ButtonWidget (GuiObject *boss, const Common::String &name, const Common::U32String &label, const Common::U32String &tooltip=Common::U32String(), uint32 cmd=0, uint8 hotkey=0, const Common::U32String &lowresLabel=Common::U32String()) |
|
void | getMinSize (int &minWidth, int &minHeight) override |
|
void | setCmd (uint32 cmd) |
|
uint32 | getCmd () const |
|
void | setLabel (const Common::U32String &label) |
|
void | setLabel (const Common::String &label) |
|
void | setLowresLabel (const Common::U32String &label) |
|
const Common::U32String & | getLabel () |
|
void | handleMouseDown (int x, int y, int button, int clickCount) override |
|
void | setHighLighted (bool enable) |
|
void | setPressedState () |
|
void | setUnpressedState () |
|
| StaticTextWidget (GuiObject *boss, int x, int y, int w, int h, bool scale, const Common::U32String &text, Graphics::TextAlign align, const Common::U32String &tooltip=Common::U32String(), ThemeEngine::FontStyle font=ThemeEngine::kFontStyleBold, Common::Language lang=Common::UNK_LANG, bool useEllipsis=true) |
|
| StaticTextWidget (GuiObject *boss, int x, int y, int w, int h, const Common::U32String &text, Graphics::TextAlign align, const Common::U32String &tooltip=Common::U32String(), ThemeEngine::FontStyle font=ThemeEngine::kFontStyleBold, Common::Language lang=Common::UNK_LANG, bool useEllipsis=true) |
|
| StaticTextWidget (GuiObject *boss, const Common::String &name, const Common::U32String &text, const Common::U32String &tooltip=Common::U32String(), ThemeEngine::FontStyle font=ThemeEngine::kFontStyleBold, Common::Language lang=Common::UNK_LANG, bool useEllipsis=true) |
|
void | setValue (int value) |
|
void | setLabel (const Common::U32String &label) |
|
const Common::U32String & | getLabel () const |
|
void | setAlign (Graphics::TextAlign align) |
|
Graphics::TextAlign | getAlign () const |
|
void | readLabel () |
|
void | setFontColor (ThemeEngine::FontColor color) |
|
| Widget (GuiObject *boss, int x, int y, int w, int h, bool scale, const Common::U32String &tooltip=Common::U32String()) |
|
| Widget (GuiObject *boss, int x, int y, int w, int h, const Common::U32String &tooltip=Common::U32String()) |
|
| Widget (GuiObject *boss, const Common::String &name, const Common::U32String &tooltip=Common::U32String()) |
|
void | init () |
|
void | setNext (Widget *w) |
|
void | setBoss (GuiObject *newBoss) |
|
Widget * | next () |
|
int16 | getAbsX () const override |
|
int16 | getAbsY () const override |
|
virtual void | setPos (int x, int y) |
|
virtual void | setSize (int w, int h) |
|
virtual void | handleMouseMoved (int x, int y, int button) |
|
void | handleMouseWheel (int x, int y, int direction) override |
|
virtual bool | handleKeyDown (Common::KeyState state) |
|
virtual bool | handleKeyUp (Common::KeyState state) |
|
virtual void | handleOtherEvent (const Common::Event &evt) |
|
virtual void | handleTickle () |
|
virtual void | markAsDirty () |
|
virtual void | draw () |
|
void | receivedFocus () |
|
void | lostFocus () |
|
virtual bool | wantsFocus () |
|
uint32 | getType () const |
|
void | setFlags (int flags) |
|
void | clearFlags (int flags) |
|
int | getFlags () const |
|
void | setEnabled (bool e) |
|
bool | isEnabled () const |
|
void | setVisible (bool e) |
|
bool | isVisible () const override |
|
bool | useRTL () const |
|
uint8 | parseHotkey (const Common::U32String &label) |
|
Common::U32String | cleanupHotkey (const Common::U32String &label) |
|
bool | hasTooltip () const |
|
const Common::U32String & | getTooltip () const |
|
void | setTooltip (const Common::U32String &tooltip) |
|
void | setTooltip (const Common::String &tooltip) |
|
virtual bool | containsWidget (Widget *) const |
|
void | read (const Common::U32String &str) |
|
| GuiObject (int x, int y, int w, int h, bool scale=false) |
|
| GuiObject (const Common::String &name) |
|
virtual void | setTextDrawableArea (const Common::Rect &r) |
|
virtual void | resize (int x, int y, int w, int h, bool scale=true) |
|
virtual Widget * | addChild (Widget *newChild) |
|
virtual int16 | getRelX () const |
|
virtual int16 | getRelY () const |
|
virtual int16 | getChildX () const |
|
virtual int16 | getChildY () const |
|
virtual uint16 | getWidth () const |
|
virtual uint16 | getHeight () const |
|
virtual void | removeWidget (Widget *widget) |
|
virtual bool | isPointIn (int x, int y) |
|
virtual Common::Rect | getClipRect () const |
|
virtual void | handleTooltipUpdate (int x, int y) |
|
Public Member Functions inherited from GUI::CommandSender |
| CommandSender (CommandReceiver *target) |
|
void | setTarget (CommandReceiver *target) |
|
CommandReceiver * | getTarget () const |
|
virtual void | sendCommand (uint32 cmd, uint32 data) |
|