|
45
|
1 |
/*
|
|
|
2 |
* Copyright (c) 2002 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 |
// AknPopupFader.h
|
|
|
19 |
//
|
|
|
20 |
// Copyright (c) 1997-2001 Symbian Ltd. All rights reserved.
|
|
|
21 |
//
|
|
|
22 |
|
|
|
23 |
#if !defined(__AKNPOPUPFADER_H__)
|
|
|
24 |
#define __AKNPOPUPFADER_H__
|
|
|
25 |
|
|
|
26 |
#include <e32base.h>
|
|
|
27 |
|
|
|
28 |
class CCoeControl;
|
|
|
29 |
|
|
|
30 |
/** MAknFadedComponent is an array of controls
|
|
|
31 |
*/
|
|
|
32 |
class MAknFadedComponent
|
|
|
33 |
{
|
|
|
34 |
public:
|
|
|
35 |
/** CountFadedComponents() returns number of items in the array
|
|
|
36 |
*/
|
|
|
37 |
IMPORT_C virtual TInt CountFadedComponents();
|
|
|
38 |
/** FadedComponent() returns specific controls from the array based on index
|
|
|
39 |
*/
|
|
|
40 |
IMPORT_C virtual CCoeControl* FadedComponent(TInt aIndex);
|
|
|
41 |
};
|
|
|
42 |
|
|
|
43 |
/** TAknPopupFader fades controls
|
|
|
44 |
*/
|
|
|
45 |
class TAknPopupFader
|
|
|
46 |
{
|
|
|
47 |
public:
|
|
|
48 |
/** FadeBehindPopup fades components
|
|
|
49 |
* @param aComponent array of controls
|
|
|
50 |
* @param aParent parent control
|
|
|
51 |
* @param aFade true if control is to be faded, false if not
|
|
|
52 |
*/
|
|
|
53 |
IMPORT_C void FadeBehindPopup(MAknFadedComponent* aComponent, CCoeControl* aParent, TBool aFade);
|
|
|
54 |
|
|
|
55 |
public: // internal
|
|
|
56 |
static void CreateStaticL();
|
|
|
57 |
|
|
|
58 |
private:
|
|
|
59 |
void FadeBehindPopupL(MAknFadedComponent* aComponent, CCoeControl* aParent, TBool aFade);
|
|
|
60 |
|
|
|
61 |
private:
|
|
|
62 |
TBool iBackgroundFaded; // unused
|
|
|
63 |
};
|
|
|
64 |
|
|
|
65 |
|
|
|
66 |
#endif
|