epoc32/include/mw/aknpopupfader.h
author William Roberts <williamr@symbian.org>
Tue, 16 Mar 2010 16:12:26 +0000
branchSymbian2
changeset 2 2fe1408b6811
parent 1 666f914201fb
child 4 837f303aceeb
permissions -rw-r--r--
Final list of Symbian^2 public API header files
     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 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".
     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