LMMS
Loading...
Searching...
No Matches
ctl_curve.h File Reference
#include <gtk/gtk.h>
#include <vector>

Go to the source code of this file.

Classes

struct  CalfCurve
struct  CalfCurve::EventSink
 User callbacks for handling curve events. More...
struct  CalfCurve::EventAdapter
 Null implementation of EventSink. More...
struct  CalfCurve::EventTester
 Debug implementation of EventSink. More...
struct  CalfCurveClass

Macros

#define CALF_TYPE_CURVE   (calf_curve_get_type())
#define CALF_CURVE(obj)
#define CALF_IS_CURVE(obj)
#define CALF_CURVE_CLASS(klass)
#define CALF_IS_CURVE_CLASS(obj)

Functions

GtkWidget * calf_curve_new (unsigned int point_limit=-1)
 Create a CalfCurve.
GType calf_curve_get_type ()
 Return a GObject type for class CalfCurve.
void calf_curve_set_points (GtkWidget *widget, const CalfCurve::point_vector &src)
 Set points and update the widget.

Macro Definition Documentation

◆ CALF_CURVE

#define CALF_CURVE ( obj)
Value:
(G_TYPE_CHECK_INSTANCE_CAST ((obj), CALF_TYPE_CURVE, CalfCurve))
#define CALF_TYPE_CURVE
Definition ctl_curve.h:30
Definition ctl_curve.h:40

◆ CALF_CURVE_CLASS

#define CALF_CURVE_CLASS ( klass)
Value:
(G_TYPE_CHECK_CLASS_CAST ((klass), CALF_TYPE_CURVE, CalfCurveClass))
Definition ctl_curve.h:106

◆ CALF_IS_CURVE

#define CALF_IS_CURVE ( obj)
Value:
(G_TYPE_CHECK_INSTANCE_TYPE ((obj), CALF_TYPE_CURVE))

◆ CALF_IS_CURVE_CLASS

#define CALF_IS_CURVE_CLASS ( obj)
Value:
(G_TYPE_CHECK_CLASS_TYPE ((klass), CALF_TYPE_CURVE))

◆ CALF_TYPE_CURVE

#define CALF_TYPE_CURVE   (calf_curve_get_type())

Function Documentation

◆ calf_curve_get_type()

GType calf_curve_get_type ( )
extern

Return a GObject type for class CalfCurve.

◆ calf_curve_new()

GtkWidget * calf_curve_new ( unsigned int point_limit = -1)
extern

Create a CalfCurve.

◆ calf_curve_set_points()

void calf_curve_set_points ( GtkWidget * widget,
const CalfCurve::point_vector & src )
extern

Set points and update the widget.