00001 /* 00002 /-------------------------------------------------------------------- 00003 | 00004 | $Id: plfilterlightness.h,v 1.1 2004/05/21 21:02:53 maxx Exp $ 00005 | 00006 | Copyright (c) 1996-2002 Ulrich von Zadow 00007 | 00008 \-------------------------------------------------------------------- 00009 */ 00010 00011 #if !defined(INCL_PLFILTERLIGHTNESS) 00012 #define INCL_PLFILTERLIGHTNESS 00013 00014 #if _MSC_VER > 1000 00015 #pragma once 00016 #endif // _MSC_VER > 1000 00017 00018 #include "plfilter.h" 00019 00020 class PLBmp; 00021 00025 class PLFilterLightness : public PLFilter 00026 { 00027 public: 00029 PLFilterLightness (int lightness); 00030 00032 virtual ~PLFilterLightness(); 00033 00035 virtual void Apply(PLBmp *pBmpSource, PLBmp* pBmpDest) const; 00036 00037 protected: 00038 int m_lightness; 00039 }; 00040 #endif 00041 00042 /* 00043 /-------------------------------------------------------------------- 00044 | 00045 | $Log: plfilterlightness.h,v $ 00046 | Revision 1.1 2004/05/21 21:02:53 maxx 00047 | Initial Version of vuVolume, moderatly changed to make it compile on my windows and linux machine. 00048 | 00049 | Revision 1.1 2002/11/13 01:59:48 mspindle 00050 | *** empty log message *** 00051 | 00052 | Revision 1.2 2002/02/24 13:00:47 uzadow 00053 | Documentation update; removed buggy PLFilterRotate. 00054 | 00055 | Revision 1.1 2001/09/16 19:03:23 uzadow 00056 | Added global name prefix PL, changed most filenames. 00057 | 00058 | Revision 1.5 2001/02/04 14:31:52 uzadow 00059 | Member initialization list cleanup (Erik Hoffmann). 00060 | 00061 | Revision 1.4 2001/01/15 15:05:31 uzadow 00062 | Added PLBmp::ApplyFilter() and PLBmp::CreateFilteredCopy() 00063 | 00064 | Revision 1.3 2001/01/12 23:29:38 uzadow 00065 | Lightness 0 now means "don't change anything". 00066 | 00067 | Revision 1.2 2000/12/04 23:57:13 uzadow 00068 | Cleaned up code. 00069 | 00070 | 00071 | 00072 \-------------------------------------------------------------------- 00073 */