camerauis/activepalette/Inc/ActivePalette2SemiTransparentFadingStyler.h
branchRCL_3
changeset 54 bac7acad7cb3
parent 0 1ddebce53859
equal deleted inserted replaced
53:61bc0f252b2b 54:bac7acad7cb3
       
     1 /*
       
     2 * Copyright (c) 2007 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 #ifndef ACTIVE_PALETTE_2_SEMI_TRANSPARENT_FADING_STYLER_H
       
    20 #define ACTIVE_PALETTE_2_SEMI_TRANSPARENT_FADING_STYLER_H
       
    21 
       
    22 
       
    23 // ===========================================================================
       
    24 // Includes
       
    25 #include "ActivePalette2SemiTransparentStyler.h"
       
    26 
       
    27 
       
    28 // ===========================================================================
       
    29 // Forward declarations
       
    30 class CFbsBitmap;
       
    31 class CFbsBitmapDevice;
       
    32 class CBitmapContext;
       
    33 
       
    34 
       
    35 // ===========================================================================
       
    36 // Class declarations
       
    37 class CActivePalette2SemiTransparentFadingStyler 
       
    38   : public CActivePalette2SemiTransparentStyler
       
    39   {
       
    40   public:    
       
    41 
       
    42     static CActivePalette2SemiTransparentFadingStyler* NewL();
       
    43 
       
    44     virtual ~CActivePalette2SemiTransparentFadingStyler();
       
    45 
       
    46   public:
       
    47 
       
    48     virtual void BlitTooltip( CBitmapContext* aGc, 
       
    49                               const TPoint&   aPos, 
       
    50                               TInt            aCurrentPhase, 
       
    51                               TInt            aTotalPhases );
       
    52 
       
    53   protected:    
       
    54 
       
    55     virtual TInt TooltipNoseMaskId();
       
    56     virtual TInt TooltipBodyMaskId();
       
    57 
       
    58     virtual void AllocateTooltipBufL();
       
    59     virtual void ReleaseTooltipBuf();
       
    60 
       
    61   private:
       
    62   
       
    63   	CFbsBitmap*       iTooltipAlphaBitmap;
       
    64   	CFbsBitmapDevice* iTooltipAlphaDevice;
       
    65   	CBitmapContext*   iTooltipAlphaContext;
       
    66   
       
    67   	CFbsBitmap*       iTooltipBlendedMaskBitmap;
       
    68   	CFbsBitmapDevice* iTooltipBlendedMaskDevice;
       
    69   	CBitmapContext*   iTooltipBlendedMaskContext;
       
    70   };
       
    71 #endif // ACTIVE_PALETTE_2_SEMI_TRANSPARENT_FADING_STYLER_H
       
    72 
       
    73 // ===========================================================================
       
    74 // end of file