26#include "Fl_Valuator.H"
30#define FL_NORMAL_COUNTER 0
31#define FL_SIMPLE_COUNTER 1
51 static void repeat_callback(
void *);
65 Fl_Counter(
int X,
int Y,
int W,
int H,
const char* L = 0);
73 void lstep(
double a) {lstep_ = a;}
int Fl_Font
A font number is an index into the internal font table.
Definition Enumerations.H:1063
unsigned int Fl_Color
An FLTK color value; see also Colors.
Definition Enumerations.H:1120
int Fl_Fontsize
Size of a font in pixels.
Definition Enumerations.H:1092
void textfont(Fl_Font s)
Sets the text font to s.
Definition Fl_Counter.H:95
void lstep(double a)
Sets the increment for the large step buttons.
Definition Fl_Counter.H:73
void step(double a, double b)
Sets the increments for the normal and large step buttons.
Definition Fl_Counter.H:79
void textsize(Fl_Fontsize s)
Sets the font size to s.
Definition Fl_Counter.H:100
Fl_Fontsize textsize() const
Gets the font size.
Definition Fl_Counter.H:98
double step() const
Returns the increment for normal step buttons.
Definition Fl_Counter.H:90
Fl_Font textfont() const
Gets the text font.
Definition Fl_Counter.H:93
void arrow_widths(int &w1, int &w2)
Compute sizes (widths) of arrow boxes.
Definition Fl_Counter.cxx:56
void textcolor(Fl_Color s)
Sets the font color to s.
Definition Fl_Counter.H:105
void step(double a)
Sets the increment for the normal step buttons.
Definition Fl_Counter.H:85
Fl_Color textcolor() const
Gets the font color.
Definition Fl_Counter.H:103
Fl_Counter(int X, int Y, int W, int H, const char *L=0)
Creates a new Fl_Counter widget using the given position, size, and label string.
Definition Fl_Counter.cxx:244
double step() const
Gets or sets the step value.
Definition Fl_Valuator.H:121
Fl_Valuator(int X, int Y, int W, int H, const char *L)
Creates a new Fl_Valuator widget using the given position, size, and label string.
Definition Fl_Valuator.cxx:26
#define FL_OVERRIDE
This macro makes it safe to use the C++11 keyword override with older compilers.
Definition fl_attr.h:46
unsigned char uchar
unsigned char
Definition fl_types.h:30