From 38bf4f558bd7b18f9f8e5a745d0625f6da9e1d73 Mon Sep 17 00:00:00 2001 From: Paul Licameli Date: Thu, 20 Feb 2020 13:16:13 -0500 Subject: [PATCH] Better cursors for open and closed hands --- images/Cursors32/RearrangeCursor.xpm | 12 ++++++------ images/Cursors32/RearrangingCursor.xpm | 24 ++++++++++++------------ src/tracks/ui/TrackSelectHandle.cpp | 6 +++--- 3 files changed, 21 insertions(+), 21 deletions(-) diff --git a/images/Cursors32/RearrangeCursor.xpm b/images/Cursors32/RearrangeCursor.xpm index a3b4ef17f..4280e6df3 100644 --- a/images/Cursors32/RearrangeCursor.xpm +++ b/images/Cursors32/RearrangeCursor.xpm @@ -8,18 +8,18 @@ static const char * const RearrangeCursorXpm[] = { " ", " ", " ", -" ", -" ", -" ", " ... ", " .++... ", " ...++.++... ", " .++.++.++.++. ", " .++.++.++.++. ", " .++.++.++.++. ", -" ...+++++++++++. ", -" .++.+++++++++++. ", -" .++.+++++++++++. ", +" .++.++.++.++. ", +" .++.++.++.++. ", +" .++.++.++.++. ", +" .. .+++++++++++. ", +" .++..+++++++++++. ", +" .++..+++++++++++. ", " .++.+++++++++++. ", " .++++++++++++++. ", " .++++++++++++++. ", diff --git a/images/Cursors32/RearrangingCursor.xpm b/images/Cursors32/RearrangingCursor.xpm index 7e04eee81..9c6278051 100644 --- a/images/Cursors32/RearrangingCursor.xpm +++ b/images/Cursors32/RearrangingCursor.xpm @@ -11,18 +11,18 @@ static const char * const RearrangingCursorXpm[] = { " ", " ", " ", -" ", -" ", -" ", -" ", -" .. .. .. ", -" .++.++.++.. ", -" .++++++++++. ", -" ..++++++++++. ", -" .+.+++++++++++. ", -" .+.+++++++++++. ", -" .+++++++++++++. ", -" .+++++++++++++. ", +" ... ", +" .++... ", +" ...++.++... ", +" .++.++.++.++. ", +" .++.++.++.++. ", +" .++.++.++.++. ", +" ...+++++++++++. ", +" .++.+++++++++++. ", +" .++.+++++++++++. ", +" .++.+++++++++++. ", +" .++++++++++++++. ", +" .++++++++++++++. ", " .+++++++++++++. ", " .+++++++++++++. ", " .+++++++++++. ", diff --git a/src/tracks/ui/TrackSelectHandle.cpp b/src/tracks/ui/TrackSelectHandle.cpp index fc7dc0dfa..ef686c73f 100644 --- a/src/tracks/ui/TrackSelectHandle.cpp +++ b/src/tracks/ui/TrackSelectHandle.cpp @@ -147,8 +147,8 @@ HitTestPreview TrackSelectHandle::Preview static auto disabledCursor = ::MakeCursor(wxCURSOR_NO_ENTRY, DisabledCursorXpm, 16, 16); //static wxCursor rearrangeCursor{ wxCURSOR_HAND }; - static auto rearrangeCursor = - ::MakeCursor(wxCURSOR_HAND, RearrangeCursorXpm, 16, 16); + static auto rearrangingCursor = + ::MakeCursor(wxCURSOR_HAND, RearrangingCursorXpm, 16, 16); //static auto hoverCursor = @@ -165,7 +165,7 @@ HitTestPreview TrackSelectHandle::Preview message, (unsafe ? &*disabledCursor - : &*rearrangeCursor) + : &*rearrangingCursor) // , message // Stop showing the tooltip after the click }; }