Dispatches mouse events to a bound widget and tracks mouse state.
More...
#include <spk_mouse_module.hpp>
|
| void | _treatEvent (spk::MouseEvent &p_ievent) override |
| | Handles a single mouse event and forwards it to the widget.
|
Dispatches mouse events to a bound widget and tracks mouse state.
- See also
- KeyboardModule, SystemModule
mouse.setWidget(&rootWidget);
Dispatches mouse events to a bound widget and tracks mouse state.
Definition spk_mouse_module.hpp:23
spk::Mouse & mouse()
Accesses the managed mouse state.
Definition spk_mouse_module.cpp:54
◆ _treatEvent()
| void spk::Module::MouseModule::_treatEvent |
( |
spk::MouseEvent & | p_ievent | ) |
|
|
overrideprotectedvirtual |
◆ mouse() [1/2]
Accesses the managed mouse state.
- Returns
- Mutable mouse reference.
- See also
- mouse() const
◆ mouse() [2/2]
| const spk::Mouse & spk::Module::MouseModule::mouse |
( |
| ) |
const |
Accesses the managed mouse state.
- Returns
- Const mouse reference.
- See also
- mouse()
The documentation for this class was generated from the following files:
- includes/structure/application/module/spk_mouse_module.hpp
- srcs/structure/application/module/spk_mouse_module.cpp