UIFilmstripSlider

Undocumented in source.

Constructors

this
this(UIContext context, FloatParameter param, OwnedImage!RGBA sliderImage, int numFrames, float sensitivity)
Undocumented in source.

Destructor

~this
~this()
Undocumented in source.

Members

Enums

Direction
enum Direction
Undocumented in source.

Functions

cacheImage
void cacheImage(int frame)
Undocumented in source. Be warned that the author may not have intended to support it.
clearCrosspoints
void clearCrosspoints()
Undocumented in source. Be warned that the author may not have intended to support it.
disable
void disable()
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.
onDrawRaw
void onDrawRaw(ImageRef!RGBA rawMap, box2i[] dirtyRects)
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.
reflow
void reflow()
Undocumented in source. Be warned that the author may not have intended to support it.
sensivity
float sensivity()
sensivity
float sensivity(float sensivity)

Sets sensivity.

Variables

_disabled
bool _disabled;
Undocumented in source.
_draggingDebt
float _draggingDebt;
Undocumented in source.
_filmstrip
OwnedImage!RGBA _filmstrip;

Original slider image.

_filmstripResized
OwnedImage!RGBA _filmstripResized;

Resized slider image, full. Each frame image is resized independently and lazily.

_frameHeightOrig
int _frameHeightOrig;

The pixel height of slider frames in _filmstrip image. _frameHeightOrig x _numFrames is the useful range of pixels, excess ones aren't used, if any.

_frameNthResized
bool[] _frameNthResized;

Which frames in the cache are resized.

_mousePosOnLast0Cross
float _mousePosOnLast0Cross;
Undocumented in source.
_mousePosOnLast1Cross
float _mousePosOnLast1Cross;
Undocumented in source.
_numFrames
int _numFrames;

The number of slider image frames contained in the _filmstrip image.

_param
Parameter _param;

The parameter this switch is linked with.

_resizer
ImageResizer _resizer;
Undocumented in source.
_sensivity
float _sensivity;

Sensivity: given a mouse movement in 100th of the height of the knob, how much should the normalized parameter change.

direction
Direction direction;
Undocumented in source.

Inherited Members

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