From 973179a841e98c55a56a977634891ba592d2e2be Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Thu, 6 Jun 2024 14:18:22 -0400 Subject: Added crosshair cursor while scrolling subway map --- src/subway_map.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') diff --git a/src/subway_map.cpp b/src/subway_map.cpp index 100d351..0beef76 100644 --- a/src/subway_map.cpp +++ b/src/subway_map.cpp @@ -423,6 +423,8 @@ void SubwayMap::OnMouseClick(wxMouseEvent &event) { scroll_mode_ = false; SetScrollSpeed(0, 0); + + SetCursor(wxCURSOR_ARROW); } else if (event.GetPosition().x < GetSize().GetWidth() / 6 || event.GetPosition().x > 5 * GetSize().GetWidth() / 6 || event.GetPosition().y < GetSize().GetHeight() / 6 || @@ -430,6 +432,8 @@ void SubwayMap::OnMouseClick(wxMouseEvent &event) { scroll_mode_ = true; EvaluateScroll(event.GetPosition()); + + SetCursor(wxCURSOR_CROSS); } } -- cgit 1.4.1