os/textandloc/fontservices/textshaperplugin/test/S60HindiDemo/src/HindiDemo.rss
author sl
Tue, 10 Jun 2014 14:32:02 +0200
changeset 1 260cb5ec6c19
permissions -rw-r--r--
Update contrib.
     1 /*
     2 * Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
     3 * All rights reserved.
     4 * This component and the accompanying materials are made available
     5 * under the terms of "Eclipse Public License v1.0"
     6 * which accompanies this distribution, and is available
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     8 *
     9 * Initial Contributors:
    10 * Nokia Corporation - initial contribution.
    11 *
    12 * Contributors:
    13 *
    14 * Description: 
    15 *
    16 */
    17 
    18 NAME BTST
    19 
    20 #include <techview/eikon.rh>
    21 #include <techview/eikon.rsg>
    22 #include <avkon.rh>
    23 #include <avkon.rsg>
    24 
    25 #include "HindiDemo.hrh"
    26 #include "HindiDemo.loc"
    27 
    28 #ifdef RD_SCALABLE_UI
    29 #include <appinfo.rh>
    30 #endif
    31 
    32 CHARACTER_SET UTF8
    33 
    34 RESOURCE RSS_SIGNATURE { }
    35 RESOURCE TBUF r_default_document_name { buf=""; }
    36 RESOURCE EIK_APP_INFO{
    37         status_pane = r_hindidemo_statuspane;
    38 }
    39 
    40 RESOURCE MENU_BAR r_shared_imenubar1
    41   {
    42   titles =
    43     {
    44     MENU_TITLE
    45       {
    46       menu_pane = r_shared_imenupane1;
    47       txt = "iMenuTitle1";
    48       }
    49     };
    50   }
    51 
    52 RESOURCE MENU_PANE r_shared_imenupane1
    53   	{
    54   	items =
    55 	 	{
    56 	    MENU_ITEM
    57 	      	{
    58 	      	command = 1001;
    59 	      	cascade = r_shared_imenupane3;
    60 	      	txt = "Font size";
    61 	      	},
    62 	    MENU_ITEM
    63 	      	{
    64 	      	command = 1002;
    65 	      	cascade = r_shared_imenupane2;
    66 	      	txt = "Change Sample";
    67 	     	},
    68 	    MENU_ITEM
    69 	      	{
    70 	      	command = 1019;
    71 	      	cascade = r_selectfont_menupane;
    72 	      	txt = "Change Font";
    73 	     	},
    74 	    MENU_ITEM
    75 	      	{
    76 	      	command = 1020;
    77 	      	txt = "List Fonts";
    78 	     	},
    79 	    MENU_ITEM
    80 	      	{
    81 	      	command = 1015;
    82 	      	txt = "Copyright";
    83 	     	}
    84 	  	};
    85  	}
    86 
    87 
    88 RESOURCE MENU_PANE r_shared_imenupane2
    89   {
    90   items =
    91     {
    92     MENU_ITEM
    93       {
    94       command = 1009;
    95       txt = "Sample1";
    96       },
    97     MENU_ITEM
    98       {
    99       command = 1010;
   100       txt = "Sample2";
   101       },
   102     MENU_ITEM
   103       {
   104       command = 1011;
   105       txt = "Sample3";
   106       },
   107     MENU_ITEM
   108       {
   109       command = 1012;
   110       txt = "Test1";
   111       }
   112     };
   113   }
   114 
   115 RESOURCE MENU_PANE r_shared_imenupane3
   116   {
   117   items =
   118     {
   119     MENU_ITEM
   120       {
   121       command = 1013;
   122       txt = "Increase Font";
   123       },
   124     MENU_ITEM
   125       {
   126       command = 1014;
   127       txt = "Decrease Font";
   128       }
   129     };
   130   }
   131   
   132 RESOURCE MENU_PANE r_selectfont_menupane
   133   {
   134   items =
   135     {
   136     MENU_ITEM
   137       {
   138       command = 1017;
   139       txt = "Next Font";
   140       },
   141     MENU_ITEM
   142       {
   143       command = 1018;
   144       txt = "Last Font";
   145       }
   146     };
   147   }
   148 
   149 
   150 RESOURCE AVKON_VIEW r_hindidemo
   151   {
   152   menubar = r_shared_imenubar1;
   153   cba = R_AVKON_SOFTKEYS_OPTIONS_EXIT;
   154   }
   155 
   156 RESOURCE CONTEXT_PANE r_hindidemo_iakncontextpane1
   157   {
   158   }
   159 
   160 RESOURCE TITLE_PANE r_hindidemo_iakntitlepane1
   161   {
   162   txt = "Hindi Demo";
   163   }
   164 
   165 RESOURCE STATUS_PANE_APP_MODEL r_hindidemo_statuspane
   166   {
   167   }
   168 
   169 RESOURCE AVKON_SETTING_ITEM_LIST r_hindidemo_settingitemlist
   170   {
   171   flags = 0;
   172   title = "";
   173   initial_number = 1;
   174   }
   175 
   176 RESOURCE AVKON_VIEW r_mainview
   177   {
   178   menubar = r_shared_imenubar1;
   179   cba = R_AVKON_SOFTKEYS_OPTIONS_EXIT;
   180   }
   181 
   182 RESOURCE CONTEXT_PANE r_mainview_iakncontextpane1
   183   {
   184   }
   185 
   186 RESOURCE TITLE_PANE r_mainview_iakntitlepane1
   187   {
   188   txt = "Hindi Demo";
   189   }
   190 
   191 RESOURCE STATUS_PANE_APP_MODEL r_mainview_statuspane
   192   {
   193   }
   194 
   195 
   196 // 9.1 MCL only -     
   197 RESOURCE LOCALISABLE_APP_INFO r_lai
   198 	{
   199 	short_caption = "Hi";
   200 	caption_and_icon =
   201 		CAPTION_AND_ICON_INFO
   202 		{
   203 			caption = "HindiDemo";
   204 /*			number_of_icons = 2; // each icon must be a bitmap/mask pair
   205 			icon_file = "z:\\resource\\apps\\hindiDemo.mbm";
   206 */		
   207 		};							
   208 	}