Friday, June 04, 2010

SplashScreen progress bar

Got the splashScreen progress bar fully operational. Now that all remains is to set the choice between image or plain colour background. Following this, the next step is code optimization. In use, updating the progress is quite simple using the following syntax


$ss progress [list $i $max]


Where the variable ‘i’ denotes the current step out of a total of ‘max’ steps. The splashscreen routines will determine how the right size of the bar for the given window size. Also, only the first call needs to define the maximum number of steps. Which is stored internally for use by any subsequent call to this command. The default value of for max = 100.


No comments: