1 #ifndef INTUITION_INTUITIONBASE_H 2 #define INTUITION_INTUITIONBASE_H 3 4 /* 5 intuition.library include 6 7 Copyright © 2002-2008 The MorphOS Development Team, All Rights Reserved. 8 */ 9 10 #ifndef EXEC_TYPES_H 11 # include <exec/types.h> 12 #endif 13 14 #ifndef EXEC_LIBRARIES_H 15 # include <exec/libraries.h> 16 #endif 17 18 #ifndef INTUITION_INTUITION_H 19 # include <intuition/intuition.h> 20 #endif 21 22 #ifndef EXEC_INTERRUPTS_H 23 # include <exec/interrupts.h> 24 #endif 25 26 #pragma pack(2) 27 28 29 #define DMODECOUNT 0x0002 30 #define HIRESPICK 0x0000 31 #define LOWRESPICK 0x0001 32 33 #define EVENTMAX 10 34 35 #define RESCOUNT 2 36 #define HIRESGADGET 0 37 #define LOWRESGADGET 1 38 39 #define GADGETCOUNT 8 40 #define UPFRONTGADGET 0 41 #define DOWNBACKGADGET 1 42 #define SIZEGADGET 2 43 #define CLOSEGADGET 3 44 #define DRAGGADGET 4 45 #define SUPFRONTGADGET 5 46 #define SDOWNBACKGADGET 6 47 #define SDRAGGADGET 7 48 49 50 struct IntuitionBase 51 { 52 struct Library LibNode; 53 54 struct View ViewLord; 55 56 struct Window *ActiveWindow; 57 struct Screen *ActiveScreen; 58 59 struct Screen *FirstScreen; 60 61 ULONG Flags; 62 WORD MouseY, MouseX; 63 64 ULONG Seconds; 65 ULONG Micros; 66 }; 67 68 69 #pragma pack() 70 71 #endif /* INTUITION_INTUITIONBASE_H */