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 _CEGUIDragContainerProperties_h_
00029 #define _CEGUIDragContainerProperties_h_
00030
00031 #include "CEGUIProperty.h"
00032
00033
00034 namespace CEGUI
00035 {
00036
00037 namespace DragContainerProperties
00038 {
00051 class DraggingEnabled : public Property
00052 {
00053 public:
00054 DraggingEnabled() : Property(
00055 "DraggingEnabled",
00056 "Property to get/set the state of the dragging enabled setting for the DragContainer. Value is either \"True\" or \"False\".",
00057 "True")
00058 {}
00059
00060 String get(const PropertyReceiver* receiver) const;
00061 void set(PropertyReceiver* receiver, const String& value);
00062 };
00063
00075 class DragAlpha : public Property
00076 {
00077 public:
00078 DragAlpha() : Property(
00079 "DragAlpha",
00080 "Property to get/set the dragging alpha value. Value is a float.",
00081 "0.500000")
00082 {}
00083
00084 String get(const PropertyReceiver* receiver) const;
00085 void set(PropertyReceiver* receiver, const String& value);
00086 };
00087
00099 class DragThreshold : public Property
00100 {
00101 public:
00102 DragThreshold() : Property(
00103 "DragThreshold",
00104 "Property to get/set the dragging threshold value. Value is a float.",
00105 "8.000000")
00106 {}
00107
00108 String get(const PropertyReceiver* receiver) const;
00109 void set(PropertyReceiver* receiver, const String& value);
00110 };
00111
00126 class DragCursorImage : public Property
00127 {
00128 public:
00129 DragCursorImage() : Property(
00130 "DragCursorImage",
00131 "Property to get/set the mouse cursor image used when dragging. Value should be \"set:<imageset name> image:<image name>\".",
00132 "")
00133 {}
00134
00135 String get(const PropertyReceiver* receiver) const;
00136 void set(PropertyReceiver* receiver, const String& value);
00137 };
00138
00139 }
00140 }
00141
00142 #endif // end of guard _CEGUIDragContainerProperties_h_