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

  1. @DATABASE "pIntui/IntuMsg.h"
  2. @MASTER   "Work2:AD/IInc/pIntui/IntuMsg.h"
  3. @REMARK   This file was created by ADtoHT 2.0 on 11-Mär-97  13:35:06
  4. @REMARK   Do not edit
  5. @REMARK   ADtoHT is © 1993-1995 Christian Stieber
  6.  
  7. @NODE MAIN "pIntui/IntuMsg.h"
  8. @TOC "__pOS_Dev.guide/MAIN"
  9.  
  10. @{"pIntui/IntuMsg.h" LINK File}
  11.  
  12.  
  13. @{b}Structures@{ub}
  14.  
  15. @{"pOS_DoubleClick" LINK "pIntui/IntuMsg.h/File" 42}  @{"pOS_IntuiMessage" LINK "pIntui/IntuMsg.h/File" 23}  @{"pOS_ISMDrop" LINK "pIntui/IntuMsg.h/File" 56}
  16.  
  17. @ENDNODE
  18. @NODE File "pIntui/IntuMsg.h"
  19. #ifndef __INC_POS_PINTUI_INTUMSG_H
  20. #define __INC_POS_PINTUI_INTUMSG_H
  21. /*******************************************************************
  22.  Includes Release 24
  23.  (C) Copyright 1995-1997 proDAD
  24.      All Rights Reserved
  25.  
  26.  $AUT Holger Burkarth
  27.  $DAT >>IntuMsg.h<<   23 Feb 1997    12:36:53 - (C) ProDAD
  28. *******************************************************************/
  29. #ifndef __INC_POS_PEXEC_MSGPORT_H
  30. #include <@{"pExec/MsgPort.h" LINK "pExec/MsgPort.h/File"}>
  31. #endif
  32. #ifndef __INC_POS_DEVICE_IEVENT_H
  33. #include <@{"Device/IEvent.h" LINK "Device/IEvent.h/File"}>
  34. #endif
  35.  
  36.  
  37.  
  38. /*----------------------------------
  39.      pIntui-Message
  40. -----------------------------------*/
  41. struct pOS_IntuiMessage
  42. {
  43.   @{"struct pOS_Message" LINK "pExec/MsgPort.h/File" 41}  im_Message;
  44.   @{"ULONG" LINK "pExec/Types.h/File" 91}               im_Class;    /* (enum pOS_IntuiMessageClass) */
  45.   @{"ULONG" LINK "pExec/Types.h/File" 91}               im_Code;
  46.   @{"UWORD" LINK "pExec/Types.h/File" 93}               im_Qualifier;
  47.   @{"APTR" LINK "pExec/Types.h/File" 87}                im_IAddress;
  48.  
  49.   @{"SLONG" LINK "pExec/Types.h/File" 90} im_MouseX, im_MouseY; /* (pOS_DoubleClick*)&im_MouseX */
  50.   @{"ULONG" LINK "pExec/Types.h/File" 91} im_Seconds,im_Micros; /* (@{"struct pOS_TimeVal" LINK "Device/Timer.h/File" 36}*)&im_Seconds */
  51.  
  52.   @{"struct pOS_Window" LINK "pScreen/Window.h/File" 18}  *im_Window;
  53.   @{"APTR" LINK "pExec/Types.h/File" 87}                im_Data;
  54.  
  55. }; /* more system datas */
  56.  
  57.  
  58. /*----------------------------------
  59. -----------------------------------*/
  60. struct pOS_DoubleClick
  61. {
  62.   @{"SLONG" LINK "pExec/Types.h/File" 90} dk_MouseX, dk_MouseY;
  63.   @{"ULONG" LINK "pExec/Types.h/File" 91} dk_Seconds,dk_Micros;
  64. };
  65.  
  66.  
  67.  
  68. /*----------------------------------
  69.  im_Class   =IDCMP_DragDrop
  70.  im_Code    =IECODE_DROP_WORK
  71.  im_IAddress=(@{"struct pOS_Gadget" LINK "pGadget/Gadget.h/File" 18}*)  ( Drop-Gadget )
  72.  im_Data    =(@{"struct pOS_ISMDrop" LINK "pIntui/IntuMsg.h/File" 56}*)
  73. -----------------------------------*/
  74. struct pOS_ISMDrop
  75. {
  76.   @{"struct pOS_IEDragDrop" LINK "Device/IEvent.h/File" 210} ismd_IEDD;
  77. };
  78.  
  79.  
  80.  
  81.  
  82.  
  83. enum pOS_IntuiMessageClass /* im_Class */
  84. {
  85.   IDCMP_Abort=             0x80000000,
  86.  
  87.   IDCMP_SizeVerify=        0x00000001,
  88.   IDCMP_NewSize=           0x00000002,
  89.   IDCMP_RefreshWindow=     0x00000004,
  90.   IDCMP_MouseButtons=      0x00000008,
  91.   IDCMP_MouseMove=         0x00000010,
  92.   IDCMP_GadgetDown=        0x00000020,
  93.   IDCMP_GadgetUp=          0x00000040,
  94.   IDCMP_GadgetAbort=       0x80000040,
  95.  
  96.   IDCMP_MenuPick=          0x00000100,
  97.   IDCMP_CloseWindow=       0x00000200,
  98.   IDCMP_RawKey=            0x00000400,
  99.   IDCMP_DragDrop=          0x00000800,
  100.  
  101.   IDCMP_MenuVerify=        0x00002000,
  102.  
  103.   IDCMP_DiskInserted=      0x00008000,
  104.   IDCMP_DiskRemoved=       0x00010000,
  105.  
  106.   IDCMP_ActiveWindow=      0x00040000,
  107.   IDCMP_InactiveWindow=    0x00080000,
  108.   IDCMP_UpdateGadget=      0x00100000, /* wird erst nach GadgetDown gesenden */
  109.   IDCMP_VanillaKey=        0x00200000,
  110.   IDCMP_IntuiTicks=        0x00400000,
  111.   IDCMP_ChangeWindow=      0x02000000,
  112.   IDCMP_Help=              0x04000000,
  113.  
  114.   IDCMP_Signal=            0x80000000,
  115.  
  116.   IDCMP_StdSysMsg = IDCMP_GadgetUp | IDCMP_GadgetDown | IDCMP_GadgetAbort |
  117.                     IDCMP_RawKey   | IDCMP_VanillaKey | IDCMP_IntuiTicks  |
  118.                     IDCMP_UpdateGadget | IDCMP_ActiveWindow |
  119.                     IDCMP_InactiveWindow | IDCMP_DragDrop,
  120. };
  121.  
  122. /*\\
  123. *** NODE:
  124. ***
  125. *** When cause a message like,
  126. *** IDCMP_GadgetUp, IDCMP_GadgetDown, IDCMP_UpdateGadget, IDCMP_GadgetAbort
  127. *** the im_Code are (enum pOS_InputEventGdUpCode).
  128. \\*/
  129.  
  130. #endif
  131. @ENDNODE
  132.