Patch from issue 1267: "New Threshold curve widget", used in USM Sharpening and Vibrance
This commit is contained in:
@@ -68,11 +68,16 @@ class Adjuster : public Gtk::VBox {
|
||||
Adjuster (Glib::ustring label, double vmin, double vmax, double vstep, double vdefault, bool editedCheckBox=false);
|
||||
Adjuster (Gtk::Image *imgIcon, double vmin, double vmax, double vstep, double vdefault, bool editedCheckBox=false);
|
||||
virtual ~Adjuster ();
|
||||
void setAdjusterListener (AdjusterListener* alistener);
|
||||
void setAdjusterListener (AdjusterListener* alistener) { adjusterListener = alistener; }
|
||||
|
||||
// return the value trimmed to the limits at construction time
|
||||
double getValue () { return spin->get_value (); }
|
||||
// return the value trimmed to the limits at construction time
|
||||
int getIntValue () { return spin->get_value_as_int (); }
|
||||
// return the value trimmed to the limits at construction time,
|
||||
// method only used by the history manager
|
||||
Glib::ustring getTextValue () { return spin->get_text (); }
|
||||
|
||||
double getValue ();
|
||||
int getIntValue ();
|
||||
Glib::ustring getTextValue ();
|
||||
void setValue (double a);
|
||||
void setLimits (double vmin, double vmax, double vstep, double vdefault);
|
||||
void setEnabled (bool enabled);
|
||||
|
Reference in New Issue
Block a user