summaryrefslogtreecommitdiff
path: root/textscreen/txt_table.h
diff options
context:
space:
mode:
authorSimon Howard2009-01-30 23:53:47 +0000
committerSimon Howard2009-01-30 23:53:47 +0000
commit39b7cb7bb2e14169af5dc07c7d429fc939200639 (patch)
tree3dec16991e926a3eeb448d22e156acec85b0347d /textscreen/txt_table.h
parenta6be65e608b72b3e08ea66278e3972864c085495 (diff)
downloadchocolate-doom-39b7cb7bb2e14169af5dc07c7d429fc939200639.tar.gz
chocolate-doom-39b7cb7bb2e14169af5dc07c7d429fc939200639.tar.bz2
chocolate-doom-39b7cb7bb2e14169af5dc07c7d429fc939200639.zip
Fix layout of widgets within scroll panes. Scroll scroll panes in
response to keyboard events. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1440
Diffstat (limited to 'textscreen/txt_table.h')
-rw-r--r--textscreen/txt_table.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/textscreen/txt_table.h b/textscreen/txt_table.h
index d42e9adb..dee6f4bb 100644
--- a/textscreen/txt_table.h
+++ b/textscreen/txt_table.h
@@ -46,9 +46,12 @@ struct txt_table_s
int selected_y;
};
+extern txt_widget_class_t txt_table_class;
+
txt_table_t *TXT_NewTable(int columns);
txt_table_t *TXT_NewHorizBox(TXT_UNCAST_ARG(first_widget), ...);
void TXT_InitTable(txt_table_t *table, int columns);
+txt_widget_t *TXT_GetSelectedWidget(TXT_UNCAST_ARG(table));
void TXT_AddWidget(TXT_UNCAST_ARG(table), TXT_UNCAST_ARG(widget));
void TXT_AddWidgets(TXT_UNCAST_ARG(table), ...);
int TXT_SelectWidget(TXT_UNCAST_ARG(table), TXT_UNCAST_ARG(widget));