23 #include "wxgis/framework/animation.h"
24 #include "wxgis/framework/progressor.h"
26 #include <wx/statusbr.h>
37 enum wxGISEnumStatusBarPanels
39 enumGISStatusMain = 0x0001,
40 enumGISStatusAnimation = 0x0002,
41 enumGISStatusPosition = 0x0004,
42 enumGISStatusPagePosition = 0x0008,
43 enumGISStatusSize = 0x0010,
44 enumGISStatusCapsLock = 0x0020,
45 enumGISStatusNumLock = 0x0040,
46 enumGISStatusScrollLock = 0x0080,
47 enumGISStatusClock = 0x0100,
48 enumGISStatusProgress = 0x0200
68 wxGISStatusBar(wxWindow *parent, wxWindowID
id,
long style = wxST_SIZEGRIP,
const wxString& name = wxT(
"statusBar"), wxDword panelsstyle = enumGISStatusMain | enumGISStatusProgress | enumGISStatusAnimation | enumGISStatusPosition);
76 void SetMessage(
const wxString& text,
int i = 0);
82 wxString GetMessage(
int i = 0)
const;
87 int GetPanelPos(wxGISEnumStatusBarPanels nPanel);
94 if(m_Panels & enumGISStatusAnimation)
104 if(m_Panels & enumGISStatusProgress)
113 wxDword GetPanels(
void)
const {
return m_Panels; };
118 void SetPanels(wxDword Panels){ m_Panels = Panels; };
120 void OnSize(wxSizeEvent &event);
121 void OnRightDown(wxMouseEvent& event);
122 void OnTimer( wxTimerEvent & event);
123 void OnMessage(wxCommandEvent &event);
134 int m_MsgPos, m_AniPos, m_ProgressPos, m_PositionPos, m_ClockPos, m_PagePositionPos, m_SizePos, m_CapsLockPos, m_NumLockPos, m_ScrollLockPos;
140 DECLARE_EVENT_TABLE()
IProgressor * GetProgressor(void) const
Get the progressor (progress bar).
Definition: statusbar.h:102
Definition: progressor.h:32
Definition: applicationbase.h:65
Definition: animation.h:33
wxDword m_Panels
Definition: statusbar.h:137
Definition: statusbar.h:58
IProgressor * GetAnimation(void) const
Get the animated progressor (rotating globe).
Definition: statusbar.h:92
Definition: statusbar.h:124