summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Baumann <abaumann@yahoo.com>2011-01-31 10:53:56 +0100
committerAndreas Baumann <abaumann@yahoo.com>2011-01-31 10:53:56 +0100
commit91cf174841d7e1af745125685935dd191530f87d (patch)
tree48a597bcf10e67ce3be6123f6a3f303f1d667558
parent4a050a5c9dc7088649fc498c72fd068e57f81e62 (diff)
downloadtvisiontest-91cf174841d7e1af745125685935dd191530f87d.tar.gz
tvisiontest-91cf174841d7e1af745125685935dd191530f87d.tar.bz2
-
-rw-r--r--src/newt/test1.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/newt/test1.cpp b/src/newt/test1.cpp
index b130a87..592303e 100644
--- a/src/newt/test1.cpp
+++ b/src/newt/test1.cpp
@@ -35,7 +35,7 @@ int main( void )
form = newtForm( NULL, NULL, 0 );
- newtFormSetTimer( form, 1000 );
+ newtFormSetTimer( form, 200 );
label1 = newtLabel( 2, 1, "First name:" );
const char *str1 = "";
@@ -55,6 +55,7 @@ int main( void )
do {
newtFormRun( form, &result );
if( result.reason == newtExitStruct::NEWT_EXIT_TIMER ) {
+ spinState++;
if( !*spinState ) spinState = spinner;
sprintf( spinBuffer, "%c", *spinState );
newtDrawRootText( -1, 0, spinBuffer );