Zrythm
a highly automated and intuitive digital audio workstation
Loading...
Searching...
No Matches
meter.h File Reference
#include "utils/general.h"
#include "gtk_wrapper.h"
Include dependency graph for meter.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  MeterWidget
 

Macros

#define METER_WIDGET_TYPE   (meter_widget_get_type ())
 

Functions

void meter_widget_setup (MeterWidget *self, Port *port, bool small)
 Sets up an existing meter and binds it to the given port.
 
MeterWidgetmeter_widget_new (Port *port, int width)
 Creates a new MeterWidget and binds it to the given port.
 

Macro Definition Documentation

◆ METER_WIDGET_TYPE

#define METER_WIDGET_TYPE   (meter_widget_get_type ())

Definition at line 16 of file meter.h.

Function Documentation

◆ meter_widget_new()

MeterWidget * meter_widget_new ( Port * port,
int width )

Creates a new MeterWidget and binds it to the given port.

Parameters
portPort this meter is for.

◆ meter_widget_setup()

void meter_widget_setup ( MeterWidget * self,
Port * port,
bool small )

Sets up an existing meter and binds it to the given port.

Parameters
portPort this meter is for.
smallWhether this should be smaller than normal size.