#include <statusbar.h>
Inheritance diagram for MWidgets::StatusBar:
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. |
Definition at line 14 of file statusbar.h.
MWidgets::StatusBar::StatusBar | ( | ) |
MWidgets::StatusBar::~StatusBar | ( | ) | [virtual] |
void MWidgets::StatusBar::AddPart | ( | int | width | ) |
Insert or change text part in status bar.
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.
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.
index | parts index. | |
str | new parts text. |
Definition at line 46 of file statusbar.cpp.
References MWidgets::Widget::m_hWnd.