Skip to content

Commit 38bf4f5

Browse files
committed
Better cursors for open and closed hands
1 parent 571f42d commit 38bf4f5

File tree

3 files changed

+21
-21
lines changed

3 files changed

+21
-21
lines changed

images/Cursors32/RearrangeCursor.xpm

+6-6
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,18 @@ static const char * const RearrangeCursorXpm[] = {
88
" ",
99
" ",
1010
" ",
11-
" ",
12-
" ",
13-
" ",
1411
" ... ",
1512
" .++... ",
1613
" ...++.++... ",
1714
" .++.++.++.++. ",
1815
" .++.++.++.++. ",
1916
" .++.++.++.++. ",
20-
" ...+++++++++++. ",
21-
" .++.+++++++++++. ",
22-
" .++.+++++++++++. ",
17+
" .++.++.++.++. ",
18+
" .++.++.++.++. ",
19+
" .++.++.++.++. ",
20+
" .. .+++++++++++. ",
21+
" .++..+++++++++++. ",
22+
" .++..+++++++++++. ",
2323
" .++.+++++++++++. ",
2424
" .++++++++++++++. ",
2525
" .++++++++++++++. ",

images/Cursors32/RearrangingCursor.xpm

+12-12
Original file line numberDiff line numberDiff line change
@@ -11,18 +11,18 @@ static const char * const RearrangingCursorXpm[] = {
1111
" ",
1212
" ",
1313
" ",
14-
" ",
15-
" ",
16-
" ",
17-
" ",
18-
" .. .. .. ",
19-
" .++.++.++.. ",
20-
" .++++++++++. ",
21-
" ..++++++++++. ",
22-
" .+.+++++++++++. ",
23-
" .+.+++++++++++. ",
24-
" .+++++++++++++. ",
25-
" .+++++++++++++. ",
14+
" ... ",
15+
" .++... ",
16+
" ...++.++... ",
17+
" .++.++.++.++. ",
18+
" .++.++.++.++. ",
19+
" .++.++.++.++. ",
20+
" ...+++++++++++. ",
21+
" .++.+++++++++++. ",
22+
" .++.+++++++++++. ",
23+
" .++.+++++++++++. ",
24+
" .++++++++++++++. ",
25+
" .++++++++++++++. ",
2626
" .+++++++++++++. ",
2727
" .+++++++++++++. ",
2828
" .+++++++++++. ",

src/tracks/ui/TrackSelectHandle.cpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -147,8 +147,8 @@ HitTestPreview TrackSelectHandle::Preview
147147
static auto disabledCursor =
148148
::MakeCursor(wxCURSOR_NO_ENTRY, DisabledCursorXpm, 16, 16);
149149
//static wxCursor rearrangeCursor{ wxCURSOR_HAND };
150-
static auto rearrangeCursor =
151-
::MakeCursor(wxCURSOR_HAND, RearrangeCursorXpm, 16, 16);
150+
static auto rearrangingCursor =
151+
::MakeCursor(wxCURSOR_HAND, RearrangingCursorXpm, 16, 16);
152152

153153

154154
//static auto hoverCursor =
@@ -165,7 +165,7 @@ HitTestPreview TrackSelectHandle::Preview
165165
message,
166166
(unsafe
167167
? &*disabledCursor
168-
: &*rearrangeCursor)
168+
: &*rearrangingCursor)
169169
// , message // Stop showing the tooltip after the click
170170
};
171171
}

0 commit comments

Comments
 (0)