1163 } |
1164 } |
1164 }; |
1165 }; |
1165 }; |
1166 }; |
1166 }, |
1167 }, |
1167 TBAR_CTRL |
1168 TBAR_CTRL |
|
1169 { |
|
1170 type = EAknCtButton; |
|
1171 id = ECamCmdPhotos; |
|
1172 control = AVKON_BUTTON |
|
1173 { |
|
1174 flags = KAknButtonNoFrame; |
|
1175 states = |
|
1176 { |
|
1177 AVKON_BUTTON_STATE |
|
1178 { |
|
1179 bmpfile = CAMERAAPP_BITMAP_FILE; |
|
1180 bmpid = EMbmCameraappQgn_indi_cam4_goto_gallery; |
|
1181 bmpmask = EMbmCameraappQgn_indi_cam4_goto_gallery_mask; |
|
1182 helptxt = qtn_lcam_tt_go_to_photos; |
|
1183 extension = r_cam_ext_qgn_indi_cam4_goto_photos; |
|
1184 } |
|
1185 }; |
|
1186 }; |
|
1187 }, |
|
1188 TBAR_CTRL |
|
1189 { |
|
1190 type = EAknCtButton; |
|
1191 id = ECamCmdSwitchCamera; |
|
1192 control = AVKON_BUTTON |
|
1193 { |
|
1194 flags = KAknButtonNoFrame; |
|
1195 states = |
|
1196 { |
|
1197 AVKON_BUTTON_STATE |
|
1198 { |
|
1199 bmpfile = CAMERAAPP_BITMAP_FILE; |
|
1200 bmpid = EMbmCameraappQgn_indi_tb_cam4_goto_main; |
|
1201 bmpmask = EMbmCameraappQgn_indi_tb_cam4_goto_main_mask; |
|
1202 helptxt = qtn_lcam_tt_camera_main; |
|
1203 extension = r_cam_ext_qgn_indi_cam4_mode_camera; |
|
1204 } |
|
1205 }; |
|
1206 }; |
|
1207 } |
|
1208 }; |
|
1209 } |
|
1210 |
|
1211 //---------------------------------------------------- |
|
1212 // |
|
1213 // r_cam_video_precapture_toolbar_portrait |
|
1214 // Toolbar and toolbar extension for video pre-capture view for secondary |
|
1215 // camera |
|
1216 // |
|
1217 //---------------------------------------------------- |
|
1218 // |
|
1219 RESOURCE AVKON_TOOLBAR r_cam_video_precapture_toolbar_portrait |
|
1220 { |
|
1221 lines = 3; |
|
1222 flags = KAknToolbarFixed | KAknToolbarDsaMode; |
|
1223 items = |
|
1224 { |
|
1225 TBAR_CTRL |
|
1226 { |
|
1227 type = EAknCtButton; |
|
1228 id = ECamCmdRecord; |
|
1229 control = AVKON_BUTTON |
|
1230 { |
|
1231 states = |
|
1232 { |
|
1233 AVKON_BUTTON_STATE |
|
1234 { |
|
1235 bmpfile = CAMERAAPP_BITMAP_FILE; |
|
1236 bmpid = EMbmCameraappQgn_indi_cam4_tb_record; |
|
1237 bmpmask = EMbmCameraappQgn_indi_cam4_tb_record_mask; |
|
1238 helptxt = qtn_lcam_tt_record; |
|
1239 extension = r_cam_ext_qgn_indi_cam4_tb_record; |
|
1240 } |
|
1241 }; |
|
1242 }; |
|
1243 }, |
|
1244 TBAR_CTRL |
|
1245 { |
|
1246 type = EAknCtButton; |
|
1247 id = ECamCmdNewPhoto; |
|
1248 control = AVKON_BUTTON |
|
1249 { |
|
1250 states = |
|
1251 { |
|
1252 AVKON_BUTTON_STATE |
|
1253 { |
|
1254 bmpfile = CAMERAAPP_BITMAP_FILE; |
|
1255 bmpid = EMbmCameraappQgn_indi_cam4_camera; |
|
1256 bmpmask = EMbmCameraappQgn_indi_cam4_camera_mask; |
|
1257 helptxt = qtn_lcam_tt_still_mode; |
|
1258 extension = r_cam_ext_qgn_indi_cam4_camera; |
|
1259 } |
|
1260 }; |
|
1261 }; |
|
1262 }, |
|
1263 TBAR_CTRL |
1168 { |
1264 { |
1169 type = EAknCtButton; |
1265 type = EAknCtButton; |
1170 id = ECamCmdSwitchCamera; |
1266 id = ECamCmdSwitchCamera; |
1171 control = AVKON_BUTTON |
1267 control = AVKON_BUTTON |
1172 { |
1268 { |
1173 flags = KAknButtonNoFrame; |
|
1174 states = |
1269 states = |
1175 { |
1270 { |
1176 AVKON_BUTTON_STATE |
1271 AVKON_BUTTON_STATE |
1177 { |
1272 { |
1178 bmpfile = CAMERAAPP_BITMAP_FILE; |
1273 bmpfile = CAMERAAPP_BITMAP_FILE; |
1184 }; |
1279 }; |
1185 }; |
1280 }; |
1186 } |
1281 } |
1187 }; |
1282 }; |
1188 } |
1283 } |
|
1284 |
1189 |
1285 |
1190 //---------------------------------------------------- |
1286 //---------------------------------------------------- |
1191 // |
1287 // |
1192 // r_cam_video_precapture_toolbar_portrait |
1288 // r_cam_video_precapture_toolbar_landscape |
1193 // Toolbar and toolbar extension for video pre-capture view for secondary |
1289 // Toolbar and toolbar extension for video pre-capture view for secondary |
1194 // camera |
1290 // camera |
1195 // |
1291 // |
1196 //---------------------------------------------------- |
1292 //---------------------------------------------------- |
1197 // |
1293 // |
1198 RESOURCE AVKON_TOOLBAR r_cam_video_precapture_toolbar_portrait |
1294 RESOURCE AVKON_TOOLBAR r_cam_video_precapture_toolbar_landscape |
1199 { |
1295 { |
1200 lines = 3; |
1296 lines = 3; |
1201 flags = KAknToolbarFixed | KAknToolbarDsaMode; |
1297 flags = KAknToolbarFixed | KAknToolbarDsaMode | KAknToolbarNoBackground | KAknToolbarTransparent; |
1202 items = |
1298 items = |
1203 { |
1299 { |
1204 TBAR_CTRL |
1300 /*TBAR_CTRL |
1205 { |
1301 { |
1206 type = EAknCtButton; |
1302 type = EAknCtButton; |
1207 id = ECamCmdRecord; |
1303 id = ECamCmdRecord; |
1208 control = AVKON_BUTTON |
1304 control = AVKON_BUTTON |
1209 { |
1305 { |
|
1306 flags = KAknButtonNoFrame; |
1210 states = |
1307 states = |
1211 { |
1308 { |
1212 AVKON_BUTTON_STATE |
1309 AVKON_BUTTON_STATE |
1213 { |
1310 { |
1214 bmpfile = CAMERAAPP_BITMAP_FILE; |
1311 bmpfile = CAMERAAPP_BITMAP_FILE; |
1237 extension = r_cam_ext_qgn_indi_cam4_camera; |
1336 extension = r_cam_ext_qgn_indi_cam4_camera; |
1238 } |
1337 } |
1239 }; |
1338 }; |
1240 }; |
1339 }; |
1241 }, |
1340 }, |
1242 TBAR_CTRL |
1341 TBAR_CTRL |
|
1342 { |
|
1343 type = EAknCtButton; |
|
1344 id = ECamCmdPhotos; |
|
1345 control = AVKON_BUTTON |
|
1346 { |
|
1347 flags = KAknButtonNoFrame; |
|
1348 states = |
|
1349 { |
|
1350 AVKON_BUTTON_STATE |
|
1351 { |
|
1352 bmpfile = CAMERAAPP_BITMAP_FILE; |
|
1353 bmpid = EMbmCameraappQgn_indi_cam4_goto_gallery; |
|
1354 bmpmask = EMbmCameraappQgn_indi_cam4_goto_gallery_mask; |
|
1355 helptxt = qtn_lcam_tt_go_to_photos; |
|
1356 extension = r_cam_ext_qgn_indi_cam4_goto_photos; |
|
1357 } |
|
1358 }; |
|
1359 }; |
|
1360 }, |
|
1361 TBAR_CTRL |
1243 { |
1362 { |
1244 type = EAknCtButton; |
1363 type = EAknCtButton; |
1245 id = ECamCmdSwitchCamera; |
1364 id = ECamCmdSwitchCamera; |
1246 control = AVKON_BUTTON |
1365 control = AVKON_BUTTON |
1247 { |
1366 { |
|
1367 flags = KAknButtonNoFrame; |
1248 states = |
1368 states = |
1249 { |
1369 { |
1250 AVKON_BUTTON_STATE |
1370 AVKON_BUTTON_STATE |
1251 { |
1371 { |
1252 bmpfile = CAMERAAPP_BITMAP_FILE; |
1372 bmpfile = CAMERAAPP_BITMAP_FILE; |
1255 helptxt = qtn_lcam_tt_camera_main; |
1375 helptxt = qtn_lcam_tt_camera_main; |
1256 extension = r_cam_ext_qgn_indi_cam4_mode_camera; |
1376 extension = r_cam_ext_qgn_indi_cam4_mode_camera; |
1257 } |
1377 } |
1258 }; |
1378 }; |
1259 }; |
1379 }; |
1260 } |
1380 } |
1261 }; |
1381 }; |
1262 } |
1382 } |
1263 |
1383 |
1264 |
1384 |
1265 //---------------------------------------------------- |
1385 //---------------------------------------------------- |
1266 // |
1386 // |
1267 // r_cam_video_precapture_toolbar_landscape |
1387 // r_cam_still_precapture_toolbar |
1268 // Toolbar and toolbar extension for video pre-capture view for secondary |
1388 // Toolbar and toolbar extension for still pre-capture view for primary |
1269 // camera |
1389 // camera |
1270 // |
1390 // |
1271 //---------------------------------------------------- |
1391 //---------------------------------------------------- |
1272 // |
1392 // |
1273 RESOURCE AVKON_TOOLBAR r_cam_video_precapture_toolbar_landscape |
1393 RESOURCE AVKON_TOOLBAR r_cam_still_precapture_toolbar |
1274 { |
1394 { |
1275 lines = 3; |
1395 lines = 3; |
1276 flags = KAknToolbarFixed | KAknToolbarDsaMode | KAknToolbarNoBackground | KAknToolbarTransparent; |
1396 flags = KAknToolbarFixed | KAknToolbarDsaMode | KAknToolbarNoBackground | KAknToolbarTransparent; |
1277 items = |
1397 items = |
1278 { |
1398 { |
1279 TBAR_CTRL |
1399 TBAR_CTRL |
1280 { |
1400 { |
1281 type = EAknCtButton; |
1401 type = EAknCtButton; |
1282 id = ECamCmdRecord; |
1402 id = ECamCmdNewVideo; |
1283 control = AVKON_BUTTON |
1403 control = AVKON_BUTTON |
1284 { |
1404 { |
1285 flags = KAknButtonNoFrame; |
1405 flags = KAknButtonNoFrame; |
1286 states = |
1406 states = |
1287 { |
1407 { |
1288 AVKON_BUTTON_STATE |
1408 AVKON_BUTTON_STATE |
1289 { |
1409 { |
1290 bmpfile = CAMERAAPP_BITMAP_FILE; |
1410 bmpfile = CAMERAAPP_BITMAP_FILE; |
1291 bmpid = EMbmCameraappQgn_indi_cam4_tb_record; |
1411 bmpid = EMbmCameraappQgn_indi_cam4_video; |
1292 bmpmask = EMbmCameraappQgn_indi_cam4_tb_record_mask; |
1412 bmpmask = EMbmCameraappQgn_indi_cam4_video_mask; |
1293 helptxt = qtn_lcam_tt_record; |
1413 helptxt = qtn_lcam_tt_video_mode; |
1294 extension = r_cam_ext_qgn_indi_cam4_tb_record; |
1414 extension = r_cam_ext_qgn_indi_cam4_video; |
1295 } |
1415 } |
1296 }; |
1416 }; |
1297 }; |
1417 }; |
1298 }, |
1418 }, |
1299 TBAR_CTRL |
1419 /*TBAR_CTRL |
1300 { |
|
1301 type = EAknCtButton; |
|
1302 id = ECamCmdNewPhoto; |
|
1303 control = AVKON_BUTTON |
|
1304 { |
|
1305 flags = KAknButtonNoFrame; |
|
1306 states = |
|
1307 { |
|
1308 AVKON_BUTTON_STATE |
|
1309 { |
|
1310 bmpfile = CAMERAAPP_BITMAP_FILE; |
|
1311 bmpid = EMbmCameraappQgn_indi_cam4_camera; |
|
1312 bmpmask = EMbmCameraappQgn_indi_cam4_camera_mask; |
|
1313 helptxt = qtn_lcam_tt_still_mode; |
|
1314 extension = r_cam_ext_qgn_indi_cam4_camera; |
|
1315 } |
|
1316 }; |
|
1317 }; |
|
1318 }, |
|
1319 TBAR_CTRL |
|
1320 { |
|
1321 type = EAknCtButton; |
|
1322 id = ECamCmdSwitchCamera; |
|
1323 control = AVKON_BUTTON |
|
1324 { |
|
1325 flags = KAknButtonNoFrame; |
|
1326 states = |
|
1327 { |
|
1328 AVKON_BUTTON_STATE |
|
1329 { |
|
1330 bmpfile = CAMERAAPP_BITMAP_FILE; |
|
1331 bmpid = EMbmCameraappQgn_indi_tb_cam4_goto_main; |
|
1332 bmpmask = EMbmCameraappQgn_indi_tb_cam4_goto_main_mask; |
|
1333 helptxt = qtn_lcam_tt_camera_main; |
|
1334 extension = r_cam_ext_qgn_indi_cam4_mode_camera; |
|
1335 } |
|
1336 }; |
|
1337 }; |
|
1338 } |
|
1339 }; |
|
1340 } |
|
1341 |
|
1342 |
|
1343 //---------------------------------------------------- |
|
1344 // |
|
1345 // r_cam_still_precapture_toolbar |
|
1346 // Toolbar and toolbar extension for still pre-capture view for primary |
|
1347 // camera |
|
1348 // |
|
1349 //---------------------------------------------------- |
|
1350 // |
|
1351 RESOURCE AVKON_TOOLBAR r_cam_still_precapture_toolbar |
|
1352 { |
|
1353 lines = 3; |
|
1354 flags = KAknToolbarFixed | KAknToolbarDsaMode | KAknToolbarNoBackground | KAknToolbarTransparent; |
|
1355 items = |
|
1356 { |
|
1357 TBAR_CTRL |
|
1358 { |
1420 { |
1359 type = EAknCtButton; |
1421 type = EAknCtButton; |
1360 id = ECamCmdCaptureImage; |
1422 id = ECamCmdCaptureImage; |
1361 control = AVKON_BUTTON |
1423 control = AVKON_BUTTON |
1362 { |
1424 { |
2230 items = |
2292 items = |
2231 { |
2293 { |
2232 TBAR_CTRL |
2294 TBAR_CTRL |
2233 { |
2295 { |
2234 type = EAknCtButton; |
2296 type = EAknCtButton; |
|
2297 id = ECamCmdNewPhoto; |
|
2298 control = AVKON_BUTTON |
|
2299 { |
|
2300 flags = KAknButtonNoFrame; |
|
2301 states = |
|
2302 { |
|
2303 AVKON_BUTTON_STATE |
|
2304 { |
|
2305 bmpfile = CAMERAAPP_BITMAP_FILE; |
|
2306 bmpid = EMbmCameraappQgn_indi_cam4_camera; |
|
2307 bmpmask = EMbmCameraappQgn_indi_cam4_camera_mask; |
|
2308 helptxt = qtn_lcam_tt_still_mode; |
|
2309 extension = r_cam_ext_qgn_indi_cam4_camera; |
|
2310 } |
|
2311 }; |
|
2312 }; |
|
2313 }, |
|
2314 /*TBAR_CTRL |
|
2315 { |
|
2316 type = EAknCtButton; |
2235 id = ECamCmdRecord; |
2317 id = ECamCmdRecord; |
2236 control = AVKON_BUTTON |
2318 control = AVKON_BUTTON |
2237 { |
2319 { |
2238 flags = KAknButtonNoFrame; |
2320 flags = KAknButtonNoFrame; |
2239 states = |
2321 states = |
2407 items = |
2489 items = |
2408 { |
2490 { |
2409 TBAR_CTRL |
2491 TBAR_CTRL |
2410 { |
2492 { |
2411 type = EAknCtButton; |
2493 type = EAknCtButton; |
|
2494 id = ECamCmdNewPhoto; |
|
2495 control = AVKON_BUTTON |
|
2496 { |
|
2497 flags = KAknButtonNoFrame; |
|
2498 states = |
|
2499 { |
|
2500 AVKON_BUTTON_STATE |
|
2501 { |
|
2502 bmpfile = CAMERAAPP_BITMAP_FILE; |
|
2503 bmpid = EMbmCameraappQgn_indi_cam4_camera; |
|
2504 bmpmask = EMbmCameraappQgn_indi_cam4_camera_mask; |
|
2505 helptxt = qtn_lcam_tt_still_mode; |
|
2506 extension = r_cam_ext_qgn_indi_cam4_camera; |
|
2507 } |
|
2508 }; |
|
2509 }; |
|
2510 }, |
|
2511 /*TBAR_CTRL |
|
2512 { |
|
2513 type = EAknCtButton; |
2412 id = ECamCmdRecord; |
2514 id = ECamCmdRecord; |
2413 control = AVKON_BUTTON |
2515 control = AVKON_BUTTON |
2414 { |
2516 { |
2415 flags = KAknButtonNoFrame; |
2517 flags = KAknButtonNoFrame; |
2416 states = |
2518 states = |