uiacceltk/hitchcock/tsrc/alfperfapp/inc/alfperfappsuitehelper.h
changeset 0 15bf7259bb7c
equal deleted inserted replaced
-1:000000000000 0:15bf7259bb7c
       
     1 /*
       
     2 * Copyright (c) 2008 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 #ifndef __ALFPERFAPPSUITEHELPER_H__
       
    19 #define __ALFPERFAPPSUITEHELPER_H__
       
    20 
       
    21 // INCLUDES
       
    22 #include <alf/AlfVisual.h>
       
    23 #include <alf/AlfGradientBrush.h>
       
    24 #include <alf/AlfBorderBrush.h>
       
    25 #include <alf/AlfBrushArray.h>
       
    26 #include <alf/AlfDropShadowBrush.h>
       
    27 #include <alf/AlfMetric.h>
       
    28 
       
    29 // CLASS DECLARATION
       
    30 class TAlfPerfAppSuiteHelper
       
    31 	{
       
    32 	public:
       
    33 		static void AddBorderBrushL( 
       
    34 				CAlfVisual* aVisual,
       
    35 				const TRgb& aColor,
       
    36 				TInt aThicknessWidth = 1,
       
    37 				TInt aThicknessHeight = 1 );
       
    38 		
       
    39 		static void AddGradientBrushL( 
       
    40 				CAlfVisual* aVisual,
       
    41 				const TRgb& aColor1,
       
    42 				const TRgb& aColor2,
       
    43 				CAlfGradientBrush::TDirection aDirection = CAlfGradientBrush::EDirectionDown );
       
    44 		
       
    45 		static void AddGradientBrushL( 
       
    46 				CAlfVisual* aVisual,
       
    47 				const TRgb& aColor );		
       
    48 		
       
    49 		static void AddDropShadowBrushL(
       
    50 				CAlfVisual* aVisual,
       
    51 				const TRgb& aColor,
       
    52 				TInt aDepth	);
       
    53 	};
       
    54 
       
    55 #endif // __ALFPERFAPPSUITEHELPER_H__
       
    56 
       
    57 // end of file
       
    58