1 /* |
|
2 * Copyright (c) 2007 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 the Camera Application* |
|
15 */ |
|
16 |
|
17 |
|
18 |
|
19 |
|
20 // --------------------------------------------------- |
|
21 // |
|
22 // r_cam_img_precap_imgcounter_viewmode |
|
23 // Layout for remaining images in navi pane. |
|
24 // |
|
25 // --------------------------------------------------- |
|
26 // |
|
27 RESOURCE AVKON_LAYOUT_TEXT r_cam_img_precap_imgcounter_viewmode |
|
28 { |
|
29 font = EAknLogicalFontSecondaryFont; C=0; l=0; r=25; B=KNaviPaneFontBaseVM; W=1; J=ELayoutAlignRight; |
|
30 } |
|
31 |
|
32 // --------------------------------------------------- |
|
33 // |
|
34 // r_cam_img_precap_imgcounter_ah_viewmode |
|
35 // Arabic/Hebrew layout for remaining images in navi pane. |
|
36 // |
|
37 // --------------------------------------------------- |
|
38 // |
|
39 RESOURCE AVKON_LAYOUT_TEXT r_cam_img_precap_imgcounter_ah_viewmode |
|
40 { |
|
41 font = EAknLogicalFontSecondaryFont; C=0; l=0; r=10; B=KNaviPaneFontBaseVM; W=1; J=ELayoutAlignRight; |
|
42 } |
|
43 |
|
44 //---------------------------------------------------- |
|
45 // |
|
46 // r_cam_post_capture_image_size_layout_viewmode |
|
47 // Layout for image size in post-capture navi-counter |
|
48 // |
|
49 //---------------------------------------------------- |
|
50 // |
|
51 RESOURCE AVKON_LAYOUT_TEXT r_cam_post_capture_image_size_layout_viewmode |
|
52 { |
|
53 font = EAknLogicalFontSecondaryFont; C=0; l=0; r=25; B=KNaviPaneFontBaseVM; W=1; J=ELayoutAlignRight; |
|
54 } |
|
55 |
|
56 //---------------------------------------------------- |
|
57 // |
|
58 // r_cam_post_capture_image_size_layout_ah_viewmode |
|
59 // Layout for image size in post-capture navi-counter |
|
60 // |
|
61 //---------------------------------------------------- |
|
62 // |
|
63 RESOURCE AVKON_LAYOUT_TEXT r_cam_post_capture_image_size_layout_ah_viewmode |
|
64 { |
|
65 font = EAknLogicalFontSecondaryFont; C=0; r=15; B=KNaviPaneFontBaseVM; J=ELayoutAlignRight; |
|
66 } |
|
67 |
|
68 //----------------------------------------------------------------------------- |
|
69 // |
|
70 // r_cam_snapshot_rect_still_viewmode |
|
71 // The size and position of the snapshot in still post capture |
|
72 // |
|
73 //----------------------------------------------------------------------------- |
|
74 // |
|
75 RESOURCE AVKON_LAYOUT_RECT r_cam_snapshot_rect_still_viewmode |
|
76 { l = 40; t = 6; W = 240; H = 180; } |
|
77 |
|
78 //----------------------------------------------------------------------------- |
|
79 // |
|
80 // r_cam_snapshot_rect_cif_viewmode |
|
81 // The size and position of the snapshot in video post capture view |
|
82 // for Large (CIF) resolutions |
|
83 // |
|
84 //----------------------------------------------------------------------------- |
|
85 // |
|
86 RESOURCE AVKON_LAYOUT_RECT r_cam_snapshot_rect_cif_viewmode |
|
87 { l = 40; t = 6; W = 240; H = 180; } |
|
88 |
|
89 //----------------------------------------------------------------------------- |
|
90 // |
|
91 // r_cam_snapshot_rect_near_cif_viewmode |
|
92 // The size and position of the snapshot in video post capture view |
|
93 // for Large (CIF) resolutions in secondary camera |
|
94 // |
|
95 //----------------------------------------------------------------------------- |
|
96 // |
|
97 RESOURCE AVKON_LAYOUT_RECT r_cam_snapshot_rect_near_cif_viewmode |
|
98 { l = 72; t = 24; W = 176; H = 144; } |
|
99 |
|
100 //----------------------------------------------------------------------------- |
|
101 // |
|
102 // r_cam_snapshot_rect_sqcif_viewmode |
|
103 // The size and position of the snapshot in video post capture view |
|
104 // for Small resolution |
|
105 // |
|
106 //----------------------------------------------------------------------------- |
|
107 // |
|
108 RESOURCE AVKON_LAYOUT_RECT r_cam_snapshot_rect_sqcif_viewmode |
|
109 // { l = 80; t = 48; W = 256; H = 192; } |
|
110 { l = 96; t = 48; W = 128; H = 96; } |
|
111 |
|
112 //----------------------------------------------------------------------------- |
|
113 // |
|
114 // r_cam_still_displayed_rect_secondary_viewmode |
|
115 // The size and position of the viewfinder frame or snapshot in still capture |
|
116 // (secondary camera) |
|
117 // |
|
118 //----------------------------------------------------------------------------- |
|
119 // |
|
120 RESOURCE AVKON_LAYOUT_RECT r_cam_still_displayed_rect_secondary_viewmode |
|
121 { l = 40; t = 6; W = 240; H = 180; } |
|
122 |
|
123 //----------------------------------------------------------------------------- |
|
124 // |
|
125 // r_cam_still_requested_rect_secondary_viewmode |
|
126 // The size of the viewfinder and snapshot image requested from the engine in |
|
127 // still capture (secondary camera). This is different from the displayed size |
|
128 // |
|
129 //----------------------------------------------------------------------------- |
|
130 // |
|
131 RESOURCE AVKON_LAYOUT_RECT r_cam_still_requested_rect_secondary_viewmode |
|
132 { l = 0; t = 0; W = 352; H = 288; } |
|
133 |
|
134 |
|
135 //---------------------------------------------------- |
|
136 // |
|
137 // r_cam_post_capture_image_name_layout_viewmode |
|
138 // Layout for image name in post-capture navi-counter |
|
139 // |
|
140 //---------------------------------------------------- |
|
141 // |
|
142 RESOURCE AVKON_LAYOUT_TEXT r_cam_post_capture_image_name_layout_viewmode |
|
143 { |
|
144 font = EAknLogicalFontSecondaryFont; C=0; l=0; W=0; B=-100; J=ELayoutAlignLeft; |
|
145 } |
|
146 |
|
147 //---------------------------------------------------- |
|
148 // |
|
149 // r_cam_post_capture_image_name_layout_ah_viewmode |
|
150 // Arabic/Hebrew layout for video name in post-capture |
|
151 // navi-counter |
|
152 // |
|
153 //---------------------------------------------------- |
|
154 // |
|
155 RESOURCE AVKON_LAYOUT_TEXT r_cam_post_capture_image_name_layout_ah_viewmode |
|
156 { |
|
157 font = ELatinPlain12; C=0; l=4; r=45; B=-100; W=59; J=ELayoutAlignLeft; |
|
158 } |
|
159 |
|
160 //---------------------------------------------------- |
|
161 // |
|
162 // r_cam_still_post_capture_view_viewmode |
|
163 // Still post-capture view |
|
164 // |
|
165 //---------------------------------------------------- |
|
166 // |
|
167 RESOURCE AVKON_VIEW r_cam_still_post_capture_view_viewmode |
|
168 { |
|
169 menubar = r_cam_still_post_capture_menubar_viewmode; |
|
170 cba = r_cam_softkeys_back; |
|
171 } |
|
172 |
|
173 // --------------------------------------------------------- |
|
174 // |
|
175 // r_cam_still_post_capture_menubar_viewmode |
|
176 // Menubar for still image post capture view |
|
177 // |
|
178 // --------------------------------------------------------- |
|
179 // |
|
180 RESOURCE MENU_BAR r_cam_still_post_capture_menubar_viewmode |
|
181 { |
|
182 titles = |
|
183 { |
|
184 MENU_TITLE |
|
185 { |
|
186 menu_pane = r_cam_still_post_capture_menu_viewmode; |
|
187 } |
|
188 }; |
|
189 } |
|
190 |
|
191 // --------------------------------------------------------- |
|
192 // |
|
193 // r_cam_still_post_capture_menu_viewmode |
|
194 // Options menu for still image post capture view |
|
195 // |
|
196 // --------------------------------------------------------- |
|
197 // |
|
198 RESOURCE MENU_PANE r_cam_still_post_capture_menu_viewmode |
|
199 { |
|
200 items = |
|
201 { |
|
202 MENU_ITEM |
|
203 { |
|
204 command = ECamCmdNewPhoto; |
|
205 txt = qtn_lcam_options_new_photo; |
|
206 }, |
|
207 MENU_ITEM |
|
208 { |
|
209 command = ECamCmdDelete; |
|
210 txt = qtn_lcam_options_delete; |
|
211 }, |
|
212 MENU_ITEM |
|
213 { |
|
214 command = ECamCmdPrint; |
|
215 txt = ""; |
|
216 cascade = AIW_INTELLIGENT_CASCADE_ID; |
|
217 }, |
|
218 MENU_ITEM |
|
219 { |
|
220 command = ECamCmdSend; |
|
221 txt = qtn_options_send_via; |
|
222 }, |
|
223 MENU_ITEM |
|
224 { |
|
225 command = ECamCmdSendToCallerMultimedia; |
|
226 txt = qtn_lcam_options_send_to_call; |
|
227 }, |
|
228 MENU_ITEM |
|
229 { |
|
230 command = KAiwCmdAssign; |
|
231 txt = qtn_lcam_use_image_postcapture_menu; |
|
232 cascade = AIW_INTELLIGENT_CASCADE_ID; |
|
233 }, |
|
234 MENU_ITEM |
|
235 { |
|
236 command = ECamCmdShareOnOvi; |
|
237 // AIW provider fills the menu item title. |
|
238 // No submenu, only 1 provider acccepted. |
|
239 txt = ""; |
|
240 }, |
|
241 MENU_ITEM // SHARE_AIW |
|
242 { |
|
243 command = ECamCmdShareSettings; |
|
244 // AIW provider fills the menu item title. |
|
245 // No submenu, only 1 provider acccepted. |
|
246 txt = ""; |
|
247 }, |
|
248 MENU_ITEM |
|
249 { |
|
250 command = EAknCmdHelp; |
|
251 txt = qtn_options_help; |
|
252 }, |
|
253 MENU_ITEM |
|
254 { |
|
255 command = ECamCmdInternalExit; |
|
256 txt = qtn_options_exit; |
|
257 } |
|
258 }; |
|
259 } |
|
260 |
|
261 //---------------------------------------------------- |
|
262 // |
|
263 // r_cam_still_pre_capture_view_viewmode |
|
264 // Still pre-capture view |
|
265 // |
|
266 //---------------------------------------------------- |
|
267 // |
|
268 RESOURCE AVKON_VIEW r_cam_still_pre_capture_view_viewmode |
|
269 { |
|
270 menubar = r_cam_still_pre_capture_menubar_viewmode; |
|
271 cba = r_cam_softkeys_options_exit; |
|
272 } |
|
273 |
|
274 // --------------------------------------------------------- |
|
275 // |
|
276 // r_cam_still_pre_capture_menubar_viewmode |
|
277 // Menubar for still image pre-capture view |
|
278 // |
|
279 // --------------------------------------------------------- |
|
280 // |
|
281 RESOURCE MENU_BAR r_cam_still_pre_capture_menubar_viewmode |
|
282 { |
|
283 titles = |
|
284 { |
|
285 MENU_TITLE |
|
286 { |
|
287 menu_pane = r_cam_still_pre_capture_menu_viewmode; |
|
288 } |
|
289 }; |
|
290 } |
|
291 |
|
292 // --------------------------------------------------------- |
|
293 // |
|
294 // r_cam_still_pre_capture_menu_viewmode |
|
295 // Options menu for still image pre capture view |
|
296 // |
|
297 // --------------------------------------------------------- |
|
298 // |
|
299 RESOURCE MENU_PANE r_cam_still_pre_capture_menu_viewmode |
|
300 { |
|
301 items = |
|
302 { |
|
303 MENU_ITEM |
|
304 { |
|
305 command = ECamCmdNewVideo; |
|
306 txt = qtn_lcam_options_video_mode; |
|
307 }, |
|
308 MENU_ITEM |
|
309 { |
|
310 command = ECamCmdSettings; |
|
311 txt = qtn_lcam_cmd_settings; |
|
312 }, |
|
313 MENU_ITEM |
|
314 { |
|
315 command = EAknCmdHelp; |
|
316 txt = qtn_options_help; |
|
317 }, |
|
318 MENU_ITEM |
|
319 { |
|
320 command = ECamCmdInternalExit; |
|
321 txt = qtn_options_exit; |
|
322 } |
|
323 }; |
|
324 } |
|
325 |
|