Zrythm
a highly automated and intuitive digital audio workstation
|
Piano Keyboard widget. More...
#include <gui/widgets/piano_keyboard.h>
Data Fields | |
GtkDrawingArea | parent_instance |
int | num_keys |
Number of visible keys (1-128). | |
int | start_key |
0-127. | |
int | pressed_keys [128] |
int | num_pressed_keys |
bool | scrollable |
When true, start key can change and when false the keys are fixed. | |
bool | playable |
Whether clicking on keys plays them. | |
bool | editable |
Whether clicking on keys "enables" them. | |
GtkOrientation | orientation |
Horizontal/vertical. | |
int | chord_idx |
Chord index, if this widget is for a chord key. | |
bool | for_chord |
Piano Keyboard widget.
Definition at line 37 of file piano_keyboard.h.
int PianoKeyboardWidget::chord_idx |
Chord index, if this widget is for a chord key.
Definition at line 65 of file piano_keyboard.h.
bool PianoKeyboardWidget::editable |
Whether clicking on keys "enables" them.
Definition at line 58 of file piano_keyboard.h.
bool PianoKeyboardWidget::for_chord |
Definition at line 67 of file piano_keyboard.h.
int PianoKeyboardWidget::num_keys |
Number of visible keys (1-128).
Definition at line 42 of file piano_keyboard.h.
int PianoKeyboardWidget::num_pressed_keys |
Definition at line 48 of file piano_keyboard.h.
GtkOrientation PianoKeyboardWidget::orientation |
Horizontal/vertical.
Definition at line 61 of file piano_keyboard.h.
GtkDrawingArea PianoKeyboardWidget::parent_instance |
Definition at line 39 of file piano_keyboard.h.
bool PianoKeyboardWidget::playable |
Whether clicking on keys plays them.
Definition at line 55 of file piano_keyboard.h.
int PianoKeyboardWidget::pressed_keys[128] |
Definition at line 47 of file piano_keyboard.h.
bool PianoKeyboardWidget::scrollable |
When true, start key can change and when false the keys are fixed.
Definition at line 52 of file piano_keyboard.h.
int PianoKeyboardWidget::start_key |
0-127.
Definition at line 45 of file piano_keyboard.h.