diff options
author | inmarket <andrewh@inmarket.com.au> | 2018-07-08 11:19:43 +1000 |
---|---|---|
committer | inmarket <andrewh@inmarket.com.au> | 2018-07-08 11:19:43 +1000 |
commit | f9c848e9851713d7a33962b9b4768c0a0d1751f1 (patch) | |
tree | 2b2caf1949078428ca3fd3cd47547d0485efa407 /demos/applications | |
parent | cfb1b2a488d5b1a9e14c889b80e5324d16f63f1b (diff) | |
download | uGFX-f9c848e9851713d7a33962b9b4768c0a0d1751f1.tar.gz uGFX-f9c848e9851713d7a33962b9b4768c0a0d1751f1.tar.bz2 uGFX-f9c848e9851713d7a33962b9b4768c0a0d1751f1.zip |
Change color_t to gColor
Diffstat (limited to 'demos/applications')
-rw-r--r-- | demos/applications/combo/bounce.c | 2 | ||||
-rw-r--r-- | demos/applications/mandelbrot/main.c | 2 | ||||
-rw-r--r-- | demos/applications/notepad/main.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/demos/applications/combo/bounce.c b/demos/applications/combo/bounce.c index 33bb8394..1ca82d00 100644 --- a/demos/applications/combo/bounce.c +++ b/demos/applications/combo/bounce.c @@ -66,7 +66,7 @@ static DECLARE_THREAD_FUNCTION(task, param) { gCoord width, height, x, y, radius, ballx, bally, dx, floor; gCoord minx, miny, maxx, maxy, winx, winy; gCoord ballcx, ballcy; - color_t colour; + gColor colour; float ii, spin, dy, spinspeed, h, f, g; (void) param; diff --git a/demos/applications/mandelbrot/main.c b/demos/applications/mandelbrot/main.c index 808ef1c2..d5af7720 100644 --- a/demos/applications/mandelbrot/main.c +++ b/demos/applications/mandelbrot/main.c @@ -32,7 +32,7 @@ void mandelbrot(float x1, float y1, float x2, float y2) {
unsigned int i,j, width, height;
uint16_t iter;
- color_t color;
+ gColor color;
float fwidth, fheight;
float sy = y2 - y1;
diff --git a/demos/applications/notepad/main.c b/demos/applications/notepad/main.c index 72fb23e2..877be7fa 100644 --- a/demos/applications/notepad/main.c +++ b/demos/applications/notepad/main.c @@ -74,7 +74,7 @@ void drawScreen(void) { GEventMouse ev;
int main(void) {
- color_t color = GFX_BLACK;
+ gColor color = GFX_BLACK;
uint16_t pen = 0;
gfxInit();
|