Zrythm
a highly automated and intuitive digital audio workstation
|
Custom slider widget. More...
Go to the source code of this file.
Data Structures | |
struct | BarSliderWidget |
Draggable slider to adjust an amount (such as a percentage). More... | |
Macros | |
#define | BAR_SLIDER_WIDGET_TYPE (bar_slider_widget_get_type ()) |
#define | bar_slider_widget_new(getter, setter, obj, min, max, w, h, zero, dec, mode, suffix) |
Helper to create a bar slider widget. | |
#define | bar_slider_widget_new_port_connection(conn, prefix) |
Wrapper. | |
Enumerations | |
enum class | BarSliderType { BAR_SLIDER_TYPE_NORMAL , BarSliderType::BAR_SLIDER_TYPE_PORT_MULTIPLIER , BAR_SLIDER_TYPE_CONTROL_PORT } |
Type of slider. More... | |
Functions | |
G_DECLARE_FINAL_TYPE (BarSliderWidget, bar_slider_widget, Z, BAR_SLIDER_WIDGET, GtkWidget) typedef struct Port Port | |
BarSliderWidget * | _bar_slider_widget_new (BarSliderType type, float(*get_val)(void *), void(*set_val)(void *, float), void *object, float min, float max, int w, int h, float zero, int convert_to_percentage, int decimals, UiDragMode mode, const char *prefix, const char *suffix) |
Creates a bar slider widget for floats. | |
Custom slider widget.
Definition in file bar_slider.h.
#define BAR_SLIDER_WIDGET_TYPE (bar_slider_widget_get_type ()) |
Definition at line 18 of file bar_slider.h.