65
|
1 |
/*
|
|
2 |
* Copyright (c) 2002-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 |
// Common toolbar resource
|
|
31 |
RESOURCE AVKON_TOOLBAR r_content_view_toolbar
|
|
32 |
{
|
|
33 |
flags = KAknToolbarFixed | KAknToolbarWithoutCba;
|
|
34 |
items =
|
|
35 |
{
|
|
36 |
TBAR_CTRL
|
|
37 |
{
|
|
38 |
type=EAknCtToolbarExtension;
|
|
39 |
id= EWmlCmdToolbarExtensionContentView;
|
|
40 |
|
|
41 |
control = AVKON_TOOLBAR_EXTENSION
|
|
42 |
{
|
|
43 |
helptxt = qtn_browser_ext_tb_tt;
|
|
44 |
items =
|
|
45 |
{
|
|
46 |
#ifndef BRDO_SINGLE_CLICK_ENABLED_FF
|
|
47 |
TBAR_CTRL
|
|
48 |
{
|
|
49 |
type = EAknCtButton;
|
|
50 |
id = EWmlCmdFavourites;
|
|
51 |
|
|
52 |
control = AVKON_BUTTON
|
|
53 |
{
|
|
54 |
flags = KAknButtonRequestExitOnButtonUpEvent;
|
|
55 |
states =
|
|
56 |
{
|
|
57 |
AVKON_BUTTON_STATE
|
|
58 |
{
|
|
59 |
txt = qtn_browser_ext_tb_bm;
|
|
60 |
helptxt = qtn_browser_ext_tb_bm_tt;
|
|
61 |
bmpfile = "\\Resource\\apps\\browser.mif";
|
|
62 |
bmpid = EMbmBrowserQgn_indi_browser_tb_bm;
|
|
63 |
bmpmask = EMbmBrowserQgn_indi_browser_tb_bm_mask;
|
|
64 |
extension = r_browser_ext_qgn_indi_browser_tb_bm;
|
|
65 |
}
|
|
66 |
};
|
|
67 |
};
|
|
68 |
},
|
|
69 |
#endif
|
|
70 |
TBAR_CTRL
|
|
71 |
{
|
|
72 |
type = EAknCtButton;
|
|
73 |
id = EWmlCmdLaunchHomePage;
|
|
74 |
|
|
75 |
control = AVKON_BUTTON
|
|
76 |
{
|
|
77 |
flags = KAknButtonRequestExitOnButtonUpEvent;
|
|
78 |
states =
|
|
79 |
{
|
|
80 |
AVKON_BUTTON_STATE
|
|
81 |
{
|
|
82 |
txt = qtn_browser_ext_tb_home;
|
|
83 |
helptxt = qtn_browser_ext_tb_home_tt;
|
|
84 |
bmpfile = "\\Resource\\apps\\browser.mif";
|
|
85 |
bmpid = EMbmBrowserQgn_indi_browser_tb_home;
|
|
86 |
bmpmask = EMbmBrowserQgn_indi_browser_tb_home_mask;
|
|
87 |
extension = r_browser_ext_qgn_indi_browser_tb_home;
|
|
88 |
}
|
|
89 |
};
|
|
90 |
};
|
|
91 |
},
|
|
92 |
TBAR_CTRL
|
|
93 |
{
|
|
94 |
type = EAknCtButton;
|
|
95 |
id = EWmlCmdSaveAsBookmark;
|
|
96 |
|
|
97 |
control = AVKON_BUTTON
|
|
98 |
{
|
|
99 |
flags = KAknButtonRequestExitOnButtonUpEvent;
|
|
100 |
states =
|
|
101 |
{
|
|
102 |
AVKON_BUTTON_STATE
|
|
103 |
{
|
|
104 |
txt = qtn_browser_ext_tb_save_bookmark;
|
|
105 |
helptxt = qtn_browser_ext_tb_save_bookmark_tt;
|
|
106 |
bmpfile = "\\Resource\\apps\\browser.mif";
|
|
107 |
bmpid = EMbmBrowserQgn_indi_browser_tb_save_bm;
|
|
108 |
bmpmask = EMbmBrowserQgn_indi_browser_tb_save_bm_mask;
|
|
109 |
extension = r_browser_ext_qgn_indi_browser_tb_savebm;
|
|
110 |
}
|
|
111 |
};
|
|
112 |
};
|
|
113 |
},
|
|
114 |
TBAR_CTRL
|
|
115 |
{
|
|
116 |
type = EAknCtButton;
|
|
117 |
id = EWmlCmdFindKeyword;
|
|
118 |
|
|
119 |
control = AVKON_BUTTON
|
|
120 |
{
|
|
121 |
flags = KAknButtonRequestExitOnButtonUpEvent;
|
|
122 |
states =
|
|
123 |
{
|
|
124 |
AVKON_BUTTON_STATE
|
|
125 |
{
|
|
126 |
txt = qtn_browser_ext_tb_find_keyword;
|
|
127 |
helptxt = qtn_browser_ext_tb_find_keyword_tt;
|
|
128 |
bmpfile = "\\Resource\\apps\\browser.mif";
|
|
129 |
bmpid = EMbmBrowserQgn_indi_browser_tb_find_kw;
|
|
130 |
bmpmask = EMbmBrowserQgn_indi_browser_tb_find_kw_mask;
|
|
131 |
extension = r_browser_ext_qgn_indi_browser_tb_findkw;
|
|
132 |
}
|
|
133 |
};
|
|
134 |
};
|
|
135 |
},
|
|
136 |
TBAR_CTRL
|
|
137 |
{
|
|
138 |
type = EAknCtButton;
|
|
139 |
id = EWmlCmdReload;
|
|
140 |
|
|
141 |
control = AVKON_BUTTON
|
|
142 |
{
|
|
143 |
flags = KAknButtonRequestExitOnButtonUpEvent;
|
|
144 |
states =
|
|
145 |
{
|
|
146 |
AVKON_BUTTON_STATE
|
|
147 |
{
|
|
148 |
txt = qtn_browser_ext_tb_reload;
|
|
149 |
helptxt = qtn_browser_ext_tb_reload_tt;
|
|
150 |
bmpfile = "\\Resource\\apps\\browser.mif";
|
|
151 |
bmpid = EMbmBrowserQgn_indi_browser_tb_reload;
|
|
152 |
bmpmask = EMbmBrowserQgn_indi_browser_tb_reload_mask;
|
|
153 |
extension = r_browser_ext_qgn_indi_browser_tb_reload;
|
|
154 |
}
|
|
155 |
};
|
|
156 |
};
|
|
157 |
},
|
|
158 |
TBAR_CTRL
|
|
159 |
{
|
|
160 |
type = EAknCtButton;
|
|
161 |
id = EAknCmdHelp;
|
|
162 |
|
|
163 |
control = AVKON_BUTTON
|
|
164 |
{
|
|
165 |
flags = KAknButtonRequestExitOnButtonUpEvent;
|
|
166 |
states =
|
|
167 |
{
|
|
168 |
AVKON_BUTTON_STATE
|
|
169 |
{
|
|
170 |
txt = qtn_browser_ext_tb_help;
|
|
171 |
helptxt = qtn_browser_ext_tb_help_tt;
|
|
172 |
bmpfile = "\\Resource\\apps\\browser.mif";
|
|
173 |
bmpid = EMbmBrowserQgn_indi_browser_tb_help;
|
|
174 |
bmpmask = EMbmBrowserQgn_indi_browser_tb_help_mask;
|
|
175 |
extension = r_browser_ext_qgn_indi_browser_tb_help;
|
|
176 |
}
|
|
177 |
};
|
|
178 |
};
|
|
179 |
},
|
|
180 |
#ifndef BRDO_MULTITOUCH_ENABLED_FF
|
|
181 |
TBAR_CTRL
|
|
182 |
{
|
|
183 |
type = EAknCtButton;
|
|
184 |
id = EWmlCmdShowMiniature;
|
|
185 |
|
|
186 |
control = AVKON_BUTTON
|
|
187 |
{
|
|
188 |
flags = KAknButtonRequestExitOnButtonUpEvent;
|
|
189 |
states =
|
|
190 |
{
|
|
191 |
AVKON_BUTTON_STATE
|
|
192 |
{
|
|
193 |
txt = qtn_browser_ext_tb_miniature_show;
|
|
194 |
helptxt = qtn_browser_ext_tb_miniature_show_tt;
|
|
195 |
bmpfile = "\\Resource\\apps\\browser.mif";
|
|
196 |
bmpid = EMbmBrowserQgn_indi_browser_tb_page;
|
|
197 |
bmpmask = EMbmBrowserQgn_indi_browser_tb_page_mask;
|
|
198 |
extension = r_browser_ext_qgn_indi_browser_tb_pages;
|
|
199 |
}
|
|
200 |
};
|
|
201 |
};
|
|
202 |
},
|
|
203 |
#else
|
|
204 |
TBAR_CTRL
|
|
205 |
{
|
|
206 |
type = EAknCtButton;
|
|
207 |
id = EWmlCmdDownloads;
|
|
208 |
|
|
209 |
control = AVKON_BUTTON
|
|
210 |
{
|
|
211 |
flags = KAknButtonRequestExitOnButtonUpEvent;
|
|
212 |
states =
|
|
213 |
{
|
|
214 |
AVKON_BUTTON_STATE
|
|
215 |
{
|
|
216 |
txt = qtn_browser_list_downloads;
|
|
217 |
helptxt = qtn_browser_list_downloads;
|
|
218 |
bmpfile = "\\Resource\\apps\\browser.mif";
|
|
219 |
bmpid = EMbmBrowserQgn_indi_browser_tb_downloads;
|
|
220 |
bmpmask = EMbmBrowserQgn_indi_browser_tb_downloads_mask;
|
|
221 |
extension = r_browser_ext_qgn_indi_browser_tb_downloads;
|
|
222 |
}
|
|
223 |
};
|
|
224 |
};
|
|
225 |
},
|
|
226 |
#endif
|
|
227 |
TBAR_CTRL
|
|
228 |
{
|
|
229 |
type = EAknCtButton;
|
|
230 |
id = EWmlCmdPreferences;
|
|
231 |
|
|
232 |
control = AVKON_BUTTON
|
|
233 |
{
|
|
234 |
flags = KAknButtonRequestExitOnButtonUpEvent;
|
|
235 |
states =
|
|
236 |
{
|
|
237 |
AVKON_BUTTON_STATE
|
|
238 |
{
|
|
239 |
txt = qtn_browser_ext_tb_settings;
|
|
240 |
helptxt = qtn_browser_ext_tb_settings_tt;
|
|
241 |
bmpfile = "\\Resource\\apps\\browser.mif";
|
|
242 |
bmpid = EMbmBrowserQgn_indi_browser_tb_settings;
|
|
243 |
bmpmask = EMbmBrowserQgn_indi_browser_tb_settings_mask;
|
|
244 |
extension = r_browser_ext_qgn_indi_browser_tb_settings;
|
|
245 |
}
|
|
246 |
};
|
|
247 |
};
|
|
248 |
},
|
|
249 |
TBAR_CTRL
|
|
250 |
{
|
|
251 |
type = EAknCtButton;
|
|
252 |
id = EWmlCmdOpenFeedsFolder;
|
|
253 |
|
|
254 |
control = AVKON_BUTTON
|
|
255 |
{
|
|
256 |
flags = KAknButtonRequestExitOnButtonUpEvent;
|
|
257 |
states =
|
|
258 |
{
|
|
259 |
AVKON_BUTTON_STATE
|
|
260 |
{
|
|
261 |
txt = qtn_browser_ext_tb_view_feeds;
|
|
262 |
helptxt = qtn_browser_ext_tb_view_feeds_tt;
|
|
263 |
bmpfile = "\\Resource\\apps\\browser.mif";
|
|
264 |
bmpid = EMbmBrowserQgn_indi_browser_tb_feeds;
|
|
265 |
bmpmask = EMbmBrowserQgn_indi_browser_tb_feeds_mask;
|
|
266 |
extension = r_browser_ext_qgn_indi_browser_tb_feeds;
|
|
267 |
}
|
|
268 |
};
|
|
269 |
};
|
|
270 |
},
|
|
271 |
TBAR_CTRL
|
|
272 |
{
|
|
273 |
type = EAknCtButton;
|
|
274 |
id = EWmlCmdShowSubscribeList;
|
|
275 |
|
|
276 |
control = AVKON_BUTTON
|
|
277 |
{
|
|
278 |
flags = KAknButtonRequestExitOnButtonUpEvent;
|
|
279 |
states =
|
|
280 |
{
|
|
281 |
AVKON_BUTTON_STATE
|
|
282 |
{
|
|
283 |
txt = qtn_browser_ext_tb_subscribe_list;
|
|
284 |
helptxt = qtn_browser_ext_tb_subscribe_list_tt;
|
|
285 |
bmpfile = "\\Resource\\apps\\browser.mif";
|
|
286 |
bmpid = EMbmBrowserQgn_indi_browser_tb_rss;
|
|
287 |
bmpmask = EMbmBrowserQgn_indi_browser_tb_rss_mask;
|
|
288 |
extension = r_browser_ext_qgn_indi_browser_tb_rss;
|
|
289 |
}
|
|
290 |
};
|
|
291 |
};
|
|
292 |
},
|
|
293 |
TBAR_CTRL
|
|
294 |
{
|
|
295 |
type = EAknCtButton;
|
|
296 |
id = EWmlCmdSwitchWindow;
|
|
297 |
|
|
298 |
control = AVKON_BUTTON
|
|
299 |
{
|
|
300 |
flags = KAknButtonRequestExitOnButtonUpEvent;
|
|
301 |
states =
|
|
302 |
{
|
|
303 |
AVKON_BUTTON_STATE
|
|
304 |
{
|
|
305 |
txt = qtn_browser_ext_tb_switch_win;
|
|
306 |
helptxt = qtn_browser_ext_tb_switch_win_tt;
|
|
307 |
bmpfile = "\\Resource\\apps\\browser.mif";
|
|
308 |
bmpid = EMbmBrowserQgn_indi_browser_tb_switch_win;
|
|
309 |
bmpmask = EMbmBrowserQgn_indi_browser_tb_switch_win_mask;
|
|
310 |
extension = r_browser_ext_qgn_indi_browser_tb_switch_win;
|
|
311 |
}
|
|
312 |
};
|
|
313 |
};
|
|
314 |
},
|
|
315 |
TBAR_CTRL
|
|
316 |
{
|
|
317 |
type = EAknCtButton;
|
|
318 |
id = EWmlCmdSendAddressViaUnifiedMessage;
|
|
319 |
|
|
320 |
control = AVKON_BUTTON
|
|
321 |
{
|
|
322 |
flags = KAknButtonRequestExitOnButtonUpEvent;
|
|
323 |
states =
|
|
324 |
{
|
|
325 |
AVKON_BUTTON_STATE
|
|
326 |
{
|
|
327 |
txt = qtn_browser_ext_tb_send_url;
|
|
328 |
helptxt = qtn_browser_ext_tb_send_url_tt;
|
|
329 |
bmpfile = "\\Resource\\apps\\browser.mif";
|
|
330 |
bmpid = EMbmBrowserQgn_indi_browser_tb_send_url;
|
|
331 |
bmpmask = EMbmBrowserQgn_indi_browser_tb_send_url_mask;
|
|
332 |
extension = r_browser_ext_qgn_indi_browser_tb_send_url;
|
|
333 |
}
|
|
334 |
};
|
|
335 |
};
|
|
336 |
#ifndef BRDO_SINGLE_CLICK_ENABLED_FF
|
|
337 |
}
|
|
338 |
#else
|
|
339 |
},
|
|
340 |
|
|
341 |
TBAR_CTRL
|
|
342 |
{
|
|
343 |
type = EAknCtButton;
|
|
344 |
id = EWmlCmdUserExit;
|
|
345 |
|
|
346 |
control = AVKON_BUTTON
|
|
347 |
{
|
|
348 |
flags = KAknButtonRequestExitOnButtonUpEvent;
|
|
349 |
states =
|
|
350 |
{
|
|
351 |
AVKON_BUTTON_STATE
|
|
352 |
{
|
|
353 |
txt = qtn_options_exit; //qtn_browser_list_close_window;
|
|
354 |
helptxt = qtn_options_exit; //qtn_browser_list_close_window;
|
|
355 |
bmpfile = "\\Resource\\apps\\browser.mif";
|
|
356 |
bmpid = EMbmBrowserQgn_indi_browser_tb_exit;
|
|
357 |
bmpmask = EMbmBrowserQgn_indi_browser_tb_exit_mask;
|
|
358 |
extension = r_browser_ext_qgn_indi_browser_tb_exit;
|
|
359 |
}
|
|
360 |
};
|
|
361 |
};
|
|
362 |
}
|
|
363 |
#endif
|
|
364 |
|
|
365 |
};
|
|
366 |
};
|
|
367 |
},
|
|
368 |
|
|
369 |
TBAR_CTRL
|
|
370 |
{
|
|
371 |
type = EAknCtButton;
|
|
372 |
id = EWmlCmdGoToAddress;
|
|
373 |
|
|
374 |
control = AVKON_BUTTON
|
|
375 |
{
|
|
376 |
flags = 0;
|
|
377 |
states =
|
|
378 |
{
|
|
379 |
AVKON_BUTTON_STATE
|
|
380 |
{
|
|
381 |
txt = ""; //Icon should always be visible instead of this
|
|
382 |
helptxt = qtn_browser_tb_gotoaddress_tt;
|
|
383 |
bmpfile = "\\Resource\\apps\\browser.mif";
|
|
384 |
bmpid = EMbmBrowserQgn_indi_browser_tb_goto;
|
|
385 |
bmpmask = EMbmBrowserQgn_indi_browser_tb_goto_mask;
|
|
386 |
extension = r_browser_ext_qgn_indi_browser_tb_goto;
|
|
387 |
}
|
|
388 |
};
|
|
389 |
};
|
|
390 |
},
|
|
391 |
TBAR_CTRL
|
|
392 |
{
|
|
393 |
type = EAknCtButton;
|
|
394 |
id = EWmlCmdGoToAddressAndSearch;
|
|
395 |
control = AVKON_BUTTON
|
|
396 |
{
|
|
397 |
flags = 0;
|
|
398 |
states =
|
|
399 |
{
|
|
400 |
AVKON_BUTTON_STATE
|
|
401 |
{
|
|
402 |
txt = ""; //Icon should always be visible instead of this
|
|
403 |
helptxt = qtn_is_tooltip_goto_search;
|
|
404 |
bmpfile = "\\Resource\\apps\\browser.mif";
|
|
405 |
bmpid = EMbmBrowserQgn_indi_browser_tb_goto_and_search;
|
|
406 |
bmpmask = EMbmBrowserQgn_indi_browser_tb_goto_and_search_mask;
|
|
407 |
extension = r_browser_ext_qgn_indi_browser_tb_goto_and_search;
|
|
408 |
}
|
|
409 |
};
|
|
410 |
};
|
|
411 |
},
|
|
412 |
TBAR_CTRL
|
|
413 |
{
|
|
414 |
type = EAknCtButton;
|
|
415 |
id = EWmlCmdHistoryBack;
|
|
416 |
|
|
417 |
control = AVKON_BUTTON
|
|
418 |
{
|
|
419 |
flags = 0;
|
|
420 |
states =
|
|
421 |
{
|
|
422 |
AVKON_BUTTON_STATE
|
|
423 |
{
|
|
424 |
txt = ""; //Icon should always be visible instead of this
|
|
425 |
helptxt = qtn_browser_tb_history_back_tt;
|
|
426 |
bmpfile = "\\Resource\\apps\\browser.mif";
|
|
427 |
bmpid = EMbmBrowserQgn_indi_browser_tb_history_back;
|
|
428 |
bmpmask = EMbmBrowserQgn_indi_browser_tb_history_back_mask;
|
|
429 |
extension = r_browser_ext_qgn_indi_browser_tb_history_back;
|
|
430 |
}
|
|
431 |
};
|
|
432 |
};
|
|
433 |
},
|
|
434 |
TBAR_CTRL
|
|
435 |
{
|
|
436 |
type = EAknCtButton;
|
|
437 |
id = EWmlCmdFindPrevious;
|
|
438 |
|
|
439 |
control = AVKON_BUTTON
|
|
440 |
{
|
|
441 |
flags = 0;
|
|
442 |
states =
|
|
443 |
{
|
|
444 |
AVKON_BUTTON_STATE
|
|
445 |
{
|
|
446 |
txt = ""; //Icon should always be visible instead of this
|
|
447 |
helptxt = qtn_browser_tb_findprevious_tt;
|
|
448 |
bmpfile = "\\Resource\\apps\\browser.mif";
|
|
449 |
bmpid = EMbmBrowserQgn_indi_browser_tb_find_kw_prev;
|
|
450 |
bmpmask = EMbmBrowserQgn_indi_browser_tb_find_kw_prev_mask;
|
|
451 |
extension = r_browser_ext_qgn_indi_browser_tb_findkw_prev;
|
|
452 |
}
|
|
453 |
};
|
|
454 |
};
|
|
455 |
},
|
|
456 |
TBAR_CTRL
|
|
457 |
{
|
|
458 |
type = EAknCtButton;
|
|
459 |
id = EWmlNoCmd;
|
|
460 |
control = AVKON_BUTTON
|
|
461 |
{
|
|
462 |
flags = 0;
|
|
463 |
states =
|
|
464 |
{
|
|
465 |
AVKON_BUTTON_STATE
|
|
466 |
{
|
|
467 |
txt = ""; //Icon should always be visible instead of this
|
|
468 |
helptxt = "";
|
|
469 |
// bmpfile = ;
|
|
470 |
// bmpid = ;
|
|
471 |
// bmpmask = ;
|
|
472 |
extension = r_browser_ext_qgn_indi_browser_tb_blank;
|
|
473 |
}
|
|
474 |
};
|
|
475 |
};
|
|
476 |
},
|
|
477 |
TBAR_CTRL
|
|
478 |
{
|
|
479 |
type = EAknCtButton;
|
|
480 |
id = EWmlCmdFindNext;
|
|
481 |
|
|
482 |
control = AVKON_BUTTON
|
|
483 |
{
|
|
484 |
flags = 0;
|
|
485 |
states =
|
|
486 |
{
|
|
487 |
AVKON_BUTTON_STATE
|
|
488 |
{
|
|
489 |
txt = ""; //Icon should always be visible instead of this
|
|
490 |
helptxt = qtn_browser_tb_findnext_tt;
|
|
491 |
bmpfile = "\\Resource\\apps\\browser.mif";
|
|
492 |
bmpid = EMbmBrowserQgn_indi_browser_tb_find_kw_next;
|
|
493 |
bmpmask = EMbmBrowserQgn_indi_browser_tb_find_kw_next_mask;
|
|
494 |
extension = r_browser_ext_qgn_indi_browser_tb_findkw_next;
|
|
495 |
}
|
|
496 |
};
|
|
497 |
};
|
|
498 |
},
|
|
499 |
TBAR_CTRL
|
|
500 |
{
|
|
501 |
type = EAknCtButton;
|
|
502 |
id = EWmlCmdHistoryForward;
|
|
503 |
|
|
504 |
control = AVKON_BUTTON
|
|
505 |
{
|
|
506 |
flags = 0;
|
|
507 |
states =
|
|
508 |
{
|
|
509 |
AVKON_BUTTON_STATE
|
|
510 |
{
|
|
511 |
txt = ""; //Icon should always be visible instead of this
|
|
512 |
helptxt = qtn_browser_tb_history_forward_tt;
|
|
513 |
bmpfile = "\\Resource\\apps\\browser.mif";
|
|
514 |
bmpid = EMbmBrowserQgn_indi_browser_tb_history_fw;
|
|
515 |
bmpmask = EMbmBrowserQgn_indi_browser_tb_history_fw_mask;
|
|
516 |
extension = r_browser_ext_qgn_indi_browser_tb_history_fw;
|
|
517 |
}
|
|
518 |
};
|
|
519 |
};
|
|
520 |
},
|
|
521 |
|
|
522 |
#ifdef BRDO_SINGLE_CLICK_ENABLED_FF
|
|
523 |
|
|
524 |
TBAR_CTRL
|
|
525 |
{
|
|
526 |
type = EAknCtButton;
|
|
527 |
id = EWmlCmdFavourites;
|
|
528 |
|
|
529 |
control = AVKON_BUTTON
|
|
530 |
{
|
|
531 |
flags = 0;
|
|
532 |
states =
|
|
533 |
{
|
|
534 |
AVKON_BUTTON_STATE
|
|
535 |
{
|
|
536 |
txt = "";
|
|
537 |
helptxt = qtn_browser_ext_tb_bm_tt;
|
|
538 |
bmpfile = "\\Resource\\apps\\browser.mif";
|
|
539 |
bmpid = EMbmBrowserQgn_indi_browser_tb_bm;
|
|
540 |
bmpmask = EMbmBrowserQgn_indi_browser_tb_bm_mask;
|
|
541 |
extension = r_browser_ext_qgn_indi_browser_tb_bm;
|
|
542 |
}
|
|
543 |
};
|
|
544 |
};
|
|
545 |
}
|
|
546 |
#else
|
|
547 |
TBAR_CTRL
|
|
548 |
{
|
|
549 |
type = EAknCtButton;
|
|
550 |
id = EWmlCmdZoomSliderShow;
|
|
551 |
|
|
552 |
control = AVKON_BUTTON
|
|
553 |
{
|
|
554 |
flags = 0;
|
|
555 |
states =
|
|
556 |
{
|
|
557 |
AVKON_BUTTON_STATE
|
|
558 |
{
|
|
559 |
txt = ""; //Icon should always be visible instead of this
|
|
560 |
helptxt = qtn_browser_tb_zoomshow_tt;
|
|
561 |
bmpfile = "\\Resource\\apps\\browser.mif";
|
|
562 |
bmpid = EMbmBrowserQgn_indi_browser_tb_zoom_in;
|
|
563 |
bmpmask = EMbmBrowserQgn_indi_browser_tb_zoom_in_mask;
|
|
564 |
extension = r_browser_ext_qgn_indi_browser_tb_zoomin;
|
|
565 |
}
|
|
566 |
};
|
|
567 |
};
|
|
568 |
}
|
|
569 |
#endif
|
|
570 |
};
|
|
571 |
}
|
|
572 |
|
|
573 |
#else
|
|
574 |
|
|
575 |
// Common toolbar resource
|
|
576 |
RESOURCE AVKON_TOOLBAR r_content_view_toolbar
|
|
577 |
{
|
|
578 |
}
|
|
579 |
|
|
580 |
#endif
|