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 #ifndef _CEGUIItemListBaseProperties_h_
00029 #define _CEGUIItemListBaseProperties_h_
00030
00031 #include "CEGUIProperty.h"
00032
00033
00034 namespace CEGUI
00035 {
00036
00041 namespace ItemListBaseProperties
00042 {
00055 class AutoResizeEnabled : public Property
00056 {
00057 public:
00058 AutoResizeEnabled() : Property(
00059 "AutoResizeEnabled",
00060 "Property to get/set the state of the auto resizing enabled setting for the ItemListBase. Value is either \"True\" or \"False\".",
00061 "False")
00062 {}
00063
00064 String get(const PropertyReceiver* receiver) const;
00065 void set(PropertyReceiver* receiver, const String& value);
00066 };
00067
00080 class SortEnabled : public Property
00081 {
00082 public:
00083 SortEnabled() : Property(
00084 "SortEnabled",
00085 "Property to get/set the state of the sorting enabled setting for the ItemListBase. Value is either \"True\" or \"False\".",
00086 "False")
00087 {}
00088
00089 String get(const PropertyReceiver* receiver) const;
00090 void set(PropertyReceiver* receiver, const String& value);
00091 };
00092
00108 class SortMode : public Property
00109 {
00110 public:
00111 SortMode() : Property(
00112 "SortMode",
00113 "Property to get/set the sorting mode for the ItemListBase. Value is either \"Ascending\", \"Descending\" or \"UserSort\".",
00114 "Ascending")
00115 {}
00116
00117 String get(const PropertyReceiver* receiver) const;
00118 void set(PropertyReceiver* receiver, const String& value);
00119 };
00120
00121 }
00122 }
00123
00124 #endif // end of guard _CEGUIItemListBaseProperties_h_