1 /* Automatically generated header! Do not edit! */ 2 3 #ifndef _PPCINLINE_LAYERS_H 4 #define _PPCINLINE_LAYERS_H 5 6 #ifndef __PPCINLINE_MACROS_H 7 #include <ppcinline/macros.h> 8 #endif /* !__PPCINLINE_MACROS_H */ 9 10 #ifndef LAYERS_BASE_NAME 11 #define LAYERS_BASE_NAME LayersBase 12 #endif /* !LAYERS_BASE_NAME */ 13 14 #define WhichLayer(__p0, __p1, __p2) \ 15 LP3(132, struct Layer *, WhichLayer, \ 16 struct Layer_Info *, __p0, a0, \ 17 LONG , __p1, d0, \ 18 LONG , __p2, d1, \ 19 , LAYERS_BASE_NAME, 0, 0, 0, 0, 0, 0) 20 21 22 #define CreateBehindLayerTagList(__p0, __p1, __p2, __p3, __p4, __p5, __p6, __p7) \ 23 LP8(240, struct Layer *, CreateBehindLayerTagList, \ 24 struct Layer_Info *, __p0, a0, \ 25 struct BitMap *, __p1, a1, \ 26 LONG , __p2, d0, \ 27 LONG , __p3, d1, \ 28 LONG , __p4, d2, \ 29 LONG , __p5, d3, \ 30 LONG , __p6, d4, \ 31 struct TagItem *, __p7, a2, \ 32 , LAYERS_BASE_NAME, 0, 0, 0, 0, 0, 0) 33 34 #define RenderLayerInfoTagList(__p0, __p1) \ 35 LP2(282, BOOL , RenderLayerInfoTagList, \ 36 struct Layer_Info *, __p0, a0, \ 37 struct TagItem *, __p1, a1, \ 38 , LAYERS_BASE_NAME, 0, 0, 0, 0, 0, 0) 39 40 #define CreateBehindHookLayer(__p0, __p1, __p2, __p3, __p4, __p5, __p6, __p7, __p8) \ 41 LP9(192, struct Layer *, CreateBehindHookLayer, \ 42 struct Layer_Info *, __p0, a0, \ 43 struct BitMap *, __p1, a1, \ 44 LONG , __p2, d0, \ 45 LONG , __p3, d1, \ 46 LONG , __p4, d2, \ 47 LONG , __p5, d3, \ 48 LONG , __p6, d4, \ 49 struct Hook *, __p7, a3, \ 50 struct BitMap *, __p8, a2, \ 51 , LAYERS_BASE_NAME, 0, 0, 0, 0, 0, 0) 52 53 #define UpfrontLayer(__p0, __p1) \ 54 LP2(48, LONG , UpfrontLayer, \ 55 LONG , __p0, a0, \ 56 struct Layer *, __p1, a1, \ 57 , LAYERS_BASE_NAME, 0, 0, 0, 0, 0, 0) 58 59 #define SizeLayer(__p0, __p1, __p2, __p3) \ 60 LP4(66, LONG , SizeLayer, \ 61 LONG , __p0, a0, \ 62 struct Layer *, __p1, a1, \ 63 LONG , __p2, d0, \ 64 LONG , __p3, d1, \ 65 , LAYERS_BASE_NAME, 0, 0, 0, 0, 0, 0) 66 67 68 #define WhichLayerBehindLayer(__p0, __p1, __p2) \ 69 LP3(252, struct Layer *, WhichLayerBehindLayer, \ 70 struct Layer *, __p0, a0, \ 71 LONG , __p1, d0, \ 72 LONG , __p2, d1, \ 73 , LAYERS_BASE_NAME, 0, 0, 0, 0, 0, 0) 74 75 #define NewLayerInfo() \ 76 LP0(144, struct Layer_Info *, NewLayerInfo, \ 77 , LAYERS_BASE_NAME, 0, 0, 0, 0, 0, 0) 78 79 80 #define IsVisibleInLayer(__p0, __p1, __p2, __p3, __p4) \ 81 LP5(300, BOOL , IsVisibleInLayer, \ 82 struct Layer *, __p0, a0, \ 83 LONG , __p1, d0, \ 84 LONG , __p2, d1, \ 85 LONG , __p3, d2, \ 86 LONG , __p4, d3, \ 87 , LAYERS_BASE_NAME, 0, 0, 0, 0, 0, 0) 88 89 #define UnlockLayerUpdates(__p0) \ 90 LP1NR(294, UnlockLayerUpdates, \ 91 struct Layer *, __p0, a0, \ 92 , LAYERS_BASE_NAME, 0, 0, 0, 0, 0, 0) 93 94 #define FattenLayerInfo(__p0) \ 95 LP1(156, LONG , FattenLayerInfo, \ 96 struct Layer_Info *, __p0, a0, \ 97 , LAYERS_BASE_NAME, 0, 0, 0, 0, 0, 0) 98 99 #define SwapBitsRastPortClipRect(__p0, __p1) \ 100 LP2NR(126, SwapBitsRastPortClipRect, \ 101 struct RastPort *, __p0, a0, \ 102 struct ClipRect *, __p1, a1, \ 103 , LAYERS_BASE_NAME, 0, 0, 0, 0, 0, 0) 104 105 #define DoHookClipRects(__p0, __p1, __p2) \ 106 LP3NR(216, DoHookClipRects, \ 107 struct Hook *, __p0, a0, \ 108 struct RastPort *, __p1, a1, \ 109 CONST struct Rectangle *, __p2, a2, \ 110 , LAYERS_BASE_NAME, 0, 0, 0, 0, 0, 0) 111 112 #define UnlockLayers(__p0) \ 113 LP1NR(114, UnlockLayers, \ 114 struct Layer_Info *, __p0, a0, \ 115 , LAYERS_BASE_NAME, 0, 0, 0, 0, 0, 0) 116 117 #define UnlockLayer(__p0) \ 118 LP1NR(102, UnlockLayer, \ 119 struct Layer *, __p0, a0, \ 120 , LAYERS_BASE_NAME, 0, 0, 0, 0, 0, 0) 121 122 #define MoveSizeLayer(__p0, __p1, __p2, __p3, __p4) \ 123 LP5(180, LONG , MoveSizeLayer, \ 124 struct Layer *, __p0, a0, \ 125 LONG , __p1, d0, \ 126 LONG , __p2, d1, \ 127 LONG , __p3, d2, \ 128 LONG , __p4, d3, \ 129 , LAYERS_BASE_NAME, 0, 0, 0, 0, 0, 0) 130 131 #define LockLayers(__p0) \ 132 LP1NR(108, LockLayers, \ 133 struct Layer_Info *, __p0, a0, \ 134 , LAYERS_BASE_NAME, 0, 0, 0, 0, 0, 0) 135 136 137 #define CreateUpfrontLayer(__p0, __p1, __p2, __p3, __p4, __p5, __p6, __p7) \ 138 LP8(36, struct Layer *, CreateUpfrontLayer, \ 139 struct Layer_Info *, __p0, a0, \ 140 struct BitMap *, __p1, a1, \ 141 LONG , __p2, d0, \ 142 LONG , __p3, d1, \ 143 LONG , __p4, d2, \ 144 LONG , __p5, d3, \ 145 LONG , __p6, d4, \ 146 struct BitMap *, __p7, a2, \ 147 , LAYERS_BASE_NAME, 0, 0, 0, 0, 0, 0) 148 149 150 #define LockLayer(__p0, __p1) \ 151 LP2NR(96, LockLayer, \ 152 LONG , __p0, a0, \ 153 struct Layer *, __p1, a1, \ 154 , LAYERS_BASE_NAME, 0, 0, 0, 0, 0, 0) 155 156 #define BeginUpdate(__p0) \ 157 LP1(78, LONG , BeginUpdate, \ 158 struct Layer *, __p0, a0, \ 159 , LAYERS_BASE_NAME, 0, 0, 0, 0, 0, 0) 160 161 #define LockLayerUpdates(__p0) \ 162 LP1NR(288, LockLayerUpdates, \ 163 struct Layer *, __p0, a0, \ 164 , LAYERS_BASE_NAME, 0, 0, 0, 0, 0, 0) 165 166 #define EndUpdate(__p0, __p1) \ 167 LP2NR(84, EndUpdate, \ 168 struct Layer *, __p0, a0, \ 169 ULONG , __p1, d0, \ 170 , LAYERS_BASE_NAME, 0, 0, 0, 0, 0, 0) 171 172 #define InitLayers(__p0) \ 173 LP1NR(30, InitLayers, \ 174 struct Layer_Info *, __p0, a0, \ 175 , LAYERS_BASE_NAME, 0, 0, 0, 0, 0, 0) 176 177 #define SortLayerCR(__p0, __p1, __p2) \ 178 LP3NR(210, SortLayerCR, \ 179 struct Layer *, __p0, a0, \ 180 LONG , __p1, d0, \ 181 LONG , __p2, d1, \ 182 , LAYERS_BASE_NAME, 0, 0, 0, 0, 0, 0) 183 184 #define CreateUpfrontLayerTagList(__p0, __p1, __p2, __p3, __p4, __p5, __p6, __p7) \ 185 LP8(234, struct Layer *, CreateUpfrontLayerTagList, \ 186 struct Layer_Info *, __p0, a0, \ 187 struct BitMap *, __p1, a1, \ 188 LONG , __p2, d0, \ 189 LONG , __p3, d1, \ 190 LONG , __p4, d2, \ 191 LONG , __p5, d3, \ 192 LONG , __p6, d4, \ 193 struct TagItem *, __p7, a2, \ 194 , LAYERS_BASE_NAME, 0, 0, 0, 0, 0, 0) 195 196 #define DeleteLayer(__p0, __p1) \ 197 LP2(90, LONG , DeleteLayer, \ 198 LONG , __p0, a0, \ 199 struct Layer *, __p1, a1, \ 200 , LAYERS_BASE_NAME, 0, 0, 0, 0, 0, 0) 201 202 #define MoveLayer(__p0, __p1, __p2, __p3) \ 203 LP4(60, LONG , MoveLayer, \ 204 LONG , __p0, a0, \ 205 struct Layer *, __p1, a1, \ 206 LONG , __p2, d0, \ 207 LONG , __p3, d1, \ 208 , LAYERS_BASE_NAME, 0, 0, 0, 0, 0, 0) 209 210 #define IsLayerVisible(__p0) \ 211 LP1(258, BOOL , IsLayerVisible, \ 212 struct Layer *, __p0, a0, \ 213 , LAYERS_BASE_NAME, 0, 0, 0, 0, 0, 0) 214 215 #define LockLayerInfo(__p0) \ 216 LP1NR(120, LockLayerInfo, \ 217 struct Layer_Info *, __p0, a0, \ 218 , LAYERS_BASE_NAME, 0, 0, 0, 0, 0, 0) 219 220 #define IsLayerHitable(__p0) \ 221 LP1(306, BOOL , IsLayerHitable, \ 222 struct Layer *, __p0, a0, \ 223 , LAYERS_BASE_NAME, 0, 0, 0, 0, 0, 0) 224 225 #define InstallClipRegion(__p0, __p1) \ 226 LP2(174, struct Region *, InstallClipRegion, \ 227 struct Layer *, __p0, a0, \ 228 CONST struct Region *, __p1, a1, \ 229 , LAYERS_BASE_NAME, 0, 0, 0, 0, 0, 0) 230 231 #define DisposeLayerInfo(__p0) \ 232 LP1NR(150, DisposeLayerInfo, \ 233 struct Layer_Info *, __p0, a0, \ 234 , LAYERS_BASE_NAME, 0, 0, 0, 0, 0, 0) 235 236 #define ScrollLayer(__p0, __p1, __p2, __p3) \ 237 LP4NR(72, ScrollLayer, \ 238 LONG , __p0, a0, \ 239 struct Layer *, __p1, a1, \ 240 LONG , __p2, d0, \ 241 LONG , __p3, d1, \ 242 , LAYERS_BASE_NAME, 0, 0, 0, 0, 0, 0) 243 244 #define InstallLayerInfoHook(__p0, __p1) \ 245 LP2(204, struct Hook *, InstallLayerInfoHook, \ 246 struct Layer_Info *, __p0, a0, \ 247 CONST struct Hook *, __p1, a1, \ 248 , LAYERS_BASE_NAME, 0, 0, 0, 0, 0, 0) 249 250 #define UnlockLayerInfo(__p0) \ 251 LP1NR(138, UnlockLayerInfo, \ 252 struct Layer_Info *, __p0, a0, \ 253 , LAYERS_BASE_NAME, 0, 0, 0, 0, 0, 0) 254 255 256 #define MoveLayerInFrontOf(__p0, __p1) \ 257 LP2(168, LONG , MoveLayerInFrontOf, \ 258 struct Layer *, __p0, a0, \ 259 struct Layer *, __p1, a1, \ 260 , LAYERS_BASE_NAME, 0, 0, 0, 0, 0, 0) 261 262 #define CreateBehindLayer(__p0, __p1, __p2, __p3, __p4, __p5, __p6, __p7) \ 263 LP8(42, struct Layer *, CreateBehindLayer, \ 264 struct Layer_Info *, __p0, a0, \ 265 struct BitMap *, __p1, a1, \ 266 LONG , __p2, d0, \ 267 LONG , __p3, d1, \ 268 LONG , __p4, d2, \ 269 LONG , __p5, d3, \ 270 LONG , __p6, d4, \ 271 struct BitMap *, __p7, a2, \ 272 , LAYERS_BASE_NAME, 0, 0, 0, 0, 0, 0) 273 274 #define BehindLayer(__p0, __p1) \ 275 LP2(54, LONG , BehindLayer, \ 276 LONG , __p0, a0, \ 277 struct Layer *, __p1, a1, \ 278 , LAYERS_BASE_NAME, 0, 0, 0, 0, 0, 0) 279 280 #define InstallLayerHook(__p0, __p1) \ 281 LP2(198, struct Hook *, InstallLayerHook, \ 282 struct Layer *, __p0, a0, \ 283 struct Hook *, __p1, a1, \ 284 , LAYERS_BASE_NAME, 0, 0, 0, 0, 0, 0) 285 286 #define CreateUpfrontHookLayer(__p0, __p1, __p2, __p3, __p4, __p5, __p6, __p7, __p8) \ 287 LP9(186, struct Layer *, CreateUpfrontHookLayer, \ 288 struct Layer_Info *, __p0, a0, \ 289 struct BitMap *, __p1, a1, \ 290 LONG , __p2, d0, \ 291 LONG , __p3, d1, \ 292 LONG , __p4, d2, \ 293 LONG , __p5, d3, \ 294 LONG , __p6, d4, \ 295 struct Hook *, __p7, a3, \ 296 struct BitMap *, __p8, a2, \ 297 , LAYERS_BASE_NAME, 0, 0, 0, 0, 0, 0) 298 299 #define ThinLayerInfo(__p0) \ 300 LP1NR(162, ThinLayerInfo, \ 301 struct Layer_Info *, __p0, a0, \ 302 , LAYERS_BASE_NAME, 0, 0, 0, 0, 0, 0) 303 304 #if defined(USE_INLINE_STDARG) && !defined(__STRICT_ANSI__) 305 306 #include <stdarg.h> 307 308 309 #define RenderLayerInfoTags(__p0, ...) \ 310 ({ULONG _tags[] = { __VA_ARGS__ }; \ 311 RenderLayerInfoTagList(__p0, (struct TagItem *)_tags);}) 312 313 #endif 314 315 #endif /* !_PPCINLINE_LAYERS_H */