1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-11-14 09:03:54 +01:00

Better cursors for open and closed hands

This commit is contained in:
Paul Licameli
2020-02-20 13:16:13 -05:00
parent 571f42df79
commit 38bf4f558b
3 changed files with 21 additions and 21 deletions

View File

@@ -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
};
}