Zrythm
a highly automated and intuitive digital audio workstation
Loading...
Searching...
No Matches
InspectorPortWidget Struct Reference

A Port to show in the inspector for Plugin's. More...

#include <gui/widgets/inspector_port.h>

Collaboration diagram for InspectorPortWidget:

Data Fields

GtkWidget parent_instance
 
GtkOverlay * overlay
 
BarSliderWidgetbar_slider
 The bar slider.
 
gint64 last_midi_trigger_time
 Last MIDI event trigger time, for MIDI ports.
 
gint64 last_tooltip_change
 Last time the tooltip changed.
 
float minf
 Caches from the port.
 
float maxf
 
float zerof
 
float normalized_init_port_val
 Normalized value at the start of an action.
 
char port_str [400]
 Port name cache.
 
Portport
 Port this is for.
 
float last_real_val
 Caches of last real value and its corresponding normalized value.
 
float last_normalized_val
 
bool last_port_val_set
 
Metermeter
 Meter for this widget.
 
GtkToggleButton * jack
 Jack button to expose port to jack.
 
GtkToggleButton * midi
 MIDI button to select MIDI CC sources.
 
GtkGestureClick * double_click_gesture
 Multipress guesture for double click.
 
GtkGestureClick * right_click_gesture
 Multipress guesture for right click.
 
char hex_color [40]
 
int last_num_connections
 Cache of port's last drawn number of connetions (srcs or dests).
 
GtkPopoverMenu * popover_menu
 Popover to be reused for context menus.
 
PortConnectionsPopoverWidgetconnections_popover
 

Detailed Description

A Port to show in the inspector for Plugin's.

Definition at line 38 of file inspector_port.h.

Field Documentation

◆ bar_slider

BarSliderWidget* InspectorPortWidget::bar_slider

The bar slider.

Definition at line 45 of file inspector_port.h.

◆ connections_popover

PortConnectionsPopoverWidget* InspectorPortWidget::connections_popover

Definition at line 109 of file inspector_port.h.

◆ double_click_gesture

GtkGestureClick* InspectorPortWidget::double_click_gesture

Multipress guesture for double click.

Definition at line 95 of file inspector_port.h.

◆ hex_color

char InspectorPortWidget::hex_color[40]

Definition at line 100 of file inspector_port.h.

◆ jack

GtkToggleButton* InspectorPortWidget::jack

Jack button to expose port to jack.

Definition at line 89 of file inspector_port.h.

◆ last_midi_trigger_time

gint64 InspectorPortWidget::last_midi_trigger_time

Last MIDI event trigger time, for MIDI ports.

Definition at line 48 of file inspector_port.h.

◆ last_normalized_val

float InspectorPortWidget::last_normalized_val

Definition at line 82 of file inspector_port.h.

◆ last_num_connections

int InspectorPortWidget::last_num_connections

Cache of port's last drawn number of connetions (srcs or dests).

Definition at line 104 of file inspector_port.h.

◆ last_port_val_set

bool InspectorPortWidget::last_port_val_set

Definition at line 83 of file inspector_port.h.

◆ last_real_val

float InspectorPortWidget::last_real_val

Caches of last real value and its corresponding normalized value.

This is used to avoid re-calculating a normalized value for the same real value.

TODO move this optimization on Port struct.

Definition at line 81 of file inspector_port.h.

◆ last_tooltip_change

gint64 InspectorPortWidget::last_tooltip_change

Last time the tooltip changed.

Used to avoid excessive updating of the tooltip text.

Definition at line 56 of file inspector_port.h.

◆ maxf

float InspectorPortWidget::maxf

Definition at line 60 of file inspector_port.h.

◆ meter

Meter* InspectorPortWidget::meter

Meter for this widget.

Definition at line 86 of file inspector_port.h.

◆ midi

GtkToggleButton* InspectorPortWidget::midi

MIDI button to select MIDI CC sources.

Definition at line 92 of file inspector_port.h.

◆ minf

float InspectorPortWidget::minf

Caches from the port.

Definition at line 59 of file inspector_port.h.

◆ normalized_init_port_val

float InspectorPortWidget::normalized_init_port_val

Normalized value at the start of an action.

Definition at line 64 of file inspector_port.h.

◆ overlay

GtkOverlay* InspectorPortWidget::overlay

Definition at line 42 of file inspector_port.h.

◆ parent_instance

GtkWidget InspectorPortWidget::parent_instance

Definition at line 40 of file inspector_port.h.

◆ popover_menu

GtkPopoverMenu* InspectorPortWidget::popover_menu

Popover to be reused for context menus.

Definition at line 107 of file inspector_port.h.

◆ port

Port* InspectorPortWidget::port

Port this is for.

Definition at line 70 of file inspector_port.h.

◆ port_str

char InspectorPortWidget::port_str[400]

Port name cache.

Definition at line 67 of file inspector_port.h.

◆ right_click_gesture

GtkGestureClick* InspectorPortWidget::right_click_gesture

Multipress guesture for right click.

Definition at line 98 of file inspector_port.h.

◆ zerof

float InspectorPortWidget::zerof

Definition at line 61 of file inspector_port.h.


The documentation for this struct was generated from the following file: