1 #ifndef __Calltips_MCC_H_ 2 #define __Calltips_MCC_H_ 3 4 #define MUISERIALNR_PTERMC 0xfecf 5 6 #define MUIC_Calltips "Calltips.mcc" 7 #define CalltipsObject MUI_NewObject(MUIC_Calltips 8 9 #define TAGBASE_Calltips ((TAG_USER | (MUISERIALNR_PTERMC << 16)) + 4100) 10 11 #define MUIM_Calltips_SetRectangle (TAGBASE_Calltips + 0) 12 struct MUIP_Calltips_SetRectangle { ULONG id; LONG MinX; LONG MinY; LONG MaxX; LONG MaxY;}; 13 14 #define MUIM_Calltips_ParentSetup (TAGBASE_Calltips + 1) 15 #define MUIM_Calltips_ParentCleanup (TAGBASE_Calltips + 2) 16 #define MUIM_Calltips_ParentShow (TAGBASE_Calltips + 3) 17 #define MUIM_Calltips_ParentHide (TAGBASE_Calltips + 4) 18 #define MUIM_Calltips_ParentWindowArranged (TAGBASE_Calltips + 5) 19 20 /* 21 ** struct Rect32 *, Coordinates of an area for which to show the window, relative to the window bounds 22 ** of the caller's window. Can also be set via a method 23 */ 24 #define MUIA_Calltips_Rectangle (TAGBASE_Calltips + 0) 25 26 /* 27 ** Sets a layout policy to one of the predefine dones 28 */ 29 #define MUIA_Calltips_Layout (TAGBASE_Calltips + 1) 30 31 #define MUIV_Calltips_Layout_Exact 0 32 33 #if 0 // unimplemented! 34 /* Start at the right end of the rectangle, if no space, show below the rectangle */ 35 #define MUIV_Calltips_Layout_RightThenBelow 1 36 /* Start below the rectangle, if no space then show above the rectangle */ 37 #define MUIV_Calltips_Layout_BelowThenAbove 2 38 #endif 39 40 /* 41 ** Object that wants to have a Calltips 42 */ 43 #define MUIA_Calltips_Source (TAGBASE_Calltips + 2) 44 45 /* 46 ** If TRUE, the outer calltip group's _mleft will be substracted from the calltips rectangle 47 ** Defaults to TRUE 48 */ 49 #define MUIA_Calltips_MarginLeft (TAGBASE_Calltips + 4) 50 51 /* 52 ** If TRUE, the outer calltip group's _mtop will be substracted from the calltips rectangle 53 ** Defaults to TRUE 54 */ 55 #define MUIA_Calltips_MarginTop (TAGBASE_Calltips + 5) 56 57 58 #endif 59