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:
parent
571f42df79
commit
38bf4f558b
@ -8,18 +8,18 @@ static const char * const RearrangeCursorXpm[] = {
|
|||||||
" ",
|
" ",
|
||||||
" ",
|
" ",
|
||||||
" ",
|
" ",
|
||||||
" ",
|
|
||||||
" ",
|
|
||||||
" ",
|
|
||||||
" ... ",
|
" ... ",
|
||||||
" .++... ",
|
" .++... ",
|
||||||
" ...++.++... ",
|
" ...++.++... ",
|
||||||
" .++.++.++.++. ",
|
" .++.++.++.++. ",
|
||||||
" .++.++.++.++. ",
|
" .++.++.++.++. ",
|
||||||
" .++.++.++.++. ",
|
" .++.++.++.++. ",
|
||||||
" ...+++++++++++. ",
|
" .++.++.++.++. ",
|
||||||
" .++.+++++++++++. ",
|
" .++.++.++.++. ",
|
||||||
" .++.+++++++++++. ",
|
" .++.++.++.++. ",
|
||||||
|
" .. .+++++++++++. ",
|
||||||
|
" .++..+++++++++++. ",
|
||||||
|
" .++..+++++++++++. ",
|
||||||
" .++.+++++++++++. ",
|
" .++.+++++++++++. ",
|
||||||
" .++++++++++++++. ",
|
" .++++++++++++++. ",
|
||||||
" .++++++++++++++. ",
|
" .++++++++++++++. ",
|
||||||
|
@ -11,18 +11,18 @@ static const char * const RearrangingCursorXpm[] = {
|
|||||||
" ",
|
" ",
|
||||||
" ",
|
" ",
|
||||||
" ",
|
" ",
|
||||||
" ",
|
" ... ",
|
||||||
" ",
|
" .++... ",
|
||||||
" ",
|
" ...++.++... ",
|
||||||
" ",
|
" .++.++.++.++. ",
|
||||||
" .. .. .. ",
|
" .++.++.++.++. ",
|
||||||
" .++.++.++.. ",
|
" .++.++.++.++. ",
|
||||||
" .++++++++++. ",
|
" ...+++++++++++. ",
|
||||||
" ..++++++++++. ",
|
" .++.+++++++++++. ",
|
||||||
" .+.+++++++++++. ",
|
" .++.+++++++++++. ",
|
||||||
" .+.+++++++++++. ",
|
" .++.+++++++++++. ",
|
||||||
" .+++++++++++++. ",
|
" .++++++++++++++. ",
|
||||||
" .+++++++++++++. ",
|
" .++++++++++++++. ",
|
||||||
" .+++++++++++++. ",
|
" .+++++++++++++. ",
|
||||||
" .+++++++++++++. ",
|
" .+++++++++++++. ",
|
||||||
" .+++++++++++. ",
|
" .+++++++++++. ",
|
||||||
|
@ -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
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user