|
| void | draw (CDrawContext *iContext) override |
| |
| bool | getEnableZoomDoubleClick () const |
| |
| Margin const & | getMargin () const |
| |
| double | getOffsetPercent () const |
| |
| int32_t | getOffsetPercentTag () const |
| |
| const CColor & | getScrollbarColor () const |
| |
| CCoord | getScrollbarGutterSpacing () const |
| |
| CCoord | getScrollbarMinSize () const |
| |
| Range const & | getShiftDragFactor () const |
| |
| const CColor & | getZoomHandlesColor () const |
| |
| CCoord | getZoomHandlesSize () const |
| |
| double | getZoomPercent () const |
| |
| int32_t | getZoomPercentTag () const |
| |
| | ScrollbarView (const CRect &iSize) |
| |
| void | setEnableZoomDoubleClick (bool iEnableZoomDoubleClick) |
| |
| void | setMargin (Margin const &iMargin) |
| |
| void | setOffsetPercent (double iOffsetPercent) |
| |
| void | setOffsetPercentTag (int32_t offsetPercentTag) |
| |
| void | setScrollbarColor (const CColor &iColor) |
| |
| void | setScrollbarGutterSpacing (CCoord iScrollbarGutterSpacing) |
| |
| void | setScrollbarMinSize (CCoord iScrollbarMinSize) |
| |
| void | setShiftDragFactor (Range const &iShiftDragFactor) |
| |
| void | setZoomHandlesColor (const CColor &iColor) |
| |
| void | setZoomHandlesSize (CCoord iSize) |
| |
| void | setZoomPercent (double iZoomPercent) |
| |
| void | setZoomPercentTag (int32_t zoomPercentTag) |
| |
| bool | showHandles () 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 | 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 > &oGUIVstParam) |
| |
| 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 () |
| |
Generic scrollbar which handles scrolling and (optional) zooming via handles. The scrollbar is driven by 2 parameters which can be tied to Vst parameters:
- offsetPercent which represents the position of the scrollbar as a percent (0 means completely left, 1 means completely right)
- zoomPercent which represents the size of the scrollbar as a percent (0 means completely zoomed out (hence the scrollbar is full), 1 means completely zoomed in (hence the scrollbar is at its minimum size)). At the moment, it handles only horizontal scrollbar.