home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Misc / DC-POS24.LZX / pOS / Guide.lzx / Guide / pIntui / IntuDrag.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-12-08  |  2.8 KB  |  104 lines

  1. @DATABASE "pIntui/IntuDrag.h"
  2. @MASTER   "Work2:AD/IInc/pIntui/IntuDrag.h"
  3. @REMARK   This file was created by ADtoHT 2.0 on 08-Dez-96  14:43:13
  4. @REMARK   Do not edit
  5. @REMARK   ADtoHT is © 1993-1995 Christian Stieber
  6.  
  7. @NODE MAIN "pIntui/IntuDrag.h"
  8. @TOC "__pOS_Dev.guide/MAIN"
  9.  
  10. @{"pIntui/IntuDrag.h" LINK File}
  11.  
  12.  
  13. @{b}Structures@{ub}
  14.  
  15. @{"pOS_DragList" LINK "pIntui/IntuDrag.h/File" 47}
  16.  
  17. @ENDNODE
  18. @NODE File "pIntui/IntuDrag.h"
  19. #ifndef __INC_POS_PINTUI_INTUDRAG_H
  20. #define __INC_POS_PINTUI_INTUDRAG_H
  21. /*******************************************************************
  22.  $CRT 30 Jul 1996 : hb
  23.  
  24.  $AUT Holger Burkarth
  25.  $DAT >>IntuDrag.h<<   02 Nov 1996    11:57:54 - (C) ProDAD
  26. *******************************************************************/
  27. #ifndef __INC_POS_PEXEC_LIST_H
  28. #include "p:pExec/List.h"
  29. #endif
  30. #ifndef __INC_POS_PLAYER_RECT_H
  31. #include "p:pLayer/Rect.h"
  32. #endif
  33.  
  34. @{"struct pOS_IntuiObj" LINK "pIntui/IObj.h/File" 15};
  35. struct pOS_GfxMap;
  36. @{"struct pOS_RastPort" LINK "pGFX/RastPort.h/File" 21};
  37. struct pOS_DrawInfo;
  38. @{"struct pOS_GadgetDrag" LINK "pGadget/Drag.h/File" 17};
  39.  
  40.  
  41. /*----------------------------------
  42. -----------------------------------*/
  43. struct pOS_Drag
  44. {
  45.   pOS_ExNode      dg_Node;
  46.  
  47.   APTR            dg_Root;
  48.   pOS_IntuiObj   *dg_Render;
  49.   ULONG           dg_Flags;        /* (enum pOS_DragFlags) */
  50.   ULONG           dg_UserData[2];
  51.  
  52. /*-------- private ----------------*/
  53.  
  54.   pOS_IBox        dg_Box;
  55.   pOS_GfxMap     *dg_GfxMap;
  56.   pOS_RastPort   *dg_DrawRastPort; /* Screen RastPort */
  57.   pOS_GadgetDrag *dg_GadDrag;
  58. };
  59.  
  60.  
  61.  
  62.  
  63. /*----------------------------------
  64. -----------------------------------*/
  65. struct pOS_DragList
  66. {
  67.         pOS_ExList    dl_List;
  68.         pOS_IBox      dl_MaxBox;   /* maximale Ausdehnung der Ikone */
  69.         pOS_Rectangle dl_ClipBox;  /* nur innerhalb dieser Box zeichnen */
  70.         pOS_Point     dl_HotSpot;  /* Greifpunkt */
  71.         ULONG         dl_NewTicks; /* Ticks-Counter (neuer Stand) */
  72.         ULONG         dl_OldTicks; /* Ticks-Counter (zuletzt gezeichnet) */
  73.   const pOS_DrawInfo *dl_DrawInfo;
  74.         ULONG         dl_Flags;    /* (enum pOS_DragListFlags) */
  75.         pOS_RastPort *dl_RastPort;
  76.  
  77.         pOS_RastPort *dl_TempRP;
  78.         pOS_GfxMap   *dl_TempGfx;
  79.  
  80.   UBYTE dl_Reserved[64];
  81. };
  82.  
  83.  
  84.  
  85. enum pOS_DragFlags /** dg_Flags **/
  86. {
  87.   DRAGF_RenderDT        = 0x0001,       /* DtType über dg_Render ermitteln */
  88.   DRAGF_DelRender       = 0x0002,       /* dg_Render wird bei @{"pOS_DeleteDrag()" LINK "pIntuiD/pOS_DeleteDrag"} autom. gelöscht. */
  89.   DRAGF_UseTicks        = 0x0004,       /* (internal) IObj ist animiert */
  90. };
  91.  
  92.  
  93. enum pOS_DragListFlags /** dl_Flags **/
  94. {
  95.   DGLSTF_IsGfxSave      = 0x0001,       /* Hintergrund ist gesichert */
  96.   DGLSTF_IsMoved        = 0x0002,       /* (internal) Position hat sich geändert */
  97.   DGLSTF_PrvLayer       = 0x0004,       /* (internal) privater Layer */
  98. };
  99.  
  100.  
  101.  
  102. #endif
  103. @ENDNODE
  104.