25 #include "common/types.h" 44 virtual void init() = 0;
45 void setMode(Mode mode);
46 virtual void renderText() = 0;
47 virtual void renderGraphics() = 0;
49 virtual char asciiToNative(
char c)
const = 0;
50 virtual void printChar(
char c) = 0;
51 virtual void showCursor(
bool enable) = 0;
54 void moveCursorForward();
55 void moveCursorBackward();
58 void setCharAtCursor(byte c);
59 uint getTextWidth()
const {
return _textWidth; }
60 uint getTextHeight()
const {
return _textHeight; }
64 Display() : _textBuf(
nullptr), _cursorPos(0), _mode(kModeText), _textWidth(0), _textHeight(0) { }
66 void createTextBuffer(uint textWidth, uint textHeight);
Definition: display_client.h:58
Definition: algorithm.h:29