summaryrefslogtreecommitdiffstats
path: root/Mac/Modules/evt/evtgen.py
blob: ff30b8d07e534ac1610e60ebe5114ff6b336c1df (plain)
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
# Generated from 'D:Development:THINK C:Mac #includes:Apple #includes:Events.h'

f = Function(Boolean, 'GetNextEvent',
    (short, 'eventMask', InMode),
    (EventRecord, 'theEvent', OutMode),
)
functions.append(f)

f = Function(Boolean, 'WaitNextEvent',
    (short, 'eventMask', InMode),
    (EventRecord, 'theEvent', OutMode),
    (unsigned_long, 'sleep', InMode),
    (RgnHandle, 'mouseRgn', InMode),
)
functions.append(f)

f = Function(Boolean, 'EventAvail',
    (short, 'eventMask', InMode),
    (EventRecord, 'theEvent', OutMode),
)
functions.append(f)

f = Function(void, 'GetMouse',
    (Point, 'mouseLoc', OutMode),
)
functions.append(f)

f = Function(Boolean, 'Button',
)
functions.append(f)

f = Function(Boolean, 'StillDown',
)
functions.append(f)

f = Function(Boolean, 'WaitMouseUp',
)
functions.append(f)

f = Function(void, 'GetKeys',
    (KeyMap, 'theKeys', OutMode),
)
functions.append(f)

f = Function(long, 'TickCount',
)
functions.append(f)