summaryrefslogtreecommitdiffstats
path: root/Mac/Modules/list/listgen.py
blob: 9ee6ce68a0a4cb53bbbc37d6aee86ce453c2d774 (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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
# Generated from 'Sap:CodeWarrior7:Metrowerks CodeWarrior:MacOS Support:Headers:Universal Headers:Lists.h'

f = Function(ListRef, 'LNew',
    (Rect_ptr, 'rView', InMode),
    (Rect_ptr, 'dataBounds', InMode),
    (Point, 'cSize', InMode),
    (short, 'theProc', InMode),
    (WindowRef, 'theWindow', InMode),
    (Boolean, 'drawIt', InMode),
    (Boolean, 'hasGrow', InMode),
    (Boolean, 'scrollHoriz', InMode),
    (Boolean, 'scrollVert', InMode),
)
functions.append(f)

f = Method(short, 'LAddColumn',
    (short, 'count', InMode),
    (short, 'colNum', InMode),
    (ListRef, 'lHandle', InMode),
)
methods.append(f)

f = Method(short, 'LAddRow',
    (short, 'count', InMode),
    (short, 'rowNum', InMode),
    (ListRef, 'lHandle', InMode),
)
methods.append(f)

f = Method(void, 'LDelColumn',
    (short, 'count', InMode),
    (short, 'colNum', InMode),
    (ListRef, 'lHandle', InMode),
)
methods.append(f)

f = Method(void, 'LDelRow',
    (short, 'count', InMode),
    (short, 'rowNum', InMode),
    (ListRef, 'lHandle', InMode),
)
methods.append(f)

f = Method(Boolean, 'LGetSelect',
    (Boolean, 'next', InMode),
    (Cell, 'theCell', InOutMode),
    (ListRef, 'lHandle', InMode),
)
methods.append(f)

f = Method(Cell, 'LLastClick',
    (ListRef, 'lHandle', InMode),
)
methods.append(f)

f = Method(Boolean, 'LNextCell',
    (Boolean, 'hNext', InMode),
    (Boolean, 'vNext', InMode),
    (Cell, 'theCell', InOutMode),
    (ListRef, 'lHandle', InMode),
)
methods.append(f)

f = Method(void, 'LSize',
    (short, 'listWidth', InMode),
    (short, 'listHeight', InMode),
    (ListRef, 'lHandle', InMode),
)
methods.append(f)

f = Method(void, 'LSetDrawingMode',
    (Boolean, 'drawIt', InMode),
    (ListRef, 'lHandle', InMode),
)
methods.append(f)

f = Method(void, 'LScroll',
    (short, 'dCols', InMode),
    (short, 'dRows', InMode),
    (ListRef, 'lHandle', InMode),
)
methods.append(f)

f = Method(void, 'LAutoScroll',
    (ListRef, 'lHandle', InMode),
)
methods.append(f)

f = Method(void, 'LUpdate',
    (RgnHandle, 'theRgn', InMode),
    (ListRef, 'lHandle', InMode),
)
methods.append(f)

f = Method(void, 'LActivate',
    (Boolean, 'act', InMode),
    (ListRef, 'lHandle', InMode),
)
methods.append(f)

f = Method(void, 'LCellSize',
    (Point, 'cSize', InMode),
    (ListRef, 'lHandle', InMode),
)
methods.append(f)

f = Method(Boolean, 'LClick',
    (Point, 'pt', InMode),
    (short, 'modifiers', InMode),
    (ListRef, 'lHandle', InMode),
)
methods.append(f)

f = Method(void, 'LAddToCell',
    (InBufferShortsize, 'dataPtr', InMode),
    (Cell, 'theCell', InMode),
    (ListRef, 'lHandle', InMode),
)
methods.append(f)

f = Method(void, 'LClrCell',
    (Cell, 'theCell', InMode),
    (ListRef, 'lHandle', InMode),
)
methods.append(f)

f = Method(void, 'LGetCell',
    (VarOutBufferShortsize, 'dataPtr', InOutMode),
    (Cell, 'theCell', InMode),
    (ListRef, 'lHandle', InMode),
)
methods.append(f)

f = Method(void, 'LRect',
    (Rect, 'cellRect', OutMode),
    (Cell, 'theCell', InMode),
    (ListRef, 'lHandle', InMode),
)
methods.append(f)

f = Method(void, 'LSetCell',
    (InBufferShortsize, 'dataPtr', InMode),
    (Cell, 'theCell', InMode),
    (ListRef, 'lHandle', InMode),
)
methods.append(f)

f = Method(void, 'LSetSelect',
    (Boolean, 'setIt', InMode),
    (Cell, 'theCell', InMode),
    (ListRef, 'lHandle', InMode),
)
methods.append(f)

f = Method(void, 'LDraw',
    (Cell, 'theCell', InMode),
    (ListRef, 'lHandle', InMode),
)
methods.append(f)