1 #ifndef INTUITION_INTUIMESSAGECLASS_H 2 #define INTUITION_INTUIMESSAGECLASS_H 3 4 /* 5 intuition gadget class definitions (V51) 6 7 Copyright © 2008 The MorphOS Development Team, All Rights Reserved. 8 */ 9 10 #ifndef INTUITION_INTUITION_H 11 # include <intuition/intuition.h> 12 #endif 13 14 #ifndef UTILITY_TAGITEM_H 15 # include <utility/tagitem.h> 16 #endif 17 18 /* 19 ** Introduced in intuition.library 51. All attributes are *G*. Pointers valid 20 ** until the message is replied. 21 ** Every struct IntuiMessage * can be treated as an Object * 22 */ 23 24 #define IMSGA_Dummy (TAG_USER + 0x60000) 25 #define IMSGA_Class (IMSGA_Dummy + 1) /* ULONG */ 26 #define IMSGA_Code (IMSGA_Dummy + 3) /* ULONG */ 27 #define IMSGA_Qualifier (IMSGA_Dummy + 4) /* ULONG */ 28 #define IMSGA_IAddress (IMSGA_Dummy + 5) /* ULONG */ 29 #define IMSGA_MouseX (IMSGA_Dummy + 6) /* LONG */ 30 #define IMSGA_MouseY (IMSGA_Dummy + 7) /* LONG */ 31 #define IMSGA_Seconds (IMSGA_Dummy + 8) /* ULONG */ 32 #define IMSGA_Micros (IMSGA_Dummy + 9) /* ULONG */ 33 #define IMSGA_IDCMPWindow (IMSGA_Dummy + 10) /* struct Window * */ 34 #define IMSGA_RawMouseX (IMSGA_Dummy + 11) /* LONG, raw, unaccelerated delta */ 35 #define IMSGA_RawMouseY (IMSGA_Dummy + 12) /* LONG */ 36 #define IMSGA_UCS4 (IMSGA_Dummy + 13) /* ULONG, UCS4 */ 37 38 39 #define IMSGM_NewCopy 0x600 40 /* Allocates a new copy of the IntuiMessage in question. You may use the 41 ** object after the original object has been replied. Delete the copy with 42 ** the DisposeObject() call. Returns Object * */ 43 44 #endif /* INTUITION_INTUIMESSAGECLASS_H */