equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2010 Ixonos Plc. |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of the "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - Initial contribution |
|
11 * |
|
12 * Contributors: |
|
13 * Ixonos Plc |
|
14 * |
|
15 * Description: |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 #ifndef __CFilterBrightness_H__ |
|
21 #define __CFilterBrightness_H__ |
|
22 |
|
23 #include <e32base.h> |
|
24 #include "MImageFilter.h" |
|
25 |
|
26 class CFilterBrightness |
|
27 : public CBase |
|
28 , public MImageFilter |
|
29 { |
|
30 public: |
|
31 IMPORT_C static TInt Create(); |
|
32 virtual ~CFilterBrightness(); |
|
33 |
|
34 private: |
|
35 static CFilterBrightness* NewL(); |
|
36 CFilterBrightness(); |
|
37 virtual void ConstructL(); |
|
38 |
|
39 public: // MImageFilter |
|
40 virtual TRect Rect(); |
|
41 virtual TReal Scale(); |
|
42 virtual TSize ViewPortSize(); |
|
43 virtual TBlock * GetBlockL ( const TRect & aRect ); |
|
44 virtual void SetParent( MImageFilter* aParent ); |
|
45 virtual void SetChild( MImageFilter* aChild ); |
|
46 virtual TInt CmdL( const TDesC16& aCmd ); |
|
47 virtual const char* Type(); |
|
48 |
|
49 private: // Data |
|
50 |
|
51 TInt iBrightness; |
|
52 TInt iAdjR; |
|
53 TInt iAdjG; |
|
54 TInt iAdjB; |
|
55 }; |
|
56 |
|
57 #endif |