diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2025-02-08 15:11:23 -0500 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2025-02-08 15:11:23 -0500 |
commit | 712313d825db7ce7c9d4457f7564b27d3dd4ce64 (patch) | |
tree | a4fa488b66b19a825bebd8dfea8cdf97d2e9452b /src/subway_map.h | |
parent | 9b8570921477e374f53fa9df183f1776cf345f73 (diff) | |
download | lingo-ap-tracker-712313d825db7ce7c9d4457f7564b27d3dd4ce64.tar.gz lingo-ap-tracker-712313d825db7ce7c9d4457f7564b27d3dd4ce64.tar.bz2 lingo-ap-tracker-712313d825db7ce7c9d4457f7564b27d3dd4ce64.zip |
Added a scrollbar to subway reports
Diffstat (limited to 'src/subway_map.h')
-rw-r--r-- | src/subway_map.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/subway_map.h b/src/subway_map.h index 6aa31f5..b04c2fd 100644 --- a/src/subway_map.h +++ b/src/subway_map.h | |||
@@ -19,6 +19,8 @@ | |||
19 | #include "game_data.h" | 19 | #include "game_data.h" |
20 | #include "network_set.h" | 20 | #include "network_set.h" |
21 | 21 | ||
22 | class ReportPopup; | ||
23 | |||
22 | class SubwayMap : public wxPanel { | 24 | class SubwayMap : public wxPanel { |
23 | public: | 25 | public: |
24 | SubwayMap(wxWindow *parent); | 26 | SubwayMap(wxWindow *parent); |
@@ -46,6 +48,7 @@ class SubwayMap : public wxPanel { | |||
46 | wxPoint RenderPosToMapPos(wxPoint pos) const; | 48 | wxPoint RenderPosToMapPos(wxPoint pos) const; |
47 | 49 | ||
48 | void EvaluateScroll(wxPoint pos); | 50 | void EvaluateScroll(wxPoint pos); |
51 | void EvaluateHover(); | ||
49 | 52 | ||
50 | void SetZoomPos(wxPoint pos); | 53 | void SetZoomPos(wxPoint pos); |
51 | void SetScrollSpeed(int scroll_x, int scroll_y); | 54 | void SetScrollSpeed(int scroll_x, int scroll_y); |
@@ -55,8 +58,6 @@ class SubwayMap : public wxPanel { | |||
55 | 58 | ||
56 | wxImage map_image_; | 59 | wxImage map_image_; |
57 | wxImage owl_image_; | 60 | wxImage owl_image_; |
58 | wxBitmap unchecked_eye_; | ||
59 | wxBitmap checked_eye_; | ||
60 | 61 | ||
61 | wxBitmap rendered_; | 62 | wxBitmap rendered_; |
62 | int render_x_ = 0; | 63 | int render_x_ = 0; |
@@ -88,6 +89,8 @@ class SubwayMap : public wxPanel { | |||
88 | std::optional<int> actual_hover_; | 89 | std::optional<int> actual_hover_; |
89 | bool sticky_hover_ = false; | 90 | bool sticky_hover_ = false; |
90 | 91 | ||
92 | ReportPopup *report_popup_; | ||
93 | |||
91 | NetworkSet networks_; | 94 | NetworkSet networks_; |
92 | std::set<std::string> checked_paintings_; | 95 | std::set<std::string> checked_paintings_; |
93 | 96 | ||