/*
* Copyright (c) 2006 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 mpxaudioeffectsview
*
*/



// RESOURCE NAME IDENTIFIER
NAME  MXAV // 4 letter ID


// INCLUDES
#include <avkon.rsg>
#include <avkon.rh>
#include <avkon.loc>
#include <avkon.mbg>
#include <eikon.rh>

#include "mpxaudioeffects.hrh"
#include <mpxaudioeffects.loc>


// RESOURCE IDENTIFIER
RESOURCE RSS_SIGNATURE { }

RESOURCE TBUF 
    { 
    buf = "ms"; 
    }


// RESOURCE DEFINITIONS 

#ifdef __ENABLE_MSK
// ---------------------------------------------------------------------------
// r_audioeffects_softkeys_options_change_back
// CBA for Audio Effects view.
// ---------------------------------------------------------------------------
// 
RESOURCE CBA r_audioeffects_softkeys_options_change_back
    {
    buttons =
        {
        CBA_BUTTON {id=EAknSoftkeyOptions; txt = text_softkey_option;},
        CBA_BUTTON {id=EAknSoftkeyBack; txt = text_softkey_back; },
        CBA_BUTTON {id=EAknSoftkeyForwardKeyEvent; txt=qtn_msk_change; }
        };
    }

// ---------------------------------------------------------------------------
// r_audioeffects_settingslist_view
// Audio Effects view information resource.
// ---------------------------------------------------------------------------
//
RESOURCE AVKON_VIEW r_audioeffects_settingslist_view
    {
    menubar = r_audioeffects_settingslist_menu_bar;  
    cba = r_audioeffects_softkeys_options_change_back;  
    }
#else
// ---------------------------------------------------------------------------
// r_audioeffects_settingslist_view
// Audio Effects view information resource.
// ---------------------------------------------------------------------------
//
RESOURCE AVKON_VIEW r_audioeffects_settingslist_view
    {
    menubar = r_audioeffects_settingslist_menu_bar;  
    cba = R_AVKON_SOFTKEYS_OPTIONS_BACK;  
    }
#endif // __ENABLE_MSK

// ---------------------------------------------------------------------------
// r_audioeffect_caption_text
// Title for Audio Effects view.
// ---------------------------------------------------------------------------
// 
RESOURCE TBUF r_audioeffect_caption_text
    { 
    buf = qtn_nmp_audioeffects; 
    }

// ---------------------------------------------------------------------------
// r_audioeffects_settingslist_menu_bar
// Audio Effects view menu bar.
// ---------------------------------------------------------------------------
//
RESOURCE MENU_BAR r_audioeffects_settingslist_menu_bar
    {
    titles=
        {
        MENU_TITLE 
            {
            menu_pane = r_audioeffects_settingslist_menu_pane;
            }
        };
    }

// ---------------------------------------------------------------------------
// r_audioeffects_settingslist_menu_pane
// Audio Effects view menu items.
// ---------------------------------------------------------------------------
//
RESOURCE MENU_PANE r_audioeffects_settingslist_menu_pane
    {
    items =
        {
#ifndef SINGLE_CLICK_INCLUDED
        MENU_ITEM
            {
            command = ESettingsListCmdChange;
            txt = qtn_options_change;
            },
#endif
        MENU_ITEM
            {
            command = ESettingsListCmdHelp;
            txt = qtn_options_help;
            }
             ,
        MENU_ITEM
            {
            command = EAknCmdExit;
            txt = qtn_options_exit;
            }
        };
    }

// ---------------------------------------------------------------------------
// r_audioeffects_setting_item_list
// Audio Effects view setting items list.
// ---------------------------------------------------------------------------
//
RESOURCE AVKON_SETTING_ITEM_LIST r_audioeffects_setting_item_list
    {
    flags = EAknSettingItemIncludeHiddenInOrdinal;
    items =
        {
        //balance
        AVKON_SETTING_ITEM
            {
            identifier = EBalanceSettingItem;
            setting_page_resource = r_balance_setting_page;
            name = qtn_nmp_balance;
            },
        //Loudness
        AVKON_SETTING_ITEM
            {
            identifier = ELoudnessItem;
            setting_page_resource = r_loudness_setting_page;
            associated_resource = r_settingslist_hints_popup_setting_texts;
            name = qtn_nmp_loudness;
            },
        //stereo widening
        AVKON_SETTING_ITEM
            {
            identifier = EStereoWideningSettingItem;
            setting_page_resource = r_stereowidening_setting_page;
            associated_resource = r_settingslist_hints_popup_setting_texts;
            name = qtn_nmp_stereowidening;
            }        
        };
    }
  

// BALANCE

// ---------------------------------------------------------------------------
// r_balance_setting_page
// Audio Effects view balance setting page.
// ---------------------------------------------------------------------------
//
RESOURCE AVKON_SETTING_PAGE r_balance_setting_page
    {
    label = qtn_nmp_balance;
    type = EAknCtSlider;
    editor_resource_id = r_settingslist_balance_slider;
    }

// ---------------------------------------------------------------------------
// r_settingslist_balance_slider
// Audio Effects view balance slider.
// ---------------------------------------------------------------------------
//
RESOURCE SLIDER r_settingslist_balance_slider
    {
    layout = EAknSettingsItemSliderLayout;
    minvalue = -100;  
    maxvalue = 100;
    step = 25;
    valuetype = EAknSliderValueNone;
    minlabel = qtn_nmp_balance_left;
    maxlabel = qtn_nmp_balance_right;
    }

