|
| | DiscreteButtonView (const CRect &iSize) |
| |
| void | draw (CDrawContext *iContext) override |
| |
| int | getFrames () const |
| |
| BitmapPtr | getImage () const |
| |
| bool | getInverse () const |
| |
| CColor const & | getOnColor () const |
| |
| int32 | getStep () const |
| |
| bool | isOff () const |
| |
| bool | isOn () 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 | registerParameters () override |
| |
| void | setFrames (int iFrames) |
| |
| void | setImage (BitmapPtr iImage) |
| |
| void | setInverse (bool iInverse) |
| |
| void | setOn () |
| |
| void | setOnColor (CColor const &iColor) |
| |
| void | setStep (int32 step) |
| |
| bool | sizeToFit () override |
| |
| 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) |
| |
| bool | registerParam (int32_t iParamID, GUIRawVstParam &oGUIRawVstParam) |
| |
| 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 discrete button behaves like a toggle button except that it is on only if the control value (tied to a vst parameter) is equal to the step value (DiscreteButtonView::getStep() / step property in the xml). Selecting the button will set the underlying vst parameter to step. This button is designed to be used with a discrete parameter (where the raw param value is divided into steps) and uses the underlying GUIVstParameter::getStepCount() method to determine how many steps to account for.