equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "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 * |
|
14 * Description: |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 #ifndef HUIEFFECTABLE_H_ |
|
21 #define HUIEFFECTABLE_H_ |
|
22 |
|
23 class THuiRealRect; |
|
24 class CHuiFxEffect; |
|
25 class CHuiGc; |
|
26 |
|
27 class MHuiEffectable |
|
28 { |
|
29 public: |
|
30 virtual ~MHuiEffectable() { } |
|
31 virtual void EffectSetEffect(CHuiFxEffect* aEffect)=0; |
|
32 virtual TReal32 EffectOpacityTarget() const=0; |
|
33 virtual void EffectSetOpacity(TReal32 aOpacity)=0; |
|
34 virtual void EffectDrawSelf( CHuiGc &aGc, const TRect & aDisplayRect) const=0; |
|
35 virtual THuiRealRect EffectDisplayRect() const __SOFTFP=0; |
|
36 virtual void SetLoadingEffect(TBool aLoading)=0; |
|
37 virtual void EffectSetSource( TBool aIsInput1 )=0; |
|
38 virtual TBool EffectGetSource() const=0; |
|
39 }; |
|
40 |
|
41 #endif |