18
18
|| <a href=pygame.html>pygame</a> ||
19
19
<a href=pygame_cdrom.html>cdrom</a> ||
20
20
<a href=pygame_constants.html>constants</a> ||
21
<a href=pygame_cursor.html>cursor</a> ||
21
22
<a href=pygame_display.html>display</a> ||
22
<a href=pygame_draw.html>draw</a> ||
23
<a href=pygame_event.html>event</a> ||<br>
24
|| <a href=pygame_font.html>font</a> ||
23
<a href=pygame_draw.html>draw</a> ||<br>
24
|| <a href=pygame_event.html>event</a> ||
25
<a href=pygame_font.html>font</a> ||
25
26
<a href=pygame_image.html>image</a> ||
26
27
<a href=pygame_joystick.html>joystick</a> ||
27
28
<a href=pygame_key.html>key</a> ||
28
<a href=pygame_mixer.html>mixer</a> ||
29
<a href=pygame_mixer_music.html>mixer_music</a> ||<br>
30
|| <a href=pygame_mouse.html>mouse</a> ||
29
<a href=pygame_mixer.html>mixer</a> ||<br>
30
|| <a href=pygame_mixer_music.html>mixer_music</a> ||
31
<a href=pygame_mouse.html>mouse</a> ||
31
32
<a href=pygame_movie.html>movie</a> ||
32
33
<a href=pygame_sndarray.html>sndarray</a> ||
33
34
<a href=pygame_surfarray.html>surfarray</a> ||
34
<a href=pygame_time.html>time</a> ||
35
<a href=pygame_transform.html>transform</a> ||<br>
35
<a href=pygame_time.html>time</a> ||<br>
36
|| <a href=pygame_transform.html>transform</a> ||<br>
36
37
<br>|| <a href=CD.html>CD</a> ||
37
38
<a href=Channel.html>Channel</a> ||
38
39
<a href=Clock.html>Clock</a> ||
39
40
<a href=Font.html>Font</a> ||
40
41
<a href=Joystick.html>Joystick</a> ||
41
42
<a href=Movie.html>Movie</a> ||<br>
42
|| <a href=Rect.html>Rect</a> ||
43
|| <a href=Overlay.html>Overlay</a> ||
44
<a href=Rect.html>Rect</a> ||
43
45
<a href=Sound.html>Sound</a> ||
44
46
<a href=Surface.html>Surface</a> ||<br>
45
47
<br>|| <a href=pygame_color.html>color</a> ||
60
62
broken_x, tri_left, tri_right
62
64
There is also a sample string cursor named 'thickarrow_strings'.
63
The <a href=#compile>compile()</a> function can convert these string cursors into cursor byte data.
65
The <a href=pygame_cursor.html#compile>compile()</a> function can convert these string cursors into cursor byte data.
69
<tr><td><a href=#compile>compile</a></td><td> -
70
compile cursor strings into cursor data</td></tr>
73
71
<tr><td><a href=#load_xbm>load_xbm</a></td><td> -
74
72
reads a pair of XBM files into set_cursor arguments</td></tr>
81
<a name=compile><font size=+2><b>compile
82
</b></font><br><font size=+1><tt>
83
pygame.cursors.compile(strings, black, white) -> data, mask
85
This takes a set of strings with equal length and computes
86
the binary data for that cursor. The string widths must be
89
The black and white arguments are single letter strings that
90
tells which characters will represent black pixels, and which
91
characters represent white pixels. All other characters are
94
This returns a tuple containing the cursor data and cursor mask
95
data. Both these arguments are used when setting a cursor with
96
<a href=pygame_mouse.html#set_cursor>pygame.mouse.set_cursor()</a>.
100
79
<a name=load_xbm><font size=+2><b>load_xbm
101
80
</b></font><br><font size=+1><tt>
102
81
pygame.cursors.load_xbm(cursorfile, maskfile) -> cursor_args