summaryrefslogblamecommitdiff
path: root/Source/Kernel/DeviceManager/Disp.ns.h
blob: a8158362b8972fe21ad1b2ef2d375f605d8e1a6c (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13












                                          
                                                                   






                                                 
#ifndef DEF_DISP_NS_H
#define DEF_DISP_NS_H

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

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

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

	void setDisplay(Display* disp);
}

#endif