2016-06-21 21:22:13 -05:00
|
|
|
// 21 june 2016
|
2016-06-21 23:58:10 -05:00
|
|
|
#include "../ui.h"
|
2016-06-21 21:22:13 -05:00
|
|
|
#include "uipriv.h"
|
|
|
|
|
|
|
|
uiTableColumn *uiTableAppendTextColumn(uiTable *t, const char *name, int modelColumn)
|
|
|
|
{
|
|
|
|
uiTableColumn *tc;
|
|
|
|
uiTableCellPart *part;
|
|
|
|
|
|
|
|
part = uiNewTableTextPart(modelColumn);
|
|
|
|
tc = uiTableAppendColumn(t, name);
|
|
|
|
uiTableColumnAppend(tc, part, 1);
|
|
|
|
return tc;
|
|
|
|
}
|