1 #ifndef LAMP_MCC_H
    2 #define LAMP_MCC_H
    3 
    4 #ifndef EXEC_TYPES_H
    5 #include <exec/types.h>
    6 #endif
    7 
    8 #define MUIC_Lamp	"Lamp.mcc"
    9 #define LampObject	MUI_NewObject(MUIC_Lamp
   10 
   11 #define MUIA_Lamp_Type      0x85b90001 // ISG, ULONG
   12 #define MUIA_Lamp_Color     0x85b90002 // ISG, ULONG *
   13 #define MUIA_Lamp_ColorType 0x85b90003 // **G, ULONG
   14 #define MUIA_Lamp_Red       0x85b90004 // ISG, ULONG
   15 #define MUIA_Lamp_Green     0x85b90005 // ISG, ULONG
   16 #define MUIA_Lamp_Blue      0x85b90006 // ISG, ULONG
   17 #define MUIA_Lamp_PenSpec   0x85b90007 // ISG, struct MUI_PenSpec*
   18 
   19 #define MUIM_Lamp_SetRGB    0x85b90008
   20 struct MUIP_Lamp_SetRGB { ULONG mid; ULONG red; ULONG green; ULONG blue; };
   21 
   22 #define MUIV_Lamp_Type_Tiny          0
   23 #define MUIV_Lamp_Type_Small         1
   24 #define MUIV_Lamp_Type_Medium        2
   25 #define MUIV_Lamp_Type_Big           3
   26 #define MUIV_Lamp_Type_Huge          4
   27 #define MUIV_Lamp_Type_Mammoth       5
   28 #define MUIV_Lamp_Type_Gigantic      6
   29 
   30 #define MUIV_Lamp_Type_Size(px)      ((px<5) ? 0 : (px-5))
   31 
   32 #define MUIV_Lamp_ColorType_UserDefined 0
   33 #define MUIV_Lamp_ColorType_Color       1
   34 #define MUIV_Lamp_ColorType_PenSpec     2
   35 
   36 #define MUIV_Lamp_Color_Off            0
   37 #define MUIV_Lamp_Color_Ok             1
   38 #define MUIV_Lamp_Color_Warning        2
   39 #define MUIV_Lamp_Color_Error          3
   40 #define MUIV_Lamp_Color_FatalError     4
   41 #define MUIV_Lamp_Color_Processing     5
   42 #define MUIV_Lamp_Color_LookingUp      6
   43 #define MUIV_Lamp_Color_Connecting     7
   44 #define MUIV_Lamp_Color_SendingData    8
   45 #define MUIV_Lamp_Color_ReceivingData  9
   46 #define MUIV_Lamp_Color_LoadingData    10
   47 #define MUIV_Lamp_Color_SavingData     11
   48 
   49 #endif /* LAMP_MCC_H */