// 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 "Eclipse Public License v1.0"
// which accompanies this distribution, and is available
// at the URL "http://www.eclipse.org/legal/epl-v10.html".
//
// Initial Contributors:
// Nokia Corporation - initial contribution.
//
// Contributors:
//
// Description:
//
NAME TCAM
#include <techview/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"; }
};
}