summaryrefslogtreecommitdiff
path: root/Source/Kernel/Devices/Display/Display.proto.h
blob: 8e8e29d60652b68987b3a1a749be1709edeef5ad (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef DEF_DISPLAY_PROTO_H
#define DEF_DISPLAY_PROTO_H

#include <Core/common.wtf.h>

class Display {
	public:
	virtual u16int textCols() = 0;
	virtual u16int textRows() = 0;
	virtual void putChar(u16int line, u16int col, char c, char color) = 0;	//Color : <bg 4byte><fg 4byte>
	virtual void moveCursor(u16int line, u16int col) = 0;
	virtual void clear() = 0;
};

#endif