home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Misc / DC-POS24.LZX / pOS / Guide.lzx / Guide / pIntui / OClass.h < prev    next >
Encoding:
C/C++ Source or Header  |  1997-03-11  |  4.2 KB  |  138 lines

  1. @DATABASE "pIntui/OClass.h"
  2. @MASTER   "Work2:AD/IInc/pIntui/OClass.h"
  3. @REMARK   This file was created by ADtoHT 2.0 on 11-Mär-97  13:35:11
  4. @REMARK   Do not edit
  5. @REMARK   ADtoHT is © 1993-1995 Christian Stieber
  6.  
  7. @NODE MAIN "pIntui/OClass.h"
  8. @TOC "__pOS_Dev.guide/MAIN"
  9.  
  10. @{"pIntui/OClass.h" LINK File}
  11.  
  12.  
  13. @{b}Structures@{ub}
  14.  
  15. @{"pOS_IObjectMethod" LINK "pIntui/OClass.h/File" 21}
  16.  
  17. @ENDNODE
  18. @NODE File "pIntui/OClass.h"
  19. #ifndef __INC_POS_PINTUI_OCLASS_H
  20. #define __INC_POS_PINTUI_OCLASS_H
  21. /*******************************************************************
  22.  Includes Release 24
  23.  (C) Copyright 1995-1997 proDAD
  24.      All Rights Reserved
  25.  
  26.  $AUT Holger Burkarth
  27.  $DAT >>OClass.h<<   23 Feb 1997    18:44:58 - (C) ProDAD
  28. *******************************************************************/
  29. #ifndef __INC_POS_PINTUI_ICLASS_H
  30. #include <@{"pIntui/IClass.h" LINK "pIntui/IClass.h/File"}>
  31. #endif
  32. #ifndef __INC_POS_PLAYER_RECT_H
  33. #include <@{"pLayer/Rect.h" LINK "pLayer/Rect.h/File"}>
  34. #endif
  35.  
  36.  
  37. /*----------------------------------
  38. -----------------------------------*/
  39. struct pOS_IObjectMethod
  40. {
  41.   @{"ULONG" LINK "pExec/Types.h/File" 91}  imth_Method;
  42.  
  43.   union
  44.     struct /* ICLMTH_New */
  45.             @{"ULONG" LINK "pExec/Types.h/File" 91}               *imnw_Pad;
  46.       const @{"struct pOS_TagItem" LINK "pUtil/TagItem.h/File" 19}  *imnw_Tags;
  47.     } imth_New;
  48.  
  49.     /* ICLMTH_Dispose */
  50.  
  51.  
  52.     struct /* ICLMTH_Set */
  53.       const @{"struct pOS_IClassInfo" LINK "pIntui/ICI.h/File" 18} *imst_Info;
  54.       const @{"struct pOS_TagItem" LINK "pUtil/TagItem.h/File" 19}    *imst_Tags;
  55.     } imth_Set;
  56.  
  57.  
  58.     struct /* ICLMTH_Get */
  59.             @{"ULONG" LINK "pExec/Types.h/File" 91}           imgt_ID;
  60.             @{"ULONG" LINK "pExec/Types.h/File" 91}          *imgt_Variable;
  61.     } imth_Get;
  62.  
  63.  
  64.     struct /* IOBMTH_DrawAll/Draw */
  65.       const @{"struct pOS_DrawInfo" LINK "pScreen/DrawInfo.h/File" 22}  *imdr_DrawInfo;
  66.             @{"struct pOS_RastPort" LINK "pGFX/RastPort.h/File" 18}  *imdr_RastPort;
  67.       const @{"struct pOS_Rectangle" LINK "pLayer/Rect.h/File" 17} *imdr_LayBox;   /* Layout-Box */
  68.             @{"ULONG" LINK "pExec/Types.h/File" 91}                 imdr_Mode;     /* (enum pOS_IObjectDrawMode) */
  69.             @{"ULONG" LINK "pExec/Types.h/File" 91}                 imdr_Layout;   /* (enum pOS_IObjectClassLayout) */
  70.             @{"ULONG" LINK "pExec/Types.h/File" 91}                 imdr_FrameNum; /* FrameNummer (0,1,2,...) */
  71.       const @{"struct pOS_Rectangle" LINK "pLayer/Rect.h/File" 17} *imdr_ClipBox;  /* nur innerhalb dieser Box anzeigen (darf @{"NULL" LINK "pExec/Types.h/File" 117} sein) */
  72.     } imth_Draw;
  73.  
  74.  
  75.     struct /* IOBMTH_GetIBox */
  76.       const @{"struct pOS_DrawInfo" LINK "pScreen/DrawInfo.h/File" 22}  *imgb_DrawInfo;
  77.             @{"struct pOS_RastPort" LINK "pGFX/RastPort.h/File" 18}  *imgb_RastPort;
  78.             @{"struct pOS_IBox" LINK "pLayer/Rect.h/File" 42}      *imgb_IBox;
  79.     } imth_GetIBox;
  80.  
  81.  
  82.     struct /* IOBMTH_GetObject */
  83.                @{"UBYTE" LINK "pExec/Types.h/File" 95}                  imgo_Pad[8];
  84.       @{"__ARID__" LINK "pExec/Types.h/File" 155} @{"struct pOS_DataType" LINK "pDtType/DtType.h/File" 18}   *imgo_Result;
  85.     } imth_GetObj;
  86.  
  87.   } imth_U;
  88.  
  89. };
  90.  
  91.  
  92.  
  93.  
  94. enum pOS_IObjectDrawMode
  95. {
  96.   IOBDMF_Normal=        0x0000,
  97.   IOBDMF_Selected=      0x0001,
  98.   IOBDMF_Disabled=      0x0002,
  99.   IOBDMF_Busy=          0x0004,
  100.   IOBDMF_Border=        0x0008, /* Window-Border-Gad */
  101.   IOBDMF_ActiveWindow=  0x0010, /* Window ist aktiv */
  102.   IOBDMF_Drag=          0x0020, /* Object in DragMode */
  103.   IOBDMF_Drop=          0x0040, /* Object in DropMode */
  104.  
  105.   IOBDMF_Update=        0x8000, /* vergleichbar mit GCLMTHRE_Update,
  106.                                 ** nur die Veränderung zeichnen
  107.                                 */
  108. };
  109.  
  110.  
  111.  
  112. enum pOS_IObjectClassMethods
  113. {
  114.   IOBMTH_Dummy=  0x200,
  115.   IOBMTH_DrawAll,
  116.   IOBMTH_Draw,
  117.   IOBMTH_GetIBox,
  118.   IOBMTH_GetObject,
  119. };
  120.  
  121.  
  122.  
  123. enum pOS_IObjectClassLayout
  124. {
  125.   IOBLAY_HVCenter=  0x00, /* Horiz & Vert zentiert */
  126.   IOBLAY_Left=      0x01, /*  */
  127.   IOBLAY_Right=     0x02, /*  */
  128.   IOBLAY_Top=       0x04, /*  */
  129.   IOBLAY_Bottom=    0x08, /*  */
  130.  
  131.   IOBLAY_DynWidth=  0x10, /* dynamic width => alwasy calc width, else use fix width */
  132.   IOBLAY_DynHeight= 0x20, /*  */
  133. };
  134.  
  135.  
  136. #endif
  137. @ENDNODE
  138.