From dfddd07b8b5cbff7c09103a694aed40bda254a2d Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Thu, 13 Mar 2025 12:47:54 -0400 Subject: Obsolete savefile reader + IPC solves Now, panel solve state is all read from the sync fields in datastorage. The "show hunt panels" field in settings is now a radio box, and you can choose to show all panels. --- src/tracker_panel.h | 21 --------------------- 1 file changed, 21 deletions(-) (limited to 'src/tracker_panel.h') diff --git a/src/tracker_panel.h b/src/tracker_panel.h index abab1bf..6825843 100644 --- a/src/tracker_panel.h +++ b/src/tracker_panel.h @@ -19,16 +19,6 @@ class TrackerPanel : public wxPanel { void UpdateIndicators(bool reset); - void SetPanelsMode(); - - void SetSavedataPath(std::string savedata_path); - - bool IsPanelsMode() const { return panels_mode_; } - - const std::set &GetSolvedPanels() const { - return solved_panels_; - } - private: struct AreaIndicator { int area_id = -1; @@ -42,23 +32,16 @@ class TrackerPanel : public wxPanel { void OnPaint(wxPaintEvent &event); void OnMouseMove(wxMouseEvent &event); - void OnRefreshSavedata(wxCommandEvent &event); void Resize(); void Redraw(); - void RefreshSavedata(); - - void SetUpRefreshButton(); - wxImage map_image_; wxImage player_image_; wxBitmap scaled_map_; wxBitmap rendered_; wxBitmap scaled_player_; - wxButton *refresh_button_ = nullptr; - int offset_x_ = 0; int offset_y_ = 0; double scale_x_ = 0; @@ -66,10 +49,6 @@ class TrackerPanel : public wxPanel { int real_area_size_ = 0; std::vector areas_; - - bool panels_mode_ = false; - std::optional savedata_path_; - std::set solved_panels_; }; #endif /* end of include guard: TRACKER_PANEL_H_D675A54D */ -- cgit 1.4.1