summaryrefslogtreecommitdiff
path: root/Source/Kernel/DeviceManager/Disp.ns.h
blob: e6c378bcb3ac86321c3c88875700c6172dae6552 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#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