clan::ConsoleWindow Class Reference - ClanLib SDK
Description: clan::ConsoleWindow Class Reference

Public Member Functions | List of all members
clan::ConsoleWindow Class Reference
clanCore System

Text console window. More...

`#include <console_window.h>`

## Public Member Functions
| ConsoleWindow (const std::string &title, int width=80, int height=25)
| Console Window constructor.
| ~ConsoleWindow ()
| Console Window destructor.
void | display_close_message ()
| Displays 'press any key to close this console window',.
void | wait_for_key ()
| Waits until user hits a key.

## Detailed Description

Text console window.

Note: This class has no effect under Linux.

## Constructor & Destructor Documentation

## ◆ ConsoleWindow()

clan::ConsoleWindow::ConsoleWindow | ( | const std::string & | title,
|  | int | width = 80,
|  | int | height = 25 )

Console Window constructor.

Parameters

  title | Window title of console window.
  width | Columns in console window.
  height | Rows in console window.

## ◆ ~ConsoleWindow()

clan::ConsoleWindow::~ConsoleWindow | ( |  | ) |

Console Window destructor.

## Member Function Documentation

## ◆ display_close_message()

void clan::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.

## ◆ wait_for_key()

void clan::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:

- console_window.h