1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-08-03 17:39:25 +02: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

@ -8,18 +8,18 @@ static const char * const RearrangeCursorXpm[] = {
" ", " ",
" ", " ",
" ", " ",
" ",
" ",
" ",
" ... ", " ... ",
" .++... ", " .++... ",
" ...++.++... ", " ...++.++... ",
" .++.++.++.++. ", " .++.++.++.++. ",
" .++.++.++.++. ", " .++.++.++.++. ",
" .++.++.++.++. ", " .++.++.++.++. ",
" ...+++++++++++. ", " .++.++.++.++. ",
" .++.+++++++++++. ", " .++.++.++.++. ",
" .++.+++++++++++. ", " .++.++.++.++. ",
" .. .+++++++++++. ",
" .++..+++++++++++. ",
" .++..+++++++++++. ",
" .++.+++++++++++. ", " .++.+++++++++++. ",
" .++++++++++++++. ", " .++++++++++++++. ",
" .++++++++++++++. ", " .++++++++++++++. ",

View File

@ -11,18 +11,18 @@ static const char * const RearrangingCursorXpm[] = {
" ", " ",
" ", " ",
" ", " ",
" ", " ... ",
" ", " .++... ",
" ", " ...++.++... ",
" ", " .++.++.++.++. ",
" .. .. .. ", " .++.++.++.++. ",
" .++.++.++.. ", " .++.++.++.++. ",
" .++++++++++. ", " ...+++++++++++. ",
" ..++++++++++. ", " .++.+++++++++++. ",
" .+.+++++++++++. ", " .++.+++++++++++. ",
" .+.+++++++++++. ", " .++.+++++++++++. ",
" .+++++++++++++. ", " .++++++++++++++. ",
" .+++++++++++++. ", " .++++++++++++++. ",
" .+++++++++++++. ", " .+++++++++++++. ",
" .+++++++++++++. ", " .+++++++++++++. ",
" .+++++++++++. ", " .+++++++++++. ",

View File

@ -147,8 +147,8 @@ HitTestPreview TrackSelectHandle::Preview
static auto disabledCursor = static auto disabledCursor =
::MakeCursor(wxCURSOR_NO_ENTRY, DisabledCursorXpm, 16, 16); ::MakeCursor(wxCURSOR_NO_ENTRY, DisabledCursorXpm, 16, 16);
//static wxCursor rearrangeCursor{ wxCURSOR_HAND }; //static wxCursor rearrangeCursor{ wxCURSOR_HAND };
static auto rearrangeCursor = static auto rearrangingCursor =
::MakeCursor(wxCURSOR_HAND, RearrangeCursorXpm, 16, 16); ::MakeCursor(wxCURSOR_HAND, RearrangingCursorXpm, 16, 16);
//static auto hoverCursor = //static auto hoverCursor =
@ -165,7 +165,7 @@ HitTestPreview TrackSelectHandle::Preview
message, message,
(unsafe (unsafe
? &*disabledCursor ? &*disabledCursor
: &*rearrangeCursor) : &*rearrangingCursor)
// , message // Stop showing the tooltip after the click // , message // Stop showing the tooltip after the click
}; };
} }