|
| enum | {
kGfxWidth = 280,
kGfxHeight = 192,
kGfxPitch = kGfxWidth / 7,
kGfxSize = kGfxPitch * kGfxHeight,
kTextWidth = 40,
kTextHeight = 24,
kSplitHeight = 32
} |
| |
| enum | Mode { kModeGraphics,
kModeText,
kModeMixed
} |
| |
|
|
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 |
| |
|
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, bool voiceString=true) |
| |
|
void | printAsciiString (const Common::String &str, bool voiceString=true) |
| |
|
void | sayText (const Common::String &text, Common::TextToSpeechManager::Action action=Common::TextToSpeechManager::QUEUE) const |
| |
|
Common::U32String | convertText (const Common::String &text) const |
| |
|
void | setCharAtCursor (byte c) |
| |
|
uint | getTextWidth () const |
| |
|
uint | getTextHeight () const |
| |
|
void | scrollUp () |
| |
|
|
byte * | _frameBuf |
| |
|
bool | _showCursor |
| |
|
bool | _enableColor |
| |
|
bool | _enableScanlines |
| |
|
bool | _enableMonoText |
| |
|
bool | _enableApple2eCursor |
| |
|
bool | _blink |
| |
|
byte * | _textBuf |
| |
|
uint | _cursorPos |
| |
|
Mode | _mode |
| |
|
uint | _textWidth |
| |
|
uint | _textHeight |
| |
|
|
void | createTextBuffer (uint textWidth, uint textHeight) |
| |
The documentation for this class was generated from the following file: