List of all members.
Detailed Description
The (base) class for slider controls.
Member Enumeration Documentation
Possible orientation values (horizontal or vertical).
- Enumerator:
-
Constructor & Destructor Documentation
| fl7::faces::Slider::Slider |
( |
Shell *const |
shell |
) |
|
| fl7::faces::Slider::~Slider |
( |
void |
|
) |
[virtual] |
Member Function Documentation
| float fl7::faces::Slider::GetCurrentPosition |
( |
|
) |
const [inline] |
Returns the current position.
| float fl7::faces::Slider::GetMaximum |
( |
|
) |
const [inline] |
Returns the maximum value for the (current) position.
| float fl7::faces::Slider::GetMinimum |
( |
|
) |
const [inline] |
Returns the minimum value for the (current) position.
| Orientation fl7::faces::Slider::GetOrientation |
( |
|
) |
const [inline] |
Returns the orientation of this slider (horizontal or vertical).
| float fl7::faces::Slider::GetRetension |
( |
|
) |
const [inline] |
Returns the retension from the current position to the imaginary next position.
| float fl7::faces::Slider::GetStep |
( |
|
) |
const [inline] |
| bool fl7::faces::Slider::IsInverted |
( |
|
) |
const [inline] |
| void fl7::faces::Slider::IsInverted |
( |
bool |
inverted |
) |
[inline] |
| Slider & fl7::faces::Slider::operator() |
( |
float |
position |
) |
|
Sets the current position to the given one. The new position will not fall below the minimum position and will not exceed the maximum position.
| Slider& fl7::faces::Slider::operator++ |
( |
int |
|
) |
[inline] |
Increases the current position (post-increment operator). The new position will not exceed the maximum position. This post-increment operator acts like a pre-increment operator.
| Slider & fl7::faces::Slider::operator++ |
( |
|
) |
|
Increases the current position (pre-increment operator). The new position will not exceed the maximum position.
| Slider & fl7::faces::Slider::operator+= |
( |
float |
step |
) |
|
Increases the current position by the given amount. The new position will not exceed the maximum position and will not fall below the minimum position (in case of a negative value).
| Slider & fl7::faces::Slider::operator-- |
( |
|
) |
|
Decreases the current position (pre-increment operator). The new position will not fall below the minimum position.
| Slider& fl7::faces::Slider::operator-- |
( |
int |
|
) |
[inline] |
Decreases the current position (post-increment operator). The new position will not fall below the minimum position. This post-increment operator acts like a pre-increment operator.
| Slider & fl7::faces::Slider::operator-= |
( |
float |
step |
) |
|
Decreases the current position by the given amount. The new position will not fall below the minimum position and will not exceed the maximum position (in case of a negative value).
| void fl7::faces::Slider::SetCurrentPosition |
( |
float |
position |
) |
|
Sets the current position. The new position should fall between the minimum and the maximum value. If not, the minimum or maximum value will be updated as well.
| void fl7::faces::Slider::SetMaximum |
( |
float |
maximum |
) |
|
Sets the maximum value for the (current) position. If the difference of the maximum and the new minimum value then is less than the retension value, the retension value will be updated as well. If the minimum value is greater than the maximum value, the minimum value will be updated as well. If the current position then is greater than the maximum value minus the retension value, the position will be updated as well.
| void fl7::faces::Slider::SetMinimum |
( |
float |
minimum |
) |
|
Sets the minimum value for the (current) position. If the difference of the maximum and the new minimum value then is less than the retension value, the retension value will be updated as well. If the minimum value is greater than the maximum value, the maximum value will be updated as well. If the current position then is less than the minimum value, the position will be updated as well.
| void fl7::faces::Slider::SetOrientation |
( |
const Orientation |
orientation |
) |
[inline] |
Sets the orientation of this slider (horizontal or vertical).
| void fl7::faces::Slider::SetRetension |
( |
float |
retension |
) |
|
Sets the retension from the current position to the imaginary next position. If the retension value coming from the current position then extends the maximum value, the maximum value will be updated as well.
| void fl7::faces::Slider::SetStep |
( |
float |
step |
) |
|
Member Data Documentation
Will be called after the position of this slider has changed.
The documentation for this class was generated from the following files: