uifw/AvKon/tsrc/bc/S60_SDKMCL/bctestmixmcl/group/bctestmixmcl.rss
changeset 0 2f259fa3e83a
child 15 08e69e956a8c
child 22 75713bee6484
equal deleted inserted replaced
-1:000000000000 0:2f259fa3e83a
       
     1 /*
       
     2 * Copyright (c) 2006 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 //  RESOURCE IDENTIFIER
       
    20 NAME MIXM
       
    21 
       
    22 //  INCLUDES
       
    23 
       
    24 #include <eikon.rh>
       
    25 #include <eikon.rsg>
       
    26 #include <avkon.hrh>
       
    27 #include <avkon.mbg>
       
    28 #include <avkon.rsg>
       
    29 #include <avkon.rh>
       
    30 #include <avkonicons.hrh>
       
    31 
       
    32 #include <appinfo.rh>
       
    33 #include <commondialogs.rh>
       
    34 
       
    35 #include "bctestmixmcl.hrh"
       
    36 #include "bctestmixmcl.loc"
       
    37 
       
    38 
       
    39 //  RESOURCE DEFINITIONS
       
    40 //-----------------------------------------------------------------------------
       
    41 //
       
    42 //----------------------------------------------------------------------------
       
    43 //
       
    44 STRUCT BCTouchPane
       
    45     {
       
    46     BYTE version;
       
    47     LONG flags;
       
    48     }
       
    49 
       
    50 //  RESOURCE DEFINITIONS
       
    51 //----------------------------------------------------------------------------
       
    52 //
       
    53 //    RSS_SIGNATURE
       
    54 //
       
    55 //-----------------------------------------------------------------------------
       
    56 //
       
    57 RESOURCE RSS_SIGNATURE
       
    58     {
       
    59     }
       
    60 
       
    61 
       
    62 //-----------------------------------------------------------------------------
       
    63 //
       
    64 //    TBUF16
       
    65 //
       
    66 //
       
    67 //-----------------------------------------------------------------------------
       
    68 //
       
    69 RESOURCE TBUF16
       
    70     {
       
    71     buf = qtn_bctestmixmcl_buff;
       
    72     }
       
    73 
       
    74 
       
    75 //-----------------------------------------------------------------------------
       
    76 //
       
    77 //    EIK_APP_INFO
       
    78 //
       
    79 //
       
    80 //-----------------------------------------------------------------------------
       
    81 //
       
    82 RESOURCE EIK_APP_INFO
       
    83     {
       
    84     menubar = r_bctestmixmcl_menubar_main;
       
    85     cba = r_bctestmixmcl_cba_options_next;
       
    86     }
       
    87 
       
    88 
       
    89 // ---------------------------------------------------------
       
    90 //    Provide Caption and Icon Info for Scalable UI
       
    91 //
       
    92 // ---------------------------------------------------------
       
    93 //
       
    94 RESOURCE LOCALISABLE_APP_INFO r_bctestmixmcl_localisable_app_info
       
    95     {
       
    96     short_caption = qtn_apps_short_caption; 
       
    97 
       
    98     caption_and_icon = 
       
    99     CAPTION_AND_ICON_INFO
       
   100         {
       
   101         caption = qtn_apps_caption; 
       
   102         };
       
   103     }
       
   104 
       
   105 //----------------------------------------------------------------------------
       
   106 //    r_bctestmix50_view
       
   107 //    AVKON_VIEW for CBCTestMix50View
       
   108 //----------------------------------------------------------------------------
       
   109 //
       
   110 RESOURCE AVKON_VIEW r_bctestmixmcl_view
       
   111     {
       
   112     menubar = r_bctestmixmcl_menubar_main;
       
   113     }
       
   114 
       
   115 //----------------------------------------------------------------------------
       
   116 //    r_bctestmix50_menubar_main
       
   117 //
       
   118 //-----------------------------------------------------------------------------
       
   119 //
       
   120 RESOURCE MENU_BAR r_bctestmixmcl_menubar_main
       
   121     {
       
   122     titles =
       
   123         {
       
   124         MENU_TITLE
       
   125             {
       
   126             menu_pane = r_bctestmixmcl_menu;            
       
   127             },
       
   128         MENU_TITLE
       
   129             {
       
   130             menu_pane = r_bctestmixmcl_case_menu;
       
   131             }
       
   132         };
       
   133     }
       
   134 
       
   135 //----------------------------------------------------------------------------
       
   136 //    r_bctestmix50_case_menu
       
   137 //    
       
   138 //----------------------------------------------------------------------------
       
   139 //
       
   140 RESOURCE MENU_PANE r_bctestmixmcl_case_menu
       
   141     {
       
   142     items = 
       
   143         {
       
   144         MENU_ITEM
       
   145             {
       
   146             command = EBCTestCmdOutline1;
       
   147             txt = qtn_bctestmixmcl_outline1;
       
   148             },
       
   149         MENU_ITEM
       
   150             {
       
   151             command = EBCTestCmdOutline2;
       
   152             txt = qtn_bctestmixmcl_outline2;
       
   153             }
       
   154         };
       
   155     }
       
   156 
       
   157 //----------------------------------------------------------------------------
       
   158 //    r_bctestmix50_menu
       
   159 //    
       
   160 //----------------------------------------------------------------------------
       
   161 //
       
   162 RESOURCE MENU_PANE r_bctestmixmcl_menu
       
   163     {
       
   164     items =
       
   165         {
       
   166         MENU_ITEM
       
   167             {
       
   168             command = EProgCmdAutoTest;
       
   169             txt = qtn_bctestmixmcl_autotest;
       
   170             },
       
   171         MENU_ITEM
       
   172             {
       
   173             command = EAknCmdExit;
       
   174             txt = qtn_bctestmixmcl_menu_exit;
       
   175             }
       
   176         };
       
   177     }
       
   178 
       
   179 //----------------------------------------------------------------------------
       
   180 //    r_bctestmix50_cba_options_next
       
   181 //    
       
   182 //----------------------------------------------------------------------------
       
   183 //
       
   184 RESOURCE CBA r_bctestmixmcl_cba_options_next
       
   185     {
       
   186     buttons =
       
   187         {
       
   188         CBA_BUTTON 
       
   189             {
       
   190             id = EAknSoftkeyOptions; 
       
   191             txt = text_softkey_option;
       
   192             },
       
   193         AVKON_CBA_BUTTON
       
   194             {
       
   195             id = EBCTestMixMCLCbaCmdNext;
       
   196             txt = qtn_bctestmixmcl_cba_next;
       
   197             }
       
   198         };
       
   199     }
       
   200 //----------------------------------------------------------------------------
       
   201 //
       
   202 //r_bctestmixmcl_toolbar_fixed
       
   203 //
       
   204 //----------------------------------------------------------------------------
       
   205 //
       
   206 RESOURCE AVKON_TOOLBAR r_bctestmixmcl_toolbar_fixed
       
   207     {
       
   208     flags = KAknToolbarFixed;
       
   209     items =
       
   210         {
       
   211         TBAR_CTRL
       
   212             {
       
   213             type = EAknCtButton;
       
   214             id = 1;
       
   215             control = AVKON_BUTTON
       
   216                 {
       
   217                 flags = 0;
       
   218                 states =
       
   219                     {
       
   220                     AVKON_BUTTON_STATE
       
   221                        {
       
   222                        txt = "No1"; 
       
   223 			           helptxt = "1";
       
   224                        }    
       
   225                     };
       
   226                 };
       
   227             },
       
   228         TBAR_CTRL
       
   229             {
       
   230             type = EAknCtButton;
       
   231             id = 2;
       
   232             control = AVKON_BUTTON
       
   233                 {
       
   234                 flags = 1;
       
   235                 states =
       
   236                     {
       
   237                     AVKON_BUTTON_STATE
       
   238                        {
       
   239                        txt = "No2"; 
       
   240 			           helptxt = "2";
       
   241                        }    
       
   242                     };
       
   243                 };
       
   244             },    
       
   245         TBAR_CTRL
       
   246             {
       
   247             type = EAknCtButton;
       
   248             id = 2;
       
   249             control = AVKON_BUTTON
       
   250                 {
       
   251                 flags = 2;
       
   252                 states =
       
   253                     {
       
   254                     AVKON_BUTTON_STATE
       
   255                        {
       
   256                        txt = "No3"; 
       
   257 			           helptxt = "3";
       
   258                        }    
       
   259                     };
       
   260                 };
       
   261             }
       
   262         };
       
   263     }
       
   264 // End of File
       
   265 
       
   266