home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Programming / C / BC_DICE2.DMS / in.adf / INCLUDE / intuition / intuitionbase.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-01-10  |  1.2 KB  |  84 lines

  1. #ifndef INTUITION_INTUITIONBASE_H
  2. #define INTUITION_INTUITIONBASE_H 1
  3. /*
  4. ** $Filename: intuition/intuitionbase.h $
  5. ** $Release: 2.04 Includes, V37.4 $
  6. ** $Revision: 36.19 $
  7. ** $Date: 90/07/12 $
  8. **
  9. ** Public part of IntuitionBase structure and supporting structures
  10. **
  11. ** (C) Copyright 1985-1991 Commodore-Amiga, Inc.
  12. ** All Rights Reserved
  13. */
  14.  
  15. #ifndef EXEC_TYPES_H
  16. #include <exec/types.h>
  17. #endif
  18.  
  19. #ifndef EXEC_LIBRARIES_H
  20. #include <exec/libraries.h>
  21. #endif
  22.  
  23. #ifndef INTUITION_INTUITION_H
  24. #include <intuition/intuition.h>
  25. #endif
  26.  
  27.  
  28. #ifndef EXEC_INTERRUPTS_H
  29. #include <exec/interrupts.h>
  30. #endif
  31.  
  32.  
  33. #define DMODECOUNT 0x0002 
  34. #define HIRESPICK 0x0000
  35. #define LOWRESPICK 0x0001
  36.  
  37. #define EVENTMAX 10 
  38.  
  39.  
  40. #define RESCOUNT 2
  41. #define HIRESGADGET 0
  42. #define LOWRESGADGET 1
  43.  
  44. #define GADGETCOUNT 8
  45. #define UPFRONTGADGET 0
  46. #define DOWNBACKGADGET 1
  47. #define SIZEGADGET 2
  48. #define CLOSEGADGET 3
  49. #define DRAGGADGET 4
  50. #define SUPFRONTGADGET 5
  51. #define SDOWNBACKGADGET 6
  52. #define SDRAGGADGET 7
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60. struct IntuitionBase
  61. {
  62.  struct Library LibNode;
  63.  
  64.  struct View ViewLord;
  65.  
  66.  struct Window *ActiveWindow;
  67.  struct Screen *ActiveScreen;
  68.  
  69.  
  70.  struct Screen *FirstScreen; 
  71.  
  72.  ULONG Flags; 
  73.  WORD MouseY, MouseX;
  74.  
  75.  
  76.  ULONG Seconds; 
  77.  ULONG Micros; 
  78.  
  79.  
  80. };
  81.  
  82. #endif
  83.  
  84.