sl@0: // Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies). sl@0: // All rights reserved. sl@0: // This component and the accompanying materials are made available sl@0: // under the terms of "Eclipse Public License v1.0" sl@0: // which accompanies this distribution, and is available sl@0: // at the URL "http://www.eclipse.org/legal/epl-v10.html". sl@0: // sl@0: // Initial Contributors: sl@0: // Nokia Corporation - initial contribution. sl@0: // sl@0: // Contributors: sl@0: // sl@0: // Description: sl@0: // sl@0: sl@0: NAME TCAM sl@0: sl@0: #include sl@0: sl@0: #include "TestCameraApp.hrh" sl@0: sl@0: RESOURCE RSS_SIGNATURE { } sl@0: sl@0: RESOURCE TBUF { buf=""; } sl@0: sl@0: RESOURCE EIK_APP_INFO sl@0: { sl@0: menubar=r_tcam_menubar; sl@0: hotkeys=r_tcam_hotkeys; sl@0: } sl@0: sl@0: RESOURCE HOTKEYS r_tcam_hotkeys sl@0: { sl@0: control= sl@0: { sl@0: HOTKEY { command=ETCamCmdIncBrightness; key='b'; }, sl@0: HOTKEY { command=ETCamCmdIncContrast; key='c'; }, sl@0: HOTKEY { command=EEikCmdExit; key='e'; }, sl@0: HOTKEY { command=ETCamCmdViewFinder; key='f'; }, sl@0: HOTKEY { command=ETCamCmdCaptureImage; key='i'; }, sl@0: HOTKEY { command=ETCamCmdBurstMode; key='d'; }, sl@0: HOTKEY { command=ETCamCmdPowerOn; key='o'; }, sl@0: HOTKEY { command=ETCamCmdCaptureVideo; key='v'; }, sl@0: HOTKEY { command=ETCamCmdIncNumBurstImages; key='n'; }, sl@0: HOTKEY { command=ETCamCmdFactoryPreset; key='p'; }, sl@0: HOTKEY { command=ETCamCmdOutdoorSportPreset; key='s'; }, sl@0: HOTKEY { command=ETCamCmdNightPartyIndoorPreset; key='a'; }, sl@0: HOTKEY { command=ETCamCmdImgProcIncBrightness; key='g'; }, sl@0: HOTKEY { command=ETCamCmdImgProcIncContrast; key='h'; }, sl@0: HOTKEY { command=ETCamCmdEnableSnapshot; key='j'; } sl@0: }; sl@0: shift_control= sl@0: { sl@0: HOTKEY { command=ETCamCmdDecBrightness; key='b'; }, sl@0: HOTKEY { command=ETCamCmdDecContrast; key='c'; }, sl@0: HOTKEY { command=ETCamCmdDecNumBurstImages; key='n'; }, sl@0: HOTKEY { command=ETCamCmdPowerOff; key='o'; }, sl@0: HOTKEY { command=ETCamCmdResetBrightness; key='s'; }, sl@0: HOTKEY { command=ETCamCmdResetContrast; key='t'; }, sl@0: HOTKEY { command=ETCamCmdResetNumBurstImages; key='p'; }, sl@0: HOTKEY { command=ETCamCmdOutdoorPreset; key='d'; }, sl@0: HOTKEY { command=ETCamCmdFogPreset; key='a'; }, sl@0: HOTKEY { command=ETCamCmdTextDocumentPreset; key='t'; }, sl@0: HOTKEY { command=ETCamCmdImgProcDecBrightness; key='g'; }, sl@0: HOTKEY { command=ETCamCmdImgProcDecContrast; key='h'; }, sl@0: HOTKEY { command=ETCamCmdDisableSnapshot; key='j'; } sl@0: }; sl@0: } sl@0: sl@0: RESOURCE MENU_BAR r_tcam_menubar sl@0: { sl@0: titles= sl@0: { sl@0: MENU_TITLE { menu_pane=r_tcam_control_menu; txt="Control"; }, sl@0: MENU_TITLE { menu_pane=r_tcam_settings_menu; txt="Settings"; }, sl@0: MENU_TITLE { menu_pane=r_tcam_presets_menu; txt="Presets"; }, sl@0: MENU_TITLE { menu_pane=r_tcam_imageprocessing_menu; txt="Image Processing"; }, sl@0: MENU_TITLE { menu_pane=r_tcam_snapshot_menu; txt="Snapshot"; } sl@0: }; sl@0: } sl@0: sl@0: RESOURCE MENU_PANE r_tcam_control_menu sl@0: { sl@0: items= sl@0: { sl@0: MENU_ITEM { command=ETCamCmdPowerOn; txt="Power on"; }, sl@0: MENU_ITEM { command=ETCamCmdPowerOff; txt="Power off"; flags=EEikMenuItemSeparatorAfter; }, sl@0: MENU_ITEM { command=ETCamCmdViewFinder; txt="View finder"; }, sl@0: MENU_ITEM { command=ETCamCmdCaptureImage; txt="Single Image Capture"; }, sl@0: MENU_ITEM { command=ETCamCmdBurstMode; txt="Burst Mode Image Capture"; }, sl@0: MENU_ITEM { command=ETCamCmdCaptureVideo; txt="Capture video"; flags=EEikMenuItemSeparatorAfter; }, sl@0: MENU_ITEM { command=EEikCmdExit; txt="Close"; } sl@0: }; sl@0: } sl@0: sl@0: RESOURCE MENU_PANE r_tcam_settings_menu sl@0: { sl@0: items= sl@0: { sl@0: MENU_ITEM { command=ETCamCmdIncContrast; txt="Contrast+"; }, sl@0: MENU_ITEM { command=ETCamCmdDecContrast; txt="Contrast-"; }, sl@0: MENU_ITEM { command=ETCamCmdResetContrast; txt="Reset contrast"; flags=EEikMenuItemSeparatorAfter; }, sl@0: MENU_ITEM { command=ETCamCmdIncBrightness; txt="Brightness+"; }, sl@0: MENU_ITEM { command=ETCamCmdDecBrightness; txt="Brightness-"; }, sl@0: MENU_ITEM { command=ETCamCmdResetBrightness; txt="Reset brightness"; flags=EEikMenuItemSeparatorAfter;}, sl@0: MENU_ITEM { command=ETCamCmdIncNumBurstImages; txt="BurstImage+"; }, sl@0: MENU_ITEM { command=ETCamCmdDecNumBurstImages; txt="BurstImage-"; }, sl@0: MENU_ITEM { command=ETCamCmdResetNumBurstImages; txt="Reset BurstImage"; } sl@0: }; sl@0: } sl@0: sl@0: RESOURCE MENU_PANE r_tcam_presets_menu sl@0: { sl@0: items= sl@0: { sl@0: MENU_ITEM { command=ETCamCmdFactoryPreset; txt="Factory"; }, sl@0: MENU_ITEM { command=ETCamCmdOutdoorPreset; txt="Outdoor"; }, sl@0: MENU_ITEM { command=ETCamCmdOutdoorSportPreset; txt="OutdoorSport"; }, sl@0: MENU_ITEM { command=ETCamCmdFogPreset; txt="Fog"; }, sl@0: MENU_ITEM { command=ETCamCmdNightPartyIndoorPreset; txt="NightPartyIndoor"; }, sl@0: MENU_ITEM { command=ETCamCmdTextDocumentPreset; txt="TextDocument"; } sl@0: }; sl@0: } sl@0: sl@0: RESOURCE MENU_PANE r_tcam_imageprocessing_menu sl@0: { sl@0: items= sl@0: { sl@0: MENU_ITEM { command=ETCamCmdImgProcIncBrightness; txt="Brightness+"; }, sl@0: MENU_ITEM { command=ETCamCmdImgProcDecBrightness; txt="Brightness-"; }, sl@0: MENU_ITEM { command=ETCamCmdImgProcIncContrast; txt="Contrast+"; }, sl@0: MENU_ITEM { command=ETCamCmdImgProcDecContrast; txt="Contrast-"; } sl@0: }; sl@0: } sl@0: sl@0: RESOURCE MENU_PANE r_tcam_snapshot_menu sl@0: { sl@0: items= sl@0: { sl@0: MENU_ITEM { command=ETCamCmdEnableSnapshot; txt="Enable Snapshot"; }, sl@0: MENU_ITEM { command=ETCamCmdDisableSnapshot; txt="Disable Snapshot"; } sl@0: }; sl@0: }