The Pedigree Project  0.1
Public Member Functions | Private Attributes | List of all members
Tui Class Reference
+ Collaboration diagram for Tui:

Public Member Functions

 Tui (TuiRedrawer *pRedrawer)
 Default constructor which builds without using a widget.
 
 Tui (Widget *widget)
 Constructor which builds using a widget.
 
bool initialise (size_t width, size_t height)
 (Re-)initialise the terminal
 
void setCursorStyle (bool filled)
 Set the cursor fill state (e.g. box outline vs shaded box)
 
void recreateSurfaces (void *fb)
 Re-create rendering surfaces from the newest framebuffer.
 
void resize (size_t newWidth, size_t newHeight)
 Handle a resize of the terminal.
 
void run ()
 Runs the TUI main loop.
 
void stop ()
 Stops the TUI main loop.
 
void keyInput (uint64_t key)
 Handles a key press with all Pedigree input special flags.
 
void redraw (DirtyRectangle &rect)
 Performs a redraw.
 

Private Attributes

struct TuiLocalm_LocalData
 
Widgetm_pWidget
 
TuiRedrawerm_pRedrawer
 

Detailed Description

Definition at line 36 of file tui.h.


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