/*
* Copyright (c) 2006-2009 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:         resources for the module
*
*/









//  RESOURCE IDENTIFIER
NAME TEMP

//  INCLUDES

#include <eikon.rh>
#include <eikon.rsg>
#include <avkon.hrh>
#include <avkon.mbg>
#include <avkon.rsg>
#include <avkon.rh>
#include <avkonicons.hrh>

#include <appinfo.rh>

#include "BCTestsliderandicons.hrh"
#include "BCTestsliderandicons.loc"

//  CONSTANTS
#define APP_BITMAP_DIR "\\resource\\apps"
#define AVKON_BMP_FILENAME AVKON_ICON_FILE
#define bctestsliderandicons_BMP_FNAME APP_BITMAP_DIR"\\BCTestSliderAndIcons.mbm"

#define AKNATSLIDER_MINIMUM_VALUE 0
#define AKNATSLIDER_MAXIMUM_VALUE 100
#define AKNATSLIDER_STEP_SIZE 2


//  MACROS



//  RESOURCE DEFINITIONS
//-----------------------------------------------------------------------------
//
//    RSS_SIGNATURE
//
//
//-----------------------------------------------------------------------------
//
RESOURCE RSS_SIGNATURE
    {
    }

//-----------------------------------------------------------------------------
//
//    TBUF16
//
//
//-----------------------------------------------------------------------------
//
RESOURCE TBUF16
    {
    buf = "SliderAndIcons";
    }

//-----------------------------------------------------------------------------
//
//    EIK_APP_INFO
//
//
//-----------------------------------------------------------------------------
//
RESOURCE EIK_APP_INFO
    {
    menubar = r_bctestsliderandicons_menubar_main;
    cba = r_bctestsliderandicons_cba_options_next;
    }

// ---------------------------------------------------------
//    Provide Caption and Icon Info for Scalable UI
//
// ---------------------------------------------------------
//
RESOURCE LOCALISABLE_APP_INFO r_bctestsliderandicons_localisable_app_info
    {
    short_caption = qtn_apps_tavl_grid; 

    caption_and_icon = 
    CAPTION_AND_ICON_INFO
        {
        caption = qtn_apps_tavl_list; 
        //number_of_icons = 2;
        //icon_file = APP_BITMAP_DIR"\\BCTestsliderandicons_aif.mbm";
        };
    }
    
//-----------------------------------------------------------------------------
//
//    r_bctestsliderandicons_view
//    AVKON_VIEW for CBCTestSliderAndIconsView
//
//-----------------------------------------------------------------------------
//
RESOURCE AVKON_VIEW r_bctestsliderandicons_view
    {
    menubar = r_bctestsliderandicons_menubar_main;
    }

//-----------------------------------------------------------------------------
//
//    r_bctestsliderandicons_menubar
//    MenuBar
//
//-----------------------------------------------------------------------------
//
RESOURCE MENU_BAR r_bctestsliderandicons_menubar_main
    {
    titles =
        {
        MENU_TITLE
            {
            menu_pane = r_bctestsliderandicons_menu;            
            },
        MENU_TITLE
            {
            menu_pane = r_bctestsliderandicons_case_menu;
            }
        };
    }

//-----------------------------------------------------------------------------
//
//    r_bctestsliderandicons_case_menu
//    Menu pane
//
//-----------------------------------------------------------------------------
//
RESOURCE MENU_PANE r_bctestsliderandicons_case_menu
    {
    items = 
        {
        MENU_ITEM
            {
            command = EBCTestSlider;
            txt = qtn_bctestslider;
            },
        MENU_ITEM
            {
            command = EBCTestIcons;
            txt = qtn_bctesticons;
            }
        };
    }

//-----------------------------------------------------------------------------
//
//    r_bctestsliderandicons_menu
//    Menu pane
//
//-----------------------------------------------------------------------------
//
RESOURCE MENU_PANE r_bctestsliderandicons_menu
    {
    items =
        {
        MENU_ITEM
            {
            command = EProgCmdAutoTest;
            txt = qtn_bctestsliderandicons_autotest;
            },
        MENU_ITEM // Menu "Exit"
            {
            command = EAknCmdExit;
            txt = qtn_bctestsliderandicons_menu_exit;
            }
        };
    }

// ----------------------------------------------------------------------------
//
//    r_bctestsliderandicons_cba_options_next
//    ?description
//
// ----------------------------------------------------------------------------
//
RESOURCE CBA r_bctestsliderandicons_cba_options_next
    {
    buttons =
	{
	CBA_BUTTON 
	    {
	    id=EAknSoftkeyOptions; 
	    txt = text_softkey_option;
	    },
        AVKON_CBA_BUTTON
            {
            id = EBCTestSliderAndIconsCbaCmdNext;
            txt = qtn_bctestsliderandicons_cba_next;
            }
	};
    }

// ----------------------------------------------------------------------------
//
//    r_bctestsliderandicons_slider
//    ?description
//
// ----------------------------------------------------------------------------
//

RESOURCE SLIDER r_bctestsliderandicons_slider
	{
	layout = EAknFormSliderLayout1;
	minvalue = AKNATSLIDER_MINIMUM_VALUE;
	maxvalue = AKNATSLIDER_MAXIMUM_VALUE;
	step = AKNATSLIDER_STEP_SIZE;
	valuetype=EAknSliderValueBareFigure;
	decimalplaces=0;
	singular_valuelabel = "";
	minlabel="";
	maxlabel="";
	valuelabel="";
    graphical_image=0;
	}

// End of File
