From ad7c3e616fdc6f13812ec52675d226a19351494a Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Tue, 17 Dec 2024 15:40:19 -0500 Subject: Added getting player position from IPC --- src/tracker_frame.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/tracker_frame.h') 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; wxDECLARE_EVENT(STATE_RESET, wxCommandEvent); wxDECLARE_EVENT(STATE_CHANGED, wxCommandEvent); wxDECLARE_EVENT(STATUS_CHANGED, wxCommandEvent); +wxDECLARE_EVENT(REDRAW_POSITION, wxCommandEvent); class TrackerFrame : public wxFrame { public: TrackerFrame(); - void SetStatusMessage(std::string message); + void UpdateStatusMessage(); void ResetIndicators(); void UpdateIndicators(); + void RedrawPosition(); private: void OnExit(wxCommandEvent &event); @@ -40,6 +42,7 @@ class TrackerFrame : public wxFrame { void OnStateReset(wxCommandEvent &event); void OnStateChanged(wxCommandEvent &event); void OnStatusChanged(wxCommandEvent &event); + void OnRedrawPosition(wxCommandEvent &event); void CheckForUpdates(bool manual); -- cgit 1.4.1