examples/Multimedia/CameraExample/CameraExample.rss

00001 // Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
00002 // All rights reserved.
00003 // This component and the accompanying materials are made available
00004 // under the terms of "Eclipse Public License v1.0"
00005 // which accompanies this distribution, and is available
00006 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
00007 //
00008 // Initial Contributors:
00009 // Nokia Corporation - initial contribution.
00010 //
00011 // Contributors:
00012 //
00013 // Description:
00014 //
00015 
00016 NAME CMRA
00017 
00018 #include <eikon.rh>
00019 #include <appinfo.rh>
00020 #include <eikon.rsg>
00021 #include <eikcore.rsg>
00022 
00023 #include <fontids.h>
00024 #include <gulfont.hrh>
00025 
00026 #include "CameraExample.hrh"
00027 
00028 RESOURCE RSS_SIGNATURE { }
00029 
00030 RESOURCE TBUF { buf=""; }
00031 
00032 RESOURCE EIK_APP_INFO
00033         {
00034         menubar=r_menubar;
00035         }
00036 
00037 RESOURCE MENU_BAR r_menubar
00038     {
00039     titles=
00040         {
00041          MENU_TITLE { menu_pane=r_Camera_first_menu; txt="CameraExample"; }
00042                 };
00043     } 
00044 
00045 RESOURCE MENU_PANE r_Camera_first_menu
00046         {
00047         items=
00048                 {
00049                 MENU_ITEM { command=EExampleItem0;cascade=r_Camera_control_menu; txt="Control"; },
00050                 MENU_ITEM { command=EExampleItem1;cascade=r_Camera_settings_menu; txt="Settings"; },
00051                 MENU_ITEM { command=EExampleItem1;cascade=r_Camera_advanced_menu; txt="Advanced"; },
00052                 MENU_ITEM { command=EEikCmdExit; txt= "Close "; }
00053         };
00054     }    
00055 
00056 RESOURCE MENU_PANE r_Camera_control_menu
00057         {
00058         items=
00059                 {
00060         
00061                 MENU_ITEM { command=ETCamCmdPowerOn; txt="Power on"; },
00062                 MENU_ITEM { command=ETCamCmdPowerOff; txt="Power off"; flags=EEikMenuItemSeparatorAfter; },
00063                 MENU_ITEM { command=ETCamCmdViewFinder; txt="View finder"; },
00064                 MENU_ITEM { command=ETCamCmdCaptureImage; txt="Capture image"; },
00065                 MENU_ITEM { command=ETCamCmdCaptureVideo; txt="Capture video"; flags=EEikMenuItemSeparatorAfter; },
00066                 MENU_ITEM { command=ETCamCmdClose; txt="Close"; }
00067         };
00068     }
00069     
00070 RESOURCE MENU_PANE r_Camera_settings_menu
00071         {
00072         items=
00073                 {
00074                 
00075                 MENU_ITEM { command=ETCamCmdIncContrast; txt="Contrast+"; },
00076                 MENU_ITEM { command=ETCamCmdDecContrast; txt="Contrast-"; },
00077                 MENU_ITEM { command=ETCamCmdIncBrightness; txt="Brightness+"; },
00078                 MENU_ITEM { command=ETCamCmdDecBrightness; txt="Brightness-"; }
00079         };
00080     }
00081 
00082 RESOURCE MENU_PANE r_Camera_advanced_menu
00083         {
00084         items=
00085                 {               
00086                 MENU_ITEM { command=ETCamCmdAdvancedCamFeatures; txt="Advanced camera settings"; },
00087                 MENU_ITEM { command=ETCamCmdSnapShot; txt="Snap shot"; },
00088                 MENU_ITEM { command=ETCamCmdDirectViewFinder; txt="Direct view finder"; },              
00089                 MENU_ITEM { command=ETCamCmdHistogram; txt="Histogram"; },
00090                 MENU_ITEM { command=ETCamCmdOverLay; txt="Overlay"; },
00091                 MENU_ITEM { command=ETCamCmdPreset; txt="Presets"; },
00092                 MENU_ITEM { command=ETCamCmdImageProcessing; txt="Image processing"; }
00093         };
00094     }
00095 
00096 RESOURCE EIK_APP_INFO
00097         {
00098         }
00099 
00100 RESOURCE TBUF r_appname_default_file
00101         {
00102         buf="CameraExample";
00103         }
00104 
00105 
00106 RESOURCE LOCALISABLE_APP_INFO r_lai
00107         {
00108         short_caption="CameraApp";
00109         
00110         caption_and_icon=       
00111                 {
00112                 CAPTION_AND_ICON_INFO
00113                         {
00114                         caption="CameraExample";
00115                         number_of_icons=3;
00116                         icon_file="z:\\resource\\apps\\CameraExample_icon.mbm";
00117                         }
00118                 };
00119 
00120         }
00121                 
00122 
00123 RESOURCE TBUF r_example_text_BasicCamera { buf="Welcome to the Camera example "; }

Generated on Thu Jan 21 10:32:59 2010 for TB10.1 Example Applications by  doxygen 1.5.3