epoc32/include/mw/aknpopupfader.h
author William Roberts <williamr@symbian.org>
Wed, 31 Mar 2010 12:33:34 +0100
branchSymbian3
changeset 4 837f303aceeb
parent 2 2fe1408b6811
permissions -rw-r--r--
Current Symbian^3 public API header files (from PDK 3.0.h)
This is the epoc32/include tree with the "platform" subtrees removed, and
all but a selected few mbg and rsg files removed.
williamr@2
     1
/*
williamr@2
     2
* Copyright (c) 2002 Nokia Corporation and/or its subsidiary(-ies).
williamr@2
     3
* All rights reserved.
williamr@2
     4
* This component and the accompanying materials are made available
williamr@4
     5
* under the terms of "Eclipse Public License v1.0"
williamr@2
     6
* which accompanies this distribution, and is available
williamr@4
     7
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
williamr@2
     8
*
williamr@2
     9
* Initial Contributors:
williamr@2
    10
* Nokia Corporation - initial contribution.
williamr@2
    11
*
williamr@2
    12
* Contributors:
williamr@2
    13
*
williamr@2
    14
* Description: 
williamr@2
    15
*
williamr@2
    16
*/
williamr@2
    17
williamr@2
    18
// AknPopupFader.h
williamr@2
    19
//
williamr@2
    20
// Copyright (c) 1997-2001 Symbian Ltd.  All rights reserved.
williamr@2
    21
//
williamr@2
    22
williamr@2
    23
#if !defined(__AKNPOPUPFADER_H__)
williamr@2
    24
#define __AKNPOPUPFADER_H__
williamr@2
    25
williamr@2
    26
#include <e32base.h>
williamr@2
    27
williamr@2
    28
class CCoeControl;
williamr@2
    29
williamr@2
    30
/** MAknFadedComponent is an array of controls
williamr@2
    31
 */
williamr@2
    32
class MAknFadedComponent
williamr@2
    33
	{
williamr@2
    34
public:
williamr@2
    35
    /** CountFadedComponents() returns number of items in the array
williamr@2
    36
     */
williamr@2
    37
	IMPORT_C virtual TInt CountFadedComponents();
williamr@2
    38
    /** FadedComponent() returns specific controls from the array based on index
williamr@2
    39
     */
williamr@2
    40
	IMPORT_C virtual CCoeControl* FadedComponent(TInt aIndex);
williamr@2
    41
	};
williamr@2
    42
williamr@2
    43
/** TAknPopupFader fades controls
williamr@2
    44
 */
williamr@2
    45
class TAknPopupFader
williamr@2
    46
	{
williamr@2
    47
public:
williamr@2
    48
    /** FadeBehindPopup fades components
williamr@2
    49
     * @param aComponent array of controls
williamr@2
    50
     * @param aParent parent control
williamr@2
    51
     * @param aFade true if control is to be faded, false if not
williamr@2
    52
     */
williamr@2
    53
	IMPORT_C void FadeBehindPopup(MAknFadedComponent* aComponent, CCoeControl* aParent, TBool aFade);
williamr@2
    54
williamr@2
    55
public:	// internal
williamr@2
    56
	static void CreateStaticL();
williamr@2
    57
williamr@2
    58
private:
williamr@2
    59
	void FadeBehindPopupL(MAknFadedComponent* aComponent, CCoeControl* aParent, TBool aFade);
williamr@2
    60
williamr@2
    61
private:
williamr@2
    62
	TBool iBackgroundFaded; // unused
williamr@2
    63
	};
williamr@2
    64
williamr@2
    65
williamr@2
    66
#endif