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.
onBeginParameterHover
void onBeginParameterHover(Parameter sender)
Undocumented in source. Be warned that the author may not have intended to support it.
onDrawBufferedPBR
void onDrawBufferedPBR(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.
onEndParameterHover
void onEndParameterHover(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 UIBufferedElementPBR

~this
~this()
Undocumented in source.
setDirty
void setDirty(box2i rect, UILayer layer)
Undocumented in source. Be warned that the author may not have intended to support it.
setDirtyWhole
void setDirtyWhole(UILayer layer)
Undocumented in source. Be warned that the author may not have intended to support it.
onDrawPBR
void onDrawPBR(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.
onDrawBufferedPBR
void onDrawBufferedPBR(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)

A parameter value was changed, from the UI or the host (automation).

onBeginParameterEdit
void onBeginParameterEdit(Parameter sender)

A parameter value _starts_ being changed due to an UI element.

onEndParameterEdit
void onEndParameterEdit(Parameter sender)

Called when a parameter value _stops_ being changed.

onBeginParameterHover
void onBeginParameterHover(Parameter sender)
onEndParameterHover
void onEndParameterHover(Parameter sender)

Called when a widget that can changes this parameter is mouseover, and wants to signal that to the listeners.

Meta