equal
deleted
inserted
replaced
|
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: Common defines for Contact Action Menu UI |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef C_FSCCONTACTACTIONMENUUIDEFINES_H |
|
20 #define C_FSCCONTACTACTIONMENUUIDEFINES_H |
|
21 |
|
22 #include <e32base.h> |
|
23 |
|
24 // DEFINES |
|
25 |
|
26 #define KCORNERSIZE1 TSize( 2, 2 ); |
|
27 #define KCORNERSIZE2 TSize( 3, 3 ); |
|
28 #define KCORNERSIZE3 TSize( 4, 4 ); |
|
29 #define KCORNERSIZE4 TSize( 8, 9 ); |
|
30 |
|
31 // FORWARD DECLARATIONS |
|
32 |
|
33 // TYPEDEFS |
|
34 //<cmail> |
|
35 // CONSTS |
|
36 const TInt KGranularity = 15; |
|
37 const TInt KMaxItemsVisible = 7; |
|
38 //needed to show listbox correctly |
|
39 const TInt KEmptyMenuHeight = 100; //default value |
|
40 const TInt KZero = 0; |
|
41 //used to add some additional pixels after the text |
|
42 //const TInt KExtraTextWidth = 7; |
|
43 //const TInt KBaselinePosOffset = 4; //Baseline offset |
|
44 |
|
45 //Column ids |
|
46 enum TECAListColumnId |
|
47 { |
|
48 ELeftMarginColumn, |
|
49 EIconColumn, |
|
50 EMidleMarginColumn, |
|
51 ETextColumn |
|
52 }; |
|
53 |
|
54 const TInt KMenuSlideSpeed = 800; |
|
55 //</cmail> |
|
56 |
|
57 #endif // C_FSCCONTACTACTIONMENUUIDEFINES_H |
|
58 |