#include <pianokeyboard.h>
Definition at line 30 of file pianokeyboard.h.
◆ APianoKeyboard()
APianoKeyboard::APianoKeyboard |
( |
| ) |
|
◆ ~APianoKeyboard()
APianoKeyboard::~APianoKeyboard |
( |
| ) |
|
◆ annotate_layout()
void APianoKeyboard::annotate_layout |
( |
cairo_t * |
cr, |
|
|
int |
note |
|
) |
| const |
|
private |
◆ annotate_note()
void APianoKeyboard::annotate_note |
( |
cairo_t * |
cr, |
|
|
int |
note |
|
) |
| const |
|
private |
◆ black_key_left_shift()
double APianoKeyboard::black_key_left_shift |
( |
int |
key | ) |
const |
|
private |
◆ draw_note()
void APianoKeyboard::draw_note |
( |
cairo_t * |
cr, |
|
|
int |
note |
|
) |
| const |
|
private |
◆ get_note_for_xy()
int APianoKeyboard::get_note_for_xy |
( |
int |
x, |
|
|
int |
y |
|
) |
| const |
|
private |
◆ get_velocity_for_note_at_y()
int APianoKeyboard::get_velocity_for_note_at_y |
( |
int |
note, |
|
|
int |
y |
|
) |
| const |
|
private |
◆ handle_fixed_keys()
bool APianoKeyboard::handle_fixed_keys |
( |
GdkEventKey * |
| ) |
|
|
private |
◆ is_black()
int APianoKeyboard::is_black |
( |
int |
key | ) |
const |
|
private |
◆ on_button_press_event()
bool APianoKeyboard::on_button_press_event |
( |
GdkEventButton * |
| ) |
|
|
protected |
◆ on_button_release_event()
bool APianoKeyboard::on_button_release_event |
( |
GdkEventButton * |
| ) |
|
|
protected |
◆ on_expose_event()
bool APianoKeyboard::on_expose_event |
( |
GdkEventExpose * |
| ) |
|
|
protected |
◆ on_key_press_event()
bool APianoKeyboard::on_key_press_event |
( |
GdkEventKey * |
| ) |
|
|
protected |
◆ on_key_release_event()
bool APianoKeyboard::on_key_release_event |
( |
GdkEventKey * |
| ) |
|
|
protected |
◆ on_motion_notify_event()
bool APianoKeyboard::on_motion_notify_event |
( |
GdkEventMotion * |
| ) |
|
|
protected |
◆ on_size_allocate()
void APianoKeyboard::on_size_allocate |
( |
Gtk::Allocation & |
| ) |
|
|
protected |
◆ on_size_request()
void APianoKeyboard::on_size_request |
( |
Gtk::Requisition * |
| ) |
|
|
protected |
◆ press_key()
void APianoKeyboard::press_key |
( |
int |
key, |
|
|
int |
vel |
|
) |
| |
|
private |
◆ queue_note_draw()
void APianoKeyboard::queue_note_draw |
( |
int |
note | ) |
|
|
private |
◆ recompute_dimensions()
void APianoKeyboard::recompute_dimensions |
( |
| ) |
|
|
private |
◆ release_key()
void APianoKeyboard::release_key |
( |
int |
key | ) |
|
|
private |
◆ reset()
void APianoKeyboard::reset |
( |
| ) |
|
◆ set_annotate_layout()
void APianoKeyboard::set_annotate_layout |
( |
bool |
enabled | ) |
|
◆ set_annotate_octave()
void APianoKeyboard::set_annotate_octave |
( |
bool |
enabled | ) |
|
◆ set_grand_piano_highlight()
void APianoKeyboard::set_grand_piano_highlight |
( |
bool |
enabled | ) |
|
◆ set_keyboard_layout()
◆ set_monophonic()
void APianoKeyboard::set_monophonic |
( |
bool |
monophonic | ) |
|
◆ set_note_off()
void APianoKeyboard::set_note_off |
( |
int |
note | ) |
|
◆ set_note_on()
void APianoKeyboard::set_note_on |
( |
int |
note | ) |
|
◆ set_octave()
void APianoKeyboard::set_octave |
( |
int |
octave | ) |
|
◆ set_octave_range()
void APianoKeyboard::set_octave_range |
( |
int |
octave_range | ) |
|
◆ set_velocities()
void APianoKeyboard::set_velocities |
( |
int |
min_vel, |
|
|
int |
max_vel, |
|
|
int |
key_vel |
|
) |
| |
◆ stop_sustained_notes()
void APianoKeyboard::stop_sustained_notes |
( |
| ) |
|
|
private |
◆ stop_unsustained_notes()
void APianoKeyboard::stop_unsustained_notes |
( |
| ) |
|
|
private |
◆ sustain_press()
void APianoKeyboard::sustain_press |
( |
| ) |
|
◆ sustain_release()
void APianoKeyboard::sustain_release |
( |
| ) |
|
◆ _annotate_layout
bool APianoKeyboard::_annotate_layout |
|
private |
◆ _annotate_octave
bool APianoKeyboard::_annotate_octave |
|
private |
◆ _font_cue
PangoFontDescription* APianoKeyboard::_font_cue |
|
private |
◆ _font_octave
PangoFontDescription* APianoKeyboard::_font_octave |
|
private |
◆ _highlight_grand_piano_range
bool APianoKeyboard::_highlight_grand_piano_range |
|
private |
◆ _key_velocity
int APianoKeyboard::_key_velocity |
|
private |
◆ _keyboard_layout
◆ _last_key
int APianoKeyboard::_last_key |
|
private |
◆ _max_note
int APianoKeyboard::_max_note |
|
private |
◆ _max_velocity
int APianoKeyboard::_max_velocity |
|
private |
◆ _min_note
int APianoKeyboard::_min_note |
|
private |
◆ _min_velocity
int APianoKeyboard::_min_velocity |
|
private |
◆ _monophonic
bool APianoKeyboard::_monophonic |
|
private |
◆ _note_being_pressed_using_mouse
int APianoKeyboard::_note_being_pressed_using_mouse |
|
private |
◆ _note_stack
std::map<std::string, int> APianoKeyboard::_note_stack |
|
private |
◆ _notes
PKNote APianoKeyboard::_notes[(128)] |
|
private |
◆ _octave
int APianoKeyboard::_octave |
|
private |
◆ _octave_range
int APianoKeyboard::_octave_range |
|
private |
◆ _sustain_new_notes
bool APianoKeyboard::_sustain_new_notes |
|
private |
◆ NoteOff
sigc::signal<void, int> APianoKeyboard::NoteOff |
◆ NoteOn
sigc::signal<void, int, int> APianoKeyboard::NoteOn |
◆ PitchBend
sigc::signal<void, int, bool> APianoKeyboard::PitchBend |
◆ Rest
sigc::signal<void> APianoKeyboard::Rest |
◆ SetVelocity
sigc::signal<void, int> APianoKeyboard::SetVelocity |
◆ SustainChanged
sigc::signal<void,bool> APianoKeyboard::SustainChanged |
◆ SwitchOctave
sigc::signal<void, bool> APianoKeyboard::SwitchOctave |
The documentation for this class was generated from the following file: