From bcadfa267f976fe9f29afa50a635cbe3ea174e38 Mon Sep 17 00:00:00 2001 From: manuel Date: Sat, 2 May 2009 16:44:53 +0200 Subject: - colortable now uses uint32_t as identifier - rewrote xpm colortable parsing to convert their identifiers to our own and vica vi - implemented indexed8::setpixel/getpixel - moved rowsize to member variable in cbitmap - added second test for xpm/indexed8 --- ue2/imgsynth2/cpixelformat_indexed8.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'ue2/imgsynth2/cpixelformat_indexed8.h') diff --git a/ue2/imgsynth2/cpixelformat_indexed8.h b/ue2/imgsynth2/cpixelformat_indexed8.h index f1bb0f0..331d423 100644 --- a/ue2/imgsynth2/cpixelformat_indexed8.h +++ b/ue2/imgsynth2/cpixelformat_indexed8.h @@ -1,8 +1,8 @@ /** * @module cpixelformat_bgr24 * @author Guenther Neuwirth (0626638), Manuel Mausz (0728348) - * @brief Implementation of CPixelFormat handling 24bit color Windows Bitmaps TODO. - * @date 18.04.2009 + * @brief Implementation of CPixelFormat handling 24bit indexed bitmaps. + * @date 02.05.2009 */ #ifndef CPixelFormat_Indexed8_H @@ -14,7 +14,7 @@ /** * @class CPixelFormat_Indexed8 - * @brief Implementation of CPixelFormat handling 24bit color Windows Bitmaps TODO. + * @brief Implementation of CPixelFormat handling 24bit indexed bitmaps. * * On error CPixelFormat::PixelFormatError is thrown. */ @@ -83,7 +83,7 @@ class CPixelFormat_Indexed8 : public CPixelFormat */ uint32_t getBitCount() { - return 8; + return 24; } /** -- cgit v1.2.3