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");
515 static return_type fromString(
const String& str)
517 if (str ==
"Ascending")
521 else if (str ==
"Descending")
531 static string_return_type toString(pass_type val)
547 assert(
false &&
"Invalid Sort Direction");
555 #if defined(_MSC_VER)
556 # pragma warning(pop)
559 #endif // end of guard _CEGUIListHeaderSegment_h_
Interface for Image.
Definition: Image.h:158
Main namespace for Crazy Eddie's GUI Library.
Definition: arch_overview.dox:1
An abstract base class providing common functionality and specifying the required interface for deriv...
Definition: Window.h:149
Helper class used to convert various data types to and from the format expected in Property strings...
Definition: ForwardRefs.h:84
EventArgs based class that is used for objects passed to handlers triggered for events concerning som...
Definition: InputEvent.h:251
EventArgs based class that is used for objects passed to input event handlers concerning mouse input...
Definition: InputEvent.h:280
String class used within the GUI system.
Definition: String.h:62