diff options
| author | 3gg <3gg@shellblade.net> | 2026-03-08 10:55:28 -0700 |
|---|---|---|
| committer | 3gg <3gg@shellblade.net> | 2026-03-08 10:55:28 -0700 |
| commit | 58c0f40df5947b3933bf7b6564b2ba5dc39fbd92 (patch) | |
| tree | 361c9a445532aa128f69158d8fee7b73672a1fb7 /src/widget/widget.h | |
| parent | 89188be968ac39e0e12077e6b596efaf00d06986 (diff) | |
Remove table header
Diffstat (limited to 'src/widget/widget.h')
| -rw-r--r-- | src/widget/widget.h | 4 |
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 | ||
| 57 | void DestroyWidget(uiWidget** ppWidget); | 57 | void DestroyWidget(uiWidget** ppWidget); |
| 58 | 58 | ||
| 59 | const uiCell* GetCell(const uiTable* table, int row, int col); | ||
| 60 | uiCell* GetCellMut(uiTable* table, int row, int col); | ||
| 61 | uiCell** 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 | ||
| 61 | static inline void* uiAlloc(size_t count, size_t size) { | 65 | static inline void* uiAlloc(size_t count, size_t size) { |
