Update contrib.
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".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
18 #include <techview/eikon.rh>
20 #include "TestCameraApp.hrh"
22 RESOURCE RSS_SIGNATURE { }
24 RESOURCE TBUF { buf=""; }
28 menubar=r_tcam_menubar;
29 hotkeys=r_tcam_hotkeys;
32 RESOURCE HOTKEYS r_tcam_hotkeys
36 HOTKEY { command=ETCamCmdIncBrightness; key='b'; },
37 HOTKEY { command=ETCamCmdIncContrast; key='c'; },
38 HOTKEY { command=EEikCmdExit; key='e'; },
39 HOTKEY { command=ETCamCmdViewFinder; key='f'; },
40 HOTKEY { command=ETCamCmdCaptureImage; key='i'; },
41 HOTKEY { command=ETCamCmdBurstMode; key='d'; },
42 HOTKEY { command=ETCamCmdPowerOn; key='o'; },
43 HOTKEY { command=ETCamCmdCaptureVideo; key='v'; },
44 HOTKEY { command=ETCamCmdIncNumBurstImages; key='n'; },
45 HOTKEY { command=ETCamCmdFactoryPreset; key='p'; },
46 HOTKEY { command=ETCamCmdOutdoorSportPreset; key='s'; },
47 HOTKEY { command=ETCamCmdNightPartyIndoorPreset; key='a'; },
48 HOTKEY { command=ETCamCmdImgProcIncBrightness; key='g'; },
49 HOTKEY { command=ETCamCmdImgProcIncContrast; key='h'; },
50 HOTKEY { command=ETCamCmdEnableSnapshot; key='j'; }
54 HOTKEY { command=ETCamCmdDecBrightness; key='b'; },
55 HOTKEY { command=ETCamCmdDecContrast; key='c'; },
56 HOTKEY { command=ETCamCmdDecNumBurstImages; key='n'; },
57 HOTKEY { command=ETCamCmdPowerOff; key='o'; },
58 HOTKEY { command=ETCamCmdResetBrightness; key='s'; },
59 HOTKEY { command=ETCamCmdResetContrast; key='t'; },
60 HOTKEY { command=ETCamCmdResetNumBurstImages; key='p'; },
61 HOTKEY { command=ETCamCmdOutdoorPreset; key='d'; },
62 HOTKEY { command=ETCamCmdFogPreset; key='a'; },
63 HOTKEY { command=ETCamCmdTextDocumentPreset; key='t'; },
64 HOTKEY { command=ETCamCmdImgProcDecBrightness; key='g'; },
65 HOTKEY { command=ETCamCmdImgProcDecContrast; key='h'; },
66 HOTKEY { command=ETCamCmdDisableSnapshot; key='j'; }
70 RESOURCE MENU_BAR r_tcam_menubar
74 MENU_TITLE { menu_pane=r_tcam_control_menu; txt="Control"; },
75 MENU_TITLE { menu_pane=r_tcam_settings_menu; txt="Settings"; },
76 MENU_TITLE { menu_pane=r_tcam_presets_menu; txt="Presets"; },
77 MENU_TITLE { menu_pane=r_tcam_imageprocessing_menu; txt="Image Processing"; },
78 MENU_TITLE { menu_pane=r_tcam_snapshot_menu; txt="Snapshot"; }
82 RESOURCE MENU_PANE r_tcam_control_menu
86 MENU_ITEM { command=ETCamCmdPowerOn; txt="Power on"; },
87 MENU_ITEM { command=ETCamCmdPowerOff; txt="Power off"; flags=EEikMenuItemSeparatorAfter; },
88 MENU_ITEM { command=ETCamCmdViewFinder; txt="View finder"; },
89 MENU_ITEM { command=ETCamCmdCaptureImage; txt="Single Image Capture"; },
90 MENU_ITEM { command=ETCamCmdBurstMode; txt="Burst Mode Image Capture"; },
91 MENU_ITEM { command=ETCamCmdCaptureVideo; txt="Capture video"; flags=EEikMenuItemSeparatorAfter; },
92 MENU_ITEM { command=EEikCmdExit; txt="Close"; }
96 RESOURCE MENU_PANE r_tcam_settings_menu
100 MENU_ITEM { command=ETCamCmdIncContrast; txt="Contrast+"; },
101 MENU_ITEM { command=ETCamCmdDecContrast; txt="Contrast-"; },
102 MENU_ITEM { command=ETCamCmdResetContrast; txt="Reset contrast"; flags=EEikMenuItemSeparatorAfter; },
103 MENU_ITEM { command=ETCamCmdIncBrightness; txt="Brightness+"; },
104 MENU_ITEM { command=ETCamCmdDecBrightness; txt="Brightness-"; },
105 MENU_ITEM { command=ETCamCmdResetBrightness; txt="Reset brightness"; flags=EEikMenuItemSeparatorAfter;},
106 MENU_ITEM { command=ETCamCmdIncNumBurstImages; txt="BurstImage+"; },
107 MENU_ITEM { command=ETCamCmdDecNumBurstImages; txt="BurstImage-"; },
108 MENU_ITEM { command=ETCamCmdResetNumBurstImages; txt="Reset BurstImage"; }
112 RESOURCE MENU_PANE r_tcam_presets_menu
116 MENU_ITEM { command=ETCamCmdFactoryPreset; txt="Factory"; },
117 MENU_ITEM { command=ETCamCmdOutdoorPreset; txt="Outdoor"; },
118 MENU_ITEM { command=ETCamCmdOutdoorSportPreset; txt="OutdoorSport"; },
119 MENU_ITEM { command=ETCamCmdFogPreset; txt="Fog"; },
120 MENU_ITEM { command=ETCamCmdNightPartyIndoorPreset; txt="NightPartyIndoor"; },
121 MENU_ITEM { command=ETCamCmdTextDocumentPreset; txt="TextDocument"; }
125 RESOURCE MENU_PANE r_tcam_imageprocessing_menu
129 MENU_ITEM { command=ETCamCmdImgProcIncBrightness; txt="Brightness+"; },
130 MENU_ITEM { command=ETCamCmdImgProcDecBrightness; txt="Brightness-"; },
131 MENU_ITEM { command=ETCamCmdImgProcIncContrast; txt="Contrast+"; },
132 MENU_ITEM { command=ETCamCmdImgProcDecContrast; txt="Contrast-"; }
136 RESOURCE MENU_PANE r_tcam_snapshot_menu
140 MENU_ITEM { command=ETCamCmdEnableSnapshot; txt="Enable Snapshot"; },
141 MENU_ITEM { command=ETCamCmdDisableSnapshot; txt="Disable Snapshot"; }