From 215f31ee3dd27f461540384cdba04b58b481fadc Mon Sep 17 00:00:00 2001 From: inmarket Date: Sun, 8 Jul 2018 14:30:31 +1000 Subject: Added type gDelay to replace V2.x delaytime_t Added type gTicks to replace V2.x systemticks_t Added type gThreadreturn to replace V2.x threadreturn_t Added type gThreadpriority to replace V2.x threadpriority_t --- src/gwin/gwin_image.c | 2 +- src/gwin/gwin_progressbar.c | 2 +- src/gwin/gwin_progressbar.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/gwin') diff --git a/src/gwin/gwin_image.c b/src/gwin/gwin_image.c index 547145ae..d19c4d30 100644 --- a/src/gwin/gwin_image.c +++ b/src/gwin/gwin_image.c @@ -37,7 +37,7 @@ static void ImageRedraw(GHandle gh) { gCoord x, y, w, h, dx, dy; gColor bg; #if GWIN_NEED_IMAGE_ANIMATION - delaytime_t delay; + gDelay delay; #endif // The default display area diff --git a/src/gwin/gwin_progressbar.c b/src/gwin/gwin_progressbar.c index c6adde39..4e87c199 100644 --- a/src/gwin/gwin_progressbar.c +++ b/src/gwin/gwin_progressbar.c @@ -195,7 +195,7 @@ void gwinProgressbarDecrement(GHandle gh) { #undef gsw } - void gwinProgressbarStart(GHandle gh, delaytime_t delay) { + void gwinProgressbarStart(GHandle gh, gDelay delay) { #define gsw ((GProgressbarObject *)gh) if (gh->vmt != (gwinVMT *)&progressbarVMT) diff --git a/src/gwin/gwin_progressbar.h b/src/gwin/gwin_progressbar.h index a5af2502..46e46d07 100644 --- a/src/gwin/gwin_progressbar.h +++ b/src/gwin/gwin_progressbar.h @@ -159,7 +159,7 @@ void gwinProgressbarDecrement(GHandle gh); * * @api */ - void gwinProgressbarStart(GHandle gh, delaytime_t delay); + void gwinProgressbarStart(GHandle gh, gDelay delay); /** * @brief Stop the timer which is started by @p gwinProgressbarStart() -- cgit v1.2.3