summaryrefslogtreecommitdiffstats
path: root/ue2/imgsynth2/cbitmap.h
diff options
context:
space:
mode:
authorGünther Neuwirth <e0626638@student.tuwien.ac.at>2009-05-01 14:58:58 +0200
committerGünther Neuwirth <e0626638@student.tuwien.ac.at>2009-05-01 14:58:58 +0200
commitb0442de485dcb6328366d9b05a62af345e5fa39f (patch)
tree594628ba235e526ed54554cf72794b71624f4591 /ue2/imgsynth2/cbitmap.h
parent6b89034cd15a2ca270591aec89b8b13c868b86fc (diff)
downloadooprog-b0442de485dcb6328366d9b05a62af345e5fa39f.tar.gz
ooprog-b0442de485dcb6328366d9b05a62af345e5fa39f.tar.bz2
ooprog-b0442de485dcb6328366d9b05a62af345e5fa39f.zip
Adding cpixelformat_indexd8.h and .cpp. Adding virtual methode getColorMode to CPixelFormat. Adding color table to CBitmap. Adding implementation of CPixmap
Diffstat (limited to 'ue2/imgsynth2/cbitmap.h')
-rw-r--r--ue2/imgsynth2/cbitmap.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/ue2/imgsynth2/cbitmap.h b/ue2/imgsynth2/cbitmap.h
index f8f8850..f521bcc 100644
--- a/ue2/imgsynth2/cbitmap.h
+++ b/ue2/imgsynth2/cbitmap.h
@@ -9,6 +9,8 @@
9#define CBITMAP_H 9#define CBITMAP_H
10 10
11#include <stdint.h> 11#include <stdint.h>
12#include <map>
13#include <string>
12#include "cfile.h" 14#include "cfile.h"
13 15
14class CPixelFormat; 16class CPixelFormat;
@@ -132,6 +134,9 @@ class CBitmap : public CFile
132 std::set<CPixelFormat *> m_handlers; 134 std::set<CPixelFormat *> m_handlers;
133 /** pointer to CPixelFormat implementation */ 135 /** pointer to CPixelFormat implementation */
134 CPixelFormat *m_pixelformat; 136 CPixelFormat *m_pixelformat;
137 /* color table */
138 std::map<std::string, std::map< std::string, uint32_t* > > xpmColors;
139
135}; 140};
136 141
137#endif 142#endif