|
1 /* |
|
2 * Copyright (c) 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 the License "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: |
|
15 * Resource file for the bookmark view's toolbar |
|
16 * |
|
17 * |
|
18 */ |
|
19 |
|
20 |
|
21 #include <Browser_platform_variant.hrh> |
|
22 |
|
23 #ifdef BRDO_AVKON_EXT_TB_FF |
|
24 |
|
25 // RESOURCE IDENTIFIER |
|
26 |
|
27 #include <eikon.hrh> |
|
28 #include "BrowserToolbar.hrh" |
|
29 |
|
30 // |
|
31 // Bookmark View toolbar |
|
32 // |
|
33 // Common toolbar resource |
|
34 |
|
35 RESOURCE AVKON_TOOLBAR r_bookmark_view_toolbar |
|
36 { |
|
37 flags = KAknToolbarFixed | KAknToolbarWithoutCba; |
|
38 items = |
|
39 { |
|
40 TBAR_CTRL |
|
41 { |
|
42 type = EAknCtButton; |
|
43 id = EWmlCmdAddBookmark; |
|
44 |
|
45 control = AVKON_BUTTON |
|
46 { |
|
47 flags = 0; |
|
48 states = |
|
49 { |
|
50 AVKON_BUTTON_STATE |
|
51 { |
|
52 txt = ""; //Icon should always be visible instead of this |
|
53 helptxt = qtn_browser_tb_add_bookmark_tt; |
|
54 bmpfile = "\\Resource\\apps\\browser.mif"; |
|
55 bmpid = EMbmBrowserQgn_indi_browser_bm_tb_new; |
|
56 bmpmask = EMbmBrowserQgn_indi_browser_bm_tb_new_mask; |
|
57 extension = r_browser_ext_qgn_indi_browser_bm_tb_new; |
|
58 } |
|
59 }; |
|
60 }; |
|
61 }, |
|
62 |
|
63 TBAR_CTRL |
|
64 { |
|
65 type = EAknCtButton; |
|
66 id = EWmlCmdGoToAddress; |
|
67 |
|
68 control = AVKON_BUTTON |
|
69 { |
|
70 flags = 0; |
|
71 states = |
|
72 { |
|
73 AVKON_BUTTON_STATE |
|
74 { |
|
75 txt = ""; //Icon should always be visible instead of this |
|
76 helptxt = qtn_browser_tb_gotoaddress_tt; |
|
77 bmpfile = "\\Resource\\apps\\browser.mif"; |
|
78 bmpid = EMbmBrowserQgn_indi_browser_tb_goto; |
|
79 bmpmask = EMbmBrowserQgn_indi_browser_tb_goto_mask; |
|
80 extension = r_browser_ext_qgn_indi_browser_tb_goto; |
|
81 } |
|
82 }; |
|
83 }; |
|
84 }, |
|
85 |
|
86 TBAR_CTRL |
|
87 { |
|
88 type = EAknCtButton; |
|
89 id = EWmlCmdDelete; |
|
90 |
|
91 control = AVKON_BUTTON |
|
92 { |
|
93 flags = 0; |
|
94 states = |
|
95 { |
|
96 AVKON_BUTTON_STATE |
|
97 { |
|
98 txt = ""; //Icon should always be visible instead of this |
|
99 helptxt = qtn_browser_tb_del_bookmark_tt; |
|
100 bmpfile = "\\Resource\\apps\\browser.mif"; |
|
101 bmpid = EMbmBrowserQgn_indi_browser_tb_delete; |
|
102 bmpmask = EMbmBrowserQgn_indi_browser_tb_delete_mask; |
|
103 extension = r_browser_ext_qgn_indi_browser_tb_delete; |
|
104 } |
|
105 }; |
|
106 }; |
|
107 } |
|
108 }; |
|
109 } |
|
110 |
|
111 #else |
|
112 // |
|
113 // Bookmark View toolbar |
|
114 // |
|
115 // Common toolbar resource |
|
116 |
|
117 RESOURCE AVKON_TOOLBAR r_bookmark_view_toolbar |
|
118 { |
|
119 } |
|
120 |
|
121 #endif |