UISlider

Undocumented in source.
class UISlider : UIBufferedElementPBR , IParameterListener {}

Constructors

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

Destructor

~this
~this()
Undocumented in source.

Members

Functions

clearCrosspoints
void clearCrosspoints()
Undocumented in source. Be warned that the author may not have intended to support it.
onAnimate
void onAnimate(double dt, double time)
Undocumented in source. Be warned that the author may not have intended to support it.
onBeginDrag
void onBeginDrag()
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.
onMouseClick
Click onMouseClick(int x, int y, int button, bool isDoubleClick, MouseState mstate)
Undocumented in source. Be warned that the author may not have intended to support it.
onMouseDrag
void onMouseDrag(int x, int y, int dx, int dy, MouseState mstate)
Undocumented in source. Be warned that the author may not have intended to support it.
onMouseEnter
void onMouseEnter()
Undocumented in source. Be warned that the author may not have intended to support it.
onMouseExit
void onMouseExit()
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.
onStopDrag
void onStopDrag()
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

_draggingDebt
float _draggingDebt;
Undocumented in source.
_mousePosOnLast0Cross
float _mousePosOnLast0Cross;
Undocumented in source.
_mousePosOnLast1Cross
float _mousePosOnLast1Cross;
Undocumented in source.
_param
Parameter _param;

The parameter this switch is linked with.

_pushedAnimation
float _pushedAnimation;
Undocumented in source.
handleDiffuse
RGBA handleDiffuse;
Undocumented in source.
handleHeightRatio
float handleHeightRatio;
Undocumented in source.
handleMaterial
RGBA handleMaterial;
Undocumented in source.
handleStyle
HandleStyle handleStyle;
Undocumented in source.
handleWidthRatio
float handleWidthRatio;
Undocumented in source.
hasAlternateTrail
bool hasAlternateTrail;
Undocumented in source.
litTrailDiffuse
RGBA litTrailDiffuse;
Undocumented in source.
litTrailDiffuseAlt
RGBA litTrailDiffuseAlt;
Undocumented in source.
sensivity
float sensivity;
Undocumented in source.
trailBase
float trailBase;
Undocumented in source.
trailDepth
L16 trailDepth;
Undocumented in source.
trailWidth
float trailWidth;
Undocumented in source.
unlitTrailDiffuse
RGBA unlitTrailDiffuse;
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