libpromeki 1.0.0-alpha
PROfessional MEdia toolKIt
 
Loading...
Searching...
No Matches
promeki::TuiFrame Class Reference

Container widget with a border and optional title. More...

#include <frame.h>

Inheritance diagram for promeki::TuiFrame:
Collaboration diagram for promeki::TuiFrame:

Public Member Functions

 TuiFrame (const String &title=String(), ObjectBase *parent=nullptr)
 
void setTitle (const String &title)
 
const String & title () const
 
Rect2Di32 contentRect () const
 Returns the content area inside the border.
 
Size2Di32 sizeHint () const override
 
- Public Member Functions inherited from promeki::TuiWidget
 TuiWidget (ObjectBase *parent=nullptr)
 Constructs a TuiWidget.
 
 ~TuiWidget () override
 Destructor.
 
void update () override
 Marks the widget as needing a repaint.
 

Protected Member Functions

void paintEvent (PaintEvent *e) override
 
void resizeEvent (ResizeEvent *e) override
 

Detailed Description

Container widget with a border and optional title.

Thread Safety
Thread-affine — see TuiWidget.

The documentation for this class was generated from the following file: