aboutsummaryrefslogtreecommitdiffstats
path: root/src/gwin
diff options
context:
space:
mode:
authorinmarket <andrewh@inmarket.com.au>2018-07-08 14:30:31 +1000
committerinmarket <andrewh@inmarket.com.au>2018-07-08 14:30:31 +1000
commit215f31ee3dd27f461540384cdba04b58b481fadc (patch)
tree1a100121d47819202187914dc4a321cfb7030351 /src/gwin
parente23ae94e91369501df310bc3afd4ab711d263cab (diff)
downloaduGFX-215f31ee3dd27f461540384cdba04b58b481fadc.tar.gz
uGFX-215f31ee3dd27f461540384cdba04b58b481fadc.tar.bz2
uGFX-215f31ee3dd27f461540384cdba04b58b481fadc.zip
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
Diffstat (limited to 'src/gwin')
-rw-r--r--src/gwin/gwin_image.c2
-rw-r--r--src/gwin/gwin_progressbar.c2
-rw-r--r--src/gwin/gwin_progressbar.h2
3 files changed, 3 insertions, 3 deletions
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()