29 #ifndef _CEGUIListHeader_h_
30 #define _CEGUIListHeader_h_
33 #include "../Window.h"
34 #include "./ListHeaderSegment.h"
37 # pragma warning(push)
38 # pragma warning(disable : 4251)
211 uint getColumnCount(
void)
const;
266 uint getSortSegmentID(
void)
const;
296 uint getColumnFromID(uint
id)
const;
309 uint getSortColumn(
void)
const;
324 uint getColumnWithText(
const String& text)
const;
355 float getPixelOffsetToColumn(uint column)
const;
365 float getTotalSegmentsPixelExtent(
void)
const;
381 UDim getColumnWidth(uint column)
const;
402 bool isSortingEnabled(
void)
const;
412 bool isColumnSizingEnabled(
void)
const;
422 bool isColumnDraggingEnabled(
void)
const;
450 void setSortingEnabled(
bool setting);
493 void setSortColumn(uint column);
508 void setSortColumnFromID(uint
id);
522 void setColumnSizingEnabled(
bool setting);
536 void setColumnDraggingEnabled(
bool setting);
555 void addColumn(
const String& text, uint
id,
const UDim& width);
578 void insertColumn(
const String& text, uint
id,
const UDim& width, uint position);
618 void removeColumn(uint column);
652 void moveColumn(uint column, uint position);
727 void setSegmentOffset(
float offset);
746 void setColumnWidth(uint column,
const UDim& width);
812 void layoutSegments(
void);
842 virtual bool validateWindowRenderer(
const WindowRenderer* renderer)
const;
933 bool segmentSizedHandler(
const EventArgs& e);
934 bool segmentMovedHandler(
const EventArgs& e);
935 bool segmentClickedHandler(
const EventArgs& e);
936 bool segmentDoubleClickHandler(
const EventArgs& e);
937 bool segmentDragHandler(
const EventArgs& e);
959 void addHeaderProperties(
void);
966 #if defined(_MSC_VER)
967 # pragma warning(pop)
970 #endif // end of guard _CEGUIListHeader_h_