Zrythm v2.0.0-DEV
a highly automated and intuitive digital audio workstation
Loading...
Searching...
No Matches
plugin_properties_expander.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: © 2020-2021 Alexandros Theodotou <alex@zrythm.org>
2// SPDX-License-Identifier: LicenseRef-ZrythmLicense
3
9
10#ifndef __GUI_WIDGETS_PLUGIN_PROPERTIES_EXPANDER_H__
11#define __GUI_WIDGETS_PLUGIN_PROPERTIES_EXPANDER_H__
12
13#include "common/dsp/port.h"
14#include "gui/backend/gtk_widgets/gtk_wrapper.h"
15#include "gui/backend/gtk_widgets/two_col_expander_box.h"
16
17typedef struct _EditableLabelWidget EditableLabelWidget;
18typedef struct _PluginPresetSelectorWidget PluginPresetSelectorWidget;
19class Track;
20class Plugin;
21
22#define PLUGIN_PROPERTIES_EXPANDER_WIDGET_TYPE \
23 (plugin_properties_expander_widget_get_type ())
24G_DECLARE_FINAL_TYPE (
26 plugin_properties_expander_widget,
27 Z,
28 PLUGIN_PROPERTIES_EXPANDER_WIDGET,
29 TwoColExpanderBoxWidget);
30
36
41typedef struct _PluginPropertiesExpanderWidget
42{
43 TwoColExpanderBoxWidget parent_instance;
44
46 GtkLabel * name;
47
49 GtkLabel * type;
50
51 GtkComboBoxText * banks;
52 GtkListBox * presets;
53
54 GtkButton * save_preset_btn;
55 GtkButton * load_preset_btn;
56
59
60 gulong bank_changed_handler;
61 gulong pset_changed_handler;
63
67void
71
75void
79
83
84#endif
DSP processing plugin.
Definition plugin.h:30
void plugin_properties_expander_widget_setup(PluginPropertiesExpanderWidget *self, zrythm::plugins::Plugin *pl)
Sets up the PluginPropertiesExpanderWidget for a Plugin.
void plugin_properties_expander_widget_refresh(PluginPropertiesExpanderWidget *self, zrythm::plugins::Plugin *pl)
Refreshes each field.
A widget for selecting plugin_properties in the plugin inspector.
zrythm::plugins::Plugin * plugin
Currently selected plugin.