This class ...
More...
#include <AttachedLabel.h>
◆ AttachedLabel()
| krotos::AttachedLabel::AttachedLabel |
( |
const String & | labelText | ) |
|
Constructs a new label with specified text for the label.
◆ getAttachment()
Returns reference to the attachment Object.
◆ getLabel()
Returns reference to the label displaying the component name.
◆ resized()
| void krotos::AttachedLabel::resized |
( |
| ) |
|
|
override |
◆ m_attachment
◆ m_label
◆ onTextChange
| std::function<void()> krotos::AttachedLabel::onTextChange |
You can assign a lambda to this callback object to have it called when the label changes.
The documentation for this class was generated from the following files: