ScummVM API documentation
Adl::Display Class Referenceabstract
Inheritance diagram for Adl::Display:
Adl::Display_A2

Public Types

enum  Mode { kModeGraphics, kModeText, kModeMixed }
 

Public Member Functions

virtual void init ()=0
 
void setMode (Mode mode)
 
virtual void renderText ()=0
 
virtual void renderGraphics ()=0
 
virtual char asciiToNative (char c) const =0
 
virtual void printChar (char c)=0
 
virtual void showCursor (bool enable)=0
 
void home ()
 
void moveCursorTo (const Common::Point &pos)
 
void moveCursorForward ()
 
void moveCursorBackward ()
 
void printString (const Common::String &str)
 
void printAsciiString (const Common::String &str)
 
void setCharAtCursor (byte c)
 
uint getTextWidth () const
 
uint getTextHeight () const
 
void scrollUp ()
 

Protected Member Functions

void createTextBuffer (uint textWidth, uint textHeight)
 

Protected Attributes

byte * _textBuf
 
uint _cursorPos
 
Mode _mode
 
uint _textWidth
 
uint _textHeight
 

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