30 #ifndef _CEGUIListHeaderSegment_h_
31 #define _CEGUIListHeaderSegment_h_
34 #include "../Window.h"
38 # pragma warning(push)
39 # pragma warning(disable : 4251)
234 const Image* getSizingCursorImage()
const;
235 const Image* getMovingCursorImage()
const;
251 void setSizingEnabled(
bool setting);
269 void setSortDirection(SortDirection sort_dir);
282 void setDragMovingEnabled(
bool setting);
295 void setClickable(
bool setting);
298 void setSizingCursorImage(
const Image* image);
299 void setSizingCursorImage(
const String& name);
300 void setMovingCursorImage(
const Image* image);
301 void setMovingCursorImage(
const String& name);
335 void doDragSizing(
const Vector2f& local_mouse);
348 void doDragMoving(
const Vector2f& local_mouse);
355 void initDragMoving(
void);
362 void initSizingHoverState(
void);
369 void initSegmentHoverState(
void);
384 bool isDragMoveThresholdExceeded(
const Vector2f& local_mouse);
496 void addHeaderSegmentProperties(
void);
509 static const String& getDataTypeName()
511 static String type(
"SortDirection");
518 if (str ==
"Ascending")
522 else if (str ==
"Descending")
548 assert(
false &&
"Invalid Sort Direction");
556 #if defined(_MSC_VER)
557 # pragma warning(pop)
560 #endif // end of guard _CEGUIListHeaderSegment_h_