/*
* Copyright (c) 2007-2008 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description: Resource definitions for project matrixmenu
*
*/
NAME MMEN // 4 letter ID
// INCLUDES
#include <eikon.rh>
#include <avkon.rsg>
#include <avkon.rh>
#include <appinfo.rh>
#ifdef LANGUAGE_SC
#include <sc/avkon.loc>
#include <sc/matrix_menu.loc>
#else
#include <avkon.loc>
#include <matrix_menu.loc>
#endif
#include "mmgui.hrh"
// ---------------------------------------------------------------------------
// RSS_SIGNATURE
// ---------------------------------------------------------------------------
//
RESOURCE RSS_SIGNATURE
{
}
// ---------------------------------------------------------------------------
// r_default_document_name
// ---------------------------------------------------------------------------
//
RESOURCE TBUF r_default_document_name
{
buf="";
}
// ---------------------------------------------------------------------------
// EIK_APP_INFO
// ---------------------------------------------------------------------------
//
RESOURCE EIK_APP_INFO
{
menubar = r_main_menubar;
cba = R_AVKON_SOFTKEYS_OPTIONS_EXIT;
}
// ---------------------------------------------------------------------------
// r_global_toolbar
// ---------------------------------------------------------------------------
//
RESOURCE AVKON_TOOLBAR r_global_toolbar
{
flags = KAknToolbarFixed;
// define empty button set in order for the toolbar to be displayed properly,
// buttons will be updated at runtime
items =
{
TBAR_CTRL
{
type = EAknCtButton;
id = EMmToolbarControl1;
control = AVKON_BUTTON
{
};
},
TBAR_CTRL
{
type = EAknCtButton;
id = EMmToolbarControl2;
control = AVKON_BUTTON
{
};
},
TBAR_CTRL
{
type = EAknCtButton;
id = EMmToolbarControl3;
control = AVKON_BUTTON
{
};
}
};
}
// ---------------------------------------------------------------------------
// r_main_menubar
// ---------------------------------------------------------------------------
//
RESOURCE MENU_BAR r_main_menubar
{
titles =
{
MENU_TITLE { menu_pane = r_main_menu_pane; }
};
}
// ---------------------------------------------------------------------------
// r_main_menu_pane
// ---------------------------------------------------------------------------
//
RESOURCE MENU_PANE r_main_menu_pane
{
items =
{
MENU_ITEM
{
command = EMmOptionsExit;
txt = qtn_options_exit;
}
};
}
//empty "placeholder" cascade menu panes
// ---------------------------------------------------------------------------
// r_cascade_menu_pane_1
// ---------------------------------------------------------------------------
//
RESOURCE MENU_PANE r_cascade_menu_pane_1
{
}
// ---------------------------------------------------------------------------
// r_cascade_menu_pane_2
// ---------------------------------------------------------------------------
//
RESOURCE MENU_PANE r_cascade_menu_pane_2
{
}
// ---------------------------------------------------------------------------
// r_cascade_menu_pane_3
// ---------------------------------------------------------------------------
//
RESOURCE MENU_PANE r_cascade_menu_pane_3
{
}
// ---------------------------------------------------------------------------
// r_localisable_app_info
// ---------------------------------------------------------------------------
//
RESOURCE LOCALISABLE_APP_INFO r_localisable_app_info
{
short_caption = qtn_menu_title;
caption_and_icon =
CAPTION_AND_ICON_INFO
{
caption = qtn_menu_title;
number_of_icons = 1;
icon_file = "\\resource\\apps\\matrixmenu.mif";
};
}
//-----------------------------------------------------------------------------
// LOGICAL NAME STRINGS
//-----------------------------------------------------------------------------
// from us spec
RESOURCE TBUF r_menu_title { buf=qtn_menu_title; }
RESOURCE TBUF r_org_root_editing_title { buf=qtn_org_root_editing_title; }
RESOURCE TBUF r_org_folder_editing_title { buf=qtn_org_folder_editing_title; }
RESOURCE TBUF r_menu_open { buf=qtn_menu_open; }
RESOURCE TBUF r_menu_organize { buf=qtn_menu_organize; }
RESOURCE TBUF r_sub_options_org_move_to_folder { buf=qtn_sub_options_org_move_to_folder; }
RESOURCE TBUF r_menu_uninstall { buf=qtn_menu_uninstall; }
RESOURCE TBUF r_apps_note_item_already_stored { buf=qtn_apps_note_item_already_stored; }
RESOURCE TBUF r_apps_note_move_to_folder { buf=qtn_apps_note_move_to_folder; }
RESOURCE TBUF r_fldr_cannot_move_folder { buf=qtn_fldr_cannot_move_folder; }
RESOURCE TBUF r_fldr_cannot_delete_item { buf=qtn_fldr_cant_delete_folder; }
RESOURCE TBUF r_fldr_item_cannot_be_moved { buf=qtn_fldr_item_cannot_be_moved; }
//-----------------------------------------------------------------------------
// Info dialog
//-----------------------------------------------------------------------------
RESOURCE DIALOG r_menu_info
{
flags = EAknWarningNoteFlags | EEikDialogFlagWait;
buttons = R_AVKON_SOFTKEYS_OK_EMPTY;
items =
{
DLG_LINE
{
type = EAknCtNote;
id = EGeneralNote;
control = AVKON_NOTE
{
layout = EGeneralLayout;
animation = R_QGN_NOTE_ERROR_ANIM;
};
}
};
}
RESOURCE CBA r_menu_softkeys_options_bexit
{
buttons =
{
CBA_BUTTON {id=EAknSoftkeyOptions; txt = text_softkey_option;},
CBA_BUTTON {id=EAknSoftkeyBack; txt = text_softkey_exit; }
};
}
RESOURCE CBA r_menu_softkeys_options_bexit__select
{
buttons =
{
CBA_BUTTON {id=EAknSoftkeyOptions; txt = text_softkey_option;},
CBA_BUTTON {id=EAknSoftkeyBack; txt = text_softkey_exit; },
AVKON_CBA_BUTTON{id=EAknSoftkeySelect; longpressid=0; txt= qtn_msk_select; }
};
}
RESOURCE CBA r_menu_softkeys_empty__empty
{
buttons =
{
CBA_BUTTON {id=EAknSoftkeyOptions; txt = " ";},
CBA_BUTTON {id=EAknSoftkeyBack; txt = " "; }
};
}
// End of File