The Pedigree Project
0.1
|
Classes | |
class | Window |
struct | XtermCmd |
Set of parameters for the XTerm commands. More... | |
struct | XtermOsControl |
Public Member Functions | |
Xterm (PedigreeGraphics::Framebuffer *pFramebuffer, size_t nWidth, size_t nHeight, size_t offsetLeft, size_t offsetTop, class Terminal *pT, class Widget *pWidget, Tui *pTui, class Font *pNormalFont, class Font *pBoldFont) | |
void | write (uint32_t utf32, DirtyRectangle &rect) |
void | renderAll (DirtyRectangle &rect) |
size_t | getRows () const |
size_t | getCols () const |
size_t | getStride () const |
void | showCursor (DirtyRectangle &rect) |
void | hideCursor (DirtyRectangle &rect) |
size_t | getModes () const |
void | resize (size_t w, size_t h, PedigreeGraphics::Framebuffer *pFb) |
void | setCursorStyle (bool bFilled) |
void | processKey (uint64_t key) |
void | setCairo (cairo_t *pCairo, cairo_surface_t *pSurface) |
void | setFonts (Font *pNormalFont, Font *pBoldFont) |
Private Types | |
enum | TerminalModes { LineFeedNewLine = 0x1, CursorKey = 0x2, AnsiVt52 = 0x4, Column = 0x8, Scrolling = 0x10, Screen = 0x20, Origin = 0x40, AutoWrap = 0x80, AutoRepeat = 0x100, Interlace = 0x200, AppKeypad = 0x400, Margin = 0x800, Insert = 0x1000 } |
enum | TerminalFlags { Question = 0x1, LeftAngle = 0x2, RightAngle = 0x4, LeftSquare = 0x8, RightSquare = 0x10, LeftRound = 0x20, RightRound = 0x40, Dollar = 0x80, Apostrophe = 0x100, Quote = 0x200, Space = 0x400, Bang = 0x800, Escape = 0x1000, Percent = 0x2000, Asterisk = 0x4000, Plus = 0x8000, Minus = 0x10000, Period = 0x20000, Slash = 0x40000, Hash = 0x80000, Backslash = 0x100000, Underscore = 0x200000, Vt52SetCursorWaitY = 0x400000, Vt52SetCursorWaitX = 0x800000 } |
Private Member Functions | |
Xterm (const Xterm &) | |
Xterm & | operator= (const Xterm &) |
bool | setFlagsForUtf32 (uint32_t utf32) |
Private Attributes | |
size_t | m_ActiveBuffer |
Window * | m_pWindows [2] |
XtermCmd | m_Cmd |
XtermOsControl | m_OsCtl |
bool | m_bChangingState |
Are we currently interpreting a state change? | |
bool | m_bContainedBracket |
bool | m_bContainedParen |
bool | m_bIsOsControl |
size_t | m_Flags |
Flags for this particular sequence. | |
size_t | m_Modes |
Currently active modes. | |
char * | m_TabStops |
Tab stops. | |
uint32_t | m_SavedX |
Saved cursor position. | |
uint32_t | m_SavedY |
class Terminal * | m_pT |
bool | m_bFbMode |
class Widget * | m_pWidget |
Tui * | m_pTui |
cairo_t * | m_pCairo |
cairo_surface_t * | m_pCairoSurface |
Font * | m_pNormalFont |
Font * | m_pBoldFont |
|
private |
void Xterm::processKey | ( | uint64_t | key | ) |
void Xterm::renderAll | ( | DirtyRectangle & | rect | ) |
Performs a full re-render.
Definition at line 1554 of file Xterm.cc.
Referenced by Terminal::getSelectFd().
void Xterm::write | ( | uint32_t | utf32, |
DirtyRectangle & | rect | ||
) |
|
private |