summaryrefslogtreecommitdiff
path: root/textscreen/examples
diff options
context:
space:
mode:
authorSimon Howard2006-05-29 19:54:11 +0000
committerSimon Howard2006-05-29 19:54:11 +0000
commit1531993b0570f1a0af92a0238f4b871d233fa46f (patch)
treeaa111c9b1ab53612a67fefc2ef7d488c667bd841 /textscreen/examples
parent936e7e116d8860f858ce9d8b39b1bac39d7e66bf (diff)
downloadchocolate-doom-1531993b0570f1a0af92a0238f4b871d233fa46f.tar.gz
chocolate-doom-1531993b0570f1a0af92a0238f4b871d233fa46f.tar.bz2
chocolate-doom-1531993b0570f1a0af92a0238f4b871d233fa46f.zip
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
Diffstat (limited to 'textscreen/examples')
-rw-r--r--textscreen/examples/guitest.c3
1 files changed, 2 insertions, 1 deletions
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);