|
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 content 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 // Feeds Views toolbars |
|
32 // |
|
33 // Common toolbar resource |
|
34 |
|
35 RESOURCE AVKON_TOOLBAR r_feeds_folder_view_toolbar |
|
36 { |
|
37 flags = KAknToolbarFixed | KAknToolbarWithoutCba; |
|
38 items = |
|
39 { |
|
40 TBAR_CTRL |
|
41 { |
|
42 type = EAknCtButton; |
|
43 id = EFeedsUpdate; |
|
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_feeds_folder_update_selected_tt; |
|
54 bmpfile = "\\Resource\\apps\\browser.mif"; |
|
55 bmpid = EMbmBrowserQgn_indi_browser_feeds_tb_update; |
|
56 bmpmask = EMbmBrowserQgn_indi_browser_feeds_tb_update_mask; |
|
57 extension = r_browser_ext_qgn_indi_browser_feeds_tb_update; |
|
58 } |
|
59 }; |
|
60 }; |
|
61 }, |
|
62 TBAR_CTRL |
|
63 { |
|
64 type = EAknCtButton; |
|
65 id = EFeedsUpdateAll; |
|
66 |
|
67 control = AVKON_BUTTON |
|
68 { |
|
69 flags = 0; |
|
70 states = |
|
71 { |
|
72 AVKON_BUTTON_STATE |
|
73 { |
|
74 txt = ""; //Icon should always be visible instead of this |
|
75 helptxt = qtn_feeds_folder_update_all_tt; |
|
76 bmpfile = "\\Resource\\apps\\browser.mif"; |
|
77 bmpid = EMbmBrowserQgn_indi_browser_feeds_tb_update_all; |
|
78 bmpmask = EMbmBrowserQgn_indi_browser_feeds_tb_update_all_mask; |
|
79 extension = r_browser_ext_qgn_indi_browser_feeds_tb_updateall; |
|
80 } |
|
81 }; |
|
82 }; |
|
83 }, |
|
84 |
|
85 TBAR_CTRL |
|
86 { |
|
87 type = EAknCtButton; |
|
88 id = EFeedsOpen; |
|
89 |
|
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_feeds_folder_open_tt; |
|
99 bmpfile = "\\Resource\\apps\\browser.mif"; |
|
100 bmpid = EMbmBrowserQgn_indi_browser_feeds_tb_open_topic; |
|
101 bmpmask = EMbmBrowserQgn_indi_browser_feeds_tb_open_topic_mask; |
|
102 extension = r_browser_ext_qgn_indi_browser_feeds_tb_opentopic; |
|
103 } |
|
104 }; |
|
105 }; |
|
106 } |
|
107 }; |
|
108 } |
|
109 |
|
110 RESOURCE AVKON_TOOLBAR r_feeds_topic_view_toolbar |
|
111 { |
|
112 flags = KAknToolbarFixed | KAknToolbarWithoutCba; |
|
113 items = |
|
114 { |
|
115 TBAR_CTRL |
|
116 { |
|
117 type = EAknCtButton; |
|
118 id = EFeedsUpdate; |
|
119 |
|
120 control = AVKON_BUTTON |
|
121 { |
|
122 flags = 0; |
|
123 states = |
|
124 { |
|
125 AVKON_BUTTON_STATE |
|
126 { |
|
127 txt = ""; //Icon should always be visible instead of this |
|
128 helptxt = qtn_feeds_topic_update_tt; |
|
129 bmpfile = "\\Resource\\apps\\browser.mif"; |
|
130 bmpid = EMbmBrowserQgn_indi_browser_feeds_tb_update; |
|
131 bmpmask = EMbmBrowserQgn_indi_browser_feeds_tb_update_mask; |
|
132 extension = r_browser_ext_qgn_indi_browser_feeds_tb_update; |
|
133 } |
|
134 }; |
|
135 }; |
|
136 }, |
|
137 TBAR_CTRL |
|
138 { |
|
139 type = EAknCtButton; |
|
140 id = EFeedsBackToPage; |
|
141 |
|
142 control = AVKON_BUTTON |
|
143 { |
|
144 flags = 0; |
|
145 states = |
|
146 { |
|
147 AVKON_BUTTON_STATE |
|
148 { |
|
149 txt = ""; //Icon should always be visible instead of this |
|
150 helptxt = qtn_feeds_topic_back_to_page_tt; |
|
151 bmpfile = "\\Resource\\apps\\browser.mif"; |
|
152 bmpid = EMbmBrowserQgn_indi_browser_feeds_tb_back_to_web; |
|
153 bmpmask = EMbmBrowserQgn_indi_browser_feeds_tb_back_to_web_mask; |
|
154 extension = r_browser_ext_qgn_indi_browser_feeds_tb_toweb; |
|
155 } |
|
156 }; |
|
157 }; |
|
158 }, |
|
159 |
|
160 TBAR_CTRL |
|
161 { |
|
162 type = EAknCtButton; |
|
163 id = EFeedsOpen; |
|
164 |
|
165 control = AVKON_BUTTON |
|
166 { |
|
167 flags = 0; |
|
168 states = |
|
169 { |
|
170 AVKON_BUTTON_STATE |
|
171 { |
|
172 txt = ""; //Icon should always be visible instead of this |
|
173 helptxt = qtn_feeds_topic_open_tt; |
|
174 bmpfile = "\\Resource\\apps\\browser.mif"; |
|
175 bmpid = EMbmBrowserQgn_indi_browser_feeds_tb_open_detail; |
|
176 bmpmask = EMbmBrowserQgn_indi_browser_feeds_tb_open_detail_mask; |
|
177 extension = r_browser_ext_qgn_indi_browser_feeds_tb_opendetail; |
|
178 } |
|
179 }; |
|
180 }; |
|
181 } |
|
182 }; |
|
183 } |
|
184 |
|
185 |
|
186 RESOURCE AVKON_TOOLBAR r_feeds_feed_view_toolbar |
|
187 { |
|
188 flags = KAknToolbarFixed | KAknToolbarWithoutCba; |
|
189 items = |
|
190 { |
|
191 TBAR_CTRL |
|
192 { |
|
193 type = EAknCtButton; |
|
194 id = EFeedsShowPrevItem; |
|
195 |
|
196 control = AVKON_BUTTON |
|
197 { |
|
198 flags = 0; |
|
199 states = |
|
200 { |
|
201 AVKON_BUTTON_STATE |
|
202 { |
|
203 txt = ""; //Icon should always be visible instead of this |
|
204 helptxt = qtn_feeds_feed_previous_article_tt; |
|
205 bmpfile = "\\Resource\\apps\\browser.mif"; |
|
206 bmpid = EMbmBrowserQgn_indi_browser_feeds_tb_previous; |
|
207 bmpmask = EMbmBrowserQgn_indi_browser_feeds_tb_previous_mask; |
|
208 extension = r_browser_ext_qgn_indi_browser_feeds_tb_openprev; |
|
209 } |
|
210 }; |
|
211 }; |
|
212 }, |
|
213 TBAR_CTRL |
|
214 { |
|
215 type = EAknCtButton; |
|
216 id = EFeedsSeeFullStory; |
|
217 |
|
218 control = AVKON_BUTTON |
|
219 { |
|
220 flags = 0; |
|
221 states = |
|
222 { |
|
223 AVKON_BUTTON_STATE |
|
224 { |
|
225 txt = ""; //Icon should always be visible instead of this |
|
226 helptxt = qtn_feeds_feed_show_full_story_tt; |
|
227 bmpfile = "\\Resource\\apps\\browser.mif"; |
|
228 bmpid = EMbmBrowserQgn_indi_browser_feeds_tb_open_full; |
|
229 bmpmask = EMbmBrowserQgn_indi_browser_feeds_tb_open_full_mask; |
|
230 extension = r_browser_ext_qgn_indi_browser_feeds_tb_openfull; |
|
231 } |
|
232 }; |
|
233 }; |
|
234 }, |
|
235 |
|
236 TBAR_CTRL |
|
237 { |
|
238 type = EAknCtButton; |
|
239 id = EFeedsShowNextItem; |
|
240 |
|
241 control = AVKON_BUTTON |
|
242 { |
|
243 flags = 0; |
|
244 states = |
|
245 { |
|
246 AVKON_BUTTON_STATE |
|
247 { |
|
248 txt = ""; //Icon should always be visible instead of this |
|
249 helptxt = qtn_feeds_feed_next_article_tt; |
|
250 bmpfile = "\\Resource\\apps\\browser.mif"; |
|
251 bmpid = EMbmBrowserQgn_indi_browser_feeds_tb_next; |
|
252 bmpmask = EMbmBrowserQgn_indi_browser_feeds_tb_next_mask; |
|
253 extension = r_browser_ext_qgn_indi_browser_feeds_tb_next; |
|
254 } |
|
255 }; |
|
256 }; |
|
257 } |
|
258 }; |
|
259 } |
|
260 #else |
|
261 |
|
262 // |
|
263 // Feeds Views toolbars |
|
264 // |
|
265 // Common toolbar resource |
|
266 |
|
267 RESOURCE AVKON_TOOLBAR r_feeds_folder_view_toolbar |
|
268 { |
|
269 } |
|
270 |
|
271 RESOURCE AVKON_TOOLBAR r_feeds_topic_view_toolbar |
|
272 { |
|
273 } |
|
274 |
|
275 RESOURCE AVKON_TOOLBAR r_feeds_feed_view_toolbar |
|
276 { |
|
277 } |
|
278 |
|
279 #endif |