Cosmetic of the parametric curve editor + reset button added for the curves

This commit is contained in:
Hombre
2010-07-07 10:51:30 +02:00
parent 757fa3b54e
commit d95cf20c98
6 changed files with 78 additions and 10 deletions

View File

@@ -27,6 +27,7 @@
class CurveEditor : public Gtk::VBox, public CurveListener, public SHCListener, public AdjusterListener {
Gtk::ComboBoxText* curveType;
Gtk::Button* curve_reset;
Gtk::VBox* paramCurveBox;
Gtk::VBox* customCurveBox;
@@ -68,6 +69,7 @@ class CurveEditor : public Gtk::VBox, public CurveListener, public SHCListener,
void setCurve (const std::vector<double>& c);
std::vector<double> getCurve ();
void curveChanged ();
void curveResetPressed ();
void shcChanged ();
void adjusterChanged (Adjuster* a, double newval);
bool adjusterEntered (GdkEventCrossing* ev, int ac);