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 _CEGUITreeProperties_h_
00029 #define _CEGUITreeProperties_h_
00030
00031 #include "CEGUIProperty.h"
00032
00033
00034
00035 namespace CEGUI
00036 {
00037
00038
00043 namespace TreeProperties
00044 {
00057 class Sort : public Property
00058 {
00059 public:
00060 Sort() : Property(
00061 "Sort",
00062 "Property to get/set the sort setting of the list box. Value is either \"True\" or \"False\".",
00063 "False")
00064 {}
00065
00066 String get(const PropertyReceiver* receiver) const;
00067 void set(PropertyReceiver* receiver, const String& value);
00068 };
00069
00070
00083 class MultiSelect : public Property
00084 {
00085 public:
00086 MultiSelect() : Property(
00087 "MultiSelect",
00088 "Property to get/set the multi-select setting of the list box. Value is either \"True\" or \"False\".",
00089 "False")
00090 {}
00091
00092 String get(const PropertyReceiver* receiver) const;
00093 void set(PropertyReceiver* receiver, const String& value);
00094 };
00095
00096
00109 class ForceVertScrollbar : public Property
00110 {
00111 public:
00112 ForceVertScrollbar() : Property(
00113 "ForceVertScrollbar",
00114 "Property to get/set the 'always show' setting for the vertical scroll bar of the list box. Value is either \"True\" or \"False\".",
00115 "False")
00116 {}
00117
00118 String get(const PropertyReceiver* receiver) const;
00119 void set(PropertyReceiver* receiver, const String& value);
00120 };
00121
00122
00135 class ForceHorzScrollbar : public Property
00136 {
00137 public:
00138 ForceHorzScrollbar() : Property(
00139 "ForceHorzScrollbar",
00140 "Property to get/set the 'always show' setting for the horizontal scroll bar of the list box. Value is either \"True\" or \"False\".",
00141 "False")
00142 {}
00143
00144 String get(const PropertyReceiver* receiver) const;
00145 void set(PropertyReceiver* receiver, const String& value);
00146 };
00147
00160 class ItemTooltips : public Property
00161 {
00162 public:
00163 ItemTooltips() : Property(
00164 "ItemTooltips",
00165 "Property to access the show item tooltips setting of the list box. Value is either \"True\" or \"False\".",
00166 "False")
00167 {}
00168
00169 String get(const PropertyReceiver* receiver) const;
00170 void set(PropertyReceiver* receiver, const String& value);
00171 };
00172
00173 }
00174
00175 }
00176
00177 #endif // end of guard _CEGUITreeProperties_h_