|
| GUI_Button (void *data, int x, int y, Graphics::ManagedSurface *image, Graphics::ManagedSurface *image2, GUI_CallBack *callback, bool free_surfaces=true) |
|
| GUI_Button (void *data, int x, int y, int w, int h, GUI_CallBack *callback) |
|
| GUI_Button (void *data, int x, int y, int w, int h, const char *text, GUI_Font *font, ButtonTextAlign alignment, bool is_checkbutton, GUI_CallBack *callback, bool flat=false) |
|
virtual void | ChangeTextButton (int x, int y, int w, int h, const char *text, ButtonTextAlign alignment) |
|
void | Display (bool full_redraw) override |
|
GUI_status | MouseDown (int x, int y, Shared::MouseButton button) override |
|
GUI_status | MouseUp (int x, int y, Shared::MouseButton button) override |
|
GUI_status | MouseMotion (int x, int y, uint8 state) override |
|
virtual void | Disable () |
|
virtual void | Enable (bool flag=true) |
|
virtual bool | Enabled () |
|
virtual bool | IsCheckButton () |
|
virtual void | set_highlighted (bool val) |
|
virtual GUI_status | Activate_button (int x=0, int y=0, Shared::MouseButton button=Shared::BUTTON_LEFT) |
|
| GUI_Widget (void *data) |
|
| GUI_Widget (void *data, int x, int y, int w, int h) |
|
int | AddWidget (GUI_Widget *widget) |
|
virtual void | Show (void) |
|
virtual void | Hide (void) |
|
virtual void | Delete (void) |
|
virtual void | MoveRelative (int dx, int dy) |
|
virtual void | Move (int32 new_x, int32 new_y) |
|
void | MoveRelativeToParent (int dx, int dy) |
|
bool | has_focus () const |
|
void | grab_focus () |
|
virtual void | release_focus () |
|
void | moveToFront () |
|
virtual void | PlaceOnScreen (Screen *s, GUI_DragManager *dm, int x, int y) |
|
virtual WIDGET_status | Status (void) const |
|
virtual void | SetRect (int x, int y, int w, int h) |
|
virtual void | SetRect (Common::Rect **bounds) |
|
virtual Common::Rect | GetRect () |
|
virtual int | X () const |
|
virtual int | Y () const |
|
virtual int | W () const |
|
virtual int | H () const |
|
virtual int | HitRect (int x, int y) |
|
virtual int | HitRect (int x, int y, const Common::Rect &rect) |
|
virtual void | SetDisplay (Screen *s) |
|
void | DisplayChildren (bool full_redraw=false) |
|
virtual void | Redraw (void) |
|
bool | needs_redraw () const |
|
bool | widget_has_focus () |
|
virtual GUI_status | Idle (void) |
|
virtual GUI_status | KeyDown (const Common::KeyState &key) |
|
virtual GUI_status | KeyUp (Common::KeyState key) |
|
virtual GUI_status | MouseWheel (sint32 x, sint32 y) |
|
virtual GUI_status | MouseEnter (uint8 state) |
|
virtual GUI_status | MouseLeave (uint8 state) |
|
virtual GUI_status | MouseClick (int x, int y, Shared::MouseButton button) |
|
virtual GUI_status | MouseDouble (int x, int y, Shared::MouseButton button) |
|
virtual GUI_status | MouseDelayed (int x, int y, Shared::MouseButton button) |
|
virtual GUI_status | MouseHeld (int x, int y, Shared::MouseButton button) |
|
bool | drag_accept_drop (int x, int y, int message, void *data) override |
|
void | drag_perform_drop (int x, int y, int message, void *data) override |
|
virtual GUI_status | HandleEvent (const Common::Event *event) |
|
char * | Error (void) |
|
virtual int | ClickState (int button) |
|
virtual void | SetClickState (int button, int value) |
|
bool | is_drop_target () |
|
virtual void | drag_drop_failed (int x, int y, int message, void *data) |
|
virtual void | drag_drop_success (int x, int y, int message, void *data) |
|
virtual void | drag_draw (int x, int y, int message, void *data) |
|
virtual GUI_status | callback (uint16 msg, GUI_CallBack *caller, void *data) |
|
|
virtual Graphics::ManagedSurface * | CreateTextButtonImage (int style, const char *text, ButtonTextAlign alignment) |
|
void | Init (void *data, int x, int y, int w, int h) |
|
void | setParent (GUI_Widget *widget) |
|
void | SetError (char *fmt,...) |
|
void | set_accept_mouseclick (bool set, int button=0) |
|
void | set_mouseup (int set, int button=0) |
|
void | set_mousedown (int set, int button=0) |
|
int | get_mouseup (int button) const |
|
int | get_mousedown (int button) const |
|
void | wait_for_mouseclick (int button) |
|
void | wait_for_mousedown (int button) |
|
virtual GUI_status | try_mouse_delayed () |
|