28 #ifndef _CEGUIDragContainer_h_
29 #define _CEGUIDragContainer_h_
31 #include "../CEGUIWindow.h"
32 #include "../CEGUIWindowFactory.h"
33 #include "CEGUIDragContainerProperties.h"
37 # pragma warning(push)
38 # pragma warning(disable : 4251)
91 bool isDraggingEnabled(
void)
const;
104 void setDraggingEnabled(
bool setting);
114 bool isBeingDragged(
void)
const;
127 float getPixelDragThreshold(
void)
const;
143 void setPixelDragThreshold(
float pixels);
153 float getDragAlpha(
void)
const;
170 void setDragAlpha(
float alpha);
180 const Image* getDragCursorImage(
void)
const;
196 void setDragCursorImage(
const Image* image);
234 void setDragCursorImage(
const String& imageset,
const String& image);
247 Window* getCurrentDropTarget(
void)
const;
257 bool isStickyModeEnabled()
const;
267 void setStickyModeEnabled(
bool setting);
288 bool isDraggingThresholdExceeded(
const Point& local_mouse);
297 void initialiseDragging(
void);
309 void doDragging(
const Point& local_mouse);
315 void updateActiveMouseCursor(
void)
const;
328 virtual bool testClassName_impl(
const String& class_name)
const
330 if (class_name==
"DragContainer")
return true;
486 void addDragContainerProperties(
void);
492 #if defined(_MSC_VER)
493 # pragma warning(pop)
496 #endif // end of guard _CEGUIDragContainer_h_