3#include "structure/application/module/spk_event_based_module.hpp"
4#include "structure/system/device/spk_mouse.hpp"
5#include "structure/system/event/spk_mouse_event.hpp"
22 class MouseModule final :
public EventBasedModule<spk::MouseEvent>
32 void _treatEvent(spk::MouseEvent &p_ievent)
override;
Dispatches mouse events to a bound widget and tracks mouse state.
Definition spk_mouse_module.hpp:23
void _treatEvent(spk::MouseEvent &p_ievent) override
Handles a single mouse event and forwards it to the widget.
Definition spk_mouse_module.cpp:9
spk::Mouse & mouse()
Accesses the managed mouse state.
Definition spk_mouse_module.cpp:54
Captures mouse state at a given instant (buttons, position, wheel).
Definition spk_mouse.hpp:17