os/mm/imagingandcamerafws/camerafw/testapps/testcameraapp/TestCameraApp.rss
author sl
Tue, 10 Jun 2014 14:32:02 +0200
changeset 1 260cb5ec6c19
permissions -rw-r--r--
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".
     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 
    20 #include "TestCameraApp.hrh"
    21 
    22 RESOURCE RSS_SIGNATURE { }
    23 
    24 RESOURCE TBUF { buf=""; }
    25 
    26 RESOURCE EIK_APP_INFO
    27 	{
    28 	menubar=r_tcam_menubar;
    29 	hotkeys=r_tcam_hotkeys;
    30 	}
    31 
    32 RESOURCE HOTKEYS r_tcam_hotkeys
    33 	{
    34 	control=
    35 		{
    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'; }
    51 		};
    52 	shift_control=
    53 		{
    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'; }
    67 		};
    68 	}
    69 
    70 RESOURCE MENU_BAR r_tcam_menubar
    71 	{
    72 	titles=
    73 		{
    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"; }
    79 		};
    80 	}
    81 
    82 RESOURCE MENU_PANE r_tcam_control_menu
    83 	{
    84 	items=
    85 		{
    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"; }
    93 		};
    94 	}
    95 
    96 RESOURCE MENU_PANE r_tcam_settings_menu
    97 	{
    98 	items=
    99 		{
   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"; }
   109 		};
   110 	}
   111 
   112 RESOURCE MENU_PANE r_tcam_presets_menu
   113 	{
   114 	items=
   115 		{
   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"; }
   122 		};
   123 	}
   124 
   125 RESOURCE MENU_PANE r_tcam_imageprocessing_menu
   126 	{
   127 	items=
   128 		{
   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-"; }
   133 		};
   134 	}
   135 
   136 RESOURCE MENU_PANE r_tcam_snapshot_menu
   137 	{
   138 	items=
   139 		{
   140 		MENU_ITEM { command=ETCamCmdEnableSnapshot; txt="Enable Snapshot"; },
   141 		MENU_ITEM { command=ETCamCmdDisableSnapshot; txt="Disable Snapshot"; }
   142 		};
   143 	}