Zrythm
a highly automated and intuitive digital audio workstation
Loading...
Searching...
No Matches
knob.h File Reference

Basic knob widget, taken from Ardour. More...

#include "utils/types.h"
#include "gtk_wrapper.h"
Include dependency graph for knob.h:

Go to the source code of this file.

Data Structures

struct  KnobWidget
 

Macros

#define KNOB_WIDGET_TYPE   (knob_widget_get_type ())
 
#define knob_widget_new_simple(getter, default_getter, setter, obj, min, max, size, zero)
 
#define knob_widget_new_port(conn, size)
 

Enumerations

enum class  KnobType { KNOB_TYPE_NORMAL , KnobType::KNOB_TYPE_PORT_MULTIPLIER }
 Type of knob. More...
 

Functions

KnobWidget_knob_widget_new (GenericFloatGetter get_val, GenericFloatGetter get_default_val, GenericFloatSetter set_val, void *object, KnobType type, float min, float max, int size, float zero)
 Creates a knob widget with the given options and binds it to the given value.
 

Detailed Description

Basic knob widget, taken from Ardour.

Definition in file knob.h.

Macro Definition Documentation

◆ KNOB_WIDGET_TYPE

#define KNOB_WIDGET_TYPE   (knob_widget_get_type ())

Definition at line 17 of file knob.h.