31 #define FL_HORIZONTAL           1  
   49   double previous_value_;
 
   56   Fl_Valuator(
int X, 
int Y, 
int W, 
int H, 
const char* L);
 
   62   double softclamp(
double);
 
   63   void handle_drag(
double newvalue);
 
   64   void handle_release(); 
 
   65   virtual void value_damage(); 
 
   72     void bounds(
double a, 
double b) {min=a; max=b;}
 
  101   void range(
double a, 
double b) {min = a; max = b;}
 
  103   void step(
int a) {A = a; B = 1;}
 
  105   void step(
double a, 
int b) {A = a; B = b;}
 
  118   double step()
 const {
return A/B;}
 
  122   double value()
 const {
return value_;}
 
  125   virtual int format(
char*);
 
  126   double round(
double); 
 
  127   double clamp(
double); 
 
  128   double increment(
double, 
int); 
 
The Fl_Valuator class controls a single floating-point value and provides a consistent interface to s...
Definition: Fl_Valuator.H:46
void maximum(double a)
Sets the maximum value for the valuator. 
Definition: Fl_Valuator.H:80
double previous_value() const 
Gets the previous floating point value before an event changed it. 
Definition: Fl_Valuator.H:59
double minimum() const 
Gets the minimum value for the valuator. 
Definition: Fl_Valuator.H:74
int horizontal() const 
Tells if the valuator is an FL_HORIZONTAL one. 
Definition: Fl_Valuator.H:55
void set_value(double v)
Sets the current floating point value. 
Definition: Fl_Valuator.H:67
void step(double a, int b)
See double Fl_Valuator::step() const. 
Definition: Fl_Valuator.H:105
double maximum() const 
Gets the maximum value for the valuator. 
Definition: Fl_Valuator.H:78
void handle_push()
Stores the current value in the previous value. 
Definition: Fl_Valuator.H:61
void minimum(double a)
Sets the minimum value for the valuator. 
Definition: Fl_Valuator.H:76
void bounds(double a, double b)
Sets the minimum (a) and maximum (b) values for the valuator widget. 
Definition: Fl_Valuator.H:72
double value() const 
Gets the floating point(double) value. 
Definition: Fl_Valuator.H:122
void range(double a, double b)
Sets the minimum and maximum values for the valuator. 
Definition: Fl_Valuator.H:101
void step(int a)
See double Fl_Valuator::step() const. 
Definition: Fl_Valuator.H:103
double step() const 
Gets or sets the step value. 
Definition: Fl_Valuator.H:118