12#ifndef __GUI_WIDGETS_PIANO_ROLL_KEYS_H__
13#define __GUI_WIDGETS_PIANO_ROLL_KEYS_H__
15#include "gtk_wrapper.h"
17#define PIANO_ROLL_KEYS_WIDGET_TYPE (piano_roll_keys_widget_get_type ())
20 piano_roll_keys_widget,
22 PIANO_ROLL_KEYS_WIDGET,
31#define MW_PIANO_ROLL_KEYS MW_MIDI_EDITOR_SPACE->piano_roll_keys
37typedef struct _PianoRollKeysWidget
39 GtkWidget parent_instance;
78 GtkGestureClick * click;
84 GtkPopoverMenu * popover_menu;
95piano_roll_keys_widget_refresh (PianoRollKeysWidget * self);
98piano_roll_keys_widget_redraw_note (PianoRollKeysWidget * self,
int note);
101piano_roll_keys_widget_redraw_full (PianoRollKeysWidget * self);
104piano_roll_keys_widget_setup (PianoRollKeysWidget * self);
107piano_roll_keys_widget_get_key_from_y (PianoRollKeysWidget * self,
double y);