63 |
sigc::signal<void, gig::Region*>& signal_region_to_be_changed(); |
sigc::signal<void, gig::Region*>& signal_region_to_be_changed(); |
64 |
sigc::signal<void, gig::Region*>& signal_region_changed_signal(); |
sigc::signal<void, gig::Region*>& signal_region_changed_signal(); |
65 |
|
|
66 |
|
sigc::signal<void, int/*key*/, int/*velocity*/>& signal_keyboard_key_hit(); |
67 |
|
sigc::signal<void, int/*key*/, int/*velocity*/>& signal_keyboard_key_released(); |
68 |
|
|
69 |
gig::Region* get_region() { return region; } |
gig::Region* get_region() { return region; } |
70 |
|
|
71 |
void on_note_on_event(int key, int velocity); |
void on_note_on_event(int key, int velocity); |
93 |
sigc::signal<void, gig::Region*> region_to_be_changed_signal; |
sigc::signal<void, gig::Region*> region_to_be_changed_signal; |
94 |
sigc::signal<void, gig::Region*> region_changed_signal; |
sigc::signal<void, gig::Region*> region_changed_signal; |
95 |
|
|
96 |
|
sigc::signal<void, int/*key*/, int/*velocity*/> keyboard_key_hit_signal; |
97 |
|
sigc::signal<void, int/*key*/, int/*velocity*/> keyboard_key_released_signal; |
98 |
|
|
99 |
gig::Instrument* instrument; |
gig::Instrument* instrument; |
100 |
gig::Region* region; |
gig::Region* region; |
101 |
SortedRegions regions; |
SortedRegions regions; |
102 |
|
|
103 |
bool is_black_key(int key); |
bool is_black_key(int key); |
104 |
void draw_region(int from, int to, const Gdk::Color& color); |
void draw_region(int from, int to, const Gdk::Color& color); |
105 |
|
void draw_digit(int key); |
106 |
void motion_resize_region(int x, int y); |
void motion_resize_region(int x, int y); |
107 |
void motion_move_region(int x, int y); |
void motion_move_region(int x, int y); |
108 |
|
|