List of all members.
Detailed Description
Number editor with individually controllable digits.
Each digit acts like a slider that can be scrolled up or down to increase or decrease the value of the number. The keyboard can also be used to edit the currently focused digit. The sign on the left side can be toggled by clicking it. The digits are scaled according to the dimensions of the view. The padding amount determines the spacing around the digits. For best looking characters use a Rect dimension ns x s where 'n' is the number of digits and 's' is the character size plus padding amount.
Constructor & Destructor Documentation
glv::NumberDialer::NumberDialer |
( |
const Rect & |
r, |
|
|
int |
numInt, |
|
|
int |
numFrac | |
|
) |
| | |
- Parameters:
-
[in] | r | Geometry |
[in] | numInt | Number of places in integer part |
[in] | numFrac | Number of places in fraction part |
glv::NumberDialer::NumberDialer |
( |
const Rect & |
r, |
|
|
int |
numInt, |
|
|
int |
numFrac, |
|
|
double |
max, |
|
|
double |
min | |
|
) |
| | |
- Parameters:
-
[in] | r | Geometry |
[in] | numInt | Number of places in integer part |
[in] | numFrac | Number of places in fraction part |
[in] | max | Maximum value |
[in] | min | Minimum value |
The documentation for this class was generated from the following files:
- /Users/ljp/code/glv-svn/trunk/include/glv_textview.h
- /Users/ljp/code/glv-svn/trunk/src/glv_textview.cpp