diff options
author | Simon Howard | 2006-05-19 19:57:59 +0000 |
---|---|---|
committer | Simon Howard | 2006-05-19 19:57:59 +0000 |
commit | 344823214b77a076351e1101a89e8c2a407dca48 (patch) | |
tree | 30733845098175d38a41e485279e4147bd3850dd /textscreen/guitest.c | |
parent | aaf96ab501f948df13f78fdf072379884d2d3f2e (diff) | |
download | chocolate-doom-344823214b77a076351e1101a89e8c2a407dca48.tar.gz chocolate-doom-344823214b77a076351e1101a89e8c2a407dca48.tar.bz2 chocolate-doom-344823214b77a076351e1101a89e8c2a407dca48.zip |
Split off text mode gui desktop code into a separate file. Rename some
of the functions in txt_gui.c.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 483
Diffstat (limited to 'textscreen/guitest.c')
-rw-r--r-- | textscreen/guitest.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/textscreen/guitest.c b/textscreen/guitest.c index d65aa67c..7fc19df8 100644 --- a/textscreen/guitest.c +++ b/textscreen/guitest.c @@ -4,6 +4,7 @@ #include "txt_main.h" #include "txt_button.h" +#include "txt_desktop.h" #include "txt_separator.h" #include "txt_window.h" @@ -45,7 +46,7 @@ void Window2(void) txt_window_t *window; int i; - window = TXT_NewWindow("Another test", 30, 7); + window = TXT_NewWindow("Another test", 50, 7); for (i=0; i<5; ++i) { @@ -65,8 +66,7 @@ int main() { firstwin->selected = (firstwin->selected + 1) % firstwin->num_widgets; - TXT_DrawAllWindows(); - + TXT_DrawDesktop(); } } |