diff options
author | Simon Howard | 2006-05-29 19:54:11 +0000 |
---|---|---|
committer | Simon Howard | 2006-05-29 19:54:11 +0000 |
commit | 1531993b0570f1a0af92a0238f4b871d233fa46f (patch) | |
tree | aa111c9b1ab53612a67fefc2ef7d488c667bd841 /textscreen/txt_strut.h | |
parent | 936e7e116d8860f858ce9d8b39b1bac39d7e66bf (diff) | |
download | chocolate-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/txt_strut.h')
-rw-r--r-- | textscreen/txt_strut.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/textscreen/txt_strut.h b/textscreen/txt_strut.h index 5bf7b7e7..3f45b8db 100644 --- a/textscreen/txt_strut.h +++ b/textscreen/txt_strut.h @@ -30,7 +30,7 @@ typedef struct txt_strut_s txt_strut_t; #include "txt_widget.h" // -// A strut is used to force a table to a minimum width. It is not +// A strut is used to force a table to a minimum width/height. It is not // visible but it takes up space. // @@ -38,9 +38,10 @@ struct txt_strut_s { txt_widget_t widget; int width; + int height; }; -txt_strut_t *TXT_NewStrut(int width); +txt_strut_t *TXT_NewStrut(int width, int height); #endif /* #ifndef TXT_STRUT_H */ |