os/mm/imagingandcamerafws/camerafw/testapps/testcameraapps60/TestCameraApp.rss
changeset 0 bde4ae8d615e
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/os/mm/imagingandcamerafws/camerafw/testapps/testcameraapps60/TestCameraApp.rss	Fri Jun 15 03:10:57 2012 +0200
     1.3 @@ -0,0 +1,76 @@
     1.4 +// Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
     1.5 +// All rights reserved.
     1.6 +// This component and the accompanying materials are made available
     1.7 +// under the terms of "Eclipse Public License v1.0"
     1.8 +// which accompanies this distribution, and is available
     1.9 +// at the URL "http://www.eclipse.org/legal/epl-v10.html".
    1.10 +//
    1.11 +// Initial Contributors:
    1.12 +// Nokia Corporation - initial contribution.
    1.13 +//
    1.14 +// Contributors:
    1.15 +//
    1.16 +// Description:
    1.17 +//
    1.18 +
    1.19 +NAME TCAM
    1.20 +
    1.21 +#include <techview/eikon.rh>
    1.22 +#include <avkon.rsg>
    1.23 +#include <avkon.rh>
    1.24 +#include <avkon.mbg>
    1.25 +
    1.26 +#include "TestCameraApp.hrh"
    1.27 +
    1.28 +RESOURCE RSS_SIGNATURE { }
    1.29 +
    1.30 +RESOURCE TBUF { buf=""; }
    1.31 +
    1.32 +RESOURCE EIK_APP_INFO
    1.33 +	{
    1.34 +	menubar=r_tcam_menubar;
    1.35 +	cba=R_AVKON_SOFTKEYS_OPTIONS_BACK;
    1.36 +	}
    1.37 +
    1.38 +RESOURCE MENU_BAR r_tcam_menubar
    1.39 +	{
    1.40 +	titles=
    1.41 +		{
    1.42 +		MENU_TITLE { menu_pane=r_tcam_main_menu; txt="Options"; }
    1.43 +		};
    1.44 +	}
    1.45 +
    1.46 +RESOURCE MENU_BAR r_tcam_main_menu
    1.47 +	{
    1.48 +	titles=
    1.49 +		{
    1.50 +		MENU_ITEM { cascade=r_tcam_control_menu; txt="Control"; },
    1.51 +		MENU_ITEM { cascade=r_tcam_settings_menu; txt="Settings"; }
    1.52 +		};
    1.53 +	}
    1.54 +
    1.55 +RESOURCE MENU_PANE r_tcam_control_menu
    1.56 +	{
    1.57 +	items=
    1.58 +		{
    1.59 +		MENU_ITEM { command=ETCamCmdPowerOn; txt="Power on"; },
    1.60 +		MENU_ITEM { command=ETCamCmdPowerOff; txt="Power off"; },
    1.61 +		MENU_ITEM { command=ETCamCmdViewFinder; txt="View finder"; },
    1.62 +		MENU_ITEM { command=ETCamCmdCaptureImage; txt="Capture image"; },
    1.63 +		MENU_ITEM { command=ETCamCmdCaptureVideo; txt="Toggle video"; }
    1.64 +		};
    1.65 +	}
    1.66 +
    1.67 +RESOURCE MENU_PANE r_tcam_settings_menu
    1.68 +	{
    1.69 +	items=
    1.70 +		{
    1.71 +		MENU_ITEM { command=ETCamCmdIncContrast; txt="Contrast+"; },
    1.72 +		MENU_ITEM { command=ETCamCmdDecContrast; txt="Contrast-"; },
    1.73 +		MENU_ITEM { command=ETCamCmdResetContrast; txt="Reset contrast"; },
    1.74 +		MENU_ITEM { command=ETCamCmdIncBrightness; txt="Brightness+"; },
    1.75 +		MENU_ITEM { command=ETCamCmdDecBrightness; txt="Brightness-"; },
    1.76 +		MENU_ITEM { command=ETCamCmdResetBrightness; txt="Reset brightness"; }
    1.77 +		};
    1.78 +	}
    1.79 +