source:
code/branches/doc/src/external/ceguilua/ceguilua-0.5.0/package/elements/Spinner.pkg
@
7290
| Last change on this file since 7290 was 5781, checked in by rgrieder, 16 years ago | |
|---|---|
|
|
| File size: 623 bytes | |
| Line | |
|---|---|
| 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.










