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: Definition of constants equired by external applications* |
|
15 */ |
|
16 |
|
17 |
|
18 |
|
19 #ifndef CAMUICONSTANTS_H |
|
20 #define CAMUICONSTANTS_H |
|
21 |
|
22 // INCLUDES |
|
23 #include <e32std.h> |
|
24 |
|
25 // CONSTANTS |
|
26 |
|
27 // Initial value for direct viewfinder color key. |
|
28 // const TUint KCamDirectColorVal = 0xFF8C8C8C; |
|
29 const TUint KCamDirectColorVal = 0x00030303; |
|
30 |
|
31 // Precapture view background color. This color is used to |
|
32 // paint the background during application startup and mode switches, |
|
33 // when viewfinder is not yet running. |
|
34 // In case of direct viewfinding, same value as for color key |
|
35 // should be used, to avoid backround with different color showing |
|
36 // when viewfinder is stopped before mode switch, but screen is |
|
37 // not redrawn. |
|
38 const TUint KCamPrecaptureBgColor = 0x00030303; |
|
39 |
|
40 // The last two decimals, ie. 8C, is the amount of |
|
41 // transparency. 00 would be totally transparent |
|
42 // and FF totally visible. |
|
43 #define KRgbShadedWhite TRgb( 0xFF, 0xFF, 0xFF, 0x8C ) |
|
44 |
|
45 #endif // CAMUICONSTANTS_H |
|
46 |
|
47 // End of File |
|