21 #error "You need to set wxUSE_STATUSBAR to 1"
25 #include "drwnEngine.h"
32 wxBitmap *_bmpProgress;
38 wxWindowID
id = wxID_ANY,
39 const wxPoint& pos = wxDefaultPosition,
40 const wxSize& size = wxDefaultSize,
41 long style = wxDEFAULT_FRAME_STYLE | wxNO_BORDER,
42 const wxString& name = wxPanelNameStr);
46 void setProgress(
double p);
47 void setStatusText(
const char *s);
50 void on_erase_background(wxEraseEvent &event);
51 void on_paint(wxPaintEvent &event);
52 void on_size(wxSizeEvent &event);
63 static const int NUM_FIELDS;
65 wxStaticBitmap *_bmpDBNone;
66 wxStaticBitmap *_bmpDBConnected;
73 void updateProgress(
double p = 0.0);
74 void updateMemory(
double m = 0.0);
75 void updateDatabase(
const drwnDatabase *db);
76 void updateMessage(
const wxString& msg);
79 void on_erase_background(wxEraseEvent &event);
80 void on_paint(wxPaintEvent &event);
81 void on_size(wxSizeEvent& event);
Definition: drwnStatusBar.h:60
Definition: drwnStatusBar.h:29