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/3rdparty/notepad-2/notepadCore.c | |
parent | cfb1b2a488d5b1a9e14c889b80e5324d16f63f1b (diff) | |
download | uGFX-f9c848e9851713d7a33962b9b4768c0a0d1751f1.tar.gz uGFX-f9c848e9851713d7a33962b9b4768c0a0d1751f1.tar.bz2 uGFX-f9c848e9851713d7a33962b9b4768c0a0d1751f1.zip |
Change color_t to gColor
Diffstat (limited to 'demos/3rdparty/notepad-2/notepadCore.c')
-rw-r--r-- | demos/3rdparty/notepad-2/notepadCore.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/demos/3rdparty/notepad-2/notepadCore.c b/demos/3rdparty/notepad-2/notepadCore.c index 2a739e12..ffe95d50 100644 --- a/demos/3rdparty/notepad-2/notepadCore.c +++ b/demos/3rdparty/notepad-2/notepadCore.c @@ -56,7 +56,7 @@ static GHandle nStatusConsole = NULL; static volatile gBool doExit; static void draw_point(gCoord x, gCoord y) { - color_t c = ncoreDrawingArea->color; + gColor c = ncoreDrawingArea->color; if (nMode == NCORE_MODE_DRAW) c = ncoreDrawingArea->color; @@ -227,8 +227,8 @@ void ncoreSetPenWidth(uint8_t penWidth) { nPenWidth = penWidth; } uint8_t ncoreGetPenWidth(void) { return nPenWidth; } /* Get and set the drawing color */ -void ncoreSetPenColor(color_t penColor) { gwinSetColor(ncoreDrawingArea, penColor); } -color_t ncoreGetPenColor(void) { return ncoreDrawingArea->color; } +void ncoreSetPenColor(gColor penColor) { gwinSetColor(ncoreDrawingArea, penColor); } +gColor ncoreGetPenColor(void) { return ncoreDrawingArea->color; } /* Set mode */ void ncoreSetMode(uint8_t mode) { nMode = mode; } |