20#ifndef Fl_Positioner_H
21#define Fl_Positioner_H
39 double xvalue_, yvalue_;
40 double xstep_, ystep_;
45 void draw(
int,
int,
int,
int);
46 int handle(
int,
int,
int,
int,
int);
58 double xvalue()
const {
return xvalue_;}
60 double yvalue()
const {
return yvalue_;}
63 int value(
double,
double);
64 void xbounds(
double,
double);
73 void ybounds(
double,
double);
83 void xstep(
double a) {xstep_ = a;}
85 void ystep(
double a) {ystep_ = a;}
void xmaximum(double a)
Same as xbounds(xminimum(), a)
Definition Fl_Positioner.H:72
void xminimum(double a)
Same as xbounds(a, xmaximum())
Definition Fl_Positioner.H:68
double ymaximum() const
Gets the Y axis maximum.
Definition Fl_Positioner.H:79
double xminimum() const
Gets the X axis minimum.
Definition Fl_Positioner.H:66
double yminimum() const
Gets the Y axis minimum.
Definition Fl_Positioner.H:75
void ystep(double a)
Sets the stepping value for the Y axis.
Definition Fl_Positioner.H:85
void yminimum(double a)
Same as ybounds(a, ymaximum())
Definition Fl_Positioner.H:77
double xvalue() const
Gets the X axis coordinate.
Definition Fl_Positioner.H:58
Fl_Positioner(int x, int y, int w, int h, const char *l=0)
Creates a new Fl_Positioner widget using the given position, size, and label string.
Definition Fl_Positioner.cxx:123
void xstep(double a)
Sets the stepping value for the X axis.
Definition Fl_Positioner.H:83
void xbounds(double, double)
Sets the X axis bounds.
Definition Fl_Positioner.cxx:136
void ybounds(double, double)
Sets the Y axis bounds.
Definition Fl_Positioner.cxx:144
double yvalue() const
Gets the Y axis coordinate.
Definition Fl_Positioner.H:60
void ymaximum(double a)
Same as ybounds(ymininimum(), a)
Definition Fl_Positioner.H:81
double xmaximum() const
Gets the X axis maximum.
Definition Fl_Positioner.H:70
#define FL_OVERRIDE
This macro makes it safe to use the C++11 keyword override with older compilers.
Definition fl_attr.h:46