Import the current wip animation datatype and subclasses. further development will...
[AROS.git] / workbench / classes / datatypes / 8svx / methods.h
blob359f98310458360515cad0dd6bd7dd18c450587f
1 /*
2 Copyright © 1995-2005, The AROS Development Team. All rights reserved.
3 $Id$
4 */
6 #include <intuition/imageclass.h>
7 #include <intuition/icclass.h>
8 #include <intuition/gadgetclass.h>
9 #ifndef __AROS__
10 #include <intuition/pointerclass.h>
11 #endif /* __AROS__ */
13 #include <datatypes/datatypesclass.h>
14 #include <datatypes/pictureclass.h>
16 #include "debug.h"
18 #ifdef MYDEBUG
19 const IPTR KnownMethods[] =
21 OM_Dummy,
22 OM_NEW,
23 OM_DISPOSE,
24 OM_SET,
25 OM_GET,
26 OM_ADDTAIL,
27 OM_REMOVE,
28 OM_NOTIFY,
29 OM_UPDATE,
30 OM_ADDMEMBER,
31 OM_REMMEMBER,
32 GM_HITTEST,
33 GM_RENDER,
34 GM_GOACTIVE,
35 GM_HANDLEINPUT,
36 GM_GOINACTIVE,
37 GM_HELPTEST,
38 GM_LAYOUT,
39 DTM_Dummy,
40 DTM_FRAMEBOX,
41 DTM_PROCLAYOUT,
42 DTM_ASYNCLAYOUT,
43 DTM_REMOVEDTOBJECT,
44 DTM_SELECT,
45 DTM_CLEARSELECTED,
46 DTM_COPY,
47 DTM_PRINT,
48 DTM_ABORTPRINT,
49 DTM_NEWMEMBER,
50 DTM_DISPOSEMEMBER,
51 DTM_GOTO,
52 DTM_TRIGGER,
53 DTM_OBTAINDRAWINFO,
54 DTM_DRAW,
55 DTM_RELEASEDRAWINFO,
56 DTM_WRITE,
57 ICM_Dummy,
58 ICM_SETLOOP,
59 ICM_CLEARLOOP,
60 ICM_CHECKLOOP,
61 IM_DRAW,
62 IM_HITTEST,
63 IM_ERASE,
64 IM_MOVE,
65 IM_DRAWFRAME,
66 IM_FRAMEBOX,
67 IM_HITFRAME,
68 IM_ERASEFRAME
71 const char *MethodNames[] =
73 "OM_Dummy",
74 "OM_NEW",
75 "OM_DISPOSE",
76 "OM_SET",
77 "OM_GET",
78 "OM_ADDTAIL",
79 "OM_REMOVE",
80 "OM_NOTIFY",
81 "OM_UPDATE",
82 "OM_ADDMEMBER",
83 "OM_REMMEMBER",
84 "GM_HITTEST",
85 "GM_RENDER",
86 "GM_GOACTIVE",
87 "GM_HANDLEINPUT",
88 "GM_GOINACTIVE",
89 "GM_HELPTEST",
90 "GM_LAYOUT",
91 "DTM_Dummy",
92 "DTM_FRAMEBOX",
93 "DTM_PROCLAYOUT",
94 "DTM_ASYNCLAYOUT",
95 "DTM_REMOVEDTOBJECT",
96 "DTM_SELECT",
97 "DTM_CLEARSELECTED",
98 "DTM_COPY",
99 "DTM_PRINT",
100 "DTM_ABORTPRINT",
101 "DTM_NEWMEMBER",
102 "DTM_DISPOSEMEMBER",
103 "DTM_GOTO",
104 "DTM_TRIGGER",
105 "DTM_OBTAINDRAWINFO",
106 "DTM_DRAW",
107 "DTM_RELEASEDRAWINFO",
108 "DTM_WRITE",
109 "ICM_Dummy",
110 "ICM_SETLOOP",
111 "ICM_CLEARLOOP",
112 "ICM_CHECKLOOP",
113 "IM_DRAW",
114 "IM_HITTEST",
115 "IM_ERASE",
116 "IM_MOVE",
117 "IM_DRAWFRAME",
118 "IM_FRAMEBOX",
119 "IM_HITFRAME",
120 "IM_ERASEFRAME"
123 const int NumMethods = 48;
125 /*---*/
127 const IPTR KnownAttribs[] =
129 DTA_Dummy,
130 DTA_TextAttr,
131 DTA_TopVert,
132 DTA_VisibleVert,
133 DTA_TotalVert,
134 DTA_VertUnit,
135 DTA_TopHoriz,
136 DTA_VisibleHoriz,
137 DTA_TotalHoriz,
138 DTA_HorizUnit,
139 DTA_NodeName,
140 DTA_Title,
141 DTA_TriggerMethods,
142 DTA_Data,
143 DTA_TextFont,
144 DTA_Methods,
145 DTA_PrinterStatus,
146 DTA_PrinterProc,
147 DTA_LayoutProc,
148 DTA_Busy,
149 DTA_Sync,
150 DTA_BaseName,
151 DTA_GroupID,
152 DTA_ErrorLevel,
153 DTA_ErrorNumber,
154 DTA_ErrorString,
155 DTA_Conductor,
156 DTA_ControlPanel,
157 DTA_Immediate,
158 DTA_Repeat,
159 DTA_Name,
160 DTA_SourceType,
161 DTA_Handle,
162 DTA_DataType,
163 DTA_Domain,
164 #ifndef __AROS__
165 DTA_Left,
166 DTA_Top,
167 DTA_Width,
168 DTA_Height,
169 #endif /* __AROS__ */
170 DTA_ObjName,
171 DTA_ObjAuthor,
172 DTA_ObjAnnotation,
173 DTA_ObjCopyright,
174 DTA_ObjVersion,
175 DTA_ObjectID,
176 DTA_UserData,
177 DTA_FrameInfo,
178 #ifndef __AROS__
179 DTA_RelRight,
180 DTA_RelBottom,
181 DTA_RelWidth,
182 DTA_RelHeight,
183 #endif /* __AROS__ */
184 DTA_SelectDomain,
185 DTA_TotalPVert,
186 DTA_TotalPHoriz,
187 DTA_NominalVert,
188 DTA_NominalHoriz,
189 DTA_DestCols,
190 DTA_DestRows,
191 DTA_Special,
192 DTA_RastPort,
193 DTA_ARexxPortName,
194 PDTA_ModeID,
195 PDTA_BitMapHeader,
196 PDTA_BitMap,
197 PDTA_ColorRegisters,
198 PDTA_CRegs,
199 PDTA_GRegs,
200 PDTA_ColorTable,
201 PDTA_ColorTable2,
202 PDTA_Allocated,
203 PDTA_NumColors,
204 PDTA_NumAlloc,
205 PDTA_Remap,
206 PDTA_Screen,
207 PDTA_FreeSourceBitMap,
208 PDTA_Grab,
209 PDTA_DestBitMap,
210 PDTA_ClassBitMap,
211 PDTA_NumSparse,
212 PDTA_SparseTable,
213 GA_Dummy,
214 GA_Left,
215 GA_RelRight,
216 GA_Top,
217 GA_RelBottom,
218 GA_Width,
219 GA_RelWidth,
220 GA_Height,
221 GA_RelHeight,
222 GA_Text,
223 GA_Image,
224 GA_Border,
225 GA_SelectRender,
226 GA_Highlight,
227 GA_Disabled,
228 GA_GZZGadget,
229 GA_ID,
230 GA_UserData,
231 GA_SpecialInfo,
232 GA_Selected,
233 GA_EndGadget,
234 GA_Immediate,
235 GA_RelVerify,
236 GA_FollowMouse,
237 GA_RightBorder,
238 GA_LeftBorder,
239 GA_TopBorder,
240 GA_BottomBorder,
241 GA_ToggleSelect,
242 GA_SysGadget,
243 GA_SysGType,
244 GA_Previous,
245 GA_Next,
246 GA_DrawInfo,
247 GA_IntuiText,
248 GA_LabelImage,
249 GA_TabCycle,
250 GA_GadgetHelp,
251 GA_Bounds,
252 GA_RelSpecial,
253 PGA_Dummy,
254 PGA_Freedom,
255 PGA_Borderless,
256 PGA_HorizPot,
257 PGA_HorizBody,
258 PGA_VertPot,
259 PGA_VertBody,
260 PGA_Total,
261 PGA_Visible,
262 PGA_Top,
263 PGA_NewLook,
264 STRINGA_Dummy,
265 STRINGA_MaxChars,
266 STRINGA_Buffer,
267 STRINGA_UndoBuffer,
268 STRINGA_WorkBuffer,
269 STRINGA_BufferPos,
270 STRINGA_DispPos,
271 STRINGA_AltKeyMap,
272 STRINGA_Font,
273 STRINGA_Pens,
274 STRINGA_ActivePens,
275 STRINGA_EditHook,
276 STRINGA_EditModes,
277 STRINGA_ReplaceMode,
278 STRINGA_FixedFieldMode,
279 STRINGA_NoFilterMode,
280 STRINGA_Justification,
281 STRINGA_LongVal,
282 STRINGA_TextVal,
283 STRINGA_ExitHelp,
284 LAYOUTA_Dummy,
285 LAYOUTA_LayoutObj,
286 LAYOUTA_Spacing,
287 LAYOUTA_Orientation,
288 ICA_Dummy,
289 ICA_TARGET,
290 ICA_MAP,
291 ICSPECIAL_CODE,
292 ICTARGET_IDCMP,
293 IA_Dummy,
294 IA_Left,
295 IA_Top,
296 IA_Width,
297 IA_Height,
298 IA_FGPen,
299 IA_BGPen,
300 IA_Data,
301 IA_LineWidth,
302 IA_Pens,
303 IA_Resolution,
304 IA_APattern,
305 IA_APatSize,
306 IA_Mode,
307 IA_Font,
308 IA_Outline,
309 IA_Recessed,
310 IA_DoubleEmboss,
311 IA_EdgesOnly,
312 SYSIA_Size,
313 SYSIA_Depth,
314 SYSIA_Which,
315 SYSIA_DrawInfo,
316 #ifndef __AROS__
317 SYSIA_Pens,
318 IA_ShadowPen,
319 IA_HighlightPen,
320 #endif /* __AROS__ */
321 SYSIA_ReferenceFont,
322 IA_SupportsDisable,
323 IA_FrameType,
324 #ifndef __AROS__
325 POINTERA_Dummy,
326 POINTERA_BitMap,
327 POINTERA_XOffset,
328 POINTERA_YOffset,
329 POINTERA_WordWidth,
330 POINTERA_XResolution,
331 POINTERA_YResolution
332 #endif /* __AROS__ */
335 const char *AttribNames[] =
337 "DTA_Dummy",
338 "DTA_TextAttr",
339 "DTA_TopVert",
340 "DTA_VisibleVert",
341 "DTA_TotalVert",
342 "DTA_VertUnit",
343 "DTA_TopHoriz",
344 "DTA_VisibleHoriz",
345 "DTA_TotalHoriz",
346 "DTA_HorizUnit",
347 "DTA_NodeName",
348 "DTA_Title",
349 "DTA_TriggerMethods",
350 "DTA_Data",
351 "DTA_TextFont",
352 "DTA_Methods",
353 "DTA_PrinterStatus",
354 "DTA_PrinterProc",
355 "DTA_LayoutProc",
356 "DTA_Busy",
357 "DTA_Sync",
358 "DTA_BaseName",
359 "DTA_GroupID",
360 "DTA_ErrorLevel",
361 "DTA_ErrorNumber",
362 "DTA_ErrorString",
363 "DTA_Conductor",
364 "DTA_ControlPanel",
365 "DTA_Immediate",
366 "DTA_Repeat",
367 "DTA_Name",
368 "DTA_SourceType",
369 "DTA_Handle",
370 "DTA_DataType",
371 "DTA_Domain",
372 #ifndef __AROS__
373 "DTA_Left",
374 "DTA_Top",
375 "DTA_Width",
376 "DTA_Height",
377 #endif /* __AROS__ */
378 "DTA_ObjName",
379 "DTA_ObjAuthor",
380 "DTA_ObjAnnotation",
381 "DTA_ObjCopyright",
382 "DTA_ObjVersion",
383 "DTA_ObjectID",
384 "DTA_UserData",
385 "DTA_FrameInfo",
386 #ifndef __AROS__
387 "DTA_RelRight",
388 "DTA_RelBottom",
389 "DTA_RelWidth",
390 "DTA_RelHeight",
391 #endif /* __AROS__ */
392 "DTA_SelectDomain",
393 "DTA_TotalPVert",
394 "DTA_TotalPHoriz",
395 "DTA_NominalVert",
396 "DTA_NominalHoriz",
397 "DTA_DestCols",
398 "DTA_DestRows",
399 "DTA_Special",
400 "DTA_RastPort",
401 "DTA_ARexxPortName",
402 "PDTA_ModeID",
403 "PDTA_BitMapHeader",
404 "PDTA_BitMap",
405 "PDTA_ColorRegisters",
406 "PDTA_CRegs",
407 "PDTA_GRegs",
408 "PDTA_ColorTable",
409 "PDTA_ColorTable2",
410 "PDTA_Allocated",
411 "PDTA_NumColors",
412 "PDTA_NumAlloc",
413 "PDTA_Remap",
414 "PDTA_Screen",
415 "PDTA_FreeSourceBitMap",
416 "PDTA_Grab",
417 "PDTA_DestBitMap",
418 "PDTA_ClassBitMap",
419 "PDTA_NumSparse",
420 "PDTA_SparseTable",
421 "GA_Dummy",
422 "GA_Left",
423 "GA_RelRight",
424 "GA_Top",
425 "GA_RelBottom",
426 "GA_Width",
427 "GA_RelWidth",
428 "GA_Height",
429 "GA_RelHeight",
430 "GA_Text",
431 "GA_Image",
432 "GA_Border",
433 "GA_SelectRender",
434 "GA_Highlight",
435 "GA_Disabled",
436 "GA_GZZGadget",
437 "GA_ID",
438 "GA_UserData",
439 "GA_SpecialInfo",
440 "GA_Selected",
441 "GA_EndGadget",
442 "GA_Immediate",
443 "GA_RelVerify",
444 "GA_FollowMouse",
445 "GA_RightBorder",
446 "GA_LeftBorder",
447 "GA_TopBorder",
448 "GA_BottomBorder",
449 "GA_ToggleSelect",
450 "GA_SysGadget",
451 "GA_SysGType",
452 "GA_Previous",
453 "GA_Next",
454 "GA_DrawInfo",
455 "GA_IntuiText",
456 "GA_LabelImage",
457 "GA_TabCycle",
458 "GA_GadgetHelp",
459 "GA_Bounds",
460 "GA_RelSpecial",
461 "PGA_Dummy",
462 "PGA_Freedom",
463 "PGA_Borderless",
464 "PGA_HorizPot",
465 "PGA_HorizBody",
466 "PGA_VertPot",
467 "PGA_VertBody",
468 "PGA_Total",
469 "PGA_Visible",
470 "PGA_Top",
471 "PGA_NewLook",
472 "STRINGA_Dummy",
473 "STRINGA_MaxChars",
474 "STRINGA_Buffer",
475 "STRINGA_UndoBuffer",
476 "STRINGA_WorkBuffer",
477 "STRINGA_BufferPos",
478 "STRINGA_DispPos",
479 "STRINGA_AltKeyMap",
480 "STRINGA_Font",
481 "STRINGA_Pens",
482 "STRINGA_ActivePens",
483 "STRINGA_EditHook",
484 "STRINGA_EditModes",
485 "STRINGA_ReplaceMode",
486 "STRINGA_FixedFieldMode",
487 "STRINGA_NoFilterMode",
488 "STRINGA_Justification",
489 "STRINGA_LongVal",
490 "STRINGA_TextVal",
491 "STRINGA_ExitHelp",
492 "LAYOUTA_Dummy",
493 "LAYOUTA_LayoutObj",
494 "LAYOUTA_Spacing",
495 "LAYOUTA_Orientation",
496 "ICA_Dummy",
497 "ICA_TARGET",
498 "ICA_MAP",
499 "ICSPECIAL_CODE",
500 "ICTARGET_IDCMP",
501 "IA_Dummy",
502 "IA_Left",
503 "IA_Top",
504 "IA_Width",
505 "IA_Height",
506 "IA_FGPen",
507 "IA_BGPen",
508 "IA_Data",
509 "IA_LineWidth",
510 "IA_Pens",
511 "IA_Resolution",
512 "IA_APattern",
513 "IA_APatSize",
514 "IA_Mode",
515 "IA_Font",
516 "IA_Outline",
517 "IA_Recessed",
518 "IA_DoubleEmboss",
519 "IA_EdgesOnly",
520 "SYSIA_Size",
521 "SYSIA_Depth",
522 "SYSIA_Which",
523 "SYSIA_DrawInfo",
524 #ifndef __AROS__
525 "SYSIA_Pens",
526 "IA_ShadowPen",
527 "IA_HighlightPen",
528 #endif /* __AROS__ */
529 "SYSIA_ReferenceFont",
530 "IA_SupportsDisable",
531 "IA_FrameType",
532 #ifndef __AROS__
533 "POINTERA_Dummy",
534 "POINTERA_BitMap",
535 "POINTERA_XOffset",
536 "POINTERA_YOffset",
537 "POINTERA_WordWidth",
538 "POINTERA_XResolution",
539 "POINTERA_YResolution"
540 #endif /* __AROS__ */
543 #ifdef __AROS__
544 const int NumAttribs = 178;
545 #else /* __AROS__ */
546 const int NumAttribs = 196;
547 #endif /* __AROS__ */
549 #endif /* MYDEBUG */