diff options
author | mrwastl <mrwastl@users.sourceforge.net> | 2011-06-19 21:20:29 +0200 |
---|---|---|
committer | mrwastl <mrwastl@users.sourceforge.net> | 2011-06-19 21:20:29 +0200 |
commit | ec46b70bd4d1a1450a2bdc197d9e5935c885c40c (patch) | |
tree | ffaeaa90fdfa6dab8c635ddbdbf4a31e73c47f69 /glcdgraphics/bitmap.h | |
parent | a1e556cdb0648769ccb1fa03f468cdcc3b7b9e72 (diff) | |
download | graphlcd-base-ec46b70bd4d1a1450a2bdc197d9e5935c885c40c.tar.gz graphlcd-base-ec46b70bd4d1a1450a2bdc197d9e5935c885c40c.tar.bz2 |
rename SetSupportAlpha()/IsSupportAlpha() to SetProcessAlpha()/IsProcessAlpha() to better reflect it's purpose; add / enhance some comments (alpha channel support)
Diffstat (limited to 'glcdgraphics/bitmap.h')
-rw-r--r-- | glcdgraphics/bitmap.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/glcdgraphics/bitmap.h b/glcdgraphics/bitmap.h index c20ce33..f0e010e 100644 --- a/glcdgraphics/bitmap.h +++ b/glcdgraphics/bitmap.h @@ -94,7 +94,7 @@ protected: int lineSize; uint32_t * bitmap; bool ismonochrome; - bool supportAlpha; + bool processAlpha; uint32_t backgroundColor; @@ -131,8 +131,8 @@ public: void SetMonochrome(bool mono) { ismonochrome = mono; } bool IsMonochrome(void) const { return ismonochrome; } - void SetSupportAlpha(bool suppAlpha) { supportAlpha = suppAlpha; } - bool IsSupportAlpha(void) const { return supportAlpha; } + void SetProcessAlpha(bool procAlpha) { processAlpha = procAlpha; } + bool IsProcessAlpha(void) const { return processAlpha; } bool LoadPBM(const std::string & fileName); void SavePBM(const std::string & fileName); |