diff options
author | inmarket <andrewh@inmarket.com.au> | 2018-06-23 13:02:07 +1000 |
---|---|---|
committer | inmarket <andrewh@inmarket.com.au> | 2018-06-23 13:02:07 +1000 |
commit | 41271d632b74f5cf47c30d3b699eb6b2786f2136 (patch) | |
tree | 78bcb729c6d6177ca598f28908fefd186c50e9b6 /drivers/gdisp/QImage/gdisp_lld_qimage.cpp | |
parent | 3b97fb798e96514057bcf17263c1e5dbdcd7da26 (diff) | |
download | uGFX-41271d632b74f5cf47c30d3b699eb6b2786f2136.tar.gz uGFX-41271d632b74f5cf47c30d3b699eb6b2786f2136.tar.bz2 uGFX-41271d632b74f5cf47c30d3b699eb6b2786f2136.zip |
Added new type definitions - moving towards V3.0
Diffstat (limited to 'drivers/gdisp/QImage/gdisp_lld_qimage.cpp')
-rw-r--r-- | drivers/gdisp/QImage/gdisp_lld_qimage.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gdisp/QImage/gdisp_lld_qimage.cpp b/drivers/gdisp/QImage/gdisp_lld_qimage.cpp index a133dfb4..ba7cf44d 100644 --- a/drivers/gdisp/QImage/gdisp_lld_qimage.cpp +++ b/drivers/gdisp/QImage/gdisp_lld_qimage.cpp @@ -3,17 +3,17 @@ #include "../../../src/gdisp/gdisp_driver.h" #include "gdisp_lld_qimage.h" -bool_t qimage_init(GDisplay* g, coord_t width, coord_t height) +gBool qimage_init(GDisplay* g, coord_t width, coord_t height) { QImage* qimage = new QImage(width, height, QImage::Format_RGB888); if (!qimage) { - return FALSE; + return gFalse; } qimage->fill(Qt::gray); g->priv = qimage; - return TRUE; + return gTrue; } void qimage_setPixel(GDisplay* g) |