summaryrefslogtreecommitdiff
path: root/textscreen/txt_window.h
diff options
context:
space:
mode:
authorSimon Howard2006-05-18 18:55:24 +0000
committerSimon Howard2006-05-18 18:55:24 +0000
commitf6e8d4c46e9ffebe43a3ea84df3e544417266091 (patch)
treedc8a231a3ff7dc619e1b198dc66a2699d9d6a5b8 /textscreen/txt_window.h
parent978ddf539803405ab8fed17e21014ee1ae69fac8 (diff)
downloadchocolate-doom-f6e8d4c46e9ffebe43a3ea84df3e544417266091.tar.gz
chocolate-doom-f6e8d4c46e9ffebe43a3ea84df3e544417266091.tar.bz2
chocolate-doom-f6e8d4c46e9ffebe43a3ea84df3e544417266091.zip
Make TXT_AddWidget take a NULL pointer so different widget types can
be passed to it. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 481
Diffstat (limited to 'textscreen/txt_window.h')
-rw-r--r--textscreen/txt_window.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/textscreen/txt_window.h b/textscreen/txt_window.h
index 51610f47..821ddca9 100644
--- a/textscreen/txt_window.h
+++ b/textscreen/txt_window.h
@@ -51,7 +51,7 @@ struct txt_window_s
txt_window_t *TXT_NewWindow(char *title, int x, int y);
void TXT_CloseWindow(txt_window_t *window);
-void TXT_AddWidget(txt_window_t *window, txt_widget_t *widget);
+void TXT_AddWidget(txt_window_t *window, void *widget);
void TXT_DrawAllWindows(void);