-
Notifications
You must be signed in to change notification settings - Fork 3.2k
/
cursors_doc.h
46 lines (34 loc) 路 1.55 KB
/
cursors_doc.h
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
/* Auto generated file: with makeref.py . Docs go in docs/reST/ref/ . */
#define DOC_PYGAMECURSORS "pygame module for cursor resources"
#define DOC_PYGAMECURSORSCOMPILE "compile(strings, black='X', white='.', xor='o') -> data, mask\ncreate binary cursor data from simple strings"
#define DOC_PYGAMECURSORSLOADXBM "load_xbm(cursorfile) -> cursor_args\nload_xbm(cursorfile, maskfile) -> cursor_args\nload cursor data from an XBM file"
#define DOC_PYGAMECURSORSCURSOR "Cursor(size, hotspot, xormasks, andmasks) -> Cursor\nCursor(hotspot, surface) -> Cursor\nCursor(constant) -> Cursor\nCursor(Cursor) -> Cursor\nCursor() -> Cursor\npygame object representing a cursor"
#define DOC_CURSORCOPY ""
#define DOC_CURSORTYPE "type -> string\nGets the cursor type"
#define DOC_CURSORDATA "data -> tuple\nGets the cursor data"
/* Docs in a comment... slightly easier to read. */
/*
pygame.cursors
pygame module for cursor resources
pygame.cursors.compile
compile(strings, black='X', white='.', xor='o') -> data, mask
create binary cursor data from simple strings
pygame.cursors.load_xbm
load_xbm(cursorfile) -> cursor_args
load_xbm(cursorfile, maskfile) -> cursor_args
load cursor data from an XBM file
pygame.cursors.Cursor
Cursor(size, hotspot, xormasks, andmasks) -> Cursor
Cursor(hotspot, surface) -> Cursor
Cursor(constant) -> Cursor
Cursor(Cursor) -> Cursor
Cursor() -> Cursor
pygame object representing a cursor
pygame.cursors.Cursor.copy
pygame.cursors.Cursor.type
type -> string
Gets the cursor type
pygame.cursors.Cursor.data
data -> tuple
Gets the cursor data
*/