summaryrefslogtreecommitdiff
path: root/pkgui.c
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2018-08-26 19:55:10 -0400
committerPietro Gagliardi <[email protected]>2018-08-26 19:55:10 -0400
commit85940dae2e636e4ba8270a7beedfe8ae78e552bf (patch)
tree11d27147e475aa4601d4e8963caecc31c4d3b6ee /pkgui.c
parent3c4b7e208af45ff4a5647d372a8cbcba00315de2 (diff)
And FINALLY ported Table. Now to write an example program.
Diffstat (limited to 'pkgui.c')
-rw-r--r--pkgui.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/pkgui.c b/pkgui.c
index 05fe8cd..35cd442 100644
--- a/pkgui.c
+++ b/pkgui.c
@@ -238,3 +238,23 @@ const uiTableModelHandler pkguiTableModelHandler = {
.CellValue = pkguiDoTableModelCellValue,
.SetCellValue = realDoTableModelSetCellValue,
};
+
+uiTableTextColumnOptionalParams *pkguiAllocTableTextColumnOptionalParams(void)
+{
+ return (uiTableTextColumnOptionalParams *) pkguiAlloc(sizeof (uiTableTextColumnOptionalParams));
+}
+
+void pkguiFreeTableTextColumnOptionalParams(uiTableTextColumnOptionalParams *p)
+{
+ free(p);
+}
+
+uiTableParams *pkguiAllocTableParams(void)
+{
+ return (uiTableParams *) pkguiAlloc(sizeof (uiTableParams));
+}
+
+void pkguiFreeTableParams(uiTableParams *p)
+{
+ free(p);
+}