diff options
Diffstat (limited to 'src/common/src/console_listener.h')
-rw-r--r-- | src/common/src/console_listener.h | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/src/common/src/console_listener.h b/src/common/src/console_listener.h index ab5c0098..a2936050 100644 --- a/src/common/src/console_listener.h +++ b/src/common/src/console_listener.h @@ -14,28 +14,28 @@ class ConsoleListener : public LogListener { public: - ConsoleListener(); - ~ConsoleListener(); + ConsoleListener(); + ~ConsoleListener(); - void Open(bool Hidden = false, int Width = 100, int Height = 100, const char * Name = "Console"); - void UpdateHandle(); - void Close(); - bool IsOpen(); - void LetterSpace(int Width, int Height); - void BufferWidthHeight(int BufferWidth, int BufferHeight, int ScreenWidth, int ScreenHeight, bool BufferFirst); - void PixelSpace(int Left, int Top, int Width, int Height, bool); + void Open(bool Hidden = false, int Width = 100, int Height = 100, const char * Name = "Console"); + void UpdateHandle(); + void Close(); + bool IsOpen(); + void LetterSpace(int Width, int Height); + void BufferWidthHeight(int BufferWidth, int BufferHeight, int ScreenWidth, int ScreenHeight, bool BufferFirst); + void PixelSpace(int Left, int Top, int Width, int Height, bool); #ifdef _WIN32 - COORD GetCoordinates(int BytesRead, int BufferWidth); + COORD GetCoordinates(int BytesRead, int BufferWidth); #endif - void Log(LogTypes::LOG_LEVELS, const char *Text); - void ClearScreen(bool Cursor = true); + void Log(LogTypes::LOG_LEVELS, const char *Text); + void ClearScreen(bool Cursor = true); private: #ifdef _WIN32 - HWND GetHwnd(void); - HANDLE hConsole; + HWND GetHwnd(void); + HANDLE hConsole; #endif - bool bUseColor; + bool bUseColor; }; #endif // _CONSOLELISTENER_H |