|
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 //Search Goto |
|
87 { |
|
88 type = EAknCtButton; |
|
89 id = EWmlCmdGoToAddressAndSearch; |
|
90 control = AVKON_BUTTON |
|
91 { |
|
92 flags = 0; |
|
93 states = |
|
94 { |
|
95 AVKON_BUTTON_STATE |
|
96 { |
|
97 txt = ""; //Icon should always be visible instead of this |
|
98 helptxt = qtn_is_tooltip_goto_search; |
|
99 bmpfile = "\\Resource\\apps\\browser.mif"; |
|
100 bmpid = EMbmBrowserQgn_indi_browser_tb_goto_and_search; |
|
101 bmpmask = EMbmBrowserQgn_indi_browser_tb_goto_and_search_mask; |
|
102 extension = r_browser_ext_qgn_indi_browser_tb_goto_and_search; |
|
103 } |
|
104 }; |
|
105 }; |
|
106 }, |
|
107 #ifdef BRDO_SINGLE_CLICK_ENABLED_FF |
|
108 TBAR_CTRL |
|
109 { |
|
110 type = EAknCtButton; |
|
111 id = EWmlCmdPreferences; |
|
112 |
|
113 control = AVKON_BUTTON |
|
114 { |
|
115 flags = 0; |
|
116 states = |
|
117 { |
|
118 AVKON_BUTTON_STATE |
|
119 { |
|
120 txt = ""; //Icon should always be visible instead of this |
|
121 helptxt = qtn_browser_setting_settings; |
|
122 bmpfile = "\\Resource\\apps\\browser.mif"; |
|
123 bmpid = EMbmBrowserQgn_indi_browser_tb_settings; |
|
124 bmpmask = EMbmBrowserQgn_indi_browser_tb_settings_mask; |
|
125 extension = r_browser_ext_qgn_indi_browser_tb_settings; |
|
126 } |
|
127 }; |
|
128 }; |
|
129 } |
|
130 #else |
|
131 TBAR_CTRL |
|
132 { |
|
133 type = EAknCtButton; |
|
134 id = EWmlCmdDelete; |
|
135 |
|
136 control = AVKON_BUTTON |
|
137 { |
|
138 flags = 0; |
|
139 states = |
|
140 { |
|
141 AVKON_BUTTON_STATE |
|
142 { |
|
143 txt = ""; //Icon should always be visible instead of this |
|
144 helptxt = qtn_browser_tb_del_bookmark_tt; |
|
145 bmpfile = "\\Resource\\apps\\browser.mif"; |
|
146 bmpid = EMbmBrowserQgn_indi_browser_tb_delete; |
|
147 bmpmask = EMbmBrowserQgn_indi_browser_tb_delete_mask; |
|
148 extension = r_browser_ext_qgn_indi_browser_tb_delete; |
|
149 } |
|
150 }; |
|
151 }; |
|
152 } |
|
153 #endif |
|
154 }; |
|
155 } |
|
156 |
|
157 #else |
|
158 // |
|
159 // Bookmark View toolbar |
|
160 // |
|
161 // Common toolbar resource |
|
162 |
|
163 RESOURCE AVKON_TOOLBAR r_bookmark_view_toolbar |
|
164 { |
|
165 } |
|
166 |
|
167 #endif |