diff options
| author | 3gg <3gg@shellblade.net> | 2026-03-08 10:12:57 -0700 |
|---|---|---|
| committer | 3gg <3gg@shellblade.net> | 2026-03-08 10:13:29 -0700 |
| commit | 89188be968ac39e0e12077e6b596efaf00d06986 (patch) | |
| tree | 725b290d574f6a284631a4c70e4212031420751c /include/ui.h | |
| parent | 7f2987db18e515aec099a281fb4499fad8ffd4e0 (diff) | |
Store strings inside table cells for simplicity
Diffstat (limited to 'include/ui.h')
| -rw-r--r-- | include/ui.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/include/ui.h b/include/ui.h index d8df105..b95157e 100644 --- a/include/ui.h +++ b/include/ui.h | |||
| @@ -183,12 +183,11 @@ const char* uiLabelGetText(const uiLabel*); | |||
| 183 | // ----------------------------------------------------------------------------- | 183 | // ----------------------------------------------------------------------------- |
| 184 | // Table. | 184 | // Table. |
| 185 | 185 | ||
| 186 | uiTable* uiMakeTable(int rows, int cols, const char** header); | 186 | uiTable* uiMakeTable(int rows, int cols, const char** header); |
| 187 | void uiTableClear(uiTable*); | 187 | void uiTableClear(uiTable*); |
| 188 | void uiTableAddRow(uiTable*, const char** row); | 188 | void uiTableAddRow(uiTable*, const char** row); |
| 189 | void uiTableSet(uiTable*, int row, int col, uiPtr widget); | 189 | void uiTableSet(uiTable*, int row, int col, const char* text); |
| 190 | const uiWidget* uiTableGet(const uiTable*, int row, int col); | 190 | const char* uiTableGet(const uiTable*, int row, int col); |
| 191 | uiWidget* uiTableGetMut(uiTable*, int row, int col); | ||
| 192 | 191 | ||
| 193 | // ----------------------------------------------------------------------------- | 192 | // ----------------------------------------------------------------------------- |
| 194 | // Rendering. | 193 | // Rendering. |
