Updating progressbar demo
This commit is contained in:
parent
c3b17604ee
commit
a34c0ded18
1 changed files with 8 additions and 3 deletions
|
@ -23,15 +23,20 @@ int main(void) {
|
|||
|
||||
_createWidget();
|
||||
|
||||
#if 1
|
||||
gwinProgressbarSetResolution(ghProgressbar, 10);
|
||||
gwinProgressbarStart(ghProgressbar, 500);
|
||||
|
||||
gfxSleepMilliseconds(3000);
|
||||
gwinProgressbarReset(ghProgressbar);
|
||||
|
||||
//gwinProgressbarSetPosition(ghProgressbar, 42);
|
||||
//gwinProgressbarIncrement(ghProgressbar);
|
||||
//gwinProgressbarDecrement(ghProgressbar);
|
||||
gfxSleepMilliseconds(3000);
|
||||
gwinDestroy(ghProgressbar);
|
||||
#else
|
||||
gwinProgressbarSetPosition(ghProgressbar, 42);
|
||||
gwinProgressbarIncrement(ghProgressbar);
|
||||
gwinProgressbarDecrement(ghProgressbar);
|
||||
#endif
|
||||
|
||||
while (1) {
|
||||
gfxSleepMilliseconds(500);
|
||||
|
|
Loading…
Add table
Reference in a new issue