SplineControlMessages Class Reference

#include <customgui_splinecontrol.h>

Detailed Description

See also
SplineCustomGui::SetMessageFunctions to register the spline control message callback.

Public Member Functions

virtual void KnotMoved (Float x, Float y)
 
virtual void KnotInserted (Int32 lKnot, Float x, Float y)
 
virtual void LeftTangentMoved (Float x, Float y)
 
virtual void RightTangentMoved (Float x, Float y)
 

Member Function Documentation

◆ KnotMoved()

virtual void KnotMoved ( Float  x,
Float  y 
)
virtual

Called when a knot was moved.

Parameters
[in]xThe X coordinate.
[in]yThe Y coordinate.

◆ KnotInserted()

virtual void KnotInserted ( Int32  lKnot,
Float  x,
Float  y 
)
virtual

Called when a knot was inserted.

Parameters
[in]lKnotThe knot index.
[in]xThe X coordinate.
[in]yThe Y coordinate.

◆ LeftTangentMoved()

virtual void LeftTangentMoved ( Float  x,
Float  y 
)
virtual

Called when a knot's left tangent was moved.

Parameters
[in]xThe tangent's X coordinate.
[in]yThe tangent's Y coordinate.

◆ RightTangentMoved()

virtual void RightTangentMoved ( Float  x,
Float  y 
)
virtual

Called when a knot's right tangent was moved.

Parameters
[in]xThe tangent's X coordinate.
[in]yThe tangent's Y coordinate.