diff options
Diffstat (limited to 'src/ui/ui.h')
-rw-r--r-- | src/ui/ui.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/ui/ui.h b/src/ui/ui.h index 77b04f5..5c44643 100644 --- a/src/ui/ui.h +++ b/src/ui/ui.h @@ -48,8 +48,14 @@ public: /// receive global mouse movement void input_mouse(const float x, const float y); + + /// receive global mouse button events + bool input_mouse_button(const bool pressed, unsigned int button); + + /// receive global mouse wheel events + bool input_mouse_wheel(const math::Vector2f & direction); - /// receive global key input + /// receive global keyboard events bool input_key(const bool pressed, const int key, const unsigned int modifier); /// run a user interface frame |