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



                                          
                                








                                       
                                                                    






                                                 
#ifndef DEF_DISP_NS_H
#define DEF_DISP_NS_H

#include <Devices/Display/Display.proto.h>
#include <Library/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