From 58c0f40df5947b3933bf7b6564b2ba5dc39fbd92 Mon Sep 17 00:00:00 2001 From: 3gg <3gg@shellblade.net> Date: Sun, 8 Mar 2026 10:55:28 -0700 Subject: Remove table header --- src/widget/table.c | 2 -- src/widget/table.h | 9 --------- src/widget/widget.h | 4 ++++ 3 files changed, 4 insertions(+), 11 deletions(-) delete mode 100644 src/widget/table.h (limited to 'src/widget') diff --git a/src/widget/table.c b/src/widget/table.c index dfb2e69..76a0413 100644 --- a/src/widget/table.c +++ b/src/widget/table.c @@ -1,5 +1,3 @@ -#include "table.h" - #include "widget.h" const uiCell* GetCell(const uiTable* table, int row, int col) { diff --git a/src/widget/table.h b/src/widget/table.h deleted file mode 100644 index 0585140..0000000 --- a/src/widget/table.h +++ /dev/null @@ -1,9 +0,0 @@ -#pragma once - -#include - -#include "widget.h" - -const uiCell* GetCell(const uiTable* table, int row, int col); -uiCell* GetCellMut(uiTable* table, int row, int col); -uiCell** GetLastRow(uiTable* table); 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 { void DestroyWidget(uiWidget** ppWidget); +const uiCell* GetCell(const uiTable* table, int row, int col); +uiCell* GetCellMut(uiTable* table, int row, int col); +uiCell** GetLastRow(uiTable* table); + #define UI_NEW(TYPE) (TYPE*)uiAlloc(1, sizeof(TYPE)) static inline void* uiAlloc(size_t count, size_t size) { -- cgit v1.2.3