Add new type uiSort for sorting related operations.

uiSort:
uiSortNone
uiSortAscending
uiSortDescending
This commit is contained in:
Angelo Haller 2020-09-17 20:47:48 -05:00
parent 9dc7e0871c
commit b673b26f58
1 changed files with 6 additions and 0 deletions

6
ui.h
View File

@ -1255,6 +1255,12 @@ _UI_EXTERN uiTableValue *uiNewTableValueColor(double r, double g, double b, doub
// TODO define whether all this, for both uiTableValue and uiAttribute, is undefined behavior or a caught error
_UI_EXTERN void uiTableValueColor(const uiTableValue *v, double *r, double *g, double *b, double *a);
_UI_ENUM(uiSort) {
uiSortNone,
uiSortAscending,
uiSortDescending
};
// uiTableModel is an object that provides the data for a uiTable.
// This data is returned via methods you provide in the
// uiTableModelHandler struct.