sl@0: /* sl@0: * Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies). sl@0: * All rights reserved. sl@0: * This component and the accompanying materials are made available sl@0: * under the terms of "Eclipse Public License v1.0" sl@0: * which accompanies this distribution, and is available sl@0: * at the URL "http://www.eclipse.org/legal/epl-v10.html". sl@0: * sl@0: * Initial Contributors: sl@0: * Nokia Corporation - initial contribution. sl@0: * sl@0: * Contributors: sl@0: * sl@0: * Description: sl@0: * sl@0: */ sl@0: sl@0: NAME BTST sl@0: sl@0: #include sl@0: #include sl@0: #include sl@0: #include sl@0: sl@0: #include "HindiDemo.hrh" sl@0: #include "HindiDemo.loc" sl@0: sl@0: #ifdef RD_SCALABLE_UI sl@0: #include sl@0: #endif sl@0: sl@0: CHARACTER_SET UTF8 sl@0: sl@0: RESOURCE RSS_SIGNATURE { } sl@0: RESOURCE TBUF r_default_document_name { buf=""; } sl@0: RESOURCE EIK_APP_INFO{ sl@0: status_pane = r_hindidemo_statuspane; sl@0: } sl@0: sl@0: RESOURCE MENU_BAR r_shared_imenubar1 sl@0: { sl@0: titles = sl@0: { sl@0: MENU_TITLE sl@0: { sl@0: menu_pane = r_shared_imenupane1; sl@0: txt = "iMenuTitle1"; sl@0: } sl@0: }; sl@0: } sl@0: sl@0: RESOURCE MENU_PANE r_shared_imenupane1 sl@0: { sl@0: items = sl@0: { sl@0: MENU_ITEM sl@0: { sl@0: command = 1001; sl@0: cascade = r_shared_imenupane3; sl@0: txt = "Font size"; sl@0: }, sl@0: MENU_ITEM sl@0: { sl@0: command = 1002; sl@0: cascade = r_shared_imenupane2; sl@0: txt = "Change Sample"; sl@0: }, sl@0: MENU_ITEM sl@0: { sl@0: command = 1019; sl@0: cascade = r_selectfont_menupane; sl@0: txt = "Change Font"; sl@0: }, sl@0: MENU_ITEM sl@0: { sl@0: command = 1020; sl@0: txt = "List Fonts"; sl@0: }, sl@0: MENU_ITEM sl@0: { sl@0: command = 1015; sl@0: txt = "Copyright"; sl@0: } sl@0: }; sl@0: } sl@0: sl@0: sl@0: RESOURCE MENU_PANE r_shared_imenupane2 sl@0: { sl@0: items = sl@0: { sl@0: MENU_ITEM sl@0: { sl@0: command = 1009; sl@0: txt = "Sample1"; sl@0: }, sl@0: MENU_ITEM sl@0: { sl@0: command = 1010; sl@0: txt = "Sample2"; sl@0: }, sl@0: MENU_ITEM sl@0: { sl@0: command = 1011; sl@0: txt = "Sample3"; sl@0: }, sl@0: MENU_ITEM sl@0: { sl@0: command = 1012; sl@0: txt = "Test1"; sl@0: } sl@0: }; sl@0: } sl@0: sl@0: RESOURCE MENU_PANE r_shared_imenupane3 sl@0: { sl@0: items = sl@0: { sl@0: MENU_ITEM sl@0: { sl@0: command = 1013; sl@0: txt = "Increase Font"; sl@0: }, sl@0: MENU_ITEM sl@0: { sl@0: command = 1014; sl@0: txt = "Decrease Font"; sl@0: } sl@0: }; sl@0: } sl@0: sl@0: RESOURCE MENU_PANE r_selectfont_menupane sl@0: { sl@0: items = sl@0: { sl@0: MENU_ITEM sl@0: { sl@0: command = 1017; sl@0: txt = "Next Font"; sl@0: }, sl@0: MENU_ITEM sl@0: { sl@0: command = 1018; sl@0: txt = "Last Font"; sl@0: } sl@0: }; sl@0: } sl@0: sl@0: sl@0: RESOURCE AVKON_VIEW r_hindidemo sl@0: { sl@0: menubar = r_shared_imenubar1; sl@0: cba = R_AVKON_SOFTKEYS_OPTIONS_EXIT; sl@0: } sl@0: sl@0: RESOURCE CONTEXT_PANE r_hindidemo_iakncontextpane1 sl@0: { sl@0: } sl@0: sl@0: RESOURCE TITLE_PANE r_hindidemo_iakntitlepane1 sl@0: { sl@0: txt = "Hindi Demo"; sl@0: } sl@0: sl@0: RESOURCE STATUS_PANE_APP_MODEL r_hindidemo_statuspane sl@0: { sl@0: } sl@0: sl@0: RESOURCE AVKON_SETTING_ITEM_LIST r_hindidemo_settingitemlist sl@0: { sl@0: flags = 0; sl@0: title = ""; sl@0: initial_number = 1; sl@0: } sl@0: sl@0: RESOURCE AVKON_VIEW r_mainview sl@0: { sl@0: menubar = r_shared_imenubar1; sl@0: cba = R_AVKON_SOFTKEYS_OPTIONS_EXIT; sl@0: } sl@0: sl@0: RESOURCE CONTEXT_PANE r_mainview_iakncontextpane1 sl@0: { sl@0: } sl@0: sl@0: RESOURCE TITLE_PANE r_mainview_iakntitlepane1 sl@0: { sl@0: txt = "Hindi Demo"; sl@0: } sl@0: sl@0: RESOURCE STATUS_PANE_APP_MODEL r_mainview_statuspane sl@0: { sl@0: } sl@0: sl@0: sl@0: // 9.1 MCL only - sl@0: RESOURCE LOCALISABLE_APP_INFO r_lai sl@0: { sl@0: short_caption = "Hi"; sl@0: caption_and_icon = sl@0: CAPTION_AND_ICON_INFO sl@0: { sl@0: caption = "HindiDemo"; sl@0: /* number_of_icons = 2; // each icon must be a bitmap/mask pair sl@0: icon_file = "z:\\resource\\apps\\hindiDemo.mbm"; sl@0: */ sl@0: }; sl@0: }