LMMS
Loading...
Searching...
No Matches
CalfCurve::EventAdapter Struct Reference

Null implementation of EventSink. More...

#include <ctl_curve.h>

Inheritance diagram for CalfCurve::EventAdapter:
CalfCurve::EventSink CalfCurve::EventTester curve_param_control_callback

Public Member Functions

virtual void curve_changed (CalfCurve *src, const point_vector &data)
 Called when a point has been edited, added or removed.
virtual void clip (CalfCurve *src, int pt, float &x, float &y, bool &hide)
 Called to clip/snap/otherwise adjust candidate point coordinates.
Public Member Functions inherited from CalfCurve::EventSink
virtual ~EventSink ()

Detailed Description

Null implementation of EventSink.

Member Function Documentation

◆ clip()

virtual void CalfCurve::EventAdapter::clip ( CalfCurve * src,
int pt,
float & x,
float & y,
bool & hide )
inlinevirtual

Called to clip/snap/otherwise adjust candidate point coordinates.

Implements CalfCurve::EventSink.

Reimplemented in curve_param_control_callback.

◆ curve_changed()

virtual void CalfCurve::EventAdapter::curve_changed ( CalfCurve * src,
const point_vector & data )
inlinevirtual

Called when a point has been edited, added or removed.

Implements CalfCurve::EventSink.

Reimplemented in CalfCurve::EventTester, and curve_param_control_callback.


The documentation for this struct was generated from the following file: