diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2023-05-05 15:46:58 -0400 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2023-05-05 15:46:58 -0400 |
commit | 149e7c0836927e14a926a952bd1a7f0d1b49e779 (patch) | |
tree | 2c7ac89387eb890d3d345217b79929e9a23f4ecf /src/tracker_frame.h | |
parent | 0dace7831673170bd31eefa6bbe6e705211d3061 (diff) | |
download | lingo-ap-tracker-149e7c0836927e14a926a952bd1a7f0d1b49e779.tar.gz lingo-ap-tracker-149e7c0836927e14a926a952bd1a7f0d1b49e779.tar.bz2 lingo-ap-tracker-149e7c0836927e14a926a952bd1a7f0d1b49e779.zip |
Organised repo
Diffstat (limited to 'src/tracker_frame.h')
-rw-r--r-- | src/tracker_frame.h | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/src/tracker_frame.h b/src/tracker_frame.h new file mode 100644 index 0000000..6f4e4fc --- /dev/null +++ b/src/tracker_frame.h | |||
@@ -0,0 +1,33 @@ | |||
1 | #ifndef TRACKER_FRAME_H_86BD8DFB | ||
2 | #define TRACKER_FRAME_H_86BD8DFB | ||
3 | |||
4 | #include <wx/wxprec.h> | ||
5 | |||
6 | #ifndef WX_PRECOMP | ||
7 | #include <wx/wx.h> | ||
8 | #endif | ||
9 | |||
10 | class TrackerPanel; | ||
11 | |||
12 | wxDECLARE_EVENT(STATE_CHANGED, wxCommandEvent); | ||
13 | wxDECLARE_EVENT(STATUS_CHANGED, wxCommandEvent); | ||
14 | |||
15 | class TrackerFrame : public wxFrame { | ||
16 | public: | ||
17 | TrackerFrame(); | ||
18 | |||
19 | void SetStatusMessage(std::string message); | ||
20 | |||
21 | void UpdateIndicators(); | ||
22 | |||
23 | private: | ||
24 | void OnExit(wxCommandEvent &event); | ||
25 | void OnAbout(wxCommandEvent &event); | ||
26 | void OnConnect(wxCommandEvent &event); | ||
27 | void OnStateChanged(wxCommandEvent &event); | ||
28 | void OnStatusChanged(wxCommandEvent &event); | ||
29 | |||
30 | TrackerPanel *tracker_panel_; | ||
31 | }; | ||
32 | |||
33 | #endif /* end of include guard: TRACKER_FRAME_H_86BD8DFB */ | ||