From 1531993b0570f1a0af92a0238f4b871d233fa46f Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Mon, 29 May 2006 19:54:11 +0000 Subject: Allow struts to force height as well as width. Hide "start game" button for players which are not the game controller. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 541 --- textscreen/examples/guitest.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'textscreen/examples') diff --git a/textscreen/examples/guitest.c b/textscreen/examples/guitest.c index 23df5282..73334b47 100644 --- a/textscreen/examples/guitest.c +++ b/textscreen/examples/guitest.c @@ -13,6 +13,7 @@ #include "txt_label.h" #include "txt_radiobutton.h" #include "txt_separator.h" +#include "txt_strut.h" #include "txt_table.h" #include "txt_window.h" @@ -104,7 +105,7 @@ void SetupWindow(void) TXT_AddWidget(table, TXT_NewButton(buf)); } - TXT_AddWidget(window, TXT_NewLabel("")); + TXT_AddWidget(window, TXT_NewStrut(0, 1)); value_label = TXT_NewLabel(""); TXT_AddWidget(window, value_label); -- cgit v1.2.3