|
void | draw (CDrawContext *iContext) override |
|
virtual void | drawHeldButton (CDrawContext *iContext) |
|
virtual void | drawReleasedButton (CDrawContext *iContext) |
|
CColor const & | getHeldColor () const |
|
BitmapPtr | getImage () const |
|
CColor const & | getReleasedColor () const |
|
double | getShiftStepIncrement () const |
|
double | getStepIncrement () const |
|
bool | getWrap () const |
| get/setWrap => whether the discrete value wraps around when it reaches max (or min) More...
|
|
bool | isHeld () const |
|
int32_t | onKeyDown (VstKeyCode &keyCode) override |
|
int32_t | onKeyUp (VstKeyCode &keyCode) override |
|
CMouseEventResult | onMouseCancel () override |
|
CMouseEventResult | onMouseDown (CPoint &where, const CButtonState &buttons) override |
|
CMouseEventResult | onMouseUp (CPoint &where, const CButtonState &buttons) override |
|
void | setHeldColor (CColor const &iColor) |
|
void | setImage (BitmapPtr iImage) |
|
void | setReleasedColor (CColor const &iColor) |
|
void | setShiftStepIncrement (double iStepIncrement) |
|
void | setStepIncrement (double iStepIncrement) |
|
void | setWrap (bool iFlag) |
|
| StepButtonView (const CRect &iSize) |
|
T | getControlValue () const |
|
void | setControlTag (int32_t iTag) override |
|
virtual void | setControlValue (T const &iControlValue) |
|
| TCustomControlView (const CRect &iSize) |
|
| CustomControlView (const CRect &iSize) |
|
int32_t | getControlTag () const |
|
| CustomView (const CRect &iSize) |
|
| CustomView (const CustomView &c)=delete |
|
void | draw (CDrawContext *iContext) override |
|
virtual void | drawBackColor (CDrawContext *iContext) |
|
void | drawStyleChanged () |
|
CColor const & | getBackColor () const |
|
int32_t | getCustomViewTag () const |
|
bool | getEditorMode () const |
|
void | markDirty () |
|
void | onParameterChange (ParamID iParamID) override |
|
void | setBackColor (CColor const &iColor) |
|
void | setCustomViewTag (int32_t iTag) |
|
void | setEditorMode (bool iEditorMode) |
|
bool | __internal__registerRawVstControl (int32_t iParamID, ParamValue &oControlValue, GUIRawVstParam &oGUIRawVstParam) |
|
template<typename T > |
bool | __internal__registerVstControl (int32_t iParamID, T &oControlValue, GUIVstParam< T > &oParam) |
|
bool | __internal__registerVstControl (int32_t iParamID, ParamValue &oControlValue, GUIRawVstParam &oParam) |
|
virtual void | initState (GUIState *iGUIState) |
|
void | invokeAll () |
|
GUIRawVstParam | registerCallback (RawVstParam const &iParamDef, Parameters::ChangeCallback iChangeCallback, bool iInvokeCallback=false) |
|
template<typename T > |
GUIVstParam< T > | registerCallback (VstParam< T > const &iParamDef, Parameters::ChangeCallback iChangeCallback, bool iInvokeCallback=false) |
|
template<typename T > |
bool | registerCallback (VstParam< T > const &iParamDef, Parameters::ChangeCallback1< GUIVstParam< T >> iChangeCallback, bool iInvokeCallback=false) |
|
template<typename T > |
GUIJmbParam< T > | registerCallback (GUIJmbParam< T > &iParamDef, Parameters::ChangeCallback iChangeCallback, bool iInvokeCallback=false) |
|
template<typename T > |
bool | registerCallback (GUIJmbParam< T > &iParamDef, Parameters::ChangeCallback1< GUIJmbParam< T >> iChangeCallback, bool iInvokeCallback=false) |
|
template<typename T > |
GUIJmbParam< T > | registerJmbCallback (ParamID iParamID, Parameters::ChangeCallback iChangeCallback, bool iInvokeCallback=false) |
|
template<typename T > |
GUIJmbParam< T > | registerJmbParam (ParamID iParamID, bool iSubscribeToChanges=true) |
|
GUIRawVstParam | registerParam (RawVstParam const &iParamDef, bool iSubscribeToChanges=true) |
|
template<typename T > |
GUIVstParam< T > | registerParam (VstParam< T > const &iParamDef, bool iSubscribeToChanges=true) |
|
template<typename T > |
GUIJmbParam< T > | registerParam (GUIJmbParam< T > &iParamDef) |
|
GUIRawVstParam | registerRawVstCallback (ParamID iParamID, Parameters::ChangeCallback iChangeCallback, bool iInvokeCallback=false) |
|
GUIRawVstParam | registerRawVstParam (ParamID iParamID, bool iSubscribeToChanges=true) |
|
GUIVstParam< bool > | registerVstBooleanParam (ParamID iParamID, bool iSubscribeToChanges=true) |
|
template<typename T > |
GUIVstParam< T > | registerVstCallback (ParamID iParamID, Parameters::ChangeCallback iChangeCallback, bool iInvokeCallback=false) |
|
template<typename T > |
GUIVstParam< T > | registerVstParam (ParamID iParamID, bool iSubscribeToChanges=true) |
|
GUIVstParam< Percent > | registerVstPercentParam (ParamID iParamID, bool iSubscribeToChanges=true) |
|
void | unregisterAll () |
|
bool | unregisterParam (ParamID iParamID) |
|
GUIRawVstParam | unregisterParam (GUIRawVstParam const &iParam) |
|
template<typename T > |
GUIVstParam< T > | unregisterParam (GUIVstParam< T > const &iParam) |
|
template<typename T > |
GUIJmbParam< T > | unregisterParam (GUIJmbParam< T > const &iParam) |
|
virtual | ~GUIParamCxAware () |
|
A step button lets you step through the values of a parameter by repeatedly clicking on the button. It works for discrete values (stepCount > 0
) in which case the increments should be an integer, or continuous values (stepCount == 0
) in which case the increment should be in the range ]-1.0, 1.0[
- The
step-increment
attribute defines whether this button will increment (positive) or decrement (negative) the value and by which amount.
- The
shift-step-increment
attribute allows for a different value when the shift modifier is being held (for example having bigger steps or smaller steps).
- The
wrap
attribute defines what happens when the value reaches its end of range after being incremented (resp. decremented). When set to true
it will wrap around, otherwise it will remain at its max (resp. min).