10#ifndef __GUI_WIDGETS_PIANO_ROLL_KEYS_H__
11#define __GUI_WIDGETS_PIANO_ROLL_KEYS_H__
13#include "gui/backend/gtk_widgets/gtk_wrapper.h"
15#define PIANO_ROLL_KEYS_WIDGET_TYPE (piano_roll_keys_widget_get_type ())
18 piano_roll_keys_widget,
20 PIANO_ROLL_KEYS_WIDGET,
29#define MW_PIANO_ROLL_KEYS MW_MIDI_EDITOR_SPACE->piano_roll_keys
35typedef struct _PianoRollKeysWidget
37 GtkWidget parent_instance;
76 GtkGestureClick * click;
82 GtkPopoverMenu * popover_menu;
93piano_roll_keys_widget_refresh (PianoRollKeysWidget * self);
96piano_roll_keys_widget_redraw_note (PianoRollKeysWidget * self,
int note);
99piano_roll_keys_widget_redraw_full (PianoRollKeysWidget * self);
102piano_roll_keys_widget_setup (PianoRollKeysWidget * self);
105piano_roll_keys_widget_get_key_from_y (PianoRollKeysWidget * self,
double y);