2 * Copyright (c) 2002 Nokia Corporation and/or its subsidiary(-ies).
4 * This component and the accompanying materials are made available
5 * under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
6 * which accompanies this distribution, and is available
7 * at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
9 * Initial Contributors:
10 * Nokia Corporation - initial contribution.
20 // Copyright (c) 1997-2001 Symbian Ltd. All rights reserved.
23 #if !defined(__AKNPOPUPFADER_H__)
24 #define __AKNPOPUPFADER_H__
30 /** MAknFadedComponent is an array of controls
32 class MAknFadedComponent
35 /** CountFadedComponents() returns number of items in the array
37 IMPORT_C virtual TInt CountFadedComponents();
38 /** FadedComponent() returns specific controls from the array based on index
40 IMPORT_C virtual CCoeControl* FadedComponent(TInt aIndex);
43 /** TAknPopupFader fades controls
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
53 IMPORT_C void FadeBehindPopup(MAknFadedComponent* aComponent, CCoeControl* aParent, TBool aFade);
56 static void CreateStaticL();
59 void FadeBehindPopupL(MAknFadedComponent* aComponent, CCoeControl* aParent, TBool aFade);
62 TBool iBackgroundFaded; // unused