00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024 #ifndef _CEGUIScrolledContainerProperties_h_
00025 #define _CEGUIScrolledContainerProperties_h_
00026
00027 #include "CEGUIProperty.h"
00028
00029
00030 namespace CEGUI
00031 {
00032
00037 namespace ScrolledContainerProperties
00038 {
00052 class ContentPaneAutoSized : public Property
00053 {
00054 public:
00055 ContentPaneAutoSized() : Property(
00056 "ContentPaneAutoSized",
00057 "Property to get/set the setting which controls whether the content pane will auto-size itself. Value is either \"True\" or \"False\".",
00058 "True")
00059 {}
00060
00061 String get(const PropertyReceiver* receiver) const;
00062 void set(PropertyReceiver* receiver, const String& value);
00063 };
00064
00079 class ContentArea : public Property
00080 {
00081 public:
00082 ContentArea() : Property(
00083 "ContentArea",
00084 "Property to get/set the current content area rectangle of the content pane. Value is \"l:[float] t:[float] r:[float] b:[float]\" (where l is left, t is top, r is right, and b is bottom).",
00085 "l:0.000000 t:0.000000 r:0.000000 b:0.000000")
00086 {}
00087
00088 String get(const PropertyReceiver* receiver) const;
00089 void set(PropertyReceiver* receiver, const String& value);
00090 };
00091
00106 class ChildExtentsArea : public Property
00107 {
00108 public:
00109 ChildExtentsArea() : Property(
00110 "ChildExtentsArea",
00111 "Property to get the current content extents rectangle. Value is \"l:[float] t:[float] r:[float] b:[float]\" (where l is left, t is top, r is right, and b is bottom).",
00112 "l:0.000000 t:0.000000 r:0.000000 b:0.000000")
00113 {}
00114
00115 String get(const PropertyReceiver* receiver) const;
00116 void set(PropertyReceiver* receiver, const String& value);
00117 };
00118
00119 }
00120 }
00121
00122
00123 #endif // end of guard _CEGUIScrolledContainerProperties_h_