diff options
author | Simon Howard | 2006-05-20 16:34:34 +0000 |
---|---|---|
committer | Simon Howard | 2006-05-20 16:34:34 +0000 |
commit | 62b5f953677addeebac38ab6774599bbbab130f0 (patch) | |
tree | 66a787570daedf15c342099784e7ed9a1a8f30b0 /textscreen/txt_widget.h | |
parent | bb630087923d51ce190461e8aba044bff04249eb (diff) | |
download | chocolate-doom-62b5f953677addeebac38ab6774599bbbab130f0.tar.gz chocolate-doom-62b5f953677addeebac38ab6774599bbbab130f0.tar.bz2 chocolate-doom-62b5f953677addeebac38ab6774599bbbab130f0.zip |
Add main loop function and forward key presses to widgets.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 490
Diffstat (limited to 'textscreen/txt_widget.h')
-rw-r--r-- | textscreen/txt_widget.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/textscreen/txt_widget.h b/textscreen/txt_widget.h index e0a4350e..9852f732 100644 --- a/textscreen/txt_widget.h +++ b/textscreen/txt_widget.h @@ -52,7 +52,7 @@ struct txt_widget_s int TXT_WidgetWidth(txt_widget_t *widget); void TXT_DrawWidget(txt_widget_t *widget, int w, int selected); -void TXT_WidgetKeyPress(txt_widget_t *widget, int key); +int TXT_WidgetKeyPress(txt_widget_t *widget, int key); void TXT_DestroyWidget(txt_widget_t *widget); #endif /* #ifndef TXT_WIDGET_H */ |