libui/common/table.c

15 lines
315 B
C
Raw Normal View History

// 21 june 2016
2016-06-21 23:58:10 -05:00
#include "../ui.h"
#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;
}