diff options
author | Simon Howard | 2006-09-20 18:05:10 +0000 |
---|---|---|
committer | Simon Howard | 2006-09-20 18:05:10 +0000 |
commit | 7768cfde84316dc1181a30eabce731d6089e3cfd (patch) | |
tree | 8821479d08c62ee153509d7f03390ec9106a3665 /textscreen/examples | |
parent | 16c643057cef3a49a6713090ffa6e5f8aba2ad0a (diff) | |
download | chocolate-doom-7768cfde84316dc1181a30eabce731d6089e3cfd.tar.gz chocolate-doom-7768cfde84316dc1181a30eabce731d6089e3cfd.tar.bz2 chocolate-doom-7768cfde84316dc1181a30eabce731d6089e3cfd.zip |
Add spin control widget.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 635
Diffstat (limited to 'textscreen/examples')
-rw-r--r-- | textscreen/examples/guitest.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/textscreen/examples/guitest.c b/textscreen/examples/guitest.c index b5bd1ea5..130c858f 100644 --- a/textscreen/examples/guitest.c +++ b/textscreen/examples/guitest.c @@ -157,6 +157,8 @@ void Window2(void) TXT_AddWidget(table, TXT_NewInputBox(&textbox_value, 30)); TXT_AddWidget(table, TXT_NewLabel("Int: ")); TXT_AddWidget(table, TXT_NewIntInputBox(&numbox_value, 10)); + TXT_AddWidget(table, TXT_NewLabel("Spin control:")); + TXT_AddWidget(table, TXT_NewSpinControl(&numbox_value, 0, 15)); } int main(int argc, char *argv[]) |