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 =
|
||||
::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
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue