Zrythm
a highly automated and intuitive digital audio workstation
Loading...
Searching...
No Matches
timeline_bg.h
1/*
2 * SPDX-FileCopyrightText: © 2019 Alexandros Theodotou <alex@zrythm.org>
3 *
4 * SPDX-License-Identifier: LicenseRef-ZrythmLicense
5 */
6
7#if 0
8
16# ifndef __GUI_WIDGETS_TIMELINE_BG_H__
17# define __GUI_WIDGETS_TIMELINE_BG_H__
18
19# include "gui/widgets/arranger_bg.h"
20
21# include <gtk/gtk.h>
22
23# define TIMELINE_BG_WIDGET_TYPE (timeline_bg_widget_get_type ())
24G_DECLARE_FINAL_TYPE (
25 TimelineBgWidget,
26 timeline_bg_widget,
27 Z, TIMELINE_BG_WIDGET,
28 ArrangerBgWidget)
29
30
36# define TIMELINE_BG \
37 Z_TIMELINE_BG_WIDGET ( \
38 arranger_widget_get_private (Z_ARRANGER_WIDGET (MW_TIMELINE))->bg)
39
40typedef struct _TimelineBgWidget
41{
42 ArrangerBgWidget parent_instance;
43} TimelineBgWidget;
44
49TimelineBgWidget *
50timeline_bg_widget_new (
51 RulerWidget * ruler,
52 ArrangerWidget * arranger);
53
57void
58timeline_bg_widget_draw (
59 TimelineBgWidget * self,
60 cairo_t * cr,
61 GdkRectangle * rect);
62
67# endif
68#endif
The arranger widget is a canvas that draws all the arranger objects it contains.
Definition arranger.h:108