summaryrefslogtreecommitdiff
path: root/src/widget/widget.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/widget/widget.h')
-rw-r--r--src/widget/widget.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/widget/widget.h b/src/widget/widget.h
index 38acb9c..63f3d94 100644
--- a/src/widget/widget.h
+++ b/src/widget/widget.h
@@ -56,6 +56,10 @@ typedef struct uiTable {
56 56
57void DestroyWidget(uiWidget** ppWidget); 57void DestroyWidget(uiWidget** ppWidget);
58 58
59const uiCell* GetCell(const uiTable* table, int row, int col);
60uiCell* GetCellMut(uiTable* table, int row, int col);
61uiCell** GetLastRow(uiTable* table);
62
59#define UI_NEW(TYPE) (TYPE*)uiAlloc(1, sizeof(TYPE)) 63#define UI_NEW(TYPE) (TYPE*)uiAlloc(1, sizeof(TYPE))
60 64
61static inline void* uiAlloc(size_t count, size_t size) { 65static inline void* uiAlloc(size_t count, size_t size) {