summaryrefslogtreecommitdiff
path: root/textscreen/txt_table.h
diff options
context:
space:
mode:
authorSimon Howard2006-08-31 18:09:34 +0000
committerSimon Howard2006-08-31 18:09:34 +0000
commit7cd8727f6c074f84f42db895483258bc0ef43c1d (patch)
treefd1bad82ba4ae190d7577d3fe7c5474e47bc1aa0 /textscreen/txt_table.h
parent58978769f5a0da03a35e6cca91be8d9cbea60f3b (diff)
downloadchocolate-doom-7cd8727f6c074f84f42db895483258bc0ef43c1d.tar.gz
chocolate-doom-7cd8727f6c074f84f42db895483258bc0ef43c1d.tar.bz2
chocolate-doom-7cd8727f6c074f84f42db895483258bc0ef43c1d.zip
Add TXT_SelectWidget function to select a widget in a table,
TXT_SetColumnWidths to set table column widths. Don't send key presses to unselectable widgets. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 573
Diffstat (limited to 'textscreen/txt_table.h')
-rw-r--r--textscreen/txt_table.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/textscreen/txt_table.h b/textscreen/txt_table.h
index 509613ad..12dcff92 100644
--- a/textscreen/txt_table.h
+++ b/textscreen/txt_table.h
@@ -52,6 +52,8 @@ struct txt_table_s
txt_table_t *TXT_NewTable(int columns);
void TXT_InitTable(txt_table_t *table, int columns);
void TXT_AddWidget(TXT_UNCAST_ARG(table), TXT_UNCAST_ARG(widget));
+int TXT_SelectWidget(TXT_UNCAST_ARG(table), TXT_UNCAST_ARG(widget));
+void TXT_SetColumnWidths(TXT_UNCAST_ARG(table), ...);
#endif /* #ifndef TXT_TABLE_T */