summaryrefslogtreecommitdiff
path: root/textscreen/guitest.c
diff options
context:
space:
mode:
Diffstat (limited to 'textscreen/guitest.c')
-rw-r--r--textscreen/guitest.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/textscreen/guitest.c b/textscreen/guitest.c
index 7fc19df8..44da349c 100644
--- a/textscreen/guitest.c
+++ b/textscreen/guitest.c
@@ -16,7 +16,7 @@ void SetupWindow(void)
char buf[100];
int i;
- window = TXT_NewWindow("Window test", 40, 12);
+ window = TXT_NewWindow("Window test");
strcpy(buf, "This is a button label: ");
@@ -46,7 +46,11 @@ void Window2(void)
txt_window_t *window;
int i;
- window = TXT_NewWindow("Another test", 50, 7);
+ window = TXT_NewWindow("Another test");
+ TXT_SetWindowPosition(window,
+ TXT_HORIZ_RIGHT,
+ TXT_VERT_TOP,
+ TXT_SCREEN_W - 1, 1);
for (i=0; i<5; ++i)
{