Crazy Eddies GUI System  0.7.9
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Pages
CEGUIFrameWindowProperties.h
1 /***********************************************************************
2  filename: CEGUIFrameWindowProperties.h
3  created: 10/7/2004
4  author: Paul D Turner
5 
6  purpose: Interface to properties for FrameWIndow class
7 *************************************************************************/
8 /***************************************************************************
9  * Copyright (C) 2004 - 2006 Paul D Turner & The CEGUI Development Team
10  *
11  * Permission is hereby granted, free of charge, to any person obtaining
12  * a copy of this software and associated documentation files (the
13  * "Software"), to deal in the Software without restriction, including
14  * without limitation the rights to use, copy, modify, merge, publish,
15  * distribute, sublicense, and/or sell copies of the Software, and to
16  * permit persons to whom the Software is furnished to do so, subject to
17  * the following conditions:
18  *
19  * The above copyright notice and this permission notice shall be
20  * included in all copies or substantial portions of the Software.
21  *
22  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
23  * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
24  * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
25  * IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
26  * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
27  * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
28  * OTHER DEALINGS IN THE SOFTWARE.
29  ***************************************************************************/
30 #ifndef _CEGUIFrameWindowProperties_h_
31 #define _CEGUIFrameWindowProperties_h_
32 
33 #include "../CEGUIProperty.h"
34 
35 
36 // Start of CEGUI namespace section
37 namespace CEGUI
38 {
39 
40 // Start of FrameWindowProperties namespace section
45 namespace FrameWindowProperties
46 {
59 class SizingEnabled : public Property
60 {
61 public:
63  "SizingEnabled",
64  "Property to get/set the state of the sizable setting for the FrameWindow. Value is either \"True\" or \"False\".",
65  "True")
66  {}
67 
68  String get(const PropertyReceiver* receiver) const;
69  void set(PropertyReceiver* receiver, const String& value);
70 };
71 
72 
85 class FrameEnabled : public Property
86 {
87 public:
89  "FrameEnabled",
90  "Property to get/set the setting for whether the window frame will be displayed. Value is either \"True\" or \"False\".",
91  "True")
92  {}
93 
94  String get(const PropertyReceiver* receiver) const;
95  void set(PropertyReceiver* receiver, const String& value);
96 };
97 
98 
111 class TitlebarEnabled : public Property
112 {
113 public:
115  "TitlebarEnabled",
116  "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\".",
117  "")
118  {}
119 
120  String get(const PropertyReceiver* receiver) const;
121  void set(PropertyReceiver* receiver, const String& value);
122 };
123 
124 
138 {
139 public:
141  "CloseButtonEnabled",
142  "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\".",
143  "True")
144  {}
145 
146  String get(const PropertyReceiver* receiver) const;
147  void set(PropertyReceiver* receiver, const String& value);
148 };
149 
150 
163 class RollUpEnabled : public Property
164 {
165 public:
167  "RollUpEnabled",
168  "Property to get/set the setting for whether the user is able to roll-up / shade the window. Value is either \"True\" or \"False\".",
169  "True")
170  {}
171 
172  String get(const PropertyReceiver* receiver) const;
173  void set(PropertyReceiver* receiver, const String& value);
174 };
175 
176 
189 class RollUpState : public Property
190 {
191 public:
192  RollUpState() : Property(
193  "RollUpState",
194  "Property to get/set the roll-up / shade state of the window. Value is either \"True\" or \"False\".",
195  "False")
196  {}
197 
198  String get(const PropertyReceiver* receiver) const;
199  void set(PropertyReceiver* receiver, const String& value);
200 };
201 
202 
216 {
217 public:
219  "DragMovingEnabled",
220  "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\".",
221  "True")
222  {}
223 
224  String get(const PropertyReceiver* receiver) const;
225  void set(PropertyReceiver* receiver, const String& value);
226 };
227 
228 
241 {
242 public:
244  "SizingBorderThickness",
245  "Property to get/set the setting for the sizing border thickness. Value is a float specifying the border thickness in pixels.",
246  "8")
247  {}
248 
249  String get(const PropertyReceiver* receiver) const;
250  void set(PropertyReceiver* receiver, const String& value);
251 };
252 
253 
264 {
265 public:
267  "NSSizingCursorImage",
268  "Property to get/set the N-S (up-down) sizing cursor image for the FramwWindow. Value should be \"set:[imageset name] image:[image name]\".",
269  "")
270  {}
271 
272  String get(const PropertyReceiver* receiver) const;
273  void set(PropertyReceiver* receiver, const String& value);
274 };
275 
286 {
287 public:
289  "EWSizingCursorImage",
290  "Property to get/set the E-W (left-right) sizing cursor image for the FramwWindow. Value should be \"set:[imageset name] image:[image name]\".",
291  "")
292  {}
293 
294  String get(const PropertyReceiver* receiver) const;
295  void set(PropertyReceiver* receiver, const String& value);
296 };
297 
308 {
309 public:
311  "NWSESizingCursorImage",
312  "Property to get/set the NW-SE diagonal sizing cursor image for the FramwWindow. Value should be \"set:[imageset name] image:[image name]\".",
313  "")
314  {}
315 
316  String get(const PropertyReceiver* receiver) const;
317  void set(PropertyReceiver* receiver, const String& value);
318 };
319 
330 {
331 public:
333  "NESWSizingCursorImage",
334  "Property to get/set the NE-SW diagonal sizing cursor image for the FramwWindow. Value should be \"set:[imageset name] image:[image name]\".",
335  "")
336  {}
337 
338  String get(const PropertyReceiver* receiver) const;
339  void set(PropertyReceiver* receiver, const String& value);
340 };
341 
342 } // End of FrameWindowProperties namespace section
343 
344 } // End of CEGUI namespace section
345 
346 
347 #endif // end of guard _CEGUIFrameWindowProperties_h_