LMMS
Loading...
Searching...
No Matches
CalfCurve::EventSink Struct Referenceabstract

User callbacks for handling curve events. More...

#include <ctl_curve.h>

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

Public Member Functions

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

Detailed Description

User callbacks for handling curve events.

Constructor & Destructor Documentation

◆ ~EventSink()

virtual CalfCurve::EventSink::~EventSink ( )
inlinevirtual

Member Function Documentation

◆ clip()

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

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

Implemented in CalfCurve::EventAdapter, and curve_param_control_callback.

◆ curve_changed()

virtual void CalfCurve::EventSink::curve_changed ( CalfCurve * src,
const point_vector & data )
pure virtual

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

Implemented in CalfCurve::EventAdapter, CalfCurve::EventTester, and curve_param_control_callback.


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