MWidgets::StatusBar Class Reference

Class that represent statusbar widget. More...

#include <statusbar.h>

Inheritance diagram for MWidgets::StatusBar:

MWidgets::Widget List of all members.

Public Member Functions

 StatusBar ()
 Constructor.
virtual void Create (Widget *parent)
 Create widgets window.
virtual ~StatusBar ()
 Destructor.
void AddPart (int width)
 Insert or change text part in status bar.
void SetPartText (int index, std::string str)
 Set text for specified part.
virtual WIDGET_TYPE GetType ()
 Returns class's identifier like WINDOW or BUTTON.

Detailed Description

Class that represent statusbar widget.

Definition at line 14 of file statusbar.h.


Constructor & Destructor Documentation

MWidgets::StatusBar::StatusBar (  ) 

Constructor.

Definition at line 19 of file statusbar.cpp.

MWidgets::StatusBar::~StatusBar (  )  [virtual]

Destructor.

Definition at line 29 of file statusbar.cpp.


Member Function Documentation

void MWidgets::StatusBar::AddPart ( int  width  ) 

Insert or change text part in status bar.

Parameters:
index parts index.
width parts width.

Definition at line 33 of file statusbar.cpp.

References MWidgets::Widget::m_hWnd.

void MWidgets::StatusBar::Create ( Widget parent  )  [virtual]

Create widgets window.

Parameters:
parent parent widget.
w new Button's width.
h new Button's height.

Definition at line 23 of file statusbar.cpp.

References MWidgets::Widget::Create(), MWidgets::Widget::GetHwnd(), and MWidgets::Widget::m_hWnd.

WIDGET_TYPE MWidgets::StatusBar::GetType (  )  [virtual]

Returns class's identifier like WINDOW or BUTTON.

Implements MWidgets::Widget.

Definition at line 51 of file statusbar.cpp.

References MWidgets::STATUSBAR.

void MWidgets::StatusBar::SetPartText ( int  index,
std::string  str 
)

Set text for specified part.

Parameters:
index parts index.
str new parts text.

Definition at line 46 of file statusbar.cpp.

References MWidgets::Widget::m_hWnd.


The documentation for this class was generated from the following files:
Generated on Thu Oct 26 13:47:46 2006 for MWidgets by  doxygen 1.4.7