25 int charWidth = parent->GetCharWidth();
30 int filetypeChars = 20;
31 int readEditChars = 15;
32 int lineColChars = 20;
33 int debuggerchars = 25;
36 const int widths[] = {barSizePix, -1, filetypeChars * charWidth, readEditChars * charWidth, lineColChars * charWidth, debuggerchars * charWidth};
37 const int styles[] = {wxSB_SUNKEN, wxSB_RAISED, wxSB_RAISED, wxSB_RAISED, wxSB_RAISED, wxSB_RAISED};
40 SetFieldsCount(WXSIZEOF(widths), widths);
41 SetStatusStyles(WXSIZEOF(styles), styles);
44 m_busyIndicator =
new wxGauge(
this, wxID_ANY, 100, wxPoint(paddingPix, paddingPix), wxSize(barSizePix + paddingPix, GetSize().GetHeight() - 2*paddingPix), wxGA_HORIZONTAL | wxGA_SMOOTH);
73 if (sStatusText != GetStatusText((
int)field))
74 SetStatusText(sStatusText, (
int)field);
80 return GetStatusText((
int)field);
wxGauge * m_busyIndicator
void SetStatus(StatusField field, const wxString &sStatusText)
wxString GetStatus(StatusField field)
NumeReStatusbar(wxWindow *parent, wxWindowID id=wxID_ANY, long style=wxSTB_DEFAULT_STYLE)