about summary refs log tree commit diff stats
path: root/src/subway_map.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/subway_map.h')
-rw-r--r--src/subway_map.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/subway_map.h b/src/subway_map.h index 8b8c6a6..1108cd4 100644 --- a/src/subway_map.h +++ b/src/subway_map.h
@@ -35,8 +35,10 @@ class SubwayMap : public wxPanel {
35 void OnMouseClick(wxMouseEvent &event); 35 void OnMouseClick(wxMouseEvent &event);
36 void OnTimer(wxTimerEvent &event); 36 void OnTimer(wxTimerEvent &event);
37 void OnZoomSlide(wxCommandEvent &event); 37 void OnZoomSlide(wxCommandEvent &event);
38 void OnClickHelp(wxCommandEvent &event);
38 39
39 void Redraw(); 40 void Redraw();
41 void SetUpHelpButton();
40 42
41 wxPoint MapPosToRenderPos(wxPoint pos) const; 43 wxPoint MapPosToRenderPos(wxPoint pos) const;
42 wxPoint MapPosToVirtualPos(wxPoint pos) const; 44 wxPoint MapPosToVirtualPos(wxPoint pos) const;
@@ -70,6 +72,8 @@ class SubwayMap : public wxPanel {
70 72
71 wxSlider *zoom_slider_; 73 wxSlider *zoom_slider_;
72 74
75 wxButton *help_button_;
76
73 std::optional<wxPoint> mouse_position_; 77 std::optional<wxPoint> mouse_position_;
74 78
75 struct GetItemBox { 79 struct GetItemBox {