diff options
author | Andreas Baumann <abaumann@yahoo.com> | 2011-01-31 10:53:56 +0100 |
---|---|---|
committer | Andreas Baumann <abaumann@yahoo.com> | 2011-01-31 10:53:56 +0100 |
commit | 91cf174841d7e1af745125685935dd191530f87d (patch) | |
tree | 48a597bcf10e67ce3be6123f6a3f303f1d667558 | |
parent | 4a050a5c9dc7088649fc498c72fd068e57f81e62 (diff) | |
download | tvisiontest-91cf174841d7e1af745125685935dd191530f87d.tar.gz tvisiontest-91cf174841d7e1af745125685935dd191530f87d.tar.bz2 |
-
-rw-r--r-- | src/newt/test1.cpp | 3 |
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 ); |