: wxStatusBar(parent,
id, style | wxCLIP_CHILDREN, name)
101window->Reparent(
this);
113 if(window) window->Reparent(
this);
115 if(window) window->Refresh();
121 intindex = GetFieldsCount();
149 for(
size_t i= 0;
i<
n;
i++ ) {
152GetFieldRect((
int)
i, rect);
153rect.SetX(rect.GetX() + 1);
154rect.SetY(rect.GetY() + 1);
155rect.SetWidth(rect.GetWidth() - 2);
156rect.SetHeight(rect.GetHeight() - 2);
158window->SetSize(rect);
167wxColor cl = wxSystemSettings::GetColour(wxSYS_COLOUR_BTNFACE);
169wxColor cl_light = wxSystemSettings::GetColour(wxSYS_COLOUR_BTNHIGHLIGHT);
170wxColor cl_mix =
GetAverage(cl, cl_light, 0.5);
180 returnwxColour(0, 0, 204);
182 returnwxSystemSettings::GetColour(wxSYS_COLOUR_BTNTEXT);
CStatusBar CStatusBar provides basic support for adding windows to status bar slots when status bar i...
virtual void RemoveFieldWindow(int index)
virtual void SetFieldsCount(int number=1, const int *widths=NULL)
virtual int AddFieldWindow(wxWindow *window)
virtual void SetFieldWindow(int index, wxWindow *window)
static wxColour GetTextColor(bool hot)
void OnSize(wxSizeEvent &event)
virtual void InsertFieldWindow(int index, wxWindow *window, int width=50)
TIndexToWindow m_FieldWindows
virtual void SetStatusWidths(int number, const int *widths)
static wxColour GetBackColor(bool hot)
Include a standard set of the NCBI C++ Toolkit most basic headers.
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
unsigned int
A callback function used to compare two keys in a database.
wxColour GetAverage(const wxColor &c1, const wxColor &c2, double ratio)
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4