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

Top-of-screen menu bar with dropdown menus. More...

#include <menu.h>

Inheritance diagram for promeki::TuiMenuBar:
Collaboration diagram for promeki::TuiMenuBar:

Public Member Functions

 TuiMenuBar (ObjectBase *parent=nullptr)
 
TuiMenuaddMenu (const String &title)
 
const List< TuiMenu * > & menus () const
 
int currentIndex () const
 
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 keyPressEvent (KeyEvent *e) override
 

Detailed Description

Top-of-screen menu bar with dropdown menus.

Thread Safety
Thread-affine — see TuiWidget.

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