Last change
on this file since 7725 was
5781,
checked in by rgrieder, 15 years ago
|
Reverted trunk again. We might want to find a way to delete these revisions again (x3n's changes are still available as diff in the commit mails).
|
-
Property svn:eol-style set to
native
|
File size:
623 bytes
|
Rev | Line | |
---|
[2608] | 1 | /*********************************************************************** |
---|
| 2 | Spinner |
---|
| 3 | ***********************************************************************/ |
---|
| 4 | class Spinner : public Window |
---|
| 5 | { |
---|
| 6 | enum TextInputMode |
---|
| 7 | { |
---|
| 8 | FloatingPoint, |
---|
| 9 | Integer, |
---|
| 10 | Hexadecimal, |
---|
| 11 | Octal |
---|
| 12 | }; |
---|
| 13 | |
---|
| 14 | float getCurrentValue() const; |
---|
| 15 | float getStepSize() const; |
---|
| 16 | float getMaximumValue() const; |
---|
| 17 | float getMinimumValue() const; |
---|
| 18 | TextInputMode getTextInputMode() const; |
---|
| 19 | |
---|
| 20 | void setCurrentValue(float value); |
---|
| 21 | void setStepSize(float step); |
---|
| 22 | void setMaximumValue(float maxValue); |
---|
| 23 | void setMinimumValue(float minVaue); |
---|
| 24 | void setTextInputMode(TextInputMode mode); |
---|
| 25 | }; |
---|
Note: See
TracBrowser
for help on using the repository browser.