Inheritance diagram for os::StatusBar:
Public Member Functions | |
StatusBar (const Rect &cFrame, const String &cTitle, uint32 nResizeMask=CF_FOLLOW_LEFT|CF_FOLLOW_TOP, uint32 nFlags=WID_WILL_DRAW|WID_FULL_UPDATE_ON_RESIZE) | |
Constructor. | |
virtual | ~StatusBar () |
LayoutNode * | AddPanel (const String &cName, const String &cText, double vSize=0.0, uint32 nFlags=0) |
Add Panel to StatusBar. | |
LayoutNode * | AddPanel (StatusPanel *pcPanel) |
void | SetText (const String &cName, const String &cText) |
Set a Panel's text. | |
Classes | |
class | Private |
pcPanel->AddPanel( "statuspanel", "Status: OK" ); pcPanel->SetText( "statuspanel", "Status: ERROR" );
StatusBar::StatusBar | ( | const Rect & | cFrame, | |
const String & | cName, | |||
uint32 | nResizeMask = CF_FOLLOW_LEFT | CF_FOLLOW_TOP , |
|||
uint32 | nFlags = WID_WILL_DRAW | WID_FULL_UPDATE_ON_RESIZE | |||
) |
cFrame | The frame rectangle in the parents coordinate system. | |
pzName | The logical name of the view. This parameter is newer rendered anywhere, but is passed to the Handler::Handler() constructor to identify the view. | |
nResizeMask | Flags defining how the view's frame rectangle is affected if the parent view is resized. | |
nFlags | Various flags to control the view's behaviour. |
StatusBar::~StatusBar | ( | ) | [virtual] |
LayoutNode * StatusBar::AddPanel | ( | const String & | cName, | |
const String & | cText, | |||
double | vSize = 0.0 , |
|||
uint32 | nFlags = 0 | |||
) |
cName | A name that can be used to find this panel. | |
cText | The text to display in the panel, the minimum width of the panel will be set to match the width of this text. | |
vSize | Size (optional), normally specified in number of characters of the width of m. Certain flags may result in other units being used. | |
nFlags | (optionnal) Use F_FIXED to fix the width to the value passed in vSize. |
LayoutNode * StatusBar::AddPanel | ( | StatusPanel * | pcPanel | ) |
cName | Identier that was used when the panel was created. | |
cText | The text to display in the panel, the minimum width of the panel will be set to match the width of this text. |