Updating progressbar demo

ugfx_release_2.6
Joel Bodenmann 2014-04-23 23:56:22 +02:00
parent c3b17604ee
commit a34c0ded18
1 changed files with 8 additions and 3 deletions

View File

@ -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);