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)
132 bool isDraggingEnabled(
void)
const;
145 void setDraggingEnabled(
bool setting);
155 bool isBeingDragged(
void)
const;
168 float getPixelDragThreshold(
void)
const;
184 void setPixelDragThreshold(
float pixels);
194 float getDragAlpha(
void)
const;
211 void setDragAlpha(
float alpha);
221 const Image* getDragCursorImage(
void)
const;
237 void setDragCursorImage(
const Image* image);
275 void setDragCursorImage(
const String& imageset,
const String& image);
288 Window* getCurrentDropTarget(
void)
const;
298 bool isStickyModeEnabled()
const;
308 void setStickyModeEnabled(
bool setting);
326 bool pickUp(
const bool force_sticky =
false);
341 void setFixedDragOffset(
const UVector2& offset);
356 const UVector2& getFixedDragOffset()
const;
368 void setUsingFixedDragOffset(
const bool enable);
380 bool isUsingFixedDragOffset()
const;
401 bool isDraggingThresholdExceeded(
const Point& local_mouse);
410 void initialiseDragging(
void);
422 void doDragging(
const Point& local_mouse);
428 void updateActiveMouseCursor(
void)
const;
441 virtual bool testClassName_impl(
const String& class_name)
const
443 if (class_name==
"DragContainer")
return true;
605 void addDragContainerProperties(
void);
611 #if defined(_MSC_VER)
612 # pragma warning(pop)
615 #endif // end of guard _CEGUIDragContainer_h_