31#ifndef Fl_Positioner_H
32#define Fl_Positioner_H
50 double xvalue_, yvalue_;
51 double xstep_, ystep_;
56 void draw(
int,
int,
int,
int);
57 int handle(
int,
int,
int,
int,
int);
69 double xvalue()
const {
return xvalue_;}
71 double yvalue()
const {
return yvalue_;}
74 int value(
double,
double);
75 void xbounds(
double,
double);
84 void ybounds(
double,
double);
94 void xstep(
double a) {xstep_ = a;}
96 void ystep(
double a) {ystep_ = a;}
void xmaximum(double a)
Same as xbounds(xminimum(), a)
Definition Fl_Positioner.H:83
void xminimum(double a)
Same as xbounds(a, xmaximum())
Definition Fl_Positioner.H:79
double ymaximum() const
Gets the Y axis maximum.
Definition Fl_Positioner.H:90
double xminimum() const
Gets the X axis minimum.
Definition Fl_Positioner.H:77
double yminimum() const
Gets the Y axis minimum.
Definition Fl_Positioner.H:86
void ystep(double a)
Sets the stepping value for the Y axis.
Definition Fl_Positioner.H:96
void yminimum(double a)
Same as ybounds(a, ymaximum())
Definition Fl_Positioner.H:88
double xvalue() const
Gets the X axis coordinate.
Definition Fl_Positioner.H:69
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:131
void xstep(double a)
Sets the stepping value for the X axis.
Definition Fl_Positioner.H:94
void xbounds(double, double)
Sets the X axis bounds.
Definition Fl_Positioner.cxx:144
void ybounds(double, double)
Sets the Y axis bounds.
Definition Fl_Positioner.cxx:152
double yvalue() const
Gets the Y axis coordinate.
Definition Fl_Positioner.H:71
void ymaximum(double a)
Same as ybounds(ymininimum(), a)
Definition Fl_Positioner.H:92
double xmaximum() const
Gets the X axis maximum.
Definition Fl_Positioner.H:81