diff options
author | mrwastl <mrwastl@users.sourceforge.net> | 2011-06-20 23:13:54 +0200 |
---|---|---|
committer | mrwastl <mrwastl@users.sourceforge.net> | 2011-06-20 23:13:54 +0200 |
commit | 8b198b4be836b4718cd3ce96e8ba8590697da45a (patch) | |
tree | 7645b90529daaf97a4eaa4ecdedeb93fff4056af /glcdgraphics/bitmap.h | |
parent | ec46b70bd4d1a1450a2bdc197d9e5935c885c40c (diff) | |
download | graphlcd-base-8b198b4be836b4718cd3ce96e8ba8590697da45a.tar.gz graphlcd-base-8b198b4be836b4718cd3ce96e8ba8590697da45a.tar.bz2 |
opacity support for non-monochrome images
Diffstat (limited to 'glcdgraphics/bitmap.h')
-rw-r--r-- | glcdgraphics/bitmap.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/glcdgraphics/bitmap.h b/glcdgraphics/bitmap.h index f0e010e..8067cc3 100644 --- a/glcdgraphics/bitmap.h +++ b/glcdgraphics/bitmap.h @@ -119,7 +119,7 @@ public: void DrawRoundRectangle(int x1, int y1, int x2, int y2, uint32_t color, bool filled, int size); void DrawEllipse(int x1, int y1, int x2, int y2, uint32_t color, bool filled, int quadrants); void DrawSlope(int x1, int y1, int x2, int y2, uint32_t color, int type); - void DrawBitmap(int x, int y, const cBitmap & bitmap, uint32_t color = cColor::White, uint32_t bgcolor = cColor::Black); + void DrawBitmap(int x, int y, const cBitmap & bitmap, uint32_t color = cColor::White, uint32_t bgcolor = cColor::Black, int opacity = 255); int DrawText(int x, int y, int xmax, const std::string & text, const cFont * font, uint32_t color = cColor::White, uint32_t bgcolor = cColor::Black, bool proportional = true, int skipPixels = 0); int DrawCharacter(int x, int y, int xmax, uint32_t c, const cFont * font, |