|
1 /* |
|
2 * Copyright (c) 2008-2009 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 "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: Resource definitions for Tags Browser View |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 // RESOURCE IDENTIFIER |
|
22 NAME GLTB // 4 letter ID |
|
23 |
|
24 |
|
25 // INCLUDES |
|
26 #include <eikon.rh> |
|
27 #include <avkon.rh> |
|
28 #include <avkon.rsg> |
|
29 #include <avkon.loc> |
|
30 #include <appinfo.rh> |
|
31 #include <photos.loc> //for localization |
|
32 #include <glxcommandhandlers.hrh> // For Command Ids |
|
33 #include <glxicons.mbg> |
|
34 |
|
35 // RESOURCE DEFINITIONS |
|
36 // ----------------------------------------------------------------------------- |
|
37 // |
|
38 // Define the resource file signature |
|
39 // This resource should be empty. |
|
40 // |
|
41 // ----------------------------------------------------------------------------- |
|
42 // |
|
43 RESOURCE RSS_SIGNATURE |
|
44 { |
|
45 } |
|
46 |
|
47 RESOURCE AVKON_VIEW r_tagsbrowser_view |
|
48 { |
|
49 menubar = r_tagsbrowser_menubar; |
|
50 cba = r_tagsbrowser_softkeys_options_back_select; |
|
51 toolbar = r_tagsbrowser_toolbar; |
|
52 } |
|
53 |
|
54 RESOURCE MENU_BAR r_tagsbrowser_menubar |
|
55 { |
|
56 titles= |
|
57 { |
|
58 MENU_TITLE { menu_pane=r_tagsbrowser_menu; txt=""; } |
|
59 }; |
|
60 } |
|
61 |
|
62 RESOURCE MENU_PANE r_tagsbrowser_menu |
|
63 { |
|
64 items= |
|
65 { |
|
66 MENU_ITEM { command = EGlxCmdSlideshow; |
|
67 txt = qtn_lgal_options_slideshow; |
|
68 cascade = r_tile_shw_menu;}, |
|
69 MENU_ITEM { command=EGlxCmdSortByAlphabetical; |
|
70 txt=qtn_lgal_options_alphabetical; }, |
|
71 MENU_ITEM { command=EGlxCmdSortByCount; |
|
72 txt=qtn_lgal_options_most_used; }, |
|
73 MENU_ITEM { command = EGlxCmdDelete; |
|
74 txt = qtn_lgal_options_delete;}, |
|
75 MENU_ITEM { command = EGlxCmdRename; |
|
76 txt = qtn_lgal_options_rename;}, |
|
77 MENU_ITEM { command=EGlxStopShowing; |
|
78 txt=qtn_lgal_options_stop_show; }, |
|
79 MENU_ITEM { command=EAknCmdHelp; |
|
80 txt=qtn_clipb_litxt_help; }, |
|
81 MENU_ITEM { command=EAknCmdExit; |
|
82 txt=qtn_options_exit; } |
|
83 }; |
|
84 } |
|
85 |
|
86 RESOURCE MENU_PANE r_tile_shw_menu |
|
87 { |
|
88 items= |
|
89 { |
|
90 MENU_ITEM { command=EGlxCmdSlideshowPlay; txt=qtn_lgal_options_slideshow_play; }, |
|
91 MENU_ITEM { command=EGlxCmdSlideshowSettings; txt=qtn_lgal_options_slideshow_settings_general; } |
|
92 }; |
|
93 } |
|
94 RESOURCE CBA r_tagsbrowser_softkeys_options_back_select |
|
95 { |
|
96 flags = 0; |
|
97 buttons = |
|
98 { |
|
99 CBA_BUTTON {id=EAknSoftkeyOptions; txt = text_softkey_option;}, |
|
100 CBA_BUTTON {id=EAknSoftkeyBack; txt = text_softkey_back; }, |
|
101 CBA_BUTTON {id=EAknCmdOpen; txt = qtn_msk_open;} |
|
102 }; |
|
103 } |
|
104 RESOURCE CBA r_tagsbrowser_softkeys_msk_disabled |
|
105 { |
|
106 flags = 0; |
|
107 buttons = |
|
108 { |
|
109 CBA_BUTTON {id=EAknSoftkeyOptions; txt = text_softkey_option;}, |
|
110 CBA_BUTTON {id=EAknSoftkeyBack; txt = text_softkey_back; }, |
|
111 CBA_BUTTON {id=EAknSoftkeyOptions; txt = qtn_msk_open;} |
|
112 }; |
|
113 } |
|
114 |
|
115 RESOURCE TBUF r_tagsbrowser_empty_text |
|
116 { |
|
117 buf = qtn_lgal_empty_tag_browser; |
|
118 } |
|
119 |
|
120 RESOURCE TBUF r_tagsbrowser_subtitle_single |
|
121 { |
|
122 buf = qtn_lgal_list_detail_one_item; |
|
123 } |
|
124 |
|
125 RESOURCE TBUF r_tagsbrowser_subtitle_multiple |
|
126 { |
|
127 buf = qtn_lgal_list_detail_multi_item; |
|
128 } |
|
129 |
|
130 // ----------------------------------------------------------------------------------- |
|
131 // r_tagsbrowser_toolbar |
|
132 // ----------------------------------------------------------------------------------- |
|
133 // |
|
134 RESOURCE AVKON_TOOLBAR r_tagsbrowser_toolbar |
|
135 { |
|
136 flags = KAknToolbarFixed; |
|
137 items = |
|
138 { |
|
139 TBAR_CTRL |
|
140 { |
|
141 type = EAknCtButton; |
|
142 id = EGlxCmdSlideshowPlay; |
|
143 control = AVKON_BUTTON |
|
144 { |
|
145 flags = 0; |
|
146 states = |
|
147 { |
|
148 AVKON_BUTTON_STATE |
|
149 { |
|
150 bmpfile = "z:\\Resource\\apps\\glxicons.mif"; |
|
151 bmpid = EMbmGlxiconsQgn_indi_tb_slideshow; |
|
152 bmpmask = EMbmGlxiconsQgn_indi_tb_slideshow_mask; |
|
153 press_bmpid = EMbmGlxiconsQgn_indi_tb_slideshow; |
|
154 press_bmpmask = EMbmGlxiconsQgn_indi_tb_slideshow_mask; |
|
155 helptxt = qtn_lgal_tooltip_slideshow; |
|
156 } |
|
157 }; |
|
158 }; |
|
159 }, |
|
160 TBAR_CTRL |
|
161 { |
|
162 type = EAknCtButton; |
|
163 id = EGlxCmdDelete; |
|
164 control = AVKON_BUTTON |
|
165 { |
|
166 flags = 0; |
|
167 states = |
|
168 { |
|
169 AVKON_BUTTON_STATE |
|
170 { |
|
171 bmpfile = "z:\\Resource\\apps\\glxicons.mif"; |
|
172 bmpid = EMbmGlxiconsQgn_indi_cam4_tb_delete; |
|
173 bmpmask = EMbmGlxiconsQgn_indi_cam4_tb_delete_mask; |
|
174 press_bmpid = EMbmGlxiconsQgn_indi_cam4_tb_delete; |
|
175 press_bmpmask = EMbmGlxiconsQgn_indi_cam4_tb_delete_mask; |
|
176 helptxt = qtn_lgal_tooltip_delete; |
|
177 } |
|
178 }; |
|
179 }; |
|
180 }, |
|
181 TBAR_CTRL |
|
182 { |
|
183 type = EAknCtButton; |
|
184 id = EGlxCmdRename; |
|
185 control = AVKON_BUTTON |
|
186 { |
|
187 flags = 0; |
|
188 states = |
|
189 { |
|
190 AVKON_BUTTON_STATE |
|
191 { |
|
192 bmpfile = "z:\\Resource\\apps\\glxicons.mif"; |
|
193 bmpid = EMbmGlxiconsQgn_indi_tb_gallery_rename; |
|
194 bmpmask = EMbmGlxiconsQgn_indi_tb_gallery_rename_mask; |
|
195 press_bmpid = EMbmGlxiconsQgn_indi_tb_gallery_rename; |
|
196 press_bmpmask = EMbmGlxiconsQgn_indi_tb_gallery_rename_mask; |
|
197 helptxt = qtn_lgal_tooltip_rename; |
|
198 } |
|
199 }; |
|
200 }; |
|
201 } |
|
202 }; |
|
203 } |