// LOUDNESS

// ---------------------------------------------------------------------------
// r_loudness_setting_page
// Audio Effects view loudness setting page.
// ---------------------------------------------------------------------------
//
RESOURCE AVKON_SETTING_PAGE r_loudness_setting_page
    { 
    label= HINTS_SETTING_ITEM_TITLE;
    type = EAknCtPopupSettingList;
    editor_resource_id = r_settingslist_common_use_popup_setting_list;
    }

  
// STEREO WIDENING

// ---------------------------------------------------------------------------
// r_stereowidening_setting_page
// Audio Effects view stereo widening setting page.
// ---------------------------------------------------------------------------
//
RESOURCE AVKON_SETTING_PAGE r_stereowidening_setting_page
    { 
    label= HINTS_SETTING_ITEM_TITLE;
    type = EAknCtPopupSettingList;
    editor_resource_id = r_settingslist_common_use_popup_setting_list;
    }

// ---------------------------------------------------------------------------
// r_settingslist_common_use_popup_setting_list
// Audio Effects view common use popup setting list.
// ---------------------------------------------------------------------------
//
RESOURCE POPUP_SETTING_LIST r_settingslist_common_use_popup_setting_list
    {
    }

// ---------------------------------------------------------------------------
// r_settingslist_hints_popup_setting_texts
// Audio Effects view hints popup setting texts.
// ---------------------------------------------------------------------------
//
RESOURCE AVKON_POPUP_SETTING_TEXTS r_settingslist_hints_popup_setting_texts
    {
    setting_texts_resource = r_settingslist_hints_texts;
    popped_up_texts_resource = r_settingslist_hints_popup_texts;
    }

// ---------------------------------------------------------------------------
// r_settingslist_hints_texts
// Audio Effects view hints texts.
// ---------------------------------------------------------------------------
//
RESOURCE ARRAY r_settingslist_hints_texts
    {
    items =
        {
        AVKON_ENUMERATED_TEXT 
            { 
            value = 1; 
            text = qtn_nmp_on; 
            },
        AVKON_ENUMERATED_TEXT 
            { 
            value = 0; 
            text = qtn_nmp_off; 
            }
        };
    }

// ---------------------------------------------------------------------------
// r_settingslist_hints_popup_texts
// Audio Effects view hints popup texts.
// ---------------------------------------------------------------------------
//
RESOURCE ARRAY r_settingslist_hints_popup_texts
    {
    items =
        {
        LBUF 
            { 
            txt = qtn_nmp_on;
            },
        LBUF 
            { 
            txt = qtn_nmp_off;
            }
        };
    }


// BALANCE

// Balance settings page text

// ---------------------------------------------------------------------------
// r_audioeffect_balance_left100
// Audio Effects view balance left 100 text.
// ---------------------------------------------------------------------------
//
RESOURCE TBUF r_audioeffect_balance_left100
    { 
    buf = qtn_nmp_balance_left100; 
    }

// ---------------------------------------------------------------------------
// r_audioeffect_balance_left75
// Audio Effects view balance left 75 text.
// ---------------------------------------------------------------------------
//
RESOURCE TBUF r_audioeffect_balance_left75
    { 
    buf = qtn_nmp_balance_left75; 
    }

// ---------------------------------------------------------------------------
// r_audioeffect_balance_left50
// Audio Effects view balance left 50 text.
// ---------------------------------------------------------------------------
//
RESOURCE TBUF r_audioeffect_balance_left50
    {
    buf = qtn_nmp_balance_left50; 
    }

// ---------------------------------------------------------------------------
// r_audioeffect_balance_left25
// Audio Effects view balance left 25 text.
// ---------------------------------------------------------------------------
//
RESOURCE TBUF r_audioeffect_balance_left25
    {
    buf = qtn_nmp_balance_left25; 
    }

// ---------------------------------------------------------------------------
// r_audioeffect_balance_center
// Audio Effects view balance center text.
// ---------------------------------------------------------------------------
//
RESOURCE TBUF r_audioeffect_balance_center
    { 
    buf = qtn_nmp_balance_centre; 
    }

// ---------------------------------------------------------------------------
// r_audioeffect_balance_right25
// Audio Effects view balance right 25 text.
// ---------------------------------------------------------------------------
//
RESOURCE TBUF r_audioeffect_balance_right25
    {
    buf = qtn_nmp_balance_right25; 
    }

// ---------------------------------------------------------------------------
// r_audioeffect_balance_right50
// Audio Effects view balance right 50 text.
// ---------------------------------------------------------------------------
//
RESOURCE TBUF r_audioeffect_balance_right50
    {
    buf = qtn_nmp_balance_right50; 
    }

// ---------------------------------------------------------------------------
// r_audioeffect_balance_right75
// Audio Effects view balance right 75 text.
// ---------------------------------------------------------------------------
//
RESOURCE TBUF r_audioeffect_balance_right75
    { 
    buf = qtn_nmp_balance_right75; 
    }

// ---------------------------------------------------------------------------
// r_audioeffect_balance_right100
// Audio Effects view balance right 100 text.
// ---------------------------------------------------------------------------
//
RESOURCE TBUF r_audioeffect_balance_right100
    { 
    buf = qtn_nmp_balance_right100; 
    }
