Zrythm
a highly automated and intuitive digital audio workstation
|
Digital meter used for displaying Position, BPM, etc. More...
Go to the source code of this file.
Data Structures | |
struct | DigitalMeterWidget |
Macros | |
#define | DIGITAL_METER_WIDGET_TYPE (digital_meter_widget_get_type ()) |
#define | digital_meter_widget_new_for_position(obj, drag_begin, getter, setter, drag_end, caption) |
Enumerations | |
enum class | DigitalMeterType { DIGITAL_METER_TYPE_BPM , DIGITAL_METER_TYPE_POSITION , DIGITAL_METER_TYPE_TIMESIG , DIGITAL_METER_TYPE_NOTE_TYPE , DIGITAL_METER_TYPE_NOTE_LENGTH } |
Functions | |
G_DECLARE_FINAL_TYPE (DigitalMeterWidget, digital_meter_widget, Z, DIGITAL_METER_WIDGET, GtkWidget) enum class NoteLength | |
DigitalMeterWidget * | digital_meter_widget_new (DigitalMeterType type, NoteLength *note_length, NoteType *note_type, const char *caption) |
Creates a digital meter with the given type ( bpm or position). | |
DigitalMeterWidget * | _digital_meter_widget_new_for_position (void *obj, void(*drag_begin)(void *), void(*get_val)(void *, Position *), void(*set_val)(void *, Position *), void(*drag_end)(void *), const char *caption) |
Creates a digital meter for an arbitrary position. | |
void | digital_meter_set_draw_line (DigitalMeterWidget *self, int draw_line) |
void | digital_meter_show_context_menu (DigitalMeterWidget *self, GMenu *menu) |
Shows the widgets popover menu with the provided content. | |
Digital meter used for displaying Position, BPM, etc.
Definition in file digital_meter.h.
#define DIGITAL_METER_WIDGET_TYPE (digital_meter_widget_get_type ()) |
Definition at line 19 of file digital_meter.h.