summaryrefslogtreecommitdiff
path: root/Source/Kernel/Devices/Display/Display.proto.h
diff options
context:
space:
mode:
authorAlexis211 <alexis211@gmail.com>2009-08-21 21:16:48 +0200
committerAlexis211 <alexis211@gmail.com>2009-08-21 21:16:48 +0200
commitae803baa4e0ec584c7afd3f6d55f2e6b32010b46 (patch)
treea8d39cdeff28d2ce08ff7485736fef8119669547 /Source/Kernel/Devices/Display/Display.proto.h
parentf93a269f41659d9a33ea6f24411ca691978986cf (diff)
downloadMelon-ae803baa4e0ec584c7afd3f6d55f2e6b32010b46.tar.gz
Melon-ae803baa4e0ec584c7afd3f6d55f2e6b32010b46.zip
System boots up and shows a nice ASCII art logo.
Diffstat (limited to 'Source/Kernel/Devices/Display/Display.proto.h')
-rw-r--r--Source/Kernel/Devices/Display/Display.proto.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/Source/Kernel/Devices/Display/Display.proto.h b/Source/Kernel/Devices/Display/Display.proto.h
new file mode 100644
index 0000000..8e8e29d
--- /dev/null
+++ b/Source/Kernel/Devices/Display/Display.proto.h
@@ -0,0 +1,15 @@
+#ifndef DEF_DISPLAY_PROTO_H
+#define DEF_DISPLAY_PROTO_H
+
+#include <Core/common.wtf.h>
+
+class Display {
+ public:
+ virtual u16int textCols() = 0;
+ virtual u16int textRows() = 0;
+ virtual void putChar(u16int line, u16int col, char c, char color) = 0; //Color : <bg 4byte><fg 4byte>
+ virtual void moveCursor(u16int line, u16int col) = 0;
+ virtual void clear() = 0;
+};
+
+#endif