Zrythm
a highly automated and intuitive digital audio workstation
Loading...
Searching...
No Matches
automation_editor_space.h
Go to the documentation of this file.
1// clang-format off
2// SPDX-FileCopyrightText: © 2019-2020, 2022 Alexandros Theodotou <alex@zrythm.org>
3// SPDX-License-Identifier: LicenseRef-ZrythmLicense
4// clang-format on
5
12#ifndef __GUI_WIDGETS_AUTOMATION_EDITOR_SPACE_H__
13#define __GUI_WIDGETS_AUTOMATION_EDITOR_SPACE_H__
14
15#include <gtk/gtk.h>
16
17#define AUTOMATION_EDITOR_SPACE_WIDGET_TYPE \
18 (automation_editor_space_widget_get_type ())
19G_DECLARE_FINAL_TYPE (
21 automation_editor_space_widget,
22 Z,
23 AUTOMATION_EDITOR_SPACE_WIDGET,
24 GtkBox)
25
26typedef struct _ArrangerWidget ArrangerWidget;
27typedef struct _AutomationEditorLegendWidget AutomationEditorLegendWidget;
28
35#define MW_AUTOMATION_EDITOR_SPACE MW_CLIP_EDITOR_INNER->automation_editor_space
36
41typedef struct _AutomationEditorSpaceWidget
42{
43 GtkBox parent_instance;
44
48
51 GtkBox * left_box;
52
55 // GtkScrolledWindow * arranger_scroll;
56 // GtkViewport * arranger_viewport;
57
58 /* The legend on the left side. */
59 AutomationEditorLegendWidget * legend;
61
62void
63automation_editor_space_widget_setup (AutomationEditorSpaceWidget * self);
64
68void
71 int visible);
72
73void
74automation_editor_space_widget_refresh (AutomationEditorSpaceWidget * self);
75
80#endif
void automation_editor_space_widget_update_size_group(AutomationEditorSpaceWidget *self, int visible)
See CLIP_EDITOR_INNER_WIDGET_ADD_TO_SIZEGROUP.
The arranger widget is a canvas that draws all the arranger objects it contains.
Definition arranger.h:108
The piano roll widget is the whole space inside the clip editor tab when a AUTOMATION region is selec...
GtkBox * left_box
The box on the left of the arranger containing the chord keys.
ArrangerWidget * arranger
The arranger.
GtkBox * left_slash_arranger_box
The box dividing the chord keys and the arranger.