gui/widgets/track.h file

Track base widget to be inherited.

Contents

Classes

struct TrackWidgetPrivate
The TrackWidget is split into 3 parts inside a DzlMultiPaned.

Functions

auto track_widget_new(Track* track) -> TrackWidget*
Sets up the track widget.
void track_widget_select(TrackWidget* self, int select)
1 = select, 0 = unselect
void track_widget_on_mute_toggled(GtkToggleButton* btn, void* data)
General handler for tracks that have mute buttons.
void track_widget_block_all_signal_handlers(TrackWidget* self)
Blocks all signal handlers.
void track_widget_unblock_all_signal_handlers(TrackWidget* self)
Unblocks all signal handlers.
void track_widget_refresh(TrackWidget* self)
Wrapper.
void track_widget_refresh_buttons(TrackWidget* self)
Wrapper to refresh mute button only.
void track_widget_on_show_automation_toggled(GtkWidget* widget, TrackWidget* self)
Callback when automation button is toggled.
void track_widget_on_show_lanes_toggled(GtkWidget* widget, TrackWidget* self)
Callback when automation button is toggled.
void track_widget_on_record_toggled(GtkWidget* widget, void* data)
Callback when record button is toggled.
auto track_widget_is_cursor_in_top_half(TrackWidget* self, double y) -> int
Returns if cursor is in top half of the track.