From b0442de485dcb6328366d9b05a62af345e5fa39f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=BCnther=20Neuwirth?= Date: Fri, 1 May 2009 14:58:58 +0200 Subject: Adding cpixelformat_indexd8.h and .cpp. Adding virtual methode getColorMode to CPixelFormat. Adding color table to CBitmap. Adding implementation of CPixmap --- ue2/imgsynth2/cpixelformat_bgr24.h | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'ue2/imgsynth2/cpixelformat_bgr24.h') diff --git a/ue2/imgsynth2/cpixelformat_bgr24.h b/ue2/imgsynth2/cpixelformat_bgr24.h index 73f22c1..da1592b 100644 --- a/ue2/imgsynth2/cpixelformat_bgr24.h +++ b/ue2/imgsynth2/cpixelformat_bgr24.h @@ -74,7 +74,20 @@ class CPixelFormat_BGR24 : public CPixelFormat { return 24; } - + + /** + * @method getColorMode + * @brief returns the color mode supported by this class + * @param - + * @return color mode supported by this class + * @globalvars none + * @exception none + * @conditions none + */ + std::string getColorMode() + { + return "c"; + } /* * TODO */ -- cgit v1.2.3