• Main Page
  • Namespaces
  • Classes
  • Files
  • File List

console.h

Go to the documentation of this file.
00001 #ifndef WIT_CONSOLE_H
00002 #define WIT_CONSOLE_H
00003 
00004 namespace wit {
00005 
00006 class ConsolePrivate;
00007 class Console {
00008 friend class ConsolePrivate;
00009 friend class Application;
00010 public:
00011     ~Console();
00012 
00013     int rows() const;
00014     int columns() const;
00015 
00016     void setCursorPosition(int x, int y);
00017     void setCursorX(int x);
00018     void setCursorY(int y);
00019     int cursorX() const;
00020     int cursorY() const;
00021 
00022     void enableGecko(int channel, bool safe);
00023     void disableGecko();
00024 
00025     static void write(const char* text);
00026     static void clear();
00027 
00028 private:
00029     Console(void* videoMode);
00030     void setFramebuffer(void*);
00031     ConsolePrivate* d;
00032 };
00033 
00034 }
00035 
00036 #endif

Generated on Sat Sep 3 2011 10:25:00 for wit by  doxygen 1.7.2