Text console window. More...
#include <console_window.h>
Public Member Functions | |
Construction | |
| CL_ConsoleWindow (const CL_StringRef &title, int width=80, int height=25) | |
| Console Window constructor. | |
| ~CL_ConsoleWindow () | |
| Console Window destructor. | |
Operations | |
| void | wait_for_key () |
| Waits until user hits a key. | |
| void | display_close_message () |
| Displays 'press any key to close this console window',. | |
Text console window.
Note: This class has no effect under Linux.
| CL_ConsoleWindow::CL_ConsoleWindow | ( | const CL_StringRef & | title, | |
| int | width = 80, |
|||
| int | height = 25 | |||
| ) |
Console Window constructor.
| title | Window title of console window. | |
| width | Columns in console window. | |
| height | Rows in console window. |
| CL_ConsoleWindow::~CL_ConsoleWindow | ( | ) |
Console Window destructor.
| void CL_ConsoleWindow::display_close_message | ( | ) |
Displays 'press any key to close this console window',.
and waits until user hits a key. This function does not do anything on Linux.
| void CL_ConsoleWindow::wait_for_key | ( | ) |
Waits until user hits a key.
This function does not do anything on Linux.
1.7.1