UIParamHint

Widget that monitors the value of a parameter and appears whenever it change to display its value.

class UIParamHint : UIBufferedElement , IParameterListener {
nothrow @nogc
double fadeinDuration;
nothrow @nogc
double fadeoutDuration;
nothrow @nogc
double holdDuration;
nothrow @nogc
float textSizePx;
nothrow @nogc
RGBA holeDiffuse;
nothrow @nogc
RGBA textDiffuseLow;
nothrow @nogc
RGBA textDiffuseHigh;
nothrow @nogc
RGBA diffuseLow;
nothrow @nogc
RGBA diffuseHigh;
nothrow @nogc
RGBA material;
nothrow @nogc
RGBA plasticMaterial;
nothrow @nogc
float plasticAlpha;
nothrow @nogc
ushort depthLow;
nothrow @nogc
ushort depthHigh;
}

Destructor

A destructor is present on this object, but not explicitly documented in the source.

Inherited Members

From UIBufferedElement

onDrawBuffered
void onDrawBuffered(ImageRef!RGBA diffuseMap, ImageRef!L16 depthMap, ImageRef!RGBA materialMap, ImageRef!L8 diffuseOpacity, ImageRef!L8 depthOpacity, ImageRef!L8 materialOpacity)

Redraws the whole widget without consideration for drawing only in dirty rects. That is a lot of maps to fill. On the plus side, this happen quite infrequently.

From IParameterListener

onParameterChanged
void onParameterChanged(Parameter sender)

Called when a parameter value was changed You'll probably want to call setDirtyWhole() or setDirty() in it to make the graphics respond to host changing a parameter.

onBeginParameterEdit
void onBeginParameterEdit(Parameter sender)

Called when a parameter value start being changed due to an UI element

onEndParameterEdit
void onEndParameterEdit(Parameter sender)

Called when a parameter value stops being changed

Meta