|
1 // Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // |
|
15 |
|
16 NAME TCAM |
|
17 |
|
18 #include <techview/eikon.rh> |
|
19 #include <avkon.rsg> |
|
20 #include <avkon.rh> |
|
21 #include <avkon.mbg> |
|
22 |
|
23 #include "TestCameraApp.hrh" |
|
24 |
|
25 RESOURCE RSS_SIGNATURE { } |
|
26 |
|
27 RESOURCE TBUF { buf=""; } |
|
28 |
|
29 RESOURCE EIK_APP_INFO |
|
30 { |
|
31 menubar=r_tcam_menubar; |
|
32 cba=R_AVKON_SOFTKEYS_OPTIONS_BACK; |
|
33 } |
|
34 |
|
35 RESOURCE MENU_BAR r_tcam_menubar |
|
36 { |
|
37 titles= |
|
38 { |
|
39 MENU_TITLE { menu_pane=r_tcam_main_menu; txt="Options"; } |
|
40 }; |
|
41 } |
|
42 |
|
43 RESOURCE MENU_BAR r_tcam_main_menu |
|
44 { |
|
45 titles= |
|
46 { |
|
47 MENU_ITEM { cascade=r_tcam_control_menu; txt="Control"; }, |
|
48 MENU_ITEM { cascade=r_tcam_settings_menu; txt="Settings"; } |
|
49 }; |
|
50 } |
|
51 |
|
52 RESOURCE MENU_PANE r_tcam_control_menu |
|
53 { |
|
54 items= |
|
55 { |
|
56 MENU_ITEM { command=ETCamCmdPowerOn; txt="Power on"; }, |
|
57 MENU_ITEM { command=ETCamCmdPowerOff; txt="Power off"; }, |
|
58 MENU_ITEM { command=ETCamCmdViewFinder; txt="View finder"; }, |
|
59 MENU_ITEM { command=ETCamCmdCaptureImage; txt="Capture image"; }, |
|
60 MENU_ITEM { command=ETCamCmdCaptureVideo; txt="Toggle video"; } |
|
61 }; |
|
62 } |
|
63 |
|
64 RESOURCE MENU_PANE r_tcam_settings_menu |
|
65 { |
|
66 items= |
|
67 { |
|
68 MENU_ITEM { command=ETCamCmdIncContrast; txt="Contrast+"; }, |
|
69 MENU_ITEM { command=ETCamCmdDecContrast; txt="Contrast-"; }, |
|
70 MENU_ITEM { command=ETCamCmdResetContrast; txt="Reset contrast"; }, |
|
71 MENU_ITEM { command=ETCamCmdIncBrightness; txt="Brightness+"; }, |
|
72 MENU_ITEM { command=ETCamCmdDecBrightness; txt="Brightness-"; }, |
|
73 MENU_ITEM { command=ETCamCmdResetBrightness; txt="Reset brightness"; } |
|
74 }; |
|
75 } |
|
76 |