StatusBar Class Reference

A status bar at the bottom of the screen. More...

#include <statusbar.h>

Inheritance diagram for StatusBar:

YAPETUI::BaseWindow

List of all members.

Public Member Functions

std::string getMsg () const
void putMsg (std::string msg) throw (YAPETUI::UIException)
void refresh ()
void resize ()
 StatusBar () throw (YAPETUI::UIException)
virtual ~StatusBar ()

Protected Member Functions

void createWindow () throw (YAPETUI::UIException)

Private Member Functions

const StatusBaroperator= (const StatusBar &)
 StatusBar (const StatusBar &)

Private Attributes

std::string message
WINDOW * statusbar


Detailed Description

Shows a status bar at the bottom of the screen on character high. Messages can be showed to the user by calling putMsg(). The message stays visible until a new message is put.

Definition at line 54 of file statusbar.h.


Constructor & Destructor Documentation

StatusBar::StatusBar ( const StatusBar  )  [inline, private]

Definition at line 59 of file statusbar.h.

StatusBar::StatusBar (  )  throw (YAPETUI::UIException)

Definition at line 43 of file statusbar.cc.

References createWindow().

StatusBar::~StatusBar (  )  [virtual]

Definition at line 48 of file statusbar.cc.

References statusbar.


Member Function Documentation

void StatusBar::createWindow (  )  throw (YAPETUI::UIException) [protected]

std::string StatusBar::getMsg (  )  const [inline]

Definition at line 70 of file statusbar.h.

References message.

const StatusBar& StatusBar::operator= ( const StatusBar  )  [inline, private]

Definition at line 60 of file statusbar.h.

void StatusBar::putMsg ( std::string  msg  )  throw (YAPETUI::UIException)

void StatusBar::refresh (  )  [virtual]

Implements YAPETUI::BaseWindow.

Definition at line 68 of file statusbar.cc.

References message, and putMsg().

Referenced by createWindow(), and MainWindow::refresh().

void StatusBar::resize (  )  [virtual]

Implements YAPETUI::BaseWindow.

Definition at line 74 of file statusbar.cc.

References createWindow(), and statusbar.


Member Data Documentation

std::string StatusBar::message [private]

Definition at line 57 of file statusbar.h.

Referenced by getMsg(), and refresh().

WINDOW* StatusBar::statusbar [private]

Definition at line 56 of file statusbar.h.

Referenced by createWindow(), resize(), and ~StatusBar().


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

Generated on Mon Apr 13 17:29:48 2009 for YAPET by  doxygen 1.5.8