|
void | precalculate () override |
| This function is called on visibility change and if colour offset changes.
|
|
void | evaluatePads (PressedPad presses[kMaxNumKeyboardPadPresses]) override |
| Handle input pad presses.
|
|
void | handleVerticalEncoder (int32_t offset) override |
| Shift state not supplied since that function is already taken.
|
|
void | handleHorizontalEncoder (int32_t offset, bool shiftEnabled, PressedPad presses[kMaxNumKeyboardPadPresses], bool encoderPressed=false) override |
| Will be called with offset 0 to recalculate bounds on clip changes.
|
|
void | renderPads (RGB image[][kDisplayWidth+kSideBarWidth]) override |
| Handle output.
|
|
l10n::String | name () override |
|
bool | supportsInstrument () override |
| This currently includes Synth, MIDI and CV.
|
|
bool | supportsKit () override |
|
virtual void | renderSidebarPads (RGB image[][kDisplayWidth+kSideBarWidth]) |
|
virtual RequiredScaleMode | requiredScaleMode () |
|
virtual NotesState & | getNotesState () |
|
virtual void | checkNewInstrument (Instrument *newInstrument) |
|
|
uint8_t | velocityFromCoords (int32_t x, int32_t y, uint32_t edge_size_x, uint32_t edge_size_y) |
|
|
uint8_t | velocity = 64 |
|
bool | isKit () |
|
int16_t | getRootNote () |
| Song root note can be in any octave, layouts get the normalized one.
|
|
bool | getScaleModeEnabled () |
|
uint8_t | getScaleNoteCount () |
|
NoteSet & | getScaleNotes () |
|
uint8_t | getDefaultVelocity () |
|
int32_t | getLowestClipNote () |
|
int32_t | getHighestClipNote () |
|
RGB | getNoteColour (uint8_t note) |
|
NoteHighlightIntensity & | getHighlightedNotes () |
|
NoteHighlightIntensity & | getNornsNotes () |
|
KeyboardState & | getState () |
|
NotesState | currentNotesState |
|
◆ evaluatePads()
void deluge::gui::ui::keyboard::layout::KeyboardLayoutVelocityDrums::evaluatePads |
( |
PressedPad | presses[kMaxNumKeyboardPadPresses] | ) |
|
|
overridevirtual |
◆ handleHorizontalEncoder()
void deluge::gui::ui::keyboard::layout::KeyboardLayoutVelocityDrums::handleHorizontalEncoder |
( |
int32_t | offset, |
|
|
bool | shiftEnabled, |
|
|
PressedPad | presses[kMaxNumKeyboardPadPresses], |
|
|
bool | encoderPressed = false ) |
|
overridevirtual |
◆ handleVerticalEncoder()
void deluge::gui::ui::keyboard::layout::KeyboardLayoutVelocityDrums::handleVerticalEncoder |
( |
int32_t | offset | ) |
|
|
overridevirtual |
◆ name()
l10n::String deluge::gui::ui::keyboard::layout::KeyboardLayoutVelocityDrums::name |
( |
| ) |
|
|
inlineoverridevirtual |
◆ precalculate()
void deluge::gui::ui::keyboard::layout::KeyboardLayoutVelocityDrums::precalculate |
( |
| ) |
|
|
inlineoverridevirtual |
◆ renderPads()
void deluge::gui::ui::keyboard::layout::KeyboardLayoutVelocityDrums::renderPads |
( |
RGB | image[][kDisplayWidth+kSideBarWidth] | ) |
|
|
overridevirtual |
◆ supportsInstrument()
bool deluge::gui::ui::keyboard::layout::KeyboardLayoutVelocityDrums::supportsInstrument |
( |
| ) |
|
|
inlineoverridevirtual |
◆ supportsKit()
bool deluge::gui::ui::keyboard::layout::KeyboardLayoutVelocityDrums::supportsKit |
( |
| ) |
|
|
inlineoverridevirtual |
The documentation for this class was generated from the following files:
- src/deluge/gui/ui/keyboard/layout/velocity_drums.h
- src/deluge/gui/ui/keyboard/layout/velocity_drums.cpp