about summary refs log tree commit diff stats
path: root/src/tracker_frame.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/tracker_frame.h')
-rw-r--r--src/tracker_frame.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/tracker_frame.h b/src/tracker_frame.h index 19bd0b3..ab59ffb 100644 --- a/src/tracker_frame.h +++ b/src/tracker_frame.h
@@ -16,15 +16,17 @@ class wxNotebook;
16wxDECLARE_EVENT(STATE_RESET, wxCommandEvent); 16wxDECLARE_EVENT(STATE_RESET, wxCommandEvent);
17wxDECLARE_EVENT(STATE_CHANGED, wxCommandEvent); 17wxDECLARE_EVENT(STATE_CHANGED, wxCommandEvent);
18wxDECLARE_EVENT(STATUS_CHANGED, wxCommandEvent); 18wxDECLARE_EVENT(STATUS_CHANGED, wxCommandEvent);
19wxDECLARE_EVENT(REDRAW_POSITION, wxCommandEvent);
19 20
20class TrackerFrame : public wxFrame { 21class TrackerFrame : public wxFrame {
21 public: 22 public:
22 TrackerFrame(); 23 TrackerFrame();
23 24
24 void SetStatusMessage(std::string message); 25 void UpdateStatusMessage();
25 26
26 void ResetIndicators(); 27 void ResetIndicators();
27 void UpdateIndicators(); 28 void UpdateIndicators();
29 void RedrawPosition();
28 30
29 private: 31 private:
30 void OnExit(wxCommandEvent &event); 32 void OnExit(wxCommandEvent &event);
@@ -40,6 +42,7 @@ class TrackerFrame : public wxFrame {
40 void OnStateReset(wxCommandEvent &event); 42 void OnStateReset(wxCommandEvent &event);
41 void OnStateChanged(wxCommandEvent &event); 43 void OnStateChanged(wxCommandEvent &event);
42 void OnStatusChanged(wxCommandEvent &event); 44 void OnStatusChanged(wxCommandEvent &event);
45 void OnRedrawPosition(wxCommandEvent &event);
43 46
44 void CheckForUpdates(bool manual); 47 void CheckForUpdates(bool manual);
45 48