mmplugins/cameraplugins/testapp/testcameraapps60/src/TestCameraApp.rss
author Shimizu Satoshi <s_shimizu@isb.co.jp>
Tue, 19 Oct 2010 11:48:59 +0900
branchRCL_3
changeset 64 92a82bc706f7
parent 9 9ae0fe04e757
permissions -rw-r--r--
Obtain an image of Webcamera from QEMU and add the Bitmap change display function.

// Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
// All rights reserved.
// This component and the accompanying materials are made available
// under the terms of the License "Symbian Foundation License v1.0"
// which accompanies this distribution, and is available
// at the URL "http://www.symbianfoundation.org/legal/sfl-v10.html".
//
// Initial Contributors:
// Nokia Corporation - initial contribution.
//
// Contributors:
//
// Description:
//

NAME TCAM

#include <eikon.rh>
#include <avkon.rsg>
#include <avkon.rh>
#include <avkon.mbg>

#include "TestCameraApp.hrh"

RESOURCE RSS_SIGNATURE { }

RESOURCE TBUF { buf=""; }

RESOURCE EIK_APP_INFO
	{
	menubar=r_tcam_menubar;
	cba=R_AVKON_SOFTKEYS_OPTIONS_BACK;
	}

RESOURCE MENU_BAR r_tcam_menubar
	{
	titles=
		{
		MENU_TITLE { menu_pane=r_tcam_main_menu; txt="Options"; }
		};
	}

RESOURCE MENU_BAR r_tcam_main_menu
	{
	titles=
		{
		MENU_ITEM { cascade=r_tcam_control_menu; txt="Control"; },
		MENU_ITEM { cascade=r_tcam_settings_menu; txt="Settings"; }
		};
	}

RESOURCE MENU_PANE r_tcam_control_menu
	{
	items=
		{
		MENU_ITEM { command=ETCamCmdPowerOn; txt="Power on"; },
		MENU_ITEM { command=ETCamCmdPowerOff; txt="Power off"; },
		MENU_ITEM { command=ETCamCmdViewFinder; txt="View finder"; },
		MENU_ITEM { command=ETCamCmdCaptureImage; txt="Capture image"; },
		MENU_ITEM { command=ETCamCmdCaptureVideo; txt="Toggle video"; }
		};
	}

RESOURCE MENU_PANE r_tcam_settings_menu
	{
	items=
		{
		MENU_ITEM { command=ETCamCmdIncContrast; txt="Contrast+"; },
		MENU_ITEM { command=ETCamCmdDecContrast; txt="Contrast-"; },
		MENU_ITEM { command=ETCamCmdResetContrast; txt="Reset contrast"; },
		MENU_ITEM { command=ETCamCmdIncBrightness; txt="Brightness+"; },
		MENU_ITEM { command=ETCamCmdDecBrightness; txt="Brightness-"; },
		MENU_ITEM { command=ETCamCmdResetBrightness; txt="Reset brightness"; }
		};
	}