summaryrefslogblamecommitdiff
path: root/Source/Kernel/Devices/Display/Display.proto.h
blob: f2a98afe0b6aa911dced42d56e9c970f3c84e117 (plain) (tree)
1
2
3
4
5
6
7
8



                            
                                 
                                
 
                               


                                      
                                                                                                                      




                                                             
#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 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