menufw/menufwui/matrixmenu/data/matrixmenu.rss
changeset 0 f72a12da539e
equal deleted inserted replaced
-1:000000000000 0:f72a12da539e
       
     1 /*
       
     2 * Copyright (c) 2007-2008 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:   Resource definitions for project matrixmenu
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 NAME MMEN	// 4 letter ID
       
    21 
       
    22 //  INCLUDES
       
    23 #include <eikon.rh>
       
    24 #include <avkon.rsg>
       
    25 #include <avkon.rh>
       
    26 #include <appinfo.rh>
       
    27 
       
    28 #ifdef LANGUAGE_SC
       
    29 	#include <sc/avkon.loc>
       
    30 	#include <sc/matrix_menu.loc>
       
    31 #else
       
    32 	#include <avkon.loc>
       
    33 	#include <matrix_menu.loc>
       
    34 #endif
       
    35 
       
    36 #include "mmgui.hrh"
       
    37 
       
    38 
       
    39 // ---------------------------------------------------------------------------
       
    40 // RSS_SIGNATURE
       
    41 // ---------------------------------------------------------------------------
       
    42 //
       
    43 RESOURCE RSS_SIGNATURE
       
    44 	{
       
    45 	}
       
    46 
       
    47 // ---------------------------------------------------------------------------
       
    48 // r_default_document_name
       
    49 // ---------------------------------------------------------------------------
       
    50 //
       
    51 RESOURCE TBUF r_default_document_name
       
    52 	{
       
    53 	buf="";
       
    54 	}
       
    55 
       
    56 // ---------------------------------------------------------------------------
       
    57 // EIK_APP_INFO
       
    58 // ---------------------------------------------------------------------------
       
    59 //
       
    60 RESOURCE EIK_APP_INFO
       
    61 	{
       
    62 	menubar = r_main_menubar;
       
    63 	cba = R_AVKON_SOFTKEYS_OPTIONS_EXIT;
       
    64 	}
       
    65 
       
    66 // ---------------------------------------------------------------------------
       
    67 // r_global_toolbar
       
    68 // ---------------------------------------------------------------------------
       
    69 //
       
    70 RESOURCE AVKON_TOOLBAR r_global_toolbar
       
    71     {
       
    72     flags = KAknToolbarFixed;
       
    73     // define empty button set in order for the toolbar to be displayed properly,
       
    74     // buttons will be updated at runtime
       
    75     items =
       
    76         {
       
    77         TBAR_CTRL
       
    78             {
       
    79             type = EAknCtButton;
       
    80             id = EMmToolbarControl1;
       
    81             control = AVKON_BUTTON
       
    82                 {
       
    83                 };
       
    84             },
       
    85         TBAR_CTRL
       
    86             {
       
    87             type = EAknCtButton;
       
    88             id = EMmToolbarControl2;
       
    89             control = AVKON_BUTTON
       
    90                 {
       
    91                 };
       
    92             },
       
    93         TBAR_CTRL
       
    94             {
       
    95             type = EAknCtButton;
       
    96             id = EMmToolbarControl3;
       
    97             control = AVKON_BUTTON
       
    98                 {
       
    99                 };
       
   100             }
       
   101         };
       
   102     }
       
   103 
       
   104 // ---------------------------------------------------------------------------
       
   105 // r_main_menubar
       
   106 // ---------------------------------------------------------------------------
       
   107 //
       
   108 RESOURCE MENU_BAR r_main_menubar
       
   109 	{
       
   110 	titles =
       
   111 		{
       
   112 		MENU_TITLE { menu_pane = r_main_menu_pane; }
       
   113 		};
       
   114 	}
       
   115 
       
   116 // ---------------------------------------------------------------------------
       
   117 // r_main_menu_pane
       
   118 // ---------------------------------------------------------------------------
       
   119 //
       
   120 RESOURCE MENU_PANE r_main_menu_pane
       
   121 	{
       
   122 	items =
       
   123 		{
       
   124         MENU_ITEM
       
   125             {
       
   126             command = EMmOptionsExit;
       
   127             txt = qtn_options_exit;
       
   128             }
       
   129         };
       
   130 	}
       
   131 
       
   132 //empty "placeholder" cascade menu panes
       
   133 // ---------------------------------------------------------------------------
       
   134 // r_cascade_menu_pane_1
       
   135 // ---------------------------------------------------------------------------
       
   136 //
       
   137 RESOURCE MENU_PANE r_cascade_menu_pane_1
       
   138     {
       
   139     }
       
   140 
       
   141 // ---------------------------------------------------------------------------
       
   142 // r_cascade_menu_pane_2
       
   143 // ---------------------------------------------------------------------------
       
   144 //
       
   145 RESOURCE MENU_PANE r_cascade_menu_pane_2
       
   146     {
       
   147     }
       
   148 
       
   149 // ---------------------------------------------------------------------------
       
   150 // r_cascade_menu_pane_3
       
   151 // ---------------------------------------------------------------------------
       
   152 //
       
   153 RESOURCE MENU_PANE r_cascade_menu_pane_3
       
   154     {
       
   155     }
       
   156 
       
   157 // ---------------------------------------------------------------------------
       
   158 // r_localisable_app_info
       
   159 // ---------------------------------------------------------------------------
       
   160 //
       
   161 RESOURCE LOCALISABLE_APP_INFO r_localisable_app_info
       
   162 	{
       
   163 	short_caption = qtn_menu_title;
       
   164 	caption_and_icon = 
       
   165 	CAPTION_AND_ICON_INFO
       
   166 		{
       
   167 		caption = qtn_menu_title;
       
   168 		number_of_icons = 1;
       
   169 	   	icon_file = "\\resource\\apps\\matrixmenu.mif";
       
   170 		};
       
   171 	}
       
   172 
       
   173 //-----------------------------------------------------------------------------
       
   174 // LOGICAL NAME STRINGS
       
   175 //-----------------------------------------------------------------------------
       
   176 
       
   177 // from us spec
       
   178 
       
   179 RESOURCE TBUF r_menu_title { buf=qtn_menu_title; }
       
   180 RESOURCE TBUF r_org_root_editing_title { buf=qtn_org_root_editing_title; }
       
   181 RESOURCE TBUF r_org_folder_editing_title { buf=qtn_org_folder_editing_title; }
       
   182 RESOURCE TBUF r_menu_open { buf=qtn_menu_open; }
       
   183 RESOURCE TBUF r_menu_organize { buf=qtn_menu_organize; }
       
   184 RESOURCE TBUF r_sub_options_org_move_to_folder { buf=qtn_sub_options_org_move_to_folder; }
       
   185 RESOURCE TBUF r_menu_uninstall { buf=qtn_menu_uninstall; }
       
   186 RESOURCE TBUF r_apps_note_item_already_stored { buf=qtn_apps_note_item_already_stored; }
       
   187 RESOURCE TBUF r_apps_note_move_to_folder { buf=qtn_apps_note_move_to_folder; }
       
   188 RESOURCE TBUF r_fldr_cannot_move_folder { buf=qtn_fldr_cannot_move_folder; }
       
   189 RESOURCE TBUF r_fldr_cannot_delete_item { buf=qtn_fldr_cant_delete_folder; }
       
   190 RESOURCE TBUF r_fldr_item_cannot_be_moved { buf=qtn_fldr_item_cannot_be_moved; }
       
   191                                 
       
   192 //-----------------------------------------------------------------------------
       
   193 // Info dialog
       
   194 //-----------------------------------------------------------------------------
       
   195 RESOURCE DIALOG r_menu_info
       
   196 	{
       
   197 	flags = EAknWarningNoteFlags | EEikDialogFlagWait;
       
   198 	buttons = R_AVKON_SOFTKEYS_OK_EMPTY;
       
   199 	items =
       
   200 		{
       
   201 		DLG_LINE
       
   202 			{
       
   203 			type = EAknCtNote;
       
   204 			id = EGeneralNote;
       
   205 			control = AVKON_NOTE
       
   206 				{
       
   207 				layout = EGeneralLayout;
       
   208 				animation = R_QGN_NOTE_ERROR_ANIM;
       
   209 				};
       
   210 			}
       
   211 		};
       
   212 	}
       
   213     
       
   214 RESOURCE CBA r_menu_softkeys_options_bexit
       
   215     {
       
   216     buttons =
       
   217         {
       
   218         CBA_BUTTON {id=EAknSoftkeyOptions; txt = text_softkey_option;},
       
   219         CBA_BUTTON {id=EAknSoftkeyBack; txt = text_softkey_exit; }
       
   220         };
       
   221     }
       
   222     
       
   223 RESOURCE CBA r_menu_softkeys_options_bexit__select
       
   224     {
       
   225     buttons =
       
   226         {
       
   227         CBA_BUTTON {id=EAknSoftkeyOptions; txt = text_softkey_option;},
       
   228         CBA_BUTTON {id=EAknSoftkeyBack; txt = text_softkey_exit; },
       
   229         AVKON_CBA_BUTTON{id=EAknSoftkeySelect; longpressid=0; txt= qtn_msk_select; }
       
   230         };
       
   231     }
       
   232 
       
   233 RESOURCE CBA r_menu_softkeys_empty__empty
       
   234     {
       
   235     buttons =
       
   236         {
       
   237         CBA_BUTTON {id=EAknSoftkeyOptions; txt = " ";},
       
   238         CBA_BUTTON {id=EAknSoftkeyBack; txt = " "; }
       
   239         };
       
   240     }
       
   241 
       
   242 // End of File