diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2024-12-17 15:40:19 -0500 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2024-12-17 15:40:19 -0500 |
commit | ad7c3e616fdc6f13812ec52675d226a19351494a (patch) | |
tree | 4cdd8b27c6df4e5f3475fe1b3f1815689b387fd7 /src/tracker_frame.h | |
parent | 5ea44a418ec5db446dd28daf5ed95f46fea504f8 (diff) | |
download | lingo-ap-tracker-ad7c3e616fdc6f13812ec52675d226a19351494a.tar.gz lingo-ap-tracker-ad7c3e616fdc6f13812ec52675d226a19351494a.tar.bz2 lingo-ap-tracker-ad7c3e616fdc6f13812ec52675d226a19351494a.zip |
Added getting player position from IPC
Diffstat (limited to 'src/tracker_frame.h')
-rw-r--r-- | src/tracker_frame.h | 5 |
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; | |||
16 | wxDECLARE_EVENT(STATE_RESET, wxCommandEvent); | 16 | wxDECLARE_EVENT(STATE_RESET, wxCommandEvent); |
17 | wxDECLARE_EVENT(STATE_CHANGED, wxCommandEvent); | 17 | wxDECLARE_EVENT(STATE_CHANGED, wxCommandEvent); |
18 | wxDECLARE_EVENT(STATUS_CHANGED, wxCommandEvent); | 18 | wxDECLARE_EVENT(STATUS_CHANGED, wxCommandEvent); |
19 | wxDECLARE_EVENT(REDRAW_POSITION, wxCommandEvent); | ||
19 | 20 | ||
20 | class TrackerFrame : public wxFrame { | 21 | class 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 | ||