46class UIListCtrl :
public UIListBase
58 static bool s_qsortreverse;
59 static int s_qsortcolumn;
60 static class UIListCtrl *s_qsortobject;
62 int m_iLastSortColumn;
63 class UIFont *m_headerfont;
67 qboolean m_bDrawHeader;
84 static int QsortCompare(
const void *e1,
const void *e2);
85 void Draw(
void)
override;
86 int getHeaderHeight(
void);
87 void MousePressed(Event *ev);
88 void MouseDragged(Event *ev);
89 void MouseReleased(Event *ev);
90 void MouseEntered(Event *ev);
91 void OnSizeChanged(Event *ev);
92 void DrawColumns(
void);
93 void DrawContent(
void);
99 void FrameInitialized(
void)
override;
100 void SetDrawHeader(qboolean bDrawHeader);
105 void AddColumn(str title,
int name,
int width,
bool numeric,
bool reverse_sort);
106 void RemoveAllColumns(
void);
107 int getNumItems(
void)
override;
108 void DeleteAllItems(
void)
override;
109 void DeleteItem(
int which)
override;
110 virtual void SortByColumn(
int column);
111 void SortByLastSortColumn(
void);
113 void setHeaderFont(
const char *name);