25 #include "common/text-to-speech.h" 26 #include "common/types.h" 45 virtual void init() = 0;
46 void setMode(Mode mode);
47 virtual void renderText() = 0;
48 virtual void renderGraphics() = 0;
50 virtual char asciiToNative(
char c)
const = 0;
51 virtual void printChar(
char c) = 0;
52 virtual void showCursor(
bool enable) = 0;
55 void moveCursorForward();
56 void moveCursorBackward();
57 void printString(
const Common::String &str,
bool voiceString =
true);
58 void printAsciiString(
const Common::String &str,
bool voiceString =
true);
59 void sayText(
const Common::String &text, Common::TextToSpeechManager::Action action = Common::TextToSpeechManager::QUEUE)
const;
61 void setCharAtCursor(byte c);
62 uint getTextWidth()
const {
return _textWidth; }
63 uint getTextHeight()
const {
return _textHeight; }
67 Display() : _textBuf(
nullptr), _cursorPos(0), _mode(kModeText), _textWidth(0), _textHeight(0) { }
69 void createTextBuffer(uint textWidth, uint textHeight);
Definition: display_client.h:58
Definition: algorithm.h:29