Flat curve editor widget, HSV tool modified to use it.
Usage : - click & drag a control point to move it in X&Y direction - click & drag a vertical line to move it in horizontal or vertical direction (the very first move will be used to determine the motion direction) - click & drag the yellow or blue square handle to modify the tangent of the same color
This commit is contained in:
@@ -23,6 +23,7 @@
|
||||
#include <adjuster.h>
|
||||
#include <toolpanel.h>
|
||||
#include <curveeditor.h>
|
||||
#include <curveeditorgroup.h>
|
||||
#include <mycurve.h>
|
||||
|
||||
class LCurve : public Gtk::VBox, public AdjusterListener, public FoldableToolPanel, public CurveListener {
|
||||
@@ -30,7 +31,7 @@ class LCurve : public Gtk::VBox, public AdjusterListener, public FoldableToolPan
|
||||
protected:
|
||||
Adjuster* brightness;
|
||||
Adjuster* contrast;
|
||||
CurveEditor* shape;
|
||||
DiagonalCurveEditor* shape;
|
||||
bool brAdd, contrAdd;
|
||||
|
||||
public:
|
||||
|
Reference in New Issue
Block a user