classicui_pub/tsrc/bc/apps/S60_SDK3.0/bctestmenu/group/bctestmenu.rss
changeset 0 2f259fa3e83a
equal deleted inserted replaced
-1:000000000000 0:2f259fa3e83a
       
     1 /*
       
     2 * Copyright (c) 2006-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:         resources for the module
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 
       
    21 
       
    22 
       
    23 
       
    24 
       
    25 
       
    26 //  RESOURCE IDENTIFIER
       
    27 NAME MENU
       
    28 
       
    29 //  INCLUDES
       
    30 
       
    31 #include <eikon.rh>
       
    32 #include <eikon.rsg>
       
    33 #include <avkon.hrh>
       
    34 #include <avkon.mbg>
       
    35 #include <avkon.rsg>
       
    36 #include <avkon.rh>
       
    37 #include <avkonicons.hrh>
       
    38 
       
    39 #include <appinfo.rh>
       
    40 
       
    41 #include "bctestmenu.hrh"
       
    42 #include "bctestmenu.loc"
       
    43 
       
    44 //  CONSTANTS
       
    45 #define APP_BITMAP_DIR "\\resource\\apps"
       
    46 #define AVKON_BMP_FILENAME AVKON_ICON_FILE
       
    47 #define BCTESTMEMU_BMP_FNAME APP_BITMAP_DIR"\\BCTestMenu.mbm"
       
    48 
       
    49 
       
    50 //  MACROS
       
    51 
       
    52 
       
    53 
       
    54 //  RESOURCE DEFINITIONS
       
    55 //-----------------------------------------------------------------------------
       
    56 //
       
    57 //    RSS_SIGNATURE
       
    58 //
       
    59 //
       
    60 //-----------------------------------------------------------------------------
       
    61 //
       
    62 RESOURCE RSS_SIGNATURE
       
    63     {
       
    64     }
       
    65 
       
    66 //-----------------------------------------------------------------------------
       
    67 //
       
    68 //    TBUF16
       
    69 //
       
    70 //
       
    71 //-----------------------------------------------------------------------------
       
    72 //
       
    73 RESOURCE TBUF16
       
    74     {
       
    75     buf = qtn_bctest_menu_buf;
       
    76     }
       
    77 
       
    78 //-----------------------------------------------------------------------------
       
    79 //
       
    80 //    EIK_APP_INFO
       
    81 //
       
    82 //
       
    83 //-----------------------------------------------------------------------------
       
    84 //
       
    85 RESOURCE EIK_APP_INFO
       
    86     {
       
    87     menubar = r_bctestmenu_menubar_main;
       
    88     cba = r_bctestmenu_cba_options_next;
       
    89     }
       
    90 
       
    91 // ---------------------------------------------------------
       
    92 //    Provide Caption and Icon Info for Scalable UI
       
    93 //
       
    94 // ---------------------------------------------------------
       
    95 //
       
    96 RESOURCE LOCALISABLE_APP_INFO r_bctestmenu_localisable_app_info
       
    97     {
       
    98     short_caption = qtn_apps_tavl_grid; 
       
    99 
       
   100     caption_and_icon = 
       
   101     CAPTION_AND_ICON_INFO
       
   102         {
       
   103         caption = qtn_apps_tavl_list; 
       
   104         //number_of_icons = 2;
       
   105         //icon_file = APP_BITMAP_DIR"\\BCTestMenu_aif.mbm";
       
   106         };
       
   107     }
       
   108     
       
   109 //-----------------------------------------------------------------------------
       
   110 //
       
   111 //    r_bctestMenu_view
       
   112 //    AVKON_VIEW for CBCTestMenuView
       
   113 //
       
   114 //-----------------------------------------------------------------------------
       
   115 //
       
   116 RESOURCE AVKON_VIEW r_bctestmenu_view
       
   117     {
       
   118     menubar = r_bctestmenu_menubar_main;
       
   119     }
       
   120 
       
   121 //-----------------------------------------------------------------------------
       
   122 //
       
   123 //    r_bctestMenu_menubar
       
   124 //    MenuBar
       
   125 //
       
   126 //-----------------------------------------------------------------------------
       
   127 //
       
   128 RESOURCE MENU_BAR r_bctestmenu_menubar_main
       
   129     {
       
   130     titles =
       
   131         {
       
   132         MENU_TITLE
       
   133             {
       
   134             menu_pane = r_bctestmenu_menu;            
       
   135             },
       
   136         MENU_TITLE
       
   137             {
       
   138             menu_pane = r_bctestmenu_case_menu;
       
   139             }
       
   140         };
       
   141     }
       
   142 
       
   143 //-----------------------------------------------------------------------------
       
   144 //
       
   145 //    r_bctestMenu_case_menu
       
   146 //    Menu pane
       
   147 //
       
   148 //-----------------------------------------------------------------------------
       
   149 //
       
   150 RESOURCE MENU_PANE r_bctestmenu_case_menu
       
   151     {
       
   152     items = 
       
   153         {
       
   154         MENU_ITEM
       
   155             {
       
   156             command = EBCTestCmdOutline1;
       
   157             txt = qtn_bctestmenu_outline1;
       
   158             },
       
   159         MENU_ITEM
       
   160             {
       
   161             command = EBCTestCmdOutline2;
       
   162             txt = qtn_bctestmenu_outline2;
       
   163             },
       
   164         MENU_ITEM
       
   165             {
       
   166             command = EBCTestCmdOutline3;
       
   167             txt = qtn_bctestmenu_outline3;
       
   168             },
       
   169         MENU_ITEM
       
   170             {
       
   171             command = EBCTestCmdOutline4;
       
   172             txt = qtn_bctestmenu_outline4;
       
   173             },
       
   174         MENU_ITEM
       
   175             {
       
   176             command = EBCTestCmdOutline5;
       
   177             txt = qtn_bctestmenu_outline5;
       
   178             }
       
   179         };
       
   180     }
       
   181 
       
   182 //-----------------------------------------------------------------------------
       
   183 //
       
   184 //    r_bctestMenu_menu
       
   185 //    Menu pane
       
   186 //
       
   187 //-----------------------------------------------------------------------------
       
   188 //
       
   189 RESOURCE MENU_PANE r_bctestmenu_menu
       
   190     {
       
   191     items =
       
   192         {
       
   193         MENU_ITEM
       
   194             {
       
   195             command = EProgCmdAutoTest;
       
   196             txt = qtn_bctestmenu_autotest;
       
   197             },
       
   198         MENU_ITEM // Menu "Exit"
       
   199             {
       
   200             command = EAknCmdExit;
       
   201             txt = qtn_bctestmenu_menu_exit;
       
   202             }
       
   203         };
       
   204     }
       
   205 
       
   206 // ----------------------------------------------------------------------------
       
   207 //
       
   208 //    r_bctestMenu_cba_options_next
       
   209 //    ?description
       
   210 //
       
   211 // ----------------------------------------------------------------------------
       
   212 //
       
   213 
       
   214 RESOURCE CBA r_bctestmenu_cba_options_next
       
   215     {
       
   216     buttons =
       
   217 	{
       
   218 	CBA_BUTTON 
       
   219 	    {
       
   220 	    id=EAknSoftkeyOptions; 
       
   221 	    txt = text_softkey_option;
       
   222 	    },
       
   223         AVKON_CBA_BUTTON
       
   224             {
       
   225             id = EBCTestMenuCbaCmdNext;
       
   226             txt = qtn_bctestmenu_cba_next;
       
   227             }
       
   228 	};
       
   229     }
       
   230 
       
   231 RESOURCE TBUF40 r_bctestmenu_new_item
       
   232     {
       
   233     buf = qtn_bctestmenu_menu_sub_new;
       
   234     }
       
   235 // End of File