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);