1
/***********************************************************************
2
filename: CEGUIListHeaderSegmentProperties.h
6
purpose: Interface to properties for ListHeaderSegment class
7
*************************************************************************/
8
/***************************************************************************
9
* Copyright (C) 2004 - 2006 Paul D Turner & The CEGUI Development Team
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:
19
* The above copyright notice and this permission notice shall be
20
* included in all copies or substantial portions of the Software.
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 _CEGUIListHeaderSegmentProperties_h_
31
#define _CEGUIListHeaderSegmentProperties_h_
33
#include "../CEGUIProperty.h"
36
// Start of CEGUI namespace section
40
// Start of ListHeaderSegmentProperties namespace section
43
Namespace containing all classes that make up the properties interface for the ListHeaderSegment class
45
namespace ListHeaderSegmentProperties
49
Property to access the sizable setting of the header segment.
56
- "True" to indicate the segment can be sized by the user.
57
- "False" to indicate the segment can not be sized by the user.
59
class Sizable : public Property
64
"Property to get/set the sizable setting of the header segment. Value is either \"True\" or \"False\".",
68
String get(const PropertyReceiver* receiver) const;
69
void set(PropertyReceiver* receiver, const String& value);
75
Property to access the click-able setting of the header segment.
82
- "True" to indicate the segment can be clicked by the user.
83
- "False" to indicate the segment can not be clicked by the user.
85
class Clickable : public Property
88
Clickable() : Property(
90
"Property to get/set the click-able setting of the header segment. Value is either \"True\" or \"False\".",
94
String get(const PropertyReceiver* receiver) const;
95
void set(PropertyReceiver* receiver, const String& value);
101
Property to access the drag-able setting of the header segment.
107
\par Where [Text] is:
108
- "True" to indicate the segment can be dragged by the user.
109
- "False" to indicate the segment can not be dragged by the user.
111
class Dragable : public Property
114
Dragable() : Property(
116
"Property to get/set the drag-able setting of the header segment. Value is either \"True\" or \"False\".",
120
String get(const PropertyReceiver* receiver) const;
121
void set(PropertyReceiver* receiver, const String& value);
127
Property to access the sort direction setting of the header segment.
130
- Name: SortDirection
133
\par Where [Text] is one of:
138
class SortDirection : public Property
141
SortDirection() : Property(
143
"Property to get/set the sort direction setting of the header segment. Value is the text of one of the SortDirection enumerated value names.",
147
String get(const PropertyReceiver* receiver) const;
148
void set(PropertyReceiver* receiver, const String& value);
154
Property to access the segment sizing cursor image
157
- Name: SizingCursorImage
158
- Format: "set:<imageset> image:<imagename>".
161
class SizingCursorImage : public Property
164
SizingCursorImage() : Property(
166
"Property to get/set the sizing cursor image for the List Header Segment. Value should be \"set:[imageset name] image:[image name]\".",
170
String get(const PropertyReceiver* receiver) const;
171
void set(PropertyReceiver* receiver, const String& value);
177
Property to access the segment moving cursor image
180
- Name: MovingCursorImage
181
- Format: "set:<imageset> image:<imagename>".
184
class MovingCursorImage : public Property
187
MovingCursorImage() : Property(
189
"Property to get/set the moving cursor image for the List Header Segment. Value should be \"set:[imageset name] image:[image name]\".",
193
String get(const PropertyReceiver* receiver) const;
194
void set(PropertyReceiver* receiver, const String& value);
197
} // End of ListHeaderSegmentProperties namespace section
199
} // End of CEGUI namespace section
202
#endif // end of guard _CEGUIListHeaderSegmentProperties_h_