00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028 #ifndef _CEGUISpinnerProperties_h_
00029 #define _CEGUISpinnerProperties_h_
00030
00031 #include "CEGUIProperty.h"
00032
00033
00034
00035 namespace CEGUI
00036 {
00037
00038 namespace SpinnerProperties
00039 {
00051 class CurrentValue : public Property
00052 {
00053 public:
00054 CurrentValue() : Property(
00055 "CurrentValue",
00056 "Property to get/set the current value of the spinner. Value is a float.",
00057 "0.000000")
00058 {}
00059
00060 String get(const PropertyReceiver* receiver) const;
00061 void set(PropertyReceiver* receiver, const String& value);
00062 };
00063
00075 class StepSize : public Property
00076 {
00077 public:
00078 StepSize() : Property(
00079 "StepSize",
00080 "Property to get/set the step size of the spinner. Value is a float.",
00081 "1.000000")
00082 {}
00083
00084 String get(const PropertyReceiver* receiver) const;
00085 void set(PropertyReceiver* receiver, const String& value);
00086 };
00087
00099 class MinimumValue : public Property
00100 {
00101 public:
00102 MinimumValue() : Property(
00103 "MinimumValue",
00104 "Property to get/set the minimum value setting of the spinner. Value is a float.",
00105 "-32768.000000")
00106 {}
00107
00108 String get(const PropertyReceiver* receiver) const;
00109 void set(PropertyReceiver* receiver, const String& value);
00110 };
00111
00123 class MaximumValue : public Property
00124 {
00125 public:
00126 MaximumValue() : Property(
00127 "MaximumValue",
00128 "Property to get/set the maximum value setting of the spinner. Value is a float.",
00129 "32767.000000")
00130 {}
00131
00132 String get(const PropertyReceiver* receiver) const;
00133 void set(PropertyReceiver* receiver, const String& value);
00134 };
00135
00152 class TextInputMode : public Property
00153 {
00154 public:
00155 TextInputMode() : Property(
00156 "TextInputMode",
00157 "Property to get/set the TextInputMode setting for the spinner. Value is \"FloatingPoint\", \"Integer\", \"Hexadecimal\", or \"Octal\".",
00158 "Integer")
00159 {}
00160
00161 String get(const PropertyReceiver* receiver) const;
00162 void set(PropertyReceiver* receiver, const String& value);
00163 };
00164
00165 }
00166 }
00167
00168
00169 #endif // end of guard _CEGUISpinnerProperties_h_