24
|
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 |
#include "camportraitnaviconstants.rh"
|
|
19 |
|
|
20 |
// ---------------------------------------------------
|
|
21 |
//
|
|
22 |
// r_cam_img_precap_imgcounter_portrait
|
|
23 |
// Layout for remaining images in navi pane.
|
|
24 |
//
|
|
25 |
// ---------------------------------------------------
|
|
26 |
//
|
|
27 |
RESOURCE AVKON_LAYOUT_TEXT r_cam_img_precap_imgcounter_portrait
|
|
28 |
{
|
|
29 |
//font = EAknLogicalFontSecondaryFont; C=0; l=0; r=KNaviPaneFontRightBorderPT; B=KNaviPaneFontBasePT; W=1; J=ELayoutAlignRight;
|
|
30 |
//font = EAknLogicalFontSecondaryFont; C=0; l=90; B=KNaviPaneFontBasePT; W=1; J=ELayoutAlignLeft;
|
|
31 |
font = ELatinPlain12;
|
|
32 |
C = 0;
|
|
33 |
r = KRemainingTimeRight;
|
|
34 |
B = KNaviPaneHeight - KNaviBottomClearance;
|
|
35 |
W = KRemainingTimePreCaptureWidth;
|
|
36 |
J = ELayoutAlignRight;
|
|
37 |
// font = EAknLogicalFontSecondaryFont; C=0; l=0; r=15; B=KNaviPaneFontBasePT - 3; W=1; J=ELayoutAlignRight;
|
|
38 |
}
|
|
39 |
|
|
40 |
// ---------------------------------------------------
|
|
41 |
//
|
|
42 |
// r_cam_img_precap_imgcounter_ah_portrait
|
|
43 |
// Arabic/Hebrew layout for remaining images in navi pane.
|
|
44 |
//
|
|
45 |
// ---------------------------------------------------
|
|
46 |
//
|
|
47 |
RESOURCE AVKON_LAYOUT_TEXT r_cam_img_precap_imgcounter_ah_portrait
|
|
48 |
{
|
|
49 |
font = EAknLogicalFontSecondaryFont; C=0; l=0; r=KNaviPaneFontRightBorderPT; B=KNaviPaneFontBasePT - 3; J=ELayoutAlignRight;
|
|
50 |
//font = EAknLogicalFontSecondaryFont; C=0; l=165; r=0; B=KNaviPaneFontBasePT - 3; J=ELayoutAlignLeft;
|
|
51 |
}
|
|
52 |
|
|
53 |
//----------------------------------------------------
|
|
54 |
//
|
|
55 |
// r_cam_post_capture_image_size_layout_portrait
|
|
56 |
// Layout for image size in post-capture navi-counter
|
|
57 |
//
|
|
58 |
//----------------------------------------------------
|
|
59 |
//
|
|
60 |
RESOURCE AVKON_LAYOUT_TEXT r_cam_post_capture_image_size_layout_portrait
|
|
61 |
{
|
|
62 |
font = EAknLogicalFontSecondaryFont; C=0; l=0; r= 14; B=KNaviPaneFontBasePT; W=45; J=ELayoutAlignRight;
|
|
63 |
}
|
|
64 |
|
|
65 |
//----------------------------------------------------
|
|
66 |
//
|
|
67 |
// r_cam_post_capture_image_size_layout_ah_portrait
|
|
68 |
// Layout for image size in post-capture navi-counter
|
|
69 |
//
|
|
70 |
//----------------------------------------------------
|
|
71 |
//
|
|
72 |
RESOURCE AVKON_LAYOUT_TEXT r_cam_post_capture_image_size_layout_ah_portrait
|
|
73 |
{
|
|
74 |
font = EAknLogicalFontSecondaryFont; C=0; l=10; B=KNaviPaneFontBasePT; J=ELayoutAlignLeft;
|
|
75 |
}
|
|
76 |
|
|
77 |
//-----------------------------------------------------------------------------
|
|
78 |
//
|
|
79 |
// r_cam_snapshot_rect_still_portrait
|
|
80 |
// The size and position of the snapshot in still post capture
|
|
81 |
//
|
|
82 |
//-----------------------------------------------------------------------------
|
|
83 |
//
|
|
84 |
RESOURCE AVKON_LAYOUT_RECT r_cam_snapshot_rect_still_portrait
|
|
85 |
{ l = 1; t = 0; W = 238; H = 180; }
|
|
86 |
|
|
87 |
//-----------------------------------------------------------------------------
|
|
88 |
//
|
|
89 |
// r_cam_snapshot_rect_cif_portrait
|
|
90 |
// The size and position of the snapshot in video post capture view
|
|
91 |
// for Large (CIF) resolutions
|
|
92 |
//
|
|
93 |
//-----------------------------------------------------------------------------
|
|
94 |
//
|
|
95 |
RESOURCE AVKON_LAYOUT_RECT r_cam_snapshot_rect_cif_portrait
|
|
96 |
{ l = 1; t = 0; W = 238; H = 180; }
|
|
97 |
|
|
98 |
//-----------------------------------------------------------------------------
|
|
99 |
//
|
|
100 |
// r_cam_snapshot_rect_near_cif_portrait
|
|
101 |
// The size and position of the snapshot in video post capture view
|
|
102 |
// for Large (CIF) resolutions in secondary camera
|
|
103 |
//
|
|
104 |
//-----------------------------------------------------------------------------
|
|
105 |
//
|
|
106 |
RESOURCE AVKON_LAYOUT_RECT r_cam_snapshot_rect_near_cif_portrait
|
|
107 |
{ l = 32; t = 32; W = 176; H = 144; }
|
|
108 |
|
|
109 |
//-----------------------------------------------------------------------------
|
|
110 |
//
|
|
111 |
// r_cam_snapshot_rect_sqcif
|
|
112 |
// The size and position of the snapshot in video post capture view
|
|
113 |
// for Small resolution
|
|
114 |
//
|
|
115 |
//-----------------------------------------------------------------------------
|
|
116 |
//
|
|
117 |
RESOURCE AVKON_LAYOUT_RECT r_cam_snapshot_rect_sqcif_portrait
|
|
118 |
// { l = 80; t = 48; W = 256; H = 192; }
|
|
119 |
{ l = 56 ; t = 46; W = 128; H = 96; }
|
|
120 |
|
|
121 |
//-----------------------------------------------------------------------------
|
|
122 |
//
|
|
123 |
// r_cam_still_displayed_rect_secondary
|
|
124 |
// The size and position of the viewfinder frame or snapshot in still capture
|
|
125 |
// (secondary camera)
|
|
126 |
//
|
|
127 |
//-----------------------------------------------------------------------------
|
|
128 |
//
|
|
129 |
RESOURCE AVKON_LAYOUT_RECT r_cam_still_displayed_rect_secondary_portrait
|
|
130 |
{ l = 1; t = 0; W = 238; H = 180; }
|
|
131 |
|
|
132 |
//-----------------------------------------------------------------------------
|
|
133 |
//
|
|
134 |
// r_cam_still_requested_rect_secondary
|
|
135 |
// The size of the viewfinder and snapshot image requested from the engine in
|
|
136 |
// still capture (secondary camera). This is different from the displayed size
|
|
137 |
//
|
|
138 |
//-----------------------------------------------------------------------------
|
|
139 |
//
|
|
140 |
RESOURCE AVKON_LAYOUT_RECT r_cam_still_requested_rect_secondary_portrait
|
|
141 |
{ l = 0; t = 0; W = 238; H = 180; }
|
|
142 |
|
|
143 |
|
|
144 |
//----------------------------------------------------
|
|
145 |
//
|
|
146 |
// r_cam_post_capture_image_name_layout
|
|
147 |
// Layout for image name in post-capture navi-counter
|
|
148 |
//
|
|
149 |
//----------------------------------------------------
|
|
150 |
//
|
|
151 |
RESOURCE AVKON_LAYOUT_TEXT r_cam_post_capture_image_name_layout_portrait
|
|
152 |
{
|
|
153 |
font = EAknLogicalFontSecondaryFont; C=0; l=0; r=56; B=KNaviPaneFontBasePT; W=36; J=ELayoutAlignLeft;
|
|
154 |
}
|
|
155 |
|
|
156 |
|
|
157 |
//----------------------------------------------------
|
|
158 |
//
|
|
159 |
// r_cam_post_capture_image_name_layout_ah_portrait
|
|
160 |
// Arabic/Hebrew layout for video name in post-capture
|
|
161 |
// navi-counter
|
|
162 |
//
|
|
163 |
//----------------------------------------------------
|
|
164 |
//
|
|
165 |
RESOURCE AVKON_LAYOUT_TEXT r_cam_post_capture_image_name_layout_ah_portrait
|
|
166 |
{
|
|
167 |
font = EAknLogicalFontSecondaryFont; C=0; l=0; r=KNaviPaneFontRightBorderPT; B=KNaviPaneFontBasePT; J=ELayoutAlignRight;
|
|
168 |
}
|
|
169 |
|
|
170 |
//----------------------------------------------------
|
|
171 |
//
|
|
172 |
// r_cam_softkeys_options_exit__capture
|
|
173 |
// Softkeys definition which uses ECamMSKCmdAppCapture
|
|
174 |
// to handle the MSK event, without MSK label.
|
|
175 |
//
|
|
176 |
//----------------------------------------------------
|
|
177 |
RESOURCE CBA r_cam_softkeys_options_exit__capture
|
|
178 |
{
|
|
179 |
flags = EEikButtonGroupAddToStack | EEikCbaFlagTransparent;
|
|
180 |
buttons =
|
|
181 |
{
|
|
182 |
CBA_BUTTON { id = EAknSoftkeyOptions; txt = text_softkey_option; },
|
|
183 |
CBA_BUTTON { id = ECamCmdInternalExit; txt = text_softkey_exit; },
|
|
184 |
CBA_BUTTON { id = ECamMSKCmdAppCapture; txt = ""; }
|
|
185 |
};
|
|
186 |
}
|
|
187 |
|
|
188 |
//----------------------------------------------------
|
|
189 |
//
|
|
190 |
// r_cam_softkeys_options_exit__capture_secondary
|
|
191 |
// Softkeys definition which uses ECamMSKCmdAppCapture
|
|
192 |
// to handle the MSK event, without MSK label.
|
|
193 |
//
|
|
194 |
//----------------------------------------------------
|
|
195 |
RESOURCE CBA r_cam_softkeys_options_exit__capture_secondary
|
|
196 |
{
|
|
197 |
buttons =
|
|
198 |
{
|
|
199 |
CBA_BUTTON { id = EAknSoftkeyOptions; txt = text_softkey_option; },
|
|
200 |
CBA_BUTTON { id = ECamCmdInternalExit; txt = text_softkey_exit; },
|
|
201 |
CBA_BUTTON { id = ECamMSKCmdAppCapture; txt = ""; }
|
|
202 |
};
|
|
203 |
}
|
|
204 |
|
|
205 |
//----------------------------------------------------
|
|
206 |
//
|
|
207 |
// r_cam_softkeys_options_exit__capture_txt
|
|
208 |
// Softkeys definition which uses ECamMSKCmdAppCapture
|
|
209 |
// to handle the MSK event, with MSK label.
|
|
210 |
//
|
|
211 |
//----------------------------------------------------
|
|
212 |
RESOURCE CBA r_cam_softkeys_options_exit__capture_txt
|
|
213 |
{
|
|
214 |
buttons =
|
|
215 |
{
|
|
216 |
CBA_BUTTON { id = EAknSoftkeyOptions; txt = text_softkey_option; },
|
|
217 |
CBA_BUTTON { id = ECamCmdInternalExit; txt = text_softkey_exit; },
|
|
218 |
CBA_BUTTON { id = ECamMSKCmdAppCapture; txt = qtn_lcam_msk_capture; }
|
|
219 |
};
|
|
220 |
}
|
|
221 |
|
|
222 |
//----------------------------------------------------
|
|
223 |
//
|
|
224 |
// r_cam_softkeys_options_exit
|
|
225 |
//
|
|
226 |
//----------------------------------------------------
|
|
227 |
//RESOURCE CBA r_cam_softkeys_options_exit
|
|
228 |
// {
|
|
229 |
// buttons =
|
|
230 |
// {
|
|
231 |
// CBA_BUTTON { id = EAknSoftkeyOptions; txt = text_softkey_option; },
|
|
232 |
// CBA_BUTTON { id = ECamCmdInternalExit; txt = text_softkey_exit; }
|
|
233 |
// };
|
|
234 |
// }
|
|
235 |
|
|
236 |
//----------------------------------------------------
|
|
237 |
//
|
|
238 |
// r_cam_still_pre_capture_view_portrait
|
|
239 |
// Still pre-capture view
|
|
240 |
//
|
|
241 |
//----------------------------------------------------
|
|
242 |
//
|
|
243 |
RESOURCE AVKON_VIEW r_cam_still_pre_capture_view_portrait
|
|
244 |
{
|
|
245 |
menubar = r_cam_still_pre_capture_menubar_portrait;
|
|
246 |
cba = r_cam_softkeys_options_exit__capture;
|
|
247 |
toolbar = r_cam_still_precapture_toolbar_portrait;
|
|
248 |
}
|
|
249 |
|
|
250 |
|
|
251 |
// ---------------------------------------------------------
|
|
252 |
//
|
|
253 |
// r_cam_still_pre_capture_menubar_portrait
|
|
254 |
// Menubar for still image pre-capture view
|
|
255 |
//
|
|
256 |
// ---------------------------------------------------------
|
|
257 |
//
|
|
258 |
RESOURCE MENU_BAR r_cam_still_pre_capture_menubar_portrait
|
|
259 |
{
|
|
260 |
titles =
|
|
261 |
{
|
|
262 |
MENU_TITLE
|
|
263 |
{
|
|
264 |
menu_pane = r_cam_still_pre_capture_menu_portrait;
|
|
265 |
}
|
|
266 |
};
|
|
267 |
}
|
|
268 |
|
|
269 |
// ---------------------------------------------------------
|
|
270 |
//
|
|
271 |
// r_cam_still_pre_capture_menu_portrait
|
|
272 |
// Options menu for still image pre capture view
|
|
273 |
//
|
|
274 |
// ---------------------------------------------------------
|
|
275 |
//
|
|
276 |
RESOURCE MENU_PANE r_cam_still_pre_capture_menu_portrait
|
|
277 |
{
|
|
278 |
items =
|
|
279 |
{
|
|
280 |
MENU_ITEM
|
|
281 |
{
|
|
282 |
command = ECamCmdSwitchCamera;
|
|
283 |
txt = qtn_lcam_options_cam2;
|
|
284 |
},
|
|
285 |
MENU_ITEM
|
|
286 |
{
|
|
287 |
command = ECamCmdSettings;
|
|
288 |
txt = qtn_lcam_cmd_settings;
|
|
289 |
},
|
|
290 |
MENU_ITEM
|
|
291 |
{
|
|
292 |
command = ECamCmdNewVideo;
|
|
293 |
txt = qtn_lcam_options_video_mode;
|
|
294 |
},
|
|
295 |
MENU_ITEM
|
|
296 |
{
|
|
297 |
command = ECamCmdPhotos;
|
|
298 |
txt = qtn_lcam_options_go_to_photos;
|
|
299 |
},
|
|
300 |
MENU_ITEM
|
|
301 |
{
|
|
302 |
command = EAknCmdHelp;
|
|
303 |
txt = qtn_options_help;
|
|
304 |
},
|
|
305 |
MENU_ITEM
|
|
306 |
{
|
|
307 |
command = ECamCmdInternalExit;
|
|
308 |
txt = qtn_options_exit;
|
|
309 |
}
|
|
310 |
};
|
|
311 |
}
|
|
312 |
|
|
313 |
//----------------------------------------------------
|
|
314 |
//
|
|
315 |
// r_cam_still_post_capture_view_portrait
|
|
316 |
// Still post-capture view
|
|
317 |
//
|
|
318 |
//----------------------------------------------------
|
|
319 |
//
|
|
320 |
RESOURCE AVKON_VIEW r_cam_still_post_capture_view_portrait
|
|
321 |
{
|
|
322 |
menubar = r_cam_still_post_capture_menubar_portrait;
|
|
323 |
cba = r_cam_softkeys_back_secondary;
|
|
324 |
}
|
|
325 |
|
|
326 |
// ---------------------------------------------------------
|
|
327 |
//
|
|
328 |
// r_cam_still_post_capture_menubar_portrait
|
|
329 |
// Menubar for still image post capture view
|
|
330 |
//
|
|
331 |
// ---------------------------------------------------------
|
|
332 |
//
|
|
333 |
RESOURCE MENU_BAR r_cam_still_post_capture_menubar_portrait
|
|
334 |
{
|
|
335 |
titles =
|
|
336 |
{
|
|
337 |
MENU_TITLE
|
|
338 |
{
|
|
339 |
menu_pane = r_cam_still_post_capture_menu_portrait;
|
|
340 |
}
|
|
341 |
};
|
|
342 |
}
|
|
343 |
|
|
344 |
// ---------------------------------------------------------
|
|
345 |
//
|
|
346 |
// r_cam_still_post_capture_menu_portrait
|
|
347 |
// Options menu for still image post capture view
|
|
348 |
//
|
|
349 |
// ---------------------------------------------------------
|
|
350 |
//
|
|
351 |
RESOURCE MENU_PANE r_cam_still_post_capture_menu_portrait
|
|
352 |
{
|
|
353 |
items =
|
|
354 |
{
|
|
355 |
MENU_ITEM
|
|
356 |
{
|
|
357 |
command = ECamCmdSend;
|
|
358 |
txt = qtn_options_send_via;
|
|
359 |
},
|
|
360 |
MENU_ITEM
|
|
361 |
{
|
|
362 |
command = ECamCmdSendToCallerMultimedia;
|
|
363 |
txt = qtn_lcam_options_send_to_call;
|
|
364 |
},
|
|
365 |
MENU_ITEM
|
|
366 |
{
|
|
367 |
command = KAiwCmdAssign;
|
|
368 |
txt = qtn_lcam_use_image_postcapture_menu;
|
|
369 |
cascade = AIW_INTELLIGENT_CASCADE_ID;
|
|
370 |
},
|
|
371 |
MENU_ITEM
|
|
372 |
{
|
|
373 |
command = ECamCmdShareOnOvi;
|
|
374 |
// AIW provider fills the menu item title.
|
|
375 |
// No submenu, only 1 provider acccepted.
|
|
376 |
txt = "";
|
|
377 |
},
|
|
378 |
MENU_ITEM // SHARE_AIW
|
|
379 |
{
|
|
380 |
command = ECamCmdShareSettings;
|
|
381 |
// AIW provider fills the menu item title.
|
|
382 |
// No submenu, only 1 provider acccepted.
|
|
383 |
txt = "";
|
|
384 |
},
|
|
385 |
MENU_ITEM
|
|
386 |
{
|
|
387 |
command = ECamCmdRenameImage;
|
|
388 |
txt = qtn_lcam_cmd_rename_image;
|
|
389 |
},
|
|
390 |
MENU_ITEM
|
|
391 |
{
|
|
392 |
command = ECamCmdPhotos;
|
|
393 |
txt = qtn_lcam_options_go_to_photos;
|
|
394 |
},
|
|
395 |
MENU_ITEM
|
|
396 |
{
|
|
397 |
command = EAknCmdHelp;
|
|
398 |
txt = qtn_options_help;
|
|
399 |
},
|
|
400 |
MENU_ITEM
|
|
401 |
{
|
|
402 |
command = ECamCmdInternalExit;
|
|
403 |
txt = qtn_options_exit;
|
|
404 |
}
|
|
405 |
};
|
|
406 |
}
|
|
407 |
|