ClanLib  2.3.7
List of all members
CL_ConsoleWindow Class Reference

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. More...
 
 ~CL_ConsoleWindow ()
 Console Window destructor. More...
 
Operations
void wait_for_key ()
 Waits until user hits a key. More...
 
void display_close_message ()
 Displays 'press any key to close this console window',. More...
 

Detailed Description

Text console window.

Note: This class has no effect under Linux.

Constructor & Destructor Documentation

CL_ConsoleWindow::CL_ConsoleWindow ( const CL_StringRef title,
int  width = 80,
int  height = 25 
)

Console Window constructor.

Parameters
titleWindow title of console window.
widthColumns in console window.
heightRows in console window.
CL_ConsoleWindow::~CL_ConsoleWindow ( )

Console Window destructor.

Member Function Documentation

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.


The documentation for this class was generated from the following file: