Zrythm
a highly automated and intuitive digital audio workstation
Loading...
Searching...
No Matches
timeline_toolbar.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: © 2019-2022 Alexandros Theodotou <alex@zrythm.org>
2// SPDX-License-Identifier: LicenseRef-ZrythmLicense
3
10#ifndef __GUI_WIDGETS_TIMELINE_TOOLBAR_H__
11#define __GUI_WIDGETS_TIMELINE_TOOLBAR_H__
12
13#include <gtk/gtk.h>
14
15#define TIMELINE_TOOLBAR_WIDGET_TYPE (timeline_toolbar_widget_get_type ())
16G_DECLARE_FINAL_TYPE (
18 timeline_toolbar_widget,
19 Z,
20 TIMELINE_TOOLBAR_WIDGET,
21 GtkBox)
22
23typedef struct _QuantizeMbWidget QuantizeMbWidget;
24typedef struct _QuantizeBoxWidget QuantizeBoxWidget;
25typedef struct _SnapGridWidget SnapGridWidget;
26typedef struct _RangeActionButtonsWidget RangeActionButtonsWidget;
27typedef struct _ZoomButtonsWidget ZoomButtonsWidget;
28
35#define MW_TIMELINE_TOOLBAR MW_TIMELINE_PANEL->timeline_toolbar
36
40typedef struct _TimelineToolbarWidget
41{
42 GtkBox parent_instance;
43 SnapGridWidget * snap_grid;
44 QuantizeBoxWidget * quantize_box;
45 GtkButton * event_viewer_toggle;
46 GtkToggleButton * musical_mode_toggle;
47 RangeActionButtonsWidget * range_action_buttons;
48 ZoomButtonsWidget * zoom_buttons;
49 GtkButton * merge_btn;
51
52void
53timeline_toolbar_widget_refresh (TimelineToolbarWidget * self);
54
55void
56timeline_toolbar_widget_setup (TimelineToolbarWidget * self);
57
62#endif
The Timeline toolbar in the top.