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

#include <Core/common.wtf.h>
#include <Devices/Device.proto.h>
#include <Library/WChar.class.h>

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

#endif