Zrythm
a highly automated and intuitive digital audio workstation
Loading...
Searching...
No Matches
piano_roll_keys.h File Reference

Piano roll keys canvas. More...

#include <gtk/gtk.h>
Include dependency graph for piano_roll_keys.h:

Go to the source code of this file.

Macros

#define PIANO_ROLL_KEYS_WIDGET_TYPE   (piano_roll_keys_widget_get_type ())
 
#define MW_PIANO_ROLL_KEYS   MW_MIDI_EDITOR_SPACE->piano_roll_keys
 

Functions

int piano_roll_keys_widget_get_font_size (PianoRollKeysWidget *self)
 Returns the appropriate font size based on the current pixels (height) per key.
 
void piano_roll_keys_widget_refresh (PianoRollKeysWidget *self)
 
void piano_roll_keys_widget_redraw_note (PianoRollKeysWidget *self, int note)
 
void piano_roll_keys_widget_redraw_full (PianoRollKeysWidget *self)
 
void piano_roll_keys_widget_setup (PianoRollKeysWidget *self)
 
int piano_roll_keys_widget_get_key_from_y (PianoRollKeysWidget *self, double y)
 

Variables

 PianoRollKeysWidget
 

Detailed Description

Piano roll keys canvas.

Definition in file piano_roll_keys.h.

Macro Definition Documentation

◆ PIANO_ROLL_KEYS_WIDGET_TYPE

#define PIANO_ROLL_KEYS_WIDGET_TYPE   (piano_roll_keys_widget_get_type ())

Definition at line 15 of file piano_roll_keys.h.