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 _FalEditboxProperties_h_
00029 #define _FalEditboxProperties_h_
00030
00031 #include "../../CEGUIProperty.h"
00032
00033
00034 namespace CEGUI
00035 {
00036
00038 namespace FalagardEditboxProperties
00039 {
00052 class BlinkCaret : public Property
00053 {
00054 public:
00055 BlinkCaret() : Property(
00056 "BlinkCaret",
00057 "Property to get/set whether the Editbox caret should blink. "
00058 "Value is either \"True\" or \"False\".",
00059 "False")
00060 {}
00061
00062 String get(const PropertyReceiver* receiver) const;
00063 void set(PropertyReceiver* receiver, const String& value);
00064 };
00065
00075 class BlinkCaretTimeout : public Property
00076 {
00077 public:
00078 BlinkCaretTimeout() : Property(
00079 "BlinkCaretTimeout",
00080 "Property to get/set the caret blink timeout / speed. "
00081 "Value is a float value indicating the timeout in seconds.",
00082 "0.66")
00083 {}
00084
00085 String get(const PropertyReceiver* receiver) const;
00086 void set(PropertyReceiver* receiver, const String& value);
00087 };
00088
00102 class TextFormatting : public Property
00103 {
00104 public:
00105 TextFormatting() : Property(
00106 "TextFormatting",
00107 "Property to get/set the horizontal formatting mode. "
00108 "Value is one of: LeftAligned, RightAligned or HorzCentred",
00109 "LeftAligned")
00110 {}
00111
00112 String get(const PropertyReceiver* receiver) const;
00113 void set(PropertyReceiver* receiver, const String& value);
00114 };
00115
00116 }
00117
00118 }
00119
00120 #endif // end of guard _FalEditboxProperties_h_