62 bool _wordWrap =
false;
Dynamic array container wrapping std::vector.
Definition list.h:40
Base object for promeki.
Definition objectbase.h:129
ObjectBase * parent() const
Returns the parent object, if one. nullptr if none.
Definition objectbase.h:258
Encoding-aware string class with copy-on-write semantics.
Definition string.h:35
Displays text (single or multi-line).
Definition label.h:30
void setText(const String &text)
Sets the display text.
const String & text() const
Returns the display text.
Definition label.h:40
TuiAlignment alignment() const
Returns the text alignment.
Definition label.h:46
bool wordWrap() const
Returns true if word wrapping is enabled.
Definition label.h:52
void setWordWrap(bool wrap)
Enables or disables word wrapping.
Definition label.h:49
void setAlignment(TuiAlignment align)
Sets the text alignment.
Definition label.h:43
Size2Di32 sizeHint() const override
Returns the preferred size. Override in subclasses.
void paintEvent(TuiPaintEvent *e) override
Called to paint the widget. Override in subclasses.
Event delivered when a TUI widget needs to repaint.
Definition widget.h:28
#define PROMEKI_NAMESPACE_BEGIN
Starts a promeki namespace block.
Definition namespace.h:14
#define PROMEKI_NAMESPACE_END
Ends a promeki namespace block.
Definition namespace.h:19