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 _CEGUIFrameWindowProperties_h_
00031 #define _CEGUIFrameWindowProperties_h_
00032
00033 #include "CEGUIProperty.h"
00034
00035
00036
00037 namespace CEGUI
00038 {
00039
00040
00045 namespace FrameWindowProperties
00046 {
00059 class SizingEnabled : public Property
00060 {
00061 public:
00062 SizingEnabled() : Property(
00063 "SizingEnabled",
00064 "Property to get/set the state of the sizable setting for the FrameWindow. Value is either \"True\" or \"False\".",
00065 "True")
00066 {}
00067
00068 String get(const PropertyReceiver* receiver) const;
00069 void set(PropertyReceiver* receiver, const String& value);
00070 };
00071
00072
00085 class FrameEnabled : public Property
00086 {
00087 public:
00088 FrameEnabled() : Property(
00089 "FrameEnabled",
00090 "Property to get/set the setting for whether the window frame will be displayed. Value is either \"True\" or \"False\".",
00091 "True")
00092 {}
00093
00094 String get(const PropertyReceiver* receiver) const;
00095 void set(PropertyReceiver* receiver, const String& value);
00096 };
00097
00098
00111 class TitlebarEnabled : public Property
00112 {
00113 public:
00114 TitlebarEnabled() : Property(
00115 "TitlebarEnabled",
00116 "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\".",
00117 "")
00118 {}
00119
00120 String get(const PropertyReceiver* receiver) const;
00121 void set(PropertyReceiver* receiver, const String& value);
00122 };
00123
00124
00137 class CloseButtonEnabled : public Property
00138 {
00139 public:
00140 CloseButtonEnabled() : Property(
00141 "CloseButtonEnabled",
00142 "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\".",
00143 "True")
00144 {}
00145
00146 String get(const PropertyReceiver* receiver) const;
00147 void set(PropertyReceiver* receiver, const String& value);
00148 };
00149
00150
00163 class RollUpEnabled : public Property
00164 {
00165 public:
00166 RollUpEnabled() : Property(
00167 "RollUpEnabled",
00168 "Property to get/set the setting for whether the user is able to roll-up / shade the window. Value is either \"True\" or \"False\".",
00169 "True")
00170 {}
00171
00172 String get(const PropertyReceiver* receiver) const;
00173 void set(PropertyReceiver* receiver, const String& value);
00174 };
00175
00176
00189 class RollUpState : public Property
00190 {
00191 public:
00192 RollUpState() : Property(
00193 "RollUpState",
00194 "Property to get/set the roll-up / shade state of the window. Value is either \"True\" or \"False\".",
00195 "False")
00196 {}
00197
00198 String get(const PropertyReceiver* receiver) const;
00199 void set(PropertyReceiver* receiver, const String& value);
00200 };
00201
00202
00215 class DragMovingEnabled : public Property
00216 {
00217 public:
00218 DragMovingEnabled() : Property(
00219 "DragMovingEnabled",
00220 "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\".",
00221 "True")
00222 {}
00223
00224 String get(const PropertyReceiver* receiver) const;
00225 void set(PropertyReceiver* receiver, const String& value);
00226 };
00227
00228
00240 class SizingBorderThickness : public Property
00241 {
00242 public:
00243 SizingBorderThickness() : Property(
00244 "SizingBorderThickness",
00245 "Property to get/set the setting for the sizing border thickness. Value is a float specifying the border thickness in pixels.",
00246 "8")
00247 {}
00248
00249 String get(const PropertyReceiver* receiver) const;
00250 void set(PropertyReceiver* receiver, const String& value);
00251 };
00252
00253
00263 class NSSizingCursorImage : public Property
00264 {
00265 public:
00266 NSSizingCursorImage() : Property(
00267 "NSSizingCursorImage",
00268 "Property to get/set the N-S (up-down) sizing cursor image for the FramwWindow. Value should be \"set:[imageset name] image:[image name]\".",
00269 "")
00270 {}
00271
00272 String get(const PropertyReceiver* receiver) const;
00273 void set(PropertyReceiver* receiver, const String& value);
00274 };
00275
00285 class EWSizingCursorImage : public Property
00286 {
00287 public:
00288 EWSizingCursorImage() : Property(
00289 "EWSizingCursorImage",
00290 "Property to get/set the E-W (left-right) sizing cursor image for the FramwWindow. Value should be \"set:[imageset name] image:[image name]\".",
00291 "")
00292 {}
00293
00294 String get(const PropertyReceiver* receiver) const;
00295 void set(PropertyReceiver* receiver, const String& value);
00296 };
00297
00307 class NWSESizingCursorImage : public Property
00308 {
00309 public:
00310 NWSESizingCursorImage() : Property(
00311 "NWSESizingCursorImage",
00312 "Property to get/set the NW-SE diagonal sizing cursor image for the FramwWindow. Value should be \"set:[imageset name] image:[image name]\".",
00313 "")
00314 {}
00315
00316 String get(const PropertyReceiver* receiver) const;
00317 void set(PropertyReceiver* receiver, const String& value);
00318 };
00319
00329 class NESWSizingCursorImage : public Property
00330 {
00331 public:
00332 NESWSizingCursorImage() : Property(
00333 "NESWSizingCursorImage",
00334 "Property to get/set the NE-SW diagonal sizing cursor image for the FramwWindow. Value should be \"set:[imageset name] image:[image name]\".",
00335 "")
00336 {}
00337
00338 String get(const PropertyReceiver* receiver) const;
00339 void set(PropertyReceiver* receiver, const String& value);
00340 };
00341
00342 }
00343
00344 }
00345
00346
00347 #endif // end of guard _CEGUIFrameWindowProperties_h_