-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathxcurnames.py
61 lines (55 loc) · 3.63 KB
/
xcurnames.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
nXCUR = 'this-xcur-filename-is-undefined'
ukCNAME = 'UnknownMouseCapeCursorName'
name_table = [
('com.apple.coregraphics.Alias', 'Alias', 'alias'),
('com.apple.coregraphics.Arrow', 'Arrow', 'left-main'),
('com.apple.coregraphics.Copy', 'Copy', nXCUR),
('com.apple.coregraphics.Move', 'Move', nXCUR),
('com.apple.coregraphics.Wait', 'Wait', 'wait'),
('com.apple.coregraphics.Empty', 'Empty', nXCUR),
('com.apple.coregraphics.IBeam', 'IBeam', 'horizontal-text'),
('com.apple.coregraphics.IBeamXOR', 'IBeamXOR', nXCUR),
('com.apple.coregraphics.ArrowCtx', 'Ctx Arrow', nXCUR),
('com.apple.cursor.2', 'Link', nXCUR),
('com.apple.cursor.3', 'Forbidden', 'no-drop'),
('com.apple.cursor.4', 'Busy', 'progress'),
('com.apple.cursor.5', 'Copy Drag', 'dnd-copy'),
('com.apple.cursor.7', 'Crosshair', 'crosshair'),
('com.apple.cursor.8', 'Crosshair 2', 'crosshair'),
('com.apple.cursor.9', 'Camera 2', nXCUR),
('com.apple.cursor.10', 'Camera', nXCUR),
('com.apple.cursor.11', 'Closed', 'closedhand'),
('com.apple.cursor.12', 'Open', 'openhand'),
('com.apple.cursor.13', 'Pointing', 'pointer'),
('com.apple.cursor.14', 'Counting Up', nXCUR),
('com.apple.cursor.15', 'Counting Down', nXCUR),
('com.apple.cursor.16', 'Counting Up/Down', nXCUR),
('com.apple.cursor.17', 'Resize W', nXCUR),
('com.apple.cursor.18', 'Resize E', nXCUR),
('com.apple.cursor.19', 'Resize W-E', 'col-resize'),
('com.apple.cursor.20', 'Cell XOR', nXCUR),
('com.apple.cursor.21', 'Resize N', nXCUR),
('com.apple.cursor.22', 'Resize S', nXCUR),
('com.apple.cursor.23', 'Resize N-S', 'row-resize'),
('com.apple.cursor.24', 'Ctx Menu', 'context-menu'),
('com.apple.cursor.25', 'Poof', 'pirate'),
('com.apple.cursor.26', 'IBeamH.', 'vertical-text'),
('com.apple.cursor.27', 'Window E', 'right-arrow'),
('com.apple.cursor.28', 'Window E-W', nXCUR),
('com.apple.cursor.29', 'Window NE', nXCUR),
('com.apple.cursor.30', 'Window NE-SW', 'nesw-resize'),
('com.apple.cursor.31', 'Window N', 'up-arrow'),
('com.apple.cursor.32', 'Window N-S', 'ns-resize'),
('com.apple.cursor.33', 'Window NW', nXCUR),
('com.apple.cursor.34', 'Window NW-SE', 'nwse-resize'),
('com.apple.cursor.35', 'Window SE', nXCUR),
('com.apple.cursor.36', 'Window S', 'down-arrow'),
('com.apple.cursor.37', 'Window SW', nXCUR),
('com.apple.cursor.38', 'Window W', 'left-arrow'),
('com.apple.cursor.39', 'Resize Square', 'fleur'),
('com.apple.cursor.40', 'Help', 'help'),
('com.apple.cursor.41', 'Cell', 'cell'),
('com.apple.cursor.42', 'Zoom In', 'zoom-in'),
('com.apple.cursor.43', 'Zoom Out', 'zoom-out')
]
cursor_name_map = {k: v for (v, k, f) in name_table}