St_Progressbar - Texas Instruments TI-89 Developer's Manual

Graphing calculator
Hide thumbs Also See for TI-89:
Table of Contents

Advertisement

966

ST_progressBar

Declaration:
void ST_progressBar (ST_PROGRESS_BAR * pb , long low , long high )
Category(ies):
Status Line
Description:
Creates a progress bar indicator in the status line. A bar will be displayed
showing relative progress between values low and high . A time-consuming
process can create a progress bar, then, through subsequent calls to
ST_progressUpdate or ST_progressIncrement, indicate how much work
the process has accomplished.
Inputs:
low
high — High end of progress. A progress value of high displays a solid
Outputs:
pb
Assumptions:
None
Side Effects:
None
Availability:
On AMS 2.00 and higher.
TI-89 / TI-92 Plus
None
Differences:
See Also:
ST_progressDismiss, ST_progressIncrement, ST_progressUpdate
Example:
ST_PROGRESS_BAR pb;
.
.
.
ST_progressBar(&pb, 0, 100); /* show progress from 0 to 100 */
for (j = 0; j <= 100; j += 1)
{
.
. /* Do some work */
.
ST_progressUpdate(&pb, j);
}
ST_progressDismiss(&pb);
TI-89 / TI-92 Plus Developer Guide
Appendix A: System Routines — Status Line
— Low end of progress. A progress value of low displays an empty
progress bar.
(filled) progress bar. Progress values between low and high
display a proportionally filled progress bar.
— Progress bar structure. This routine initializes the progress bar
structure and clears the status line indicators.
Not for Distribution
Beta Version January 26, 2001

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ti-92 plusTi-92 plus

Table of Contents