UIParamHint

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

Constructors

this
this(UIContext context, Parameter param, Font font)
Undocumented in source.

Destructor

~this
~this()
Undocumented in source.

Members

Functions

onAnimate
void onAnimate(double dt, double time)
Undocumented in source. Be warned that the author may not have intended to support it.
onBeginParameterEdit
void onBeginParameterEdit(Parameter sender)
Undocumented in source. Be warned that the author may not have intended to support it.
onDrawBuffered
void onDrawBuffered(ImageRef!RGBA diffuseMap, ImageRef!L16 depthMap, ImageRef!RGBA materialMap, ImageRef!L8 diffuseOpacity, ImageRef!L8 depthOpacity, ImageRef!L8 materialOpacity)
Undocumented in source. Be warned that the author may not have intended to support it.
onEndParameterEdit
void onEndParameterEdit(Parameter sender)
Undocumented in source. Be warned that the author may not have intended to support it.
onParameterChanged
void onParameterChanged(Parameter sender)
Undocumented in source. Be warned that the author may not have intended to support it.
paramString
const(char)[] paramString()
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

depthHigh
ushort depthHigh;
Undocumented in source.
depthLow
ushort depthLow;
Undocumented in source.
diffuseHigh
RGBA diffuseHigh;
Undocumented in source.
diffuseLow
RGBA diffuseLow;
Undocumented in source.
fadeinDuration
double fadeinDuration;
Undocumented in source.
fadeoutDuration
double fadeoutDuration;
Undocumented in source.
holdDuration
double holdDuration;
Undocumented in source.
holeDiffuse
RGBA holeDiffuse;
Undocumented in source.
material
RGBA material;
Undocumented in source.
plasticAlpha
float plasticAlpha;
Undocumented in source.
plasticMaterial
RGBA plasticMaterial;
Undocumented in source.
textDiffuseHigh
RGBA textDiffuseHigh;
Undocumented in source.
textDiffuseLow
RGBA textDiffuseLow;
Undocumented in source.
textSizePx
float textSizePx;
Undocumented in source.

Inherited Members

From UIBufferedElement

~this
~this()
Undocumented in source.
setDirty
void setDirty(box2i rect)
Undocumented in source. Be warned that the author may not have intended to support it.
setDirtyWhole
void setDirtyWhole()
Undocumented in source. Be warned that the author may not have intended to support it.
onDraw
void onDraw(ImageRef!RGBA diffuseMap, ImageRef!L16 depthMap, ImageRef!RGBA materialMap, box2i[] dirtyRects)
Undocumented in source. Be warned that the author may not have intended to support it.
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