summaryrefslogtreecommitdiff
path: root/textscreen/guitest.c
diff options
context:
space:
mode:
authorSimon Howard2006-05-19 19:57:59 +0000
committerSimon Howard2006-05-19 19:57:59 +0000
commit344823214b77a076351e1101a89e8c2a407dca48 (patch)
tree30733845098175d38a41e485279e4147bd3850dd /textscreen/guitest.c
parentaaf96ab501f948df13f78fdf072379884d2d3f2e (diff)
downloadchocolate-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.c6
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();
}
}