--background--
EXAMPLE
LampObject, MUIA_Lamp_Type, MUIV_Lamp_Huge, MUIA_Lamp_Color, MUIV_Lamp_Color_Ok, End
DESCRIPTION
Lamp.mcc is a little lamp which can be used as an indicator for
various purposes. You can set lamp to any color or use built-in
colors, such as "warning" and "error" colors.
MUIA_Lamp_Blue
MUIA_Lamp_Blue [ISG], ULONG
DESCRIPTION
Set or get lamp's 32-bit blue level
SEE ALSO
MUIA_Lamp_Color
MUIA_Lamp_Color [ISG], ULONG *
DESCRIPTION
Set or get lamp's RGB color.
RGB levels are passed in an array of three ULONG variables
representing red, blue and green levels.
When setting color the array is copied to an internal buffer
SPECIAL INPUTS
MUIV_Lamp_Color_Off
MUIV_Lamp_Color_Ok
MUIV_Lamp_Color_Warning
MUIV_Lamp_Color_Error
MUIV_Lamp_Color_FatalError
MUIV_Lamp_Color_Processing
MUIV_Lamp_Color_LookingUp
MUIV_Lamp_Color_Connecting
MUIV_Lamp_Color_SendingData
MUIV_Lamp_Color_ReceivingData
MUIV_Lamp_Color_LoadingData
MUIV_Lamp_Color_SavingData
SEE ALSO
MUIA_Lamp_ColorType
MUIA_Lamp_ColorType [..G], ULONG
DESCRIPTION
Get the color type of a lamp
RESULT
MUIV_Lamp_ColorType_UserDefined - built-in color (one of MUIV_Lamp_Color_#? types) MUIV_Lamp_ColorType_Color - custom RGB color MUIV_Lamp_ColorType_PenSpec - MUI pen specification
MUIA_Lamp_Green
MUIA_Lamp_Green [ISG], ULONG
DESCRIPTION
Set or get lamp's 32-bit green level
SEE ALSO
MUIA_Lamp_PenSpec
MUIA_Lamp_PenSpec [ISG], struct MUI_PenSpec *
DESCRIPTION
Set or get a lamp's MUI pen specification
MUIA_Lamp_Red
MUIA_Lamp_Red [ISG], ULONG
DESCRIPTION
Set or get lamp's 32-bit red level
SEE ALSO
MUIA_Lamp_Shape
MUIA_Lamp_Shape [ISG], ULONG (V22)
DESCRIPTION
Set or get a lamp's type. The default is a circular lamp
SPECIAL INPUTS
MUIV_Lamp_Shape_Default - round lamp
MUIV_Lamp_Shape_Round - round (circular) lamp
MUIV_Lamp_Shape_Square - square lamp
MUIA_Lamp_Type
MUIA_Lamp_Type [ISG], ULONG
DESCRIPTION
Set or get a lamp's type. The default is MUIV_Lamp_Type_Medium
SPECIAL INPUTS
MUIV_Lamp_Type_Tiny - 5x5 pixels lamp
MUIV_Lamp_Type_Small - 6x6 pixels lamp
MUIV_Lamp_Type_Medium - 7x7 pixels lamp
MUIV_Lamp_Type_Big - 8x8 pixels lamp
MUIV_Lamp_Type_Huge - 9x9 pixels lamp
MUIV_Lamp_Type_Mammoth - 10x10 pixels lamp (V20+)
MUIV_Lamp_Type_Gigantic - 11x11 pixels lamp (V20+)
MUIM_Lamp_SetRGB
MUIM_Lamp_SetRGB
SYNOPSIS
DoMethod(obj, MUIM_Lamp_SetRGB, ULONG red, ULONG green, ULONG blue);
DESCRIPTION
Set lamp color in RGB colorspace. You pass RGB triplet in three
ULONG containing the 32-bit red, green and blue levels