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();
|
_createWidget();
|
||||||
|
|
||||||
|
#if 1
|
||||||
gwinProgressbarSetResolution(ghProgressbar, 10);
|
gwinProgressbarSetResolution(ghProgressbar, 10);
|
||||||
gwinProgressbarStart(ghProgressbar, 500);
|
gwinProgressbarStart(ghProgressbar, 500);
|
||||||
|
|
||||||
gfxSleepMilliseconds(3000);
|
gfxSleepMilliseconds(3000);
|
||||||
gwinProgressbarReset(ghProgressbar);
|
gwinProgressbarReset(ghProgressbar);
|
||||||
|
|
||||||
//gwinProgressbarSetPosition(ghProgressbar, 42);
|
gfxSleepMilliseconds(3000);
|
||||||
//gwinProgressbarIncrement(ghProgressbar);
|
gwinDestroy(ghProgressbar);
|
||||||
//gwinProgressbarDecrement(ghProgressbar);
|
#else
|
||||||
|
gwinProgressbarSetPosition(ghProgressbar, 42);
|
||||||
|
gwinProgressbarIncrement(ghProgressbar);
|
||||||
|
gwinProgressbarDecrement(ghProgressbar);
|
||||||
|
#endif
|
||||||
|
|
||||||
while (1) {
|
while (1) {
|
||||||
gfxSleepMilliseconds(500);
|
gfxSleepMilliseconds(500);
|
||||||
|
|
Loading…
Add table
Reference in a new issue