|
| ButtonWidget (SpritePtr sprite, const Vector &pos, std::function< void()> m_sig_click={}) |
|
| ButtonWidget (const std::string &path, const Vector &pos, std::function< void()> callback={}) |
|
virtual void | draw (DrawingContext &context) override |
|
virtual void | update (float dt_sec) override |
|
virtual void | setup () override |
|
virtual void | resize () override |
|
virtual bool | on_mouse_button_up (const SDL_MouseButtonEvent &button) override |
|
virtual bool | on_mouse_button_down (const SDL_MouseButtonEvent &button) override |
|
virtual bool | on_mouse_motion (const SDL_MouseMotionEvent &motion) override |
|
virtual bool | event (const SDL_Event &ev) |
|
virtual bool | on_mouse_wheel (const SDL_MouseWheelEvent &wheel) |
|
virtual bool | on_key_up (const SDL_KeyboardEvent &key) |
|
virtual bool | on_key_down (const SDL_KeyboardEvent &key) |
|
The documentation for this class was generated from the following files: