gltk 0.3
a C++ widget library built on GLUT
Public Member Functions | Protected Attributes
gltk::Adjustment Class Reference

value with a defined range and two sizes of increments More...

#include <adjustment.hh>

Inheritance diagram for gltk::Adjustment:
gltk::ListView gltk::SpinButton

List of all members.

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

Detailed Description

value with a defined range and two sizes of increments

Examples:

slider.cc.


Constructor & Destructor Documentation

Adjustment::Adjustment ( double  value,
double  lower,
double  upper,
double  step_increment = 1,
double  page_increment = 10,
double  page_size = 0 
)

initialied with defined parameters

Parameters:
valueset initial value
lowerset lower
upperset upper
step_incrementset step_increment
page_incrementset page_increment
page_sizeset page_size
 All Classes Namespaces Files Functions Variables Enumerations Enumerator