LMMS
Loading...
Searching...
No Matches
gui_controls.cpp File Reference

Classes

struct  curve_param_control_callback

Macros

#define SANITIZE(value)

Functions

static void on_control_destroy (GtkWidget *w, gpointer p)
static gboolean scale_to_default (gpointer data)
static gboolean scale_button_press (GtkWidget *widget, GdkEventKey *event, gpointer *user_data)
static float to_x_pos (float freq)
static float from_x_pos (float pos)
static float to_y_pos (CalfLineGraph *lg, float gain)
static float from_y_pos (CalfLineGraph *lg, float pos)

Macro Definition Documentation

◆ SANITIZE

#define SANITIZE ( value)
Value:
(std::abs(value) < small_value<float>()) ? 0.f : value
static PuglViewHint int value
Definition pugl.h:1708

Function Documentation

◆ from_x_pos()

float from_x_pos ( float pos)
static

◆ from_y_pos()

float from_y_pos ( CalfLineGraph * lg,
float pos )
static

◆ on_control_destroy()

void on_control_destroy ( GtkWidget * w,
gpointer p )
static

◆ scale_button_press()

gboolean scale_button_press ( GtkWidget * widget,
GdkEventKey * event,
gpointer * user_data )
static

◆ scale_to_default()

gboolean scale_to_default ( gpointer data)
static

◆ to_x_pos()

float to_x_pos ( float freq)
static

◆ to_y_pos()

float to_y_pos ( CalfLineGraph * lg,
float gain )
static