From eb5f08c76b17ac6e15d6b763a7f45816cb85c570 Mon Sep 17 00:00:00 2001 From: Alexis211 Date: Tue, 10 Nov 2009 21:26:03 +0100 Subject: Started working on some 2D gra --- Source/Kernel/Devices/Display/VGATextOutput.class.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'Source/Kernel/Devices/Display/VGATextOutput.class.h') 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 class VGATextOutput : public Display { + int m_cols; + public: + VGATextOutput() : m_cols(80) {} + String getClass(); String getName(); void getModes(Vector &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(); -- cgit v1.2.3