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 __CFILTERBUBBLE_H__ |
|
21 #define __CFILTERBUBBLE_H__ |
|
22 |
|
23 #include <e32base.h> |
|
24 #include "MImageFilter.h" |
|
25 #include <fbs.h> |
|
26 |
|
27 class CFilterBubble |
|
28 : public CBase |
|
29 , public MImageFilter |
|
30 { |
|
31 public: |
|
32 IMPORT_C static TInt Create(); |
|
33 virtual ~CFilterBubble(); |
|
34 |
|
35 private: |
|
36 static CFilterBubble* NewL(); |
|
37 CFilterBubble(); |
|
38 void ConstructL(); |
|
39 |
|
40 public: // MImageFilter |
|
41 virtual TRect Rect(); |
|
42 virtual TReal Scale(); |
|
43 virtual TSize ViewPortSize(); |
|
44 virtual TBlock * GetBlockL ( const TRect & aRect ); |
|
45 virtual void SetParent( MImageFilter* aParent ); |
|
46 virtual void SetChild( MImageFilter* aChild ); |
|
47 virtual TInt CmdL( const TDesC16& aCmd ); |
|
48 virtual const char* Type(); |
|
49 |
|
50 private: // New methods |
|
51 void CFilterBubble::LoadImageL(); |
|
52 |
|
53 private: // Data |
|
54 |
|
55 TUint32 * iData; |
|
56 TSize iSize; |
|
57 TFileName iFileName; |
|
58 TInt iBubble; |
|
59 TInt iMask; |
|
60 |
|
61 TPoint iPosition; |
|
62 TPoint iCorrectPosition; |
|
63 TInt iZoom; |
|
64 TInt iAngle; |
|
65 TPoint iScale; |
|
66 |
|
67 }; |
|
68 |
|
69 #endif |