summaryrefslogtreecommitdiffstats
path: root/ue2/imgsynth2/cpixelformat_indexed8.h
diff options
context:
space:
mode:
authormanuel <manuel@nc8430.lan>2009-05-02 16:44:53 +0200
committermanuel <manuel@nc8430.lan>2009-05-02 16:44:53 +0200
commitbcadfa267f976fe9f29afa50a635cbe3ea174e38 (patch)
treeb069a34c9d100dcc9229311b47cbfa0697ee7fc9 /ue2/imgsynth2/cpixelformat_indexed8.h
parentbca08c6de2b156cbec90944c809e5e7faecd231d (diff)
downloadooprog-bcadfa267f976fe9f29afa50a635cbe3ea174e38.tar.gz
ooprog-bcadfa267f976fe9f29afa50a635cbe3ea174e38.tar.bz2
ooprog-bcadfa267f976fe9f29afa50a635cbe3ea174e38.zip
- 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
Diffstat (limited to 'ue2/imgsynth2/cpixelformat_indexed8.h')
-rw-r--r--ue2/imgsynth2/cpixelformat_indexed8.h8
1 files changed, 4 insertions, 4 deletions
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 @@
1/** 1/**
2 * @module cpixelformat_bgr24 2 * @module cpixelformat_bgr24
3 * @author Guenther Neuwirth (0626638), Manuel Mausz (0728348) 3 * @author Guenther Neuwirth (0626638), Manuel Mausz (0728348)
4 * @brief Implementation of CPixelFormat handling 24bit color Windows Bitmaps TODO. 4 * @brief Implementation of CPixelFormat handling 24bit indexed bitmaps.
5 * @date 18.04.2009 5 * @date 02.05.2009
6 */ 6 */
7 7
8#ifndef CPixelFormat_Indexed8_H 8#ifndef CPixelFormat_Indexed8_H
@@ -14,7 +14,7 @@
14 14
15/** 15/**
16 * @class CPixelFormat_Indexed8 16 * @class CPixelFormat_Indexed8
17 * @brief Implementation of CPixelFormat handling 24bit color Windows Bitmaps TODO. 17 * @brief Implementation of CPixelFormat handling 24bit indexed bitmaps.
18 * 18 *
19 * On error CPixelFormat::PixelFormatError is thrown. 19 * On error CPixelFormat::PixelFormatError is thrown.
20 */ 20 */
@@ -83,7 +83,7 @@ class CPixelFormat_Indexed8 : public CPixelFormat
83 */ 83 */
84 uint32_t getBitCount() 84 uint32_t getBitCount()
85 { 85 {
86 return 8; 86 return 24;
87 } 87 }
88 88
89 /** 89 /**