30 #ifndef _CEGUIListHeader_h_
31 #define _CEGUIListHeader_h_
34 #include "../Window.h"
35 #include "./ListHeaderSegment.h"
38 # pragma warning(push)
39 # pragma warning(disable : 4251)
212 uint getColumnCount(
void)
const;
267 uint getSortSegmentID(
void)
const;
297 uint getColumnFromID(uint
id)
const;
310 uint getSortColumn(
void)
const;
325 uint getColumnWithText(
const String& text)
const;
356 float getPixelOffsetToColumn(uint column)
const;
366 float getTotalSegmentsPixelExtent(
void)
const;
382 UDim getColumnWidth(uint column)
const;
403 bool isSortingEnabled(
void)
const;
413 bool isColumnSizingEnabled(
void)
const;
423 bool isColumnDraggingEnabled(
void)
const;
451 void setSortingEnabled(
bool setting);
494 void setSortColumn(uint column);
509 void setSortColumnFromID(uint
id);
523 void setColumnSizingEnabled(
bool setting);
537 void setColumnDraggingEnabled(
bool setting);
556 void addColumn(
const String& text, uint
id,
const UDim& width);
579 void insertColumn(
const String& text, uint
id,
const UDim& width, uint position);
619 void removeColumn(uint column);
653 void moveColumn(uint column, uint position);
728 void setSegmentOffset(
float offset);
747 void setColumnWidth(uint column,
const UDim& width);
813 void layoutSegments(
void);
843 virtual bool validateWindowRenderer(
const WindowRenderer* renderer)
const;
934 bool segmentSizedHandler(
const EventArgs& e);
935 bool segmentMovedHandler(
const EventArgs& e);
936 bool segmentClickedHandler(
const EventArgs& e);
937 bool segmentDoubleClickHandler(
const EventArgs& e);
938 bool segmentDragHandler(
const EventArgs& e);
960 void addHeaderProperties(
void);
967 #if defined(_MSC_VER)
968 # pragma warning(pop)
971 #endif // end of guard _CEGUIListHeader_h_