Umasoft
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
StatusBar.h
1 //
2 // A custom status bar for Enviro
3 //
4 // Copyright (c) 2004 Virtual Terrain Project
5 // Free for all uses, see license.txt for details.
6 //
7 
8 #ifndef STATUSBARH
9 #define STATUSBARH
10 
11 #include <wx/statusbr.h>
12 
13 class MyStatusBar : public wxStatusBar
14 {
15 public:
16  MyStatusBar(wxWindow *parent);
17 
18  // event handlers
19  void UpdateText();
20 
21 private:
22  enum
23  {
24  Field_Text,
25  Field_Fps,
26  Field_Cursor,
27  Field_CursorVal, // value of thing under cursor
28  Field_Max
29  };
30 
31  DECLARE_EVENT_TABLE()
32 };
33 
34 #endif // STATUSBARH
35