nux-1.16.0
|
Public Member Functions | |
SplineCurveEditor (NUX_FILE_LINE_PROTO) | |
void | SetControlPoints (const SplineKnot &splineKnot) |
const SplineKnot & | GetControlPoints () const |
virtual long | ProcessEvent (IEvent &ievent, long TraverseInfo, long ProcessEventInfo) |
virtual void | Draw (GraphicsEngine &GfxContext, bool force_draw) |
virtual void | DrawContent (GraphicsEngine &GfxContext, bool force_draw) |
virtual void | PostDraw (GraphicsEngine &GfxContext, bool force_draw) |
double | Eval (double t) |
void | RecvMouseUp (int x, int y, unsigned long button_flags, unsigned long key_flags) |
void | RecvMouseDown (int x, int y, unsigned long button_flags, unsigned long key_flags) |
void | RecvMouseDrag (int x, int y, int dx, int dy, unsigned long button_flags, unsigned long key_flags) |
void | RecvKeyEvent (unsigned long eventType, unsigned long keysym, unsigned long state, const TCHAR *character, unsigned short keyCount) |
void | Reset () |
int | GetNumKnot () const |
SplineKnot::Knot | GetKnot (int i) const |
void | AddKnot (double x, double y, bool selected=false) |
Public Attributes | |
sigc::signal< void, SplineCurveEditor * > | sigCurveChange |
Protected Member Functions | |
void | InitializeWidgets () |
void | InitializeLayout () |
Definition at line 314 of file SplineCurveEditor.h.
void nux::SplineCurveEditor::Reset | ( | ) |
Erase all knots.
Definition at line 117 of file SplineCurveEditor.cpp.
References nux::SplineKnot::Reset().
{ m_control_knot.Reset(); }