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
00029
00030 #ifndef _FalagardStaticTextProperties_h_
00031 #define _FalagardStaticTextProperties_h_
00032
00033 #include "CEGUIProperty.h"
00034
00035
00036
00037 namespace CEGUI
00038 {
00039
00040
00045 namespace FalagardStaticTextProperties
00046 {
00047
00062 class TextColours : public Property
00063 {
00064 public:
00065 TextColours() : Property(
00066 "TextColours",
00067 "Property to get/set the text colours for the FalagardStaticText widget. Value is \"tl:[aarrggbb] tr:[aarrggbb] bl:[aarrggbb] br:[aarrggbb]\".",
00068 "tl:FFFFFFFF tr:FFFFFFFF bl:FFFFFFFF br:FFFFFFFF")
00069 {}
00070
00071 String get(const PropertyReceiver* receiver) const;
00072 void set(PropertyReceiver* receiver, const String& value);
00073 };
00074
00075
00094 class HorzFormatting : public Property
00095 {
00096 public:
00097 HorzFormatting() : Property(
00098 "HorzFormatting",
00099 "Property to get/set the horizontal formatting mode. Value is one of the HorzFormatting strings.",
00100 "LeftAligned")
00101 {}
00102
00103 String get(const PropertyReceiver* receiver) const;
00104 void set(PropertyReceiver* receiver, const String& value);
00105 };
00106
00107
00121 class VertFormatting : public Property
00122 {
00123 public:
00124 VertFormatting() : Property(
00125 "VertFormatting",
00126 "Property to get/set the vertical formatting mode. Value is one of the VertFormatting strings.",
00127 "VertCentred")
00128 {}
00129
00130 String get(const PropertyReceiver* receiver) const;
00131 void set(PropertyReceiver* receiver, const String& value);
00132 };
00133
00134
00147 class VertScrollbar : public Property
00148 {
00149 public:
00150 VertScrollbar() : Property(
00151 "VertScrollbar",
00152 "Property to get/set the setting for the vertical scroll bar. Value is either \"True\" or \"False\".",
00153 "False")
00154 {}
00155
00156 String get(const PropertyReceiver* receiver) const;
00157 void set(PropertyReceiver* receiver, const String& value);
00158 };
00159
00160
00173 class HorzScrollbar : public Property
00174 {
00175 public:
00176 HorzScrollbar() : Property(
00177 "HorzScrollbar",
00178 "Property to get/set the setting for the horizontal scroll bar. Value is either \"True\" or \"False\".",
00179 "False")
00180 {}
00181
00182 String get(const PropertyReceiver* receiver) const;
00183 void set(PropertyReceiver* receiver, const String& value);
00184 };
00185
00186 }
00187
00188 }
00189
00190
00191 #endif // end of guard _FalagardStaticTextProperties_h_