summaryrefslogblamecommitdiff
path: root/Source/Kernel/DeviceManager/Disp.ns.h
blob: 0eea51d7769ee795e88d4ee29e9c6797cfd6b7b3 (plain) (tree)
1
2
3
4
5



                                          
                        








                                       
                                                                    






                                                 
#ifndef DEF_DISP_NS_H
#define DEF_DISP_NS_H

#include <Devices/Display/Display.proto.h>
#include <WChar.class.h>

namespace Disp {
	struct mode_t {
		int textCols, textRows;
		Display *device;
	};

	u16int textCols();
	u16int textRows();
	void putChar(u16int line, u16int col, WChar c, u8int color);
	void moveCursor(u16int line, u16int col);
	void clear();

	void setDisplay(Display* disp);
}

#endif