browserui/browser/SrcData/bookmark_toolbar.rssi
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Thu, 17 Dec 2009 08:47:18 +0200
changeset 24 868cceedabd3
parent 1 57d5b8e231c4
child 27 481242ead638
permissions -rw-r--r--
Revision: 200948 Kit: 200951

/*
* Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of the License "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 file for the bookmark view's toolbar
*
*
*/


#include <browser_platform_variant.hrh>

#ifdef BRDO_AVKON_EXT_TB_FF

//  RESOURCE IDENTIFIER

#include <eikon.hrh>
#include "BrowserToolbar.hrh"

//
// Bookmark View toolbar
//
// Common toolbar resource 

RESOURCE AVKON_TOOLBAR r_bookmark_view_toolbar
    {
    flags = KAknToolbarFixed | KAknToolbarWithoutCba;
    items =
        {
        TBAR_CTRL
            {
            type = EAknCtButton;
            id = EWmlCmdAddBookmark;     
            
            control = AVKON_BUTTON
                {
                flags = 0;
                states =
                    {
                    AVKON_BUTTON_STATE
                        {
                        txt     = "";  //Icon should always be visible instead of this
                        helptxt = qtn_browser_tb_add_bookmark_tt;
                        bmpfile = "\\Resource\\apps\\browser.mif";
                        bmpid   = EMbmBrowserQgn_indi_browser_bm_tb_new;         
                        bmpmask = EMbmBrowserQgn_indi_browser_bm_tb_new_mask;
                        extension = r_browser_ext_qgn_indi_browser_bm_tb_new;
                        }
                    };
                };
            },
            
        TBAR_CTRL
            {
            type = EAknCtButton;
            id = EWmlCmdGoToAddress;     
            
            control = AVKON_BUTTON
                {
                flags = 0;
                states =
                    {
                    AVKON_BUTTON_STATE
                        {
                        txt     = "";  //Icon should always be visible instead of this
                        helptxt = qtn_browser_tb_gotoaddress_tt;
                        bmpfile = "\\Resource\\apps\\browser.mif";
                        bmpid   = EMbmBrowserQgn_indi_browser_tb_goto;         
                        bmpmask = EMbmBrowserQgn_indi_browser_tb_goto_mask;
                        extension = r_browser_ext_qgn_indi_browser_tb_goto;
                        }
                    };
                };
            }, 
           
        TBAR_CTRL //Search Goto
            {
            type = EAknCtButton;
            id = EWmlCmdGoToAddressAndSearch;     
            control = AVKON_BUTTON
                {
                flags = 0;
                states =
                    {
                    AVKON_BUTTON_STATE
                        {
                        txt     = "";  //Icon should always be visible instead of this
                        helptxt = qtn_is_tooltip_goto_search;
                        bmpfile = "\\Resource\\apps\\browser.mif";
                        bmpid   = EMbmBrowserQgn_indi_browser_tb_goto_and_search;         
                        bmpmask = EMbmBrowserQgn_indi_browser_tb_goto_and_search_mask;
                        extension = r_browser_ext_qgn_indi_browser_tb_goto_and_search;
                        }
                    };
                };
            }, 
        TBAR_CTRL
            {
            type = EAknCtButton;
            id = EWmlCmdDelete;     
            
            control = AVKON_BUTTON
                {
                flags = 0;
                states = 
                    {
                    AVKON_BUTTON_STATE
                        {
                        txt     = "";  //Icon should always be visible instead of this
                        helptxt = qtn_browser_tb_del_bookmark_tt;
                        bmpfile = "\\Resource\\apps\\browser.mif";
                        bmpid   = EMbmBrowserQgn_indi_browser_tb_delete;
                        bmpmask = EMbmBrowserQgn_indi_browser_tb_delete_mask;
                        extension = r_browser_ext_qgn_indi_browser_tb_delete;
                        }
                    };
                };
            }
        };
    }

#else
//
// Bookmark View toolbar
//
// Common toolbar resource

RESOURCE AVKON_TOOLBAR r_bookmark_view_toolbar
    {
    }

#endif