|
Sparkle 0.0.1
|
Forwards update ticks to the bound widget. More...
#include <spk_update_module.hpp>

Public Member Functions | |
| void | setWidget (spk::Widget *p_widget) |
| Associates the module with a widget. | |
| void | update (spk::UpdateEvent p_event) |
| Dispatches an update event to the widget if present. | |
Forwards update ticks to the bound widget.
| void spk::Module::UpdateModule::setWidget | ( | spk::Widget * | p_widget | ) |
Associates the module with a widget.
| p_widget | Widget receiving update events; may be null to detach. |
| void spk::Module::UpdateModule::update | ( | spk::UpdateEvent | p_event | ) |
Dispatches an update event to the widget if present.
| p_event | Update event containing timing information. |