The Pedigree Project  0.1
Public Member Functions | Protected Attributes | List of all members
Scrollable Class Referenceabstract
+ Inheritance diagram for Scrollable:
+ Collaboration diagram for Scrollable:

Public Member Functions

void move (size_t x, size_t y)
 
void resize (size_t width, size_t height)
 
void scroll (ssize_t lines)
 
void scrollTo (size_t absolute)
 
void refresh (DebuggerIO *pScreen)
 
void setScrollKeys (char up, char down)
 
ssize_t getLine ()
 
void centreOn (size_t line)
 
size_t height () const
 
size_t width () const
 
virtual const char * getLine1 (size_t index, DebuggerIO::Colour &colour, DebuggerIO::Colour &bgColour)=0
 
virtual const char * getLine2 (size_t index, size_t &colOffset, DebuggerIO::Colour &colour, DebuggerIO::Colour &bgColour)=0
 
virtual size_t getLineCount ()=0
 

Protected Attributes

size_t m_x
 
size_t m_y
 
size_t m_width
 
size_t m_height
 
ssize_t m_line
 
char m_ScrollUp
 
char m_ScrollDown
 

Detailed Description

Definition at line 29 of file Scrollable.h.


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