29 #ifndef _CEGUIListHeaderSegment_h_
30 #define _CEGUIListHeaderSegment_h_
33 #include "../Window.h"
37 # pragma warning(push)
38 # pragma warning(disable : 4251)
233 const Image* getSizingCursorImage()
const;
234 const Image* getMovingCursorImage()
const;
250 void setSizingEnabled(
bool setting);
268 void setSortDirection(SortDirection sort_dir);
281 void setDragMovingEnabled(
bool setting);
294 void setClickable(
bool setting);
297 void setSizingCursorImage(
const Image* image);
298 void setSizingCursorImage(
const String& name);
299 void setMovingCursorImage(
const Image* image);
300 void setMovingCursorImage(
const String& name);
334 void doDragSizing(
const Vector2f& local_mouse);
347 void doDragMoving(
const Vector2f& local_mouse);
354 void initDragMoving(
void);
361 void initSizingHoverState(
void);
368 void initSegmentHoverState(
void);
383 bool isDragMoveThresholdExceeded(
const Vector2f& local_mouse);
495 void addHeaderSegmentProperties(
void);
508 static const String& getDataTypeName()
510 static String type(
"SortDirection");
517 if (str ==
"Ascending")
521 else if (str ==
"Descending")
547 assert(
false &&
"Invalid Sort Direction");
555 #if defined(_MSC_VER)
556 # pragma warning(pop)
559 #endif // end of guard _CEGUIListHeaderSegment_h_