Zrythm
a highly automated and intuitive digital audio workstation
Loading...
Searching...
No Matches
arranger_wrapper.h
Go to the documentation of this file.
1// clang-format off
2// SPDX-FileCopyrightText: © 2023 Alexandros Theodotou <alex@zrythm.org>
3// SPDX-License-Identifier: LicenseRef-ZrythmLicense
4// clang-format on
5
12#ifndef __GUI_WIDGETS_ARRANGER_WRAPPER_H__
13#define __GUI_WIDGETS_ARRANGER_WRAPPER_H__
14
15#include <stdbool.h>
16
18#include "utils/types.h"
19
20#include <gtk/gtk.h>
21
22#define ARRANGER_WRAPPER_WIDGET_TYPE (arranger_wrapper_widget_get_type ())
23G_DECLARE_FINAL_TYPE (
25 arranger_wrapper_widget,
26 Z,
27 ARRANGER_WRAPPER_WIDGET,
28 GtkWidget)
29
30TYPEDEF_STRUCT_UNDERSCORED (ArrangerMinimapWidget);
31
41typedef struct _ArrangerWrapperWidget
42{
43 GtkWidget parent_instance;
44
46 GtkOverlay * overlay;
47
48 GtkScrollbar * right_scrollbar;
49 ArrangerWidget * child;
50 ArrangerMinimapWidget * minimap;
51
53
54void
55arranger_wrapper_widget_setup (
58 SnapGrid * snap_grid);
59
64#endif
Arranger base widget.
ArrangerWidgetType
Type of arranger.
Definition arranger.h:84
The arranger widget is a canvas that draws all the arranger objects it contains.
Definition arranger.h:108
Wraps the arranger widget in a box with scrollbars.
GtkOverlay * overlay
The right scrollbar will be overlayed on the arranger.
Custom types.