10#ifndef __GUI_WIDGETS_CHANNEL_SLOT_H__
11#define __GUI_WIDGETS_CHANNEL_SLOT_H__
13#include "common/plugins/plugin.h"
14#include "common/utils/types.h"
15#include "gui/backend/gtk_widgets/gtk_wrapper.h"
17#define CHANNEL_SLOT_WIDGET_TYPE (channel_slot_widget_get_type ())
25namespace zrythm::plugins
39using ChannelSlotWidget =
struct _ChannelSlotWidget
41 GtkWidget parent_instance;
43 zrythm::plugins::PluginSlotType type;
50 GtkGestureClick * click;
51 GtkGestureDrag * drag;
63 GtkGestureClick * right_mouse_mp;
65 PangoLayout * txt_layout;
77 bool open_plugin_inspector_on_click;
80 GtkPopoverMenu * popover_menu;
82 ChannelSlotActivateButtonWidget * activate_btn;
84 GtkImage * bridge_icon;
101 ChannelTrack * track,
102 zrythm::plugins::PluginSlotType type,
103 bool open_plugin_inspector_on_click);
106channel_slot_widget_set_instrument (
107 ChannelSlotWidget * self,
108 ChannelTrack * track);
111channel_slot_widget_get_plugin (ChannelSlotWidget * self);