Sparkle 0.0.1
Loading...
Searching...
No Matches
spk::Module::PaintModule Class Referencefinal

Forwards paint events to the bound widget. More...

#include <spk_paint_module.hpp>

Collaboration diagram for spk::Module::PaintModule:
Collaboration graph

Public Member Functions

void setWidget (spk::Widget *p_widget)
 Associates the module with a widget.
void paint (spk::PaintEvent p_event)
 Dispatches a paint event to the widget if present.

Detailed Description

Forwards paint events to the bound widget.

See also
UpdateModule, SystemModule

Member Function Documentation

◆ paint()

void spk::Module::PaintModule::paint ( spk::PaintEvent p_event)

Dispatches a paint event to the widget if present.

Parameters
p_eventPaint event data.

◆ setWidget()

void spk::Module::PaintModule::setWidget ( spk::Widget * p_widget)

Associates the module with a widget.

Parameters
p_widgetWidget receiving paint events; may be null to detach.

The documentation for this class was generated from the following files:
  • includes/structure/application/module/spk_paint_module.hpp
  • srcs/structure/application/module/spk_paint_module.cpp