From 91cf174841d7e1af745125685935dd191530f87d Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Mon, 31 Jan 2011 10:53:56 +0100 Subject: - --- src/newt/test1.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 ); -- cgit v1.2.3-54-g00ecf