diff options
Diffstat (limited to 'src/subway_map.h')
-rw-r--r-- | src/subway_map.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/subway_map.h b/src/subway_map.h index e891058..986998a 100644 --- a/src/subway_map.h +++ b/src/subway_map.h | |||
@@ -25,6 +25,7 @@ class SubwayMap : public wxPanel { | |||
25 | void OnConnect(); | 25 | void OnConnect(); |
26 | void UpdateIndicators(); | 26 | void UpdateIndicators(); |
27 | void UpdateSunwarp(SubwaySunwarp from_sunwarp, SubwaySunwarp to_sunwarp); | 27 | void UpdateSunwarp(SubwaySunwarp from_sunwarp, SubwaySunwarp to_sunwarp); |
28 | void Zoom(bool in); | ||
28 | 29 | ||
29 | private: | 30 | private: |
30 | void OnPaint(wxPaintEvent &event); | 31 | void OnPaint(wxPaintEvent &event); |
@@ -65,6 +66,8 @@ class SubwayMap : public wxPanel { | |||
65 | 66 | ||
66 | wxSlider *zoom_slider_; | 67 | wxSlider *zoom_slider_; |
67 | 68 | ||
69 | std::optional<wxPoint> mouse_position_; | ||
70 | |||
68 | struct GetItemBox { | 71 | struct GetItemBox { |
69 | quadtree::Box<float> operator()(const int &id) const; | 72 | quadtree::Box<float> operator()(const int &id) const; |
70 | }; | 73 | }; |