summaryrefslogtreecommitdiff
path: root/glcdgraphics/bitmap.h
diff options
context:
space:
mode:
authormrwastl <mrwastl@users.sourceforge.net>2012-06-07 16:47:13 +0200
committermrwastl <mrwastl@users.sourceforge.net>2012-06-07 16:47:13 +0200
commitdbd4bd72007e382bea3a123cc2d86fefd962cf37 (patch)
treefd5b5cc48fce459732eececb103e9a84f1f2ee92 /glcdgraphics/bitmap.h
parenta39f265732d0bc28cb66b58b5ecf1964a130d02b (diff)
downloadgraphlcd-base-dbd4bd72007e382bea3a123cc2d86fefd962cf37.tar.gz
graphlcd-base-dbd4bd72007e382bea3a123cc2d86fefd962cf37.tar.bz2
Image/GraphicsMagick: use much more relieable sample() instead of scale() for scaling images; monochrome images: fix monochrome bug in imagefile.c; explicitly prepend namespace Magick:: instead of using 'using namespace Magick;' (easier when debugging); some code / var-names beautifyings
Diffstat (limited to 'glcdgraphics/bitmap.h')
-rw-r--r--glcdgraphics/bitmap.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/glcdgraphics/bitmap.h b/glcdgraphics/bitmap.h
index 5710a78..2c4a2af 100644
--- a/glcdgraphics/bitmap.h
+++ b/glcdgraphics/bitmap.h
@@ -10,7 +10,7 @@
* to the COPYING file distributed with this package.
*
* (c) 2004-2010 Andreas Regel <andreas.regel AT powarman.de>
- * (c) 2010-2011 Wolfgang Astleitner <mrwastl AT users sourceforge net>
+ * (c) 2010-2012 Wolfgang Astleitner <mrwastl AT users sourceforge net>
* Andreas 'randy' Weinberger
*/
@@ -127,7 +127,7 @@ public:
cBitmap * SubBitmap(int x1, int y1, int x2, int y2) const;
uint32_t GetPixel(int x, int y) const;
- void SetMonochrome(bool mono) { ismonochrome = mono; }
+ void SetMonochrome(bool ismono) { ismonochrome = ismono; }
bool IsMonochrome(void) const { return ismonochrome; }
void SetProcessAlpha(bool procAlpha) { processAlpha = procAlpha; }