diff options
author | inmarket <andrewh@inmarket.com.au> | 2018-07-08 10:54:19 +1000 |
---|---|---|
committer | inmarket <andrewh@inmarket.com.au> | 2018-07-08 10:54:19 +1000 |
commit | 2ab2d77fcba42467b62f2be732cb8dc00510fe19 (patch) | |
tree | 8dbd616faa116a2946ad47c62c20d4a34fb749b2 /src/gdisp/gdisp_driver.h | |
parent | 7e95acb7310d83284288a6e89a6b3fe4bf4e8668 (diff) | |
download | uGFX-2ab2d77fcba42467b62f2be732cb8dc00510fe19.tar.gz uGFX-2ab2d77fcba42467b62f2be732cb8dc00510fe19.tar.bz2 uGFX-2ab2d77fcba42467b62f2be732cb8dc00510fe19.zip |
Change coord_t to gCoord
Diffstat (limited to 'src/gdisp/gdisp_driver.h')
-rw-r--r-- | src/gdisp/gdisp_driver.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/gdisp/gdisp_driver.h b/src/gdisp/gdisp_driver.h index dffce58d..1b6b89d6 100644 --- a/src/gdisp/gdisp_driver.h +++ b/src/gdisp/gdisp_driver.h @@ -308,7 +308,7 @@ * * @api */ - void gdispPackPixels(const pixel_t *buf, coord_t cx, coord_t x, coord_t y, color_t color); + void gdispPackPixels(const pixel_t *buf, gCoord cx, gCoord x, gCoord y, color_t color); #endif //------------------------------------------------------------------------------------------------------------ @@ -318,8 +318,8 @@ struct GDisplay { #define gvmt(g) ((const GDISPVMT const *)((g)->d.vmt)) // For ease of access to the vmt member struct GDISPControl { - coord_t Width; - coord_t Height; + gCoord Width; + gCoord Height; orientation_t Orientation; powermode_t Powermode; uint8_t Backlight; @@ -343,16 +343,16 @@ struct GDisplay { // Software clipping #if GDISP_HARDWARE_CLIP != GFXON && (GDISP_NEED_CLIP || GDISP_NEED_VALIDATION) - coord_t clipx0, clipy0; - coord_t clipx1, clipy1; /* not inclusive */ + gCoord clipx0, clipy0; + gCoord clipx1, clipy1; /* not inclusive */ #endif // Driver call parameters struct { - coord_t x, y; - coord_t cx, cy; - coord_t x1, y1; - coord_t x2, y2; + gCoord x, y; + gCoord cx, cy; + gCoord x1, y1; + gCoord x2, y2; color_t color; void *ptr; } p; @@ -365,10 +365,10 @@ struct GDisplay { font_t font; color_t color; color_t bgcolor; - coord_t clipx0, clipy0; - coord_t clipx1, clipy1; + gCoord clipx0, clipy0; + gCoord clipx1, clipy1; #if GDISP_NEED_TEXT_WORDWRAP - coord_t wrapx, wrapy; + gCoord wrapx, wrapy; justify_t lrj; #endif } t; |