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_bgr555.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'ue2/imgsynth2/cpixelformat_bgr555.h') diff --git a/ue2/imgsynth2/cpixelformat_bgr555.h b/ue2/imgsynth2/cpixelformat_bgr555.h index b04e4be..890b744 100644 --- a/ue2/imgsynth2/cpixelformat_bgr555.h +++ b/ue2/imgsynth2/cpixelformat_bgr555.h @@ -85,6 +85,20 @@ class CPixelFormat_BGR555 : public CPixelFormat return 16; } + /** + * @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