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 #ifndef _CEGUIFrameWindowProperties_h_
00027 #define _CEGUIFrameWindowProperties_h_
00028
00029 #include "CEGUIProperty.h"
00030
00031
00032
00033 namespace CEGUI
00034 {
00035
00036
00041 namespace FrameWindowProperties
00042 {
00055 class SizingEnabled : public Property
00056 {
00057 public:
00058 SizingEnabled() : Property(
00059 "SizingEnabled",
00060 "Property to get/set the state of the sizable setting for the FrameWindow. Value is either \"True\" or \"False\".",
00061 "True")
00062 {}
00063
00064 String get(const PropertyReceiver* receiver) const;
00065 void set(PropertyReceiver* receiver, const String& value);
00066 };
00067
00068
00081 class FrameEnabled : public Property
00082 {
00083 public:
00084 FrameEnabled() : Property(
00085 "FrameEnabled",
00086 "Property to get/set the setting for whether the window frame will be displayed. Value is either \"True\" or \"False\".",
00087 "True")
00088 {}
00089
00090 String get(const PropertyReceiver* receiver) const;
00091 void set(PropertyReceiver* receiver, const String& value);
00092 };
00093
00094
00107 class TitlebarEnabled : public Property
00108 {
00109 public:
00110 TitlebarEnabled() : Property(
00111 "TitlebarEnabled",
00112 "Property to get/set the setting for whether the window title-bar will be enabled (or displayed depending upon choice of final widget type). Value is either \"True\" or \"False\".",
00113 "")
00114 {}
00115
00116 String get(const PropertyReceiver* receiver) const;
00117 void set(PropertyReceiver* receiver, const String& value);
00118 };
00119
00120
00133 class CloseButtonEnabled : public Property
00134 {
00135 public:
00136 CloseButtonEnabled() : Property(
00137 "CloseButtonEnabled",
00138 "Property to get/set the setting for whether the window close button will be enabled (or displayed depending upon choice of final widget type). Value is either \"True\" or \"False\".",
00139 "True")
00140 {}
00141
00142 String get(const PropertyReceiver* receiver) const;
00143 void set(PropertyReceiver* receiver, const String& value);
00144 };
00145
00146
00159 class RollUpEnabled : public Property
00160 {
00161 public:
00162 RollUpEnabled() : Property(
00163 "RollUpEnabled",
00164 "Property to get/set the setting for whether the user is able to roll-up / shade the window. Value is either \"True\" or \"False\".",
00165 "True")
00166 {}
00167
00168 String get(const PropertyReceiver* receiver) const;
00169 void set(PropertyReceiver* receiver, const String& value);
00170 };
00171
00172
00185 class RollUpState : public Property
00186 {
00187 public:
00188 RollUpState() : Property(
00189 "RollUpState",
00190 "Property to get/set the roll-up / shade state of the window. Value is either \"True\" or \"False\".",
00191 "False")
00192 {}
00193
00194 String get(const PropertyReceiver* receiver) const;
00195 void set(PropertyReceiver* receiver, const String& value);
00196 };
00197
00198
00211 class DragMovingEnabled : public Property
00212 {
00213 public:
00214 DragMovingEnabled() : Property(
00215 "DragMovingEnabled",
00216 "Property to get/set the setting for whether the user may drag the window around by its title bar. Value is either \"True\" or \"False\".",
00217 "True")
00218 {}
00219
00220 String get(const PropertyReceiver* receiver) const;
00221 void set(PropertyReceiver* receiver, const String& value);
00222 };
00223
00224
00236 class SizingBorderThickness : public Property
00237 {
00238 public:
00239 SizingBorderThickness() : Property(
00240 "SizingBorderThickness",
00241 "Property to get/set the setting for the sizing border thickness. Value is a float specifying the border thickness in pixels.",
00242 "8.000000")
00243 {}
00244
00245 String get(const PropertyReceiver* receiver) const;
00246 void set(PropertyReceiver* receiver, const String& value);
00247 };
00248
00249
00261 class TitlebarFont : public Property
00262 {
00263 public:
00264 TitlebarFont() : Property(
00265 "TitlebarFont",
00266 "Property to get/set the Font set for the windows title bar. Value is the name of the font to use (must be loaded already).",
00267 "")
00268 {}
00269
00270 String get(const PropertyReceiver* receiver) const;
00271 void set(PropertyReceiver* receiver, const String& value);
00272 };
00273
00285 class CaptionColour : public Property
00286 {
00287 public:
00288 CaptionColour() : Property(
00289 "CaptionColour",
00290 "Property to get/set the colour used for rendering the caption text. Value is \"aarrggbb\" (hex).",
00291 "FF000000")
00292 {}
00293
00294 String get(const PropertyReceiver* receiver) const;
00295 void set(PropertyReceiver* receiver, const String& value);
00296 };
00297
00298 }
00299
00300 }
00301
00302
00303 #endif // end of guard _CEGUIFrameWindowProperties_h_