blob: 1c8e7245842215721293be93deceeeb74db86f77 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#ifndef DEF_DISPLAY_PROTO_H
#define DEF_DISPLAY_PROTO_H
#include <Core/common.wtf.h>
#include <Devices/Device.proto.h>
class Display : public Device {
public:
virtual u16int textCols() = 0;
virtual u16int textRows() = 0;
virtual void putChar(u16int line, u16int col, char c, u8int color) = 0; //Color : <bg 4byte><fg 4byte>
virtual void moveCursor(u16int line, u16int col) = 0;
virtual void clear() = 0;
};
#endif
|