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

Classes

class  GfxReader
 
class  TextReader
 

Public Types

enum  {
  kGfxWidth = 280, kGfxHeight = 192, kGfxPitch = kGfxWidth / 7, kGfxSize = kGfxPitch * kGfxHeight,
  kTextWidth = 40, kTextHeight = 24, kSplitHeight = 32
}
 
- Public Types inherited from Adl::Display
enum  Mode { kModeGraphics, kModeText, kModeMixed }
 

Public Member Functions

void init () override
 
uint getGfxWidth () const
 
uint getGfxHeight () const
 
uint getGfxPitch () const
 
void loadFrameBuffer (Common::ReadStream &stream, byte *dst) const
 
void loadFrameBuffer (Common::ReadStream &stream)
 
void putPixel (const Common::Point &p, byte color)
 
void setPixelByte (const Common::Point &p, byte color)
 
void setPixelBit (const Common::Point &p, byte color)
 
void setPixelPalette (const Common::Point &p, byte color)
 
byte getPixelByte (const Common::Point &p) const
 
bool getPixelBit (const Common::Point &p) const
 
void clear (byte color)
 
char asciiToNative (char c) const override
 
void printChar (char c) override
 
void showCursor (bool enable) override
 
- Public Member Functions inherited from Adl::Display
void setMode (Mode mode)
 
virtual void renderText ()=0
 
virtual void renderGraphics ()=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 Attributes

byte * _frameBuf
 
bool _showCursor
 
bool _enableColor
 
bool _enableScanlines
 
bool _enableMonoText
 
bool _enableApple2eCursor
 
bool _blink
 
- Protected Attributes inherited from Adl::Display
byte * _textBuf
 
uint _cursorPos
 
Mode _mode
 
uint _textWidth
 
uint _textHeight
 

Additional Inherited Members

- Protected Member Functions inherited from Adl::Display
void createTextBuffer (uint textWidth, uint textHeight)
 

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