diff options
author | Alexis211 <alexis211@gmail.com> | 2009-11-10 21:26:03 +0100 |
---|---|---|
committer | Alexis211 <alexis211@gmail.com> | 2009-11-10 21:26:03 +0100 |
commit | eb5f08c76b17ac6e15d6b763a7f45816cb85c570 (patch) | |
tree | 4a3889c8ccb4d38f34133bf8b56b8006de3431c3 /Source/Kernel/Devices/Display/VGATextOutput.class.h | |
parent | 4bbc1baf27573b4ca6fe6d8ed18b236ac3c631d2 (diff) | |
download | Melon-eb5f08c76b17ac6e15d6b763a7f45816cb85c570.tar.gz Melon-eb5f08c76b17ac6e15d6b763a7f45816cb85c570.zip |
Started working on some 2D gra
Diffstat (limited to 'Source/Kernel/Devices/Display/VGATextOutput.class.h')
-rw-r--r-- | Source/Kernel/Devices/Display/VGATextOutput.class.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Source/Kernel/Devices/Display/VGATextOutput.class.h b/Source/Kernel/Devices/Display/VGATextOutput.class.h index 1ced227..2c72d40 100644 --- a/Source/Kernel/Devices/Display/VGATextOutput.class.h +++ b/Source/Kernel/Devices/Display/VGATextOutput.class.h @@ -4,15 +4,17 @@ #include <Devices/Display/Display.proto.h> class VGATextOutput : public Display { + int m_cols; + public: + VGATextOutput() : m_cols(80) {} + String getClass(); String getName(); void getModes(Vector<Disp::mode_t> &to); bool setMode(Disp::mode_t& mode); - u16int textCols(); - u16int textRows(); void putChar(u16int line, u16int col, WChar c, u8int color); void moveCursor(u16int line, u16int col); void clear(); |