Zrythm
a highly automated and intuitive digital audio workstation
Loading...
Searching...
No Matches
channel_sends_expander.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: © 2020 Alexandros Theodotou <alex@zrythm.org>
3 *
4 * SPDX-License-Identifier: LicenseRef-ZrythmLicense
5 */
6
13#ifndef __GUI_WIDGETS_CHANNEL_SENDS_EXPANDER_H__
14#define __GUI_WIDGETS_CHANNEL_SENDS_EXPANDER_H__
15
17
18#include "gtk_wrapper.h"
19
20#define CHANNEL_SENDS_EXPANDER_WIDGET_TYPE \
21 (channel_sends_expander_widget_get_type ())
22G_DECLARE_FINAL_TYPE (
24 channel_sends_expander_widget,
25 Z,
26 CHANNEL_SENDS_EXPANDER_WIDGET,
27 ExpanderBoxWidget);
28
29typedef struct Track Track;
30typedef struct _ChannelSendWidget ChannelSendWidget;
31
38enum class ChannelSendsExpanderPosition
39{
40 CSE_POSITION_CHANNEL,
41 CSE_POSITION_INSPECTOR,
42};
43
48typedef struct _ChannelSendsExpanderWidget
49{
50 ExpanderBoxWidget parent_instance;
51
52 ChannelSendsExpanderPosition position;
53
55 GtkScrolledWindow * scroll;
56 GtkViewport * viewport;
57
59 GtkBox * box;
60
62 GtkBox * strip_boxes[STRIP_SIZE];
63
66
70
74void
76
80void
83 ChannelSendsExpanderPosition position,
84 Track * track);
85
90#endif
Expander box.
#define STRIP_SIZE
Number of plugin slots per channel.
Definition audio.h:75
void channel_sends_expander_widget_refresh(ChannelSendsExpanderWidget *self)
Refreshes each field.
void channel_sends_expander_widget_setup(ChannelSendsExpanderWidget *self, ChannelSendsExpanderPosition position, Track *track)
Sets up the ChannelSendsExpanderWidget.
A TwoColExpanderBoxWidget for showing the ports in the InspectorWidget.
GtkScrolledWindow * scroll
Scrolled window for the vbox inside.
GtkBox * box
VBox containing each slot.
Track to be inserted into the Project's Tracklist.
Definition track.h:177