A class that creates a custom ParameterAttachment between the x and y axis positions of the puck with the respective parameters.
More...
#include <XYButton.h>
A class that creates a custom ParameterAttachment between the x and y axis positions of the puck with the respective parameters.
class XYButtonParameterAttachment
◆ XYButtonParameterAttachment()
| krotos::XYButtonParameterAttachment::XYButtonParameterAttachment |
( |
RangedAudioParameter & | xParam, |
|
|
RangedAudioParameter & | yParam, |
|
|
RangedAudioParameter & | clickParam, |
|
|
RangedAudioParameter & | toggleParam, |
|
|
XYButton & | slider, |
|
|
UndoManager * | undoManager = nullptr ) |
◆ ~XYButtonParameterAttachment()
| krotos::XYButtonParameterAttachment::~XYButtonParameterAttachment |
( |
| ) |
|
◆ sendInitialUpdate()
| void krotos::XYButtonParameterAttachment::sendInitialUpdate |
( |
| ) |
|
◆ setToggleValue()
| void krotos::XYButtonParameterAttachment::setToggleValue |
( |
float | x | ) |
|
|
private |
◆ setXValue()
| void krotos::XYButtonParameterAttachment::setXValue |
( |
float | xValue | ) |
|
|
private |
Get's called whenever the value of the posX parameter changes. Updates the x coordinate of the puck position
- Parameters
-
| xValue | value of parameter posX |
◆ setYValue()
| void krotos::XYButtonParameterAttachment::setYValue |
( |
float | yValue | ) |
|
|
private |
Get's called whenever the value of the posY parameter changes. Updates the x coordinate of the puck position
- Parameters
-
| yValue | value of parameter posY |
◆ m_clickAttachment
| ParameterAttachment krotos::XYButtonParameterAttachment::m_clickAttachment |
|
private |
◆ m_ignoreCallbacks
| bool krotos::XYButtonParameterAttachment::m_ignoreCallbacks {false} |
|
private |
◆ m_toggleAttachment
| ParameterAttachment krotos::XYButtonParameterAttachment::m_toggleAttachment |
|
private |
◆ m_xAttachment
| ParameterAttachment krotos::XYButtonParameterAttachment::m_xAttachment |
|
private |
◆ m_xyButton
| XYButton& krotos::XYButtonParameterAttachment::m_xyButton |
|
private |
◆ m_yAttachment
| ParameterAttachment krotos::XYButtonParameterAttachment::m_yAttachment |
|
private |
The documentation for this class was generated from the following files: