gltk
0.3
a C++ widget library built on GLUT
|
value with a defined range and two sizes of increments More...
#include <adjustment.hh>
Public Member Functions | |
Adjustment (double value, double lower, double upper, double step_increment=1, double page_increment=10, double page_size=0) | |
initialied with defined parameters | |
void | configure (double value, double lower, double upper, double step_increment=1, double page_increment=10, double page_size=0) |
change the parameter of the Adjustment | |
sigc::signal< void > & | signal_changed () |
get the signal on value change | |
Protected Attributes | |
double | value |
the value | |
double | lower |
lower bound | |
double | upper |
upper bound | |
double | step_increment |
step increment | |
double | page_increment |
page increment | |
double | page_size |
size of a page |
value with a defined range and two sizes of increments
Adjustment::Adjustment | ( | double | value, |
double | lower, | ||
double | upper, | ||
double | step_increment = 1 , |
||
double | page_increment = 10 , |
||
double | page_size = 0 |
||
) |
initialied with defined parameters
value | set initial value |
lower | set lower |
upper | set upper |
step_increment | set step_increment |
page_increment | set page_increment |
page_size | set page_size |