home *** CD-ROM | disk | FTP | other *** search
/ Frozen Fish 1: Amiga / FrozenFish-Apr94.iso / bbs / alib / d9xx / d969 / ace.lha / ACE / ACE-2.0.lha / MAIN.lha / include / intuition.h < prev    next >
C/C++ Source or Header  |  1994-01-11  |  3KB  |  167 lines

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