64
|
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 |
|