The CVerticalSliderEx object extends the VSTGUI CVerticalSlider object with extra functionality.
It is used in the PluginGUI object for creating custom views.
More...
#include <customcontrols.h>
|
| CVerticalSliderEx (const CRect &size, IControlListener *listener, int32_t tag, int32_t iMinPos, int32_t iMaxPos, CBitmap *handle, CBitmap *background, const CPoint &offset=CPoint(0, 0), const int32_t style=kBottom) |
|
virtual void | draw (CDrawContext *) override |
|
CMouseEventResult | onMouseUp (CPoint &where, const CButtonState &buttons) override |
| handle mouse up event More...
|
|
CMouseEventResult | onMouseDown (CPoint &where, const CButtonState &buttons) override |
| handle mouse down event More...
|
|
virtual CMouseEventResult | onMouseMoved (CPoint &where, const CButtonState &buttons) override |
| handle mouse moved event More...
|
|
bool | checkDefaultValue (CButtonState button) override |
|
void | setSwitchMax (float f) |
| set max discrete switching value More...
|
|
bool | isSwitchSlider () |
| query if control is in "switch" mode More...
|
|
void | setSwitchSlider (bool b) |
| sets the control into "switch" mode More...
|
|
void | setAAXSlider (bool b) |
| sets the AAX flag for this control More...
|
|
bool | isAAXSlider () |
| query if control wants Pro Tools keyboard modifiers More...
|
|
|
bool | switchSlider |
|
bool | aaxSlider |
|
float | maxControlValue |
|
The CVerticalSliderEx object extends the VSTGUI CVerticalSlider object with extra functionality.
It is used in the PluginGUI object for creating custom views.
- Author
- Will Pirkle http://www.willpirkle.com
- Version
- Revision : 1.0
- Date
- Date : 2018 / 09 / 7
◆ isAAXSlider()
bool VSTGUI::CVerticalSliderEx::isAAXSlider |
( |
| ) |
|
|
inline |
query if control wants Pro Tools keyboard modifiers
- Returns
- true if in "switch" mode
◆ isSwitchSlider()
bool VSTGUI::CVerticalSliderEx::isSwitchSlider |
( |
| ) |
|
|
inline |
query if control is in "switch" mode
- Returns
- true if in "switch" mode
◆ onMouseDown()
CMouseEventResult VSTGUI::CVerticalSliderEx::onMouseDown |
( |
CPoint & |
where, |
|
|
const CButtonState & |
buttons |
|
) |
| |
|
override |
handle mouse down event
- Parameters
-
where | - coordinates of mouse event |
buttons | - button state during mouse event |
◆ onMouseMoved()
CMouseEventResult VSTGUI::CVerticalSliderEx::onMouseMoved |
( |
CPoint & |
where, |
|
|
const CButtonState & |
buttons |
|
) |
| |
|
overridevirtual |
handle mouse moved event
- Parameters
-
where | - coordinates of mouse event |
buttons | - button state during mouse event |
◆ onMouseUp()
CMouseEventResult VSTGUI::CVerticalSliderEx::onMouseUp |
( |
CPoint & |
where, |
|
|
const CButtonState & |
buttons |
|
) |
| |
|
override |
handle mouse up event
- Parameters
-
where | - coordinates of mouse event |
buttons | - button state during mouse event |
◆ setAAXSlider()
void VSTGUI::CVerticalSliderEx::setAAXSlider |
( |
bool |
b | ) |
|
|
inline |
sets the AAX flag for this control
- Parameters
-
◆ setSwitchMax()
void VSTGUI::CVerticalSliderEx::setSwitchMax |
( |
float |
f | ) |
|
|
inline |
set max discrete switching value
- Parameters
-
f | - the max value as a float |
◆ setSwitchSlider()
void VSTGUI::CVerticalSliderEx::setSwitchSlider |
( |
bool |
b | ) |
|
|
inline |
sets the control into "switch" mode
- Parameters
-
b | flag to enable switch mode |
The documentation for this class was generated from the following files:
- C:/RackAFX_v7/ASPIK_SDK/PluginTemplate/project_source/source/CustomControls/customcontrols.h
- C:/RackAFX_v7/ASPIK_SDK/PluginTemplate/project_source/source/CustomControls/customcontrols.cpp