about summary refs log tree commit diff stats
path: root/src/subway_map.h
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2024-06-06 14:07:51 -0400
committerStar Rauchenberger <fefferburbia@gmail.com>2024-06-06 14:07:51 -0400
commitb78a7361c9f9f4a9edc30b45a90a3ff94e919b19 (patch)
tree4e924a251d240f89d77b2b1021425f845b3627c8 /src/subway_map.h
parent67a2efe7be6f4872adca8d944ebf403046472a98 (diff)
downloadlingo-ap-tracker-b78a7361c9f9f4a9edc30b45a90a3ff94e919b19.tar.gz
lingo-ap-tracker-b78a7361c9f9f4a9edc30b45a90a3ff94e919b19.tar.bz2
lingo-ap-tracker-b78a7361c9f9f4a9edc30b45a90a3ff94e919b19.zip
Added help button for subway map
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 {