|
| | DrumPadGridProgram (LEDGrid &) |
| |
| void | startTouch (float startX, float startY) |
| | These let the program dim pads which aren't having gestures performed on them. More...
|
| |
| void | endTouch (float startX, float startY) |
| |
| void | sendTouch (float x, float y, float z, LEDColour) |
| | Creates trail effects similar to the onscreen pad trails. More...
|
| |
| void | setPadAnimationState (uint32 padIdx, double loopTimeSecs, double currentProgress) |
| | Call this to match animations to the project tempo. More...
|
| |
| void | suspendAnimations () |
| | If the app needs to close down or suspend, use these to pause & dim animations. More...
|
| |
| void | resumeAnimations () |
| |
| void | setGridFills (int numColumns, int numRows, const juce::Array< GridFill > &) |
| |
| void | triggerSlideTransition (int newNumColumns, int newNumRows, const juce::Array< GridFill > &newFills, SlideDirection) |
| |
| | Program (LEDGrid &) |
| | Creates a Program for the corresponding LEDGrid. More...
|
| |
| virtual | ~Program () |
| | Destructor. More...
|
| |
§ SlideDirection
Set up a new pad layout, with a slide animation from the old to the new.
| Enumerator |
|---|
| up | |
| down | |
| left | |
| right | |
| none | |
§ DrumPadGridProgram()
| juce::DrumPadGridProgram::DrumPadGridProgram |
( |
LEDGrid & |
| ) |
|
§ startTouch()
| void juce::DrumPadGridProgram::startTouch |
( |
float |
startX, |
|
|
float |
startY |
|
) |
| |
These let the program dim pads which aren't having gestures performed on them.
§ endTouch()
| void juce::DrumPadGridProgram::endTouch |
( |
float |
startX, |
|
|
float |
startY |
|
) |
| |
§ sendTouch()
| void juce::DrumPadGridProgram::sendTouch |
( |
float |
x, |
|
|
float |
y, |
|
|
float |
z, |
|
|
LEDColour |
|
|
) |
| |
Creates trail effects similar to the onscreen pad trails.
§ setPadAnimationState()
| void juce::DrumPadGridProgram::setPadAnimationState |
( |
uint32 |
padIdx, |
|
|
double |
loopTimeSecs, |
|
|
double |
currentProgress |
|
) |
| |
Call this to match animations to the project tempo.
- Parameters
-
| padIdx | The pad to update. 16 animated pads are supported, so 0 - 15. |
| loopTimeSecs | The length of time for the pad's animation to loop in seconds. 0 will stop the animation. |
| currentProgress | The starting progress of the animation. 0.0 - 1.0. |
§ suspendAnimations()
| void juce::DrumPadGridProgram::suspendAnimations |
( |
| ) |
|
If the app needs to close down or suspend, use these to pause & dim animations.
§ resumeAnimations()
| void juce::DrumPadGridProgram::resumeAnimations |
( |
| ) |
|
§ setGridFills()
| void juce::DrumPadGridProgram::setGridFills |
( |
int |
numColumns, |
|
|
int |
numRows, |
|
|
const juce::Array< GridFill > & |
|
|
) |
| |
§ triggerSlideTransition()
| void juce::DrumPadGridProgram::triggerSlideTransition |
( |
int |
newNumColumns, |
|
|
int |
newNumRows, |
|
|
const juce::Array< GridFill > & |
newFills, |
|
|
SlideDirection |
|
|
) |
| |
The documentation for this struct was generated from the following file: