summaryrefslogtreecommitdiffstats
path: root/ue2/imgsynth2/cpixelformat.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/cpixelformat.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/cpixelformat.h')
-rw-r--r--ue2/imgsynth2/cpixelformat.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/ue2/imgsynth2/cpixelformat.h b/ue2/imgsynth2/cpixelformat.h
index 911a141..2300f2f 100644
--- a/ue2/imgsynth2/cpixelformat.h
+++ b/ue2/imgsynth2/cpixelformat.h
@@ -10,6 +10,7 @@
10#define CPIXELFORMAT_H 10#define CPIXELFORMAT_H
11 11
12#include <fstream> 12#include <fstream>
13#include <string>
13#include <stdexcept> 14#include <stdexcept>
14 15
15class CBitmap; 16class CBitmap;
@@ -108,6 +109,16 @@ class CPixelFormat
108 */ 109 */
109 virtual uint32_t getBitCount() = 0; 110 virtual uint32_t getBitCount() = 0;
110 111
112 /**
113 * @method getColorMode
114 * @brief returns the color mode supported by this class
115 * @param -
116 * @return color mode supported by this class
117 * @globalvars none
118 * @exception none
119 * @conditions none
120 */
121 virtual std::string getColorMode() = 0;
111 /* 122 /*
112 * TODO 123 * TODO
113 */ 124 */