home *** CD-ROM | disk | FTP | other *** search
/ AMIGA PD 1 / AMIGA-PD-1.iso / Programme_zum_Heft / Programmieren / Kurztests / ACE / include / intuition.h < prev    next >
C/C++ Source or Header  |  1994-10-23  |  4KB  |  169 lines

  1. { Intuition STRUCTS and CONSTs.
  2.  
  3.   Date: 13th,24th January 1993,
  4.     12th December 1993,
  5.     17th July 1994,
  6.     2nd August 1994 }
  7.  
  8. #include <stddef.h>
  9.  
  10. struct Border
  11.   SHORTINT  LeftEdge
  12.   SHORTINT  TopEdge
  13.   BYTE        FrontPen
  14.   BYTE        BackPen
  15.   BYTE        DrawMode
  16.   BYTE        Count
  17.   LONGINT   XY
  18.   LONGINT   NextBorder 
  19. end struct
  20.  
  21. struct IntuiText
  22.   BYTE         FrontPen
  23.   BYTE         BackPen
  24.   BYTE         DrawMode
  25.   BYTE         KludgeFill00
  26.   SHORTINT  LeftEdge
  27.   SHORTINT  TopEdge
  28.   LONGINT   ITextFont 
  29.   LONGINT   IText
  30.   LONGINT   NextText
  31. end struct
  32.  
  33. struct IntuiGadget
  34.   LONGINT   NextIntuiGadget
  35.   SHORTINT  LeftEdge
  36.   SHORTINT  TopEdge
  37.   SHORTINT  Wdth
  38.   SHORTINT  Height
  39.   SHORTINT  Flags
  40.   SHORTINT  Activation
  41.   SHORTINT  IntuiGadgetType
  42.   LONGINT   IntuiGadgetRender
  43.   LONGINT   SelectRender
  44.   LONGINT   IntuiGadgetText
  45.   LONGINT   MutualExclude
  46.   LONGINT   SpecialInfo
  47.   SHORTINT  IntuiGadgetID
  48.   LONGINT   UserData    
  49. end struct
  50.  
  51. struct IntuiMessage
  52.   STRING    ExecMessage SIZE 20  
  53.   LONGINT   Class
  54.   SHORTINT  Code
  55.   SHORTINT  Qualifier
  56.   LONGINT   IAddress
  57.   SHORTINT  MouseX
  58.   SHORTINT  MouseY
  59.   LONGINT   Seconds
  60.   LONGINT   Micros
  61.   LONGINT   IDCMPWindow
  62.   LONGINT   SpecialLink
  63. end struct
  64.  
  65. struct ScreenStruct
  66.    LONGINT  NextScreen '*Screen
  67.    LONGINT  FirstWindow '*Window
  68.    SHORTINT LeftEdge
  69.    SHORTINT TopEdge
  70.    SHORTINT xWidth
  71.    SHORTINT Height
  72.    SHORTINT MouseY
  73.    SHORTINT MouseX
  74.    SHORTINT Flags
  75.    LONGINT  Title '*
  76.    LONGINT  DefaultTitle '*
  77.    BYTE     BarHeight
  78.    BYTE     BarVBorder
  79.    BYTE     BarHBorder
  80.    BYTE     MenuVBorder
  81.    BYTE     MenuHBorder
  82.    BYTE     WBorTop
  83.    BYTE     WBorLeft
  84.    BYTE     WBorRight
  85.    BYTE     WBorBottom
  86.    BYTE        KludgeFill00
  87.    LONGINT  xFont '*
  88.    STRING   ViewPort   SIZE 40  'struct
  89.    STRING   RastPort   SIZE 100 'struct
  90.    STRING   BitMap     SIZE 40  'struct
  91.    STRING   Layer_Info SIZE 102 'struct
  92.    LONGINT  FirstGadget '*Gadget
  93.    BYTE     DetailPen
  94.    BYTE     BlockPen
  95.    SHORTINT SaveColor0
  96.    LONGINT  BarLayer '*
  97.    LONGINT  ExtData '*
  98.    LONGINT  UserData '*
  99. end struct
  100.  
  101. struct WindowStruct
  102.    LONGINT  NextWindow '*Window
  103.    SHORTINT LeftEdge
  104.    SHORTINT TopEdge
  105.    SHORTINT xWidth
  106.    SHORTINT Height
  107.    SHORTINT MouseY
  108.    SHORTINT MouseX
  109.    SHORTINT MinWidth
  110.    SHORTINT MinHeight
  111.    SHORTINT MaxWidth
  112.    SHORTINT MaxHeight
  113.    LONGINT  Flags
  114.    LONGINT  MenuStrip '*Menu
  115.    LONGINT  Title '*
  116.    LONGINT  FirstRequest '*
  117.    LONGINT  DMRequest '*
  118.    SHORTINT ReqCount
  119.    LONGINT  WScreen '*Screen
  120.    LONGINT  RPort '*RastPort
  121.    BYTE     BorderLeft
  122.    BYTE     BorderTop
  123.    BYTE     BorderRight
  124.    BYTE     BorderBottom
  125.    LONGINT  BorderRPort '*RastPort
  126.    LONGINT  FirstGadget '*Gadget
  127.    LONGINT  Parent '*Window
  128.    LONGINT  Descendant '*Window
  129.    LONGINT  Pointer '*
  130.    BYTE     PtrHeight
  131.    BYTE     PtrWidth
  132.    BYTE     XOffset
  133.    BYTE     YOffset
  134.    LONGINT  IDCMPFlags
  135.    LONGINT  UserPort '*
  136.    LONGINT  WindowPort '*
  137.    LONGINT  MessageKey '*
  138.    BYTE     DetailPen
  139.    BYTE     BlockPen
  140.    LONGINT  CheckMark '*
  141.    LONGINT  ScreenTitle '*
  142.    SHORTINT GZZMouseX
  143.    SHORTINT GZZMouseY
  144.    SHORTINT GZZWidth
  145.    SHORTINT GZZHeight
  146.    LONGINT  ExtData '*
  147.    LONGINT  UserData '*
  148.    LONGINT  WLayer '*
  149.    LONGINT  IFont '*
  150. end struct
  151.  
  152. '..draw modes
  153. const JAM1 = 0&
  154. const JAM2 = 1&
  155. const COMPLEMENT = 2&
  156. const INVERSVID  = 4&
  157.  
  158. '..gadgets
  159. const GADGHCOMP  = 0&
  160. const RELVERIFY  = 1&
  161. const BOOLGADGET = 1&
  162.  
  163. '..IDCMP
  164. const GADGETDOWN = 32&
  165. const GADGETUP   = 64&
  166. const CLOSEWINDOW = 512&
  167. const VANILLAKEY = 2097152&
  168. const INTUITICKS = 4194304&
  169.