summaryrefslogblamecommitdiff
path: root/Source/Kernel/DeviceManager/Disp.ns.h
blob: 5a92e69d97ad7368199859e3da10fd8e4273e537 (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