summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSehong Na <sehong.na@samsung.com>2014-05-31 04:02:05 (GMT)
committerSehong Na <sehong.na@samsung.com>2014-05-31 04:02:05 (GMT)
commit6399fe29ef43aa78432c89eef8815e6288cfdd6c (patch)
treea9a6690db1cd55021bb242ab9fc8aeeb4d6b2c20
downloadug-camera-efl-tizen_2.3.zip
ug-camera-efl-tizen_2.3.tar.gz
ug-camera-efl-tizen_2.3.tar.bz2
-rw-r--r--.camera.ini39
-rw-r--r--.gitignore2
-rwxr-xr-xCMakeLists.txt196
-rwxr-xr-xLICENSE.Flora206
-rw-r--r--NOTICE3
-rwxr-xr-xedc/cam_ctxpopup_shortcuts.edc1010
-rwxr-xr-xedc/cam_ctxpopup_shortcuts_inc.edc163
-rwxr-xr-xedc/cam_ev_layout.edc159
-rwxr-xr-xedc/cam_ev_layout_inverse.edc159
-rwxr-xr-xedc/cam_ev_layout_vertical.edc158
-rwxr-xr-xedc/cam_ev_layout_vertical_inverse.edc159
-rwxr-xr-xedc/cam_funcs.edc163
-rwxr-xr-xedc/cam_guideline_edje.edc453
-rwxr-xr-xedc/cam_images.edc332
-rwxr-xr-xedc/cam_indicator_layout.edc218
-rwxr-xr-xedc/cam_main_layout.edc496
-rwxr-xr-xedc/cam_recording_edje.edc190
-rwxr-xr-xedc/cam_recording_edje_inc.edc40
-rwxr-xr-xedc/cam_recording_edje_inverse.edc194
-rwxr-xr-xedc/cam_recording_edje_inverse_inc.edc38
-rwxr-xr-xedc/cam_recording_edje_vertical.edc189
-rwxr-xr-xedc/cam_recording_edje_vertical_inc.edc39
-rwxr-xr-xedc/cam_recording_edje_vertical_inverse.edc192
-rwxr-xr-xedc/cam_recording_edje_vertical_inverse_inc.edc38
-rwxr-xr-xedc/cam_setting_popup_layout.edc50
-rwxr-xr-xedc/cam_setting_popup_layout_inc.edc288
-rwxr-xr-xedc/cam_toolbar_layout.edc619
-rwxr-xr-xedc/cam_toolbar_layout_inc.edc353
-rwxr-xr-xedc/cam_toolbar_layout_inverse.edc619
-rwxr-xr-xedc/cam_toolbar_layout_inverse_inc.edc353
-rwxr-xr-xedc/cam_toolbar_layout_vertical.edc618
-rwxr-xr-xedc/cam_toolbar_layout_vertical_inc.edc353
-rwxr-xr-xedc/cam_toolbar_layout_vertical_inverse.edc618
-rwxr-xr-xedc/cam_toolbar_layout_vertical_inverse_inc.edc353
-rwxr-xr-xedc/cam_utils.edc436
-rwxr-xr-xedc/cam_zoom_layout.edc341
-rwxr-xr-xedc/cam_zoom_layout_inverse.edc146
-rwxr-xr-xedc/cam_zoom_layout_vertical.edc344
-rwxr-xr-xedc/cam_zoom_layout_vertical_inverse.edc146
-rwxr-xr-xedc/style_button_camera.edc490
-rwxr-xr-xedc/style_ctxpopup_camera_with_radio.edc1732
-rwxr-xr-xedc/style_genlist_macro.edc847
-rwxr-xr-xedc/style_genlist_normal.edc866
-rwxr-xr-xedc/style_label_camera.edc634
-rwxr-xr-xedc/style_slider_camera.edc488
-rwxr-xr-xedc/style_tizen_hd_inc.edc1155
-rw-r--r--images/edc_images/00_button_01_normal.pngbin0 -> 3025 bytes
-rw-r--r--images/edc_images/00_button_01_normal_Focus.pngbin0 -> 2990 bytes
-rw-r--r--images/edc_images/00_button_01_normal_dim.pngbin0 -> 3012 bytes
-rw-r--r--images/edc_images/00_button_01_normal_press.pngbin0 -> 3099 bytes
-rw-r--r--images/edc_images/00_check_off.pngbin0 -> 3235 bytes
-rw-r--r--images/edc_images/camara_back_button.pngbin0 -> 3863 bytes
-rwxr-xr-ximages/edc_images/camara_back_button_press.pngbin0 -> 3528 bytes
-rwxr-xr-ximages/edc_images/camcorder_recording_pause.pngbin0 -> 12359 bytes
-rwxr-xr-ximages/edc_images/camcorder_recording_pause_press.pngbin0 -> 11595 bytes
-rwxr-xr-ximages/edc_images/camcorder_recording_shutter.pngbin0 -> 13746 bytes
-rwxr-xr-ximages/edc_images/camcorder_recording_stop.pngbin0 -> 12350 bytes
-rwxr-xr-ximages/edc_images/camcorder_recording_stop_press.pngbin0 -> 11730 bytes
-rwxr-xr-ximages/edc_images/camcorder_standby_shutter.pngbin0 -> 12302 bytes
-rwxr-xr-ximages/edc_images/camcorder_standby_shutter_dim.pngbin0 -> 11687 bytes
-rwxr-xr-ximages/edc_images/camcorder_standby_shutter_press.pngbin0 -> 12082 bytes
-rwxr-xr-ximages/edc_images/camcorder_stop_shutter_icon.pngbin0 -> 2930 bytes
-rw-r--r--images/edc_images/camera_button_off.pngbin0 -> 4169 bytes
-rw-r--r--images/edc_images/camera_button_on.pngbin0 -> 4397 bytes
-rwxr-xr-ximages/edc_images/camera_handle.pngbin0 -> 8521 bytes
-rw-r--r--images/edc_images/camera_help_image.pngbin0 -> 16120 bytes
-rwxr-xr-ximages/edc_images/camera_menu_bg.pngbin0 -> 3415 bytes
-rwxr-xr-ximages/edc_images/camera_menu_bg_press.pngbin0 -> 3388 bytes
-rwxr-xr-ximages/edc_images/camera_menu_tab_hold.pngbin0 -> 1692 bytes
-rwxr-xr-ximages/edc_images/camera_mode_shutter_dim.pngbin0 -> 20959 bytes
-rwxr-xr-ximages/edc_images/camera_mode_shutter_icon.pngbin0 -> 2249 bytes
-rwxr-xr-ximages/edc_images/camera_mode_shutter_icon_dim.pngbin0 -> 4015 bytes
-rwxr-xr-ximages/edc_images/camera_mode_shutter_normal.pngbin0 -> 21827 bytes
-rw-r--r--images/edc_images/camera_mode_shutter_normal_inverse.pngbin0 -> 26999 bytes
-rwxr-xr-ximages/edc_images/camera_mode_shutter_press.pngbin0 -> 21089 bytes
-rwxr-xr-ximages/edc_images/camera_mode_thumbnail_bg.pngbin0 -> 2450 bytes
-rwxr-xr-ximages/edc_images/camera_mode_thumbnail_bg_press.pngbin0 -> 2368 bytes
-rwxr-xr-ximages/edc_images/camera_normal_left.pngbin0 -> 2210 bytes
-rwxr-xr-ximages/edc_images/camera_normal_opacity_l_bg.pngbin0 -> 2122 bytes
-rwxr-xr-ximages/edc_images/camera_normal_opacity_r_bg.pngbin0 -> 2241 bytes
-rwxr-xr-ximages/edc_images/camera_normal_right.pngbin0 -> 2203 bytes
-rwxr-xr-ximages/edc_images/camera_option_popup_anker.pngbin0 -> 3117 bytes
-rwxr-xr-ximages/edc_images/camera_option_popup_anker_inverse.pngbin0 -> 3151 bytes
-rwxr-xr-ximages/edc_images/camera_option_popup_bg.pngbin0 -> 3134 bytes
-rwxr-xr-ximages/edc_images/camera_option_popup_bg_2depth.pngbin0 -> 3130 bytes
-rwxr-xr-ximages/edc_images/camera_popup_ex_bar.pngbin0 -> 3130 bytes
-rwxr-xr-ximages/edc_images/camera_popup_zoom.pngbin0 -> 1846 bytes
-rwxr-xr-ximages/edc_images/camera_popup_zoom_bar.pngbin0 -> 1330 bytes
-rwxr-xr-ximages/edc_images/camera_radio_btn_off.pngbin0 -> 2458 bytes
-rwxr-xr-ximages/edc_images/camera_radio_btn_on.pngbin0 -> 3208 bytes
-rwxr-xr-ximages/edc_images/camera_recording_btn_caf.pngbin0 -> 4342 bytes
-rwxr-xr-ximages/edc_images/camera_recording_btn_caf_press.pngbin0 -> 4393 bytes
-rwxr-xr-ximages/edc_images/camera_shortcut_line_h_01.pngbin0 -> 3912 bytes
-rwxr-xr-ximages/edc_images/camera_shortcut_line_v_01.pngbin0 -> 3832 bytes
-rwxr-xr-ximages/edc_images/camera_shortcut_line_v_02.pngbin0 -> 2276 bytes
-rwxr-xr-ximages/edc_images/camera_shrtcut_edit_bg.pngbin0 -> 4197 bytes
-rwxr-xr-ximages/edc_images/camera_shrtcut_menubar_bg.pngbin0 -> 2209 bytes
-rwxr-xr-ximages/edc_images/camera_shrtcut_text_bg.pngbin0 -> 1595 bytes
-rwxr-xr-ximages/edc_images/camera_timer_popup.pngbin0 -> 8502 bytes
-rwxr-xr-ximages/edc_images/indicator/camera_indicator_battery_00.pngbin0 -> 3007 bytes
-rwxr-xr-ximages/edc_images/indicator/camera_indicator_battery_01.pngbin0 -> 3234 bytes
-rwxr-xr-ximages/edc_images/indicator/camera_indicator_battery_02.pngbin0 -> 3300 bytes
-rwxr-xr-ximages/edc_images/indicator/camera_indicator_battery_03.pngbin0 -> 3300 bytes
-rwxr-xr-ximages/edc_images/indicator/camera_indicator_battery_04.pngbin0 -> 3304 bytes
-rwxr-xr-ximages/edc_images/indicator/camera_indicator_battery_05.pngbin0 -> 3288 bytes
-rwxr-xr-ximages/edc_images/indicator/camera_indicator_battery_charge.pngbin0 -> 1455 bytes
-rwxr-xr-ximages/edc_images/indicator/camera_indicator_battery_full.pngbin0 -> 3265 bytes
-rwxr-xr-ximages/edc_images/indicator/camera_indicator_gps_connection01.pngbin0 -> 3913 bytes
-rwxr-xr-ximages/edc_images/indicator/camera_indicator_gps_connection02.pngbin0 -> 4515 bytes
-rwxr-xr-ximages/edc_images/indicator/camera_indicator_gps_connection03.pngbin0 -> 5117 bytes
-rwxr-xr-ximages/edc_images/indicator/camera_indicator_gps_off.pngbin0 -> 5044 bytes
-rwxr-xr-ximages/edc_images/indicator/camera_indicator_gps_on.pngbin0 -> 3550 bytes
-rwxr-xr-ximages/edc_images/indicator/camera_indicator_mute.pngbin0 -> 3912 bytes
-rwxr-xr-ximages/edc_images/indicator/camera_indicator_smile_shot.pngbin0 -> 4156 bytes
-rwxr-xr-ximages/edc_images/indicator/camera_indicator_storage_in.pngbin0 -> 1458 bytes
-rwxr-xr-ximages/edc_images/indicator/camera_indicator_storage_memoryfull.pngbin0 -> 1704 bytes
-rwxr-xr-ximages/edc_images/indicator/camera_indicator_storage_phonefull.pngbin0 -> 1509 bytes
-rwxr-xr-ximages/edc_images/indicator/camera_indicator_storage_t_flash.pngbin0 -> 1583 bytes
-rwxr-xr-ximages/edc_images/indicator/camera_rec.pngbin0 -> 3926 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_anti_shake_off_nor.pngbin0 -> 3718 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_anti_shake_off_press.pngbin0 -> 4891 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_anti_shake_on_nor.pngbin0 -> 3353 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_anti_shake_on_press.pngbin0 -> 4679 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_auto_contrast_off_nor.pngbin0 -> 4628 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_auto_contrast_off_press.pngbin0 -> 5414 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_auto_contrast_on_nor.pngbin0 -> 4228 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_auto_contrast_on_press.pngbin0 -> 5193 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_burstshot_off_nor.pngbin0 -> 4081 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_burstshot_off_press.pngbin0 -> 4004 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_burstshot_on_nor.pngbin0 -> 1638 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_burstshot_on_press.pngbin0 -> 1507 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_capture_voice_off_nor.pngbin0 -> 4202 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_capture_voice_off_press.pngbin0 -> 4116 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_capture_voice_on_nor.pngbin0 -> 4309 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_capture_voice_on_press.pngbin0 -> 4241 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_effect_Black and white_nor.pngbin0 -> 4074 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_effect_Black and white_press.pngbin0 -> 4090 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_effect_negative_nor.pngbin0 -> 3981 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_effect_negative_press.pngbin0 -> 4009 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_effect_none_nor.pngbin0 -> 3277 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_effect_none_press.pngbin0 -> 4424 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_effect_sepia_nor.pngbin0 -> 4137 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_effect_sepia_press.pngbin0 -> 4130 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_exposure_1_nor.pngbin0 -> 3229 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_exposure_1_press.pngbin0 -> 2761 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_exposure_2_nor.pngbin0 -> 2887 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_exposure_2_press.pngbin0 -> 2482 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_exposure_3_nor.pngbin0 -> 2949 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_exposure_3_press.pngbin0 -> 2550 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_exposure_4_nor.pngbin0 -> 3255 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_exposure_4_press.pngbin0 -> 2783 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_exposure_5_nor.pngbin0 -> 2961 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_exposure_5_press.pngbin0 -> 2618 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_exposure_6_nor.pngbin0 -> 3053 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_exposure_6_press.pngbin0 -> 2615 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_exposure_7_nor.pngbin0 -> 2741 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_exposure_7_press.pngbin0 -> 2387 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_exposure_8_nor.pngbin0 -> 2707 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_exposure_8_press.pngbin0 -> 2300 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_exposure_9_nor.pngbin0 -> 3048 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_exposure_9_press.pngbin0 -> 2588 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_flash_auto_nor.pngbin0 -> 3711 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_flash_auto_press.pngbin0 -> 4870 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_flash_off_nor.pngbin0 -> 3688 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_flash_off_press.pngbin0 -> 4816 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_flash_on_nor.pngbin0 -> 2697 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_flash_on_press.pngbin0 -> 4089 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_focus_auto_nor.pngbin0 -> 2335 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_focus_auto_press.pngbin0 -> 3765 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_focus_face_detection_nor.pngbin0 -> 3930 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_focus_face_detection_press.pngbin0 -> 5143 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_focus_macro_nor.pngbin0 -> 3686 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_focus_macro_press.pngbin0 -> 4733 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_gps_off_nor.pngbin0 -> 4628 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_gps_off_press.pngbin0 -> 5907 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_gps_on_nor.pngbin0 -> 4654 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_gps_on_press.pngbin0 -> 5543 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_guidelines_off_nor.pngbin0 -> 3214 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_guidelines_off_press.pngbin0 -> 2527 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_guidelines_on_nor.pngbin0 -> 1451 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_guidelines_on_press.pngbin0 -> 1305 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_iso_100_nor.pngbin0 -> 1659 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_iso_100_press.pngbin0 -> 1442 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_iso_200_nor.pngbin0 -> 1655 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_iso_200_press.pngbin0 -> 1454 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_iso_400_nor.pngbin0 -> 1675 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_iso_400_press.pngbin0 -> 1454 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_iso_50_nor.pngbin0 -> 3599 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_iso_50_press.pngbin0 -> 3739 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_iso_800_nor.pngbin0 -> 1653 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_iso_800_press.pngbin0 -> 1469 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_iso_auto_nor.pngbin0 -> 1712 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_iso_auto_press.pngbin0 -> 1493 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_metering_center_weighted_nor.pngbin0 -> 4492 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_metering_center_weighted_press.pngbin0 -> 5302 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_metering_matrix_nor.pngbin0 -> 1399 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_metering_matrix_press.pngbin0 -> 1297 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_metering_normal_nor.pngbin0 -> 1402 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_metering_pressmal_press.pngbin0 -> 1297 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_metering_spot_nor.pngbin0 -> 2293 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_metering_spot_press.pngbin0 -> 1919 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_outdoor_visibility_off_nor.pngbin0 -> 3568 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_outdoor_visibility_off_press.pngbin0 -> 2921 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_outdoor_visibility_on_nor.pngbin0 -> 3476 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_outdoor_visibility_on_press.pngbin0 -> 2874 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_recording_fast_nor.pngbin0 -> 6855 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_recording_fast_press.pngbin0 -> 5722 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_recording_limit_for_mms_nor.pngbin0 -> 2816 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_recording_limit_for_mms_press.pngbin0 -> 4441 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_recording_normal_nor.pngbin0 -> 3289 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_recording_normal_press.pngbin0 -> 4688 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_recording_slowmotion_nor.pngbin0 -> 7944 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_recording_slowmotion_press.pngbin0 -> 7059 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_refresh_nor.pngbin0 -> 3597 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_refresh_press.pngbin0 -> 4713 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_reset_nor.pngbin0 -> 4501 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_reset_press.pngbin0 -> 5712 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_resolution_0_3m_nor.pngbin0 -> 4317 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_resolution_0_3m_press.pngbin0 -> 5659 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_resolution_1280X720_nor.pngbin0 -> 3930 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_resolution_1280X720_press.pngbin0 -> 4962 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_resolution_176X144_nor.pngbin0 -> 3941 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_resolution_176X144_press.pngbin0 -> 4933 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_resolution_1920X1080_nor.pngbin0 -> 4027 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_resolution_1920X1080_press.pngbin0 -> 5019 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_resolution_1_3m_nor.pngbin0 -> 5609 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_resolution_1_3m_press.pngbin0 -> 4840 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_resolution_2m_nor.pngbin0 -> 3786 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_resolution_2m_press.pngbin0 -> 5121 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_resolution_320X240_nor.pngbin0 -> 4203 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_resolution_320X240_press.pngbin0 -> 5101 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_resolution_3_2m_nor.pngbin0 -> 4249 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_resolution_3_2m_press.pngbin0 -> 5734 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_resolution_5m_nor.pngbin0 -> 3799 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_resolution_5m_press.pngbin0 -> 5154 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_resolution_640X480_nor.pngbin0 -> 4202 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_resolution_640X480_press.pngbin0 -> 5111 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_resolution_720X480_nor.pngbin0 -> 4133 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_resolution_720X480_press.pngbin0 -> 5094 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_resolution_8m_nor.pngbin0 -> 3683 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_resolution_8m_press.pngbin0 -> 4956 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_resolution_w0_9m_nor.pngbin0 -> 4965 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_resolution_w0_9m_press.pngbin0 -> 3688 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_resolution_w2_4m_nor.pngbin0 -> 4544 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_resolution_w2_4m_press.pngbin0 -> 5957 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_resolution_w2m_nor.pngbin0 -> 6532 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_resolution_w2m_press.pngbin0 -> 5740 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_resolution_w3_6m_nor.pngbin0 -> 4977 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_resolution_w3_6m_press.pngbin0 -> 3711 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_resolution_w4m_nor.pngbin0 -> 4098 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_resolution_w4m_press.pngbin0 -> 5573 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_resolution_w5_7m_nor.pngbin0 -> 4522 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_resolution_w5_7m_press.pngbin0 -> 6019 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_resolution_w6m_nor.pngbin0 -> 4446 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_resolution_w6m_press.pngbin0 -> 3153 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_self_rec_nor.pngbin0 -> 3039 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_self_rec_press.pngbin0 -> 4265 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_self_shot_nor.pngbin0 -> 3777 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_self_shot_press.pngbin0 -> 4914 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_setting_nor.pngbin0 -> 3075 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_setting_press.pngbin0 -> 4350 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_shooting_mode_Backlight_nor.pngbin0 -> 3178 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_shooting_mode_Backlight_press.pngbin0 -> 4382 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_shooting_mode_action_shot_nor.pngbin0 -> 3524 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_shooting_mode_action_shot_press.pngbin0 -> 5336 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_shooting_mode_beach_snow_nor.pngbin0 -> 3553 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_shooting_mode_beach_snow_press.pngbin0 -> 4898 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_shooting_mode_beauty_nor.pngbin0 -> 3235 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_shooting_mode_beauty_press.pngbin0 -> 4439 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_shooting_mode_bestphoto_nor.pngbin0 -> 4239 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_shooting_mode_bestphoto_press.pngbin0 -> 4039 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_shooting_mode_buddy_photo_share_nor.pngbin0 -> 4395 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_shooting_mode_buddy_photo_share_press.pngbin0 -> 3867 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_shooting_mode_candlelight_nor.pngbin0 -> 2159 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_shooting_mode_candlelight_press.pngbin0 -> 3719 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_shooting_mode_cartoon_nor.pngbin0 -> 4389 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_shooting_mode_cartoon_press.pngbin0 -> 5622 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_shooting_mode_dawn_nor.pngbin0 -> 2398 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_shooting_mode_dawn_press.pngbin0 -> 3645 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_shooting_mode_fall_nor.pngbin0 -> 2739 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_shooting_mode_fall_press.pngbin0 -> 4040 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_shooting_mode_firework_nor.pngbin0 -> 4828 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_shooting_mode_firework_press.pngbin0 -> 5657 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_shooting_mode_hdr_nor.pngbin0 -> 6662 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_shooting_mode_hdr_press.pngbin0 -> 5479 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_shooting_mode_landscape_nor.pngbin0 -> 2228 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_shooting_mode_landscape_press.pngbin0 -> 3564 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_shooting_mode_night_nor.pngbin0 -> 3679 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_shooting_mode_night_press.pngbin0 -> 4778 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_shooting_mode_panorama_nor.pngbin0 -> 2289 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_shooting_mode_panorama_press.pngbin0 -> 3659 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_shooting_mode_party_indoor_nor.pngbin0 -> 1992 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_shooting_mode_party_indoor_press.pngbin0 -> 1868 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_shooting_mode_portrait_nor.pngbin0 -> 3987 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_shooting_mode_portrait_press.pngbin0 -> 5062 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_shooting_mode_scene_none_nor.pngbin0 -> 1940 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_shooting_mode_scene_none_press.pngbin0 -> 1732 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_shooting_mode_share_nor.pngbin0 -> 4505 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_shooting_mode_share_press.pngbin0 -> 5352 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_shooting_mode_single_shot_nor.pngbin0 -> 1468 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_shooting_mode_single_shot_press.pngbin0 -> 1376 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_shooting_mode_smile_shot_nor.pngbin0 -> 3769 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_shooting_mode_smile_shot_press.pngbin0 -> 5058 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_shooting_mode_sports_nor.pngbin0 -> 4427 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_shooting_mode_sports_press.pngbin0 -> 5404 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_shooting_mode_sunset_nor.pngbin0 -> 2167 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_shooting_mode_sunset_press.pngbin0 -> 3481 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_shooting_mode_text_nor.pngbin0 -> 1792 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_shooting_mode_text_press.pngbin0 -> 3324 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_shutter.pngbin0 -> 6009 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_shutter_press.pngbin0 -> 5749 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_storage_mydevice_nor.pngbin0 -> 1482 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_storage_mydevice_press.pngbin0 -> 1405 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_storage_storagecard_nor.pngbin0 -> 1882 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_storage_storagecard_press.pngbin0 -> 1747 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_timer_10_nor.pngbin0 -> 4772 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_timer_10_press.pngbin0 -> 5608 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_timer_2_nor.pngbin0 -> 4663 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_timer_2_press.pngbin0 -> 5494 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_timer_5_nor.pngbin0 -> 4716 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_timer_5_press.pngbin0 -> 5549 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_timer_off_nor.pngbin0 -> 4690 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_timer_off_press.pngbin0 -> 5578 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_whitebalance_auto_nor.pngbin0 -> 1970 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_whitebalance_auto_press.pngbin0 -> 1751 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_whitebalance_cloudy_nor.pngbin0 -> 2409 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_whitebalance_cloudy_press.pngbin0 -> 3676 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_whitebalance_day_light_nor.pngbin0 -> 3855 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_whitebalance_day_light_press.pngbin0 -> 5020 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_whitebalance_fluorescent_nor.pngbin0 -> 3281 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_whitebalance_fluorescent_press.pngbin0 -> 4379 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_whitebalance_horizon_nor.pngbin0 -> 2754 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_whitebalance_horizon_press.pngbin0 -> 4056 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_whitebalance_incandescent_nor.pngbin0 -> 3002 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_whitebalance_incandescent_press.pngbin0 -> 4241 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_whitebalance_shade_nor.pngbin0 -> 2072 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_whitebalance_shade_press.pngbin0 -> 3504 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_whitebalance_tungsten_nor.pngbin0 -> 2998 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_whitebalance_tungsten_press.pngbin0 -> 4241 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_zoom.pngbin0 -> 5293 bytes
-rwxr-xr-ximages/edc_images/shortcut/camera_mode_zoom_press.pngbin0 -> 5104 bytes
-rwxr-xr-ximages/edc_images/shortcut/sharewith_icon.pngbin0 -> 3457 bytes
-rwxr-xr-ximages/edc_images/shortcut/sharewith_icon_press.pngbin0 -> 3065 bytes
-rwxr-xr-ximages/edc_images/tmp/11_camcorder_standby_press.pngbin0 -> 25958 bytes
-rwxr-xr-ximages/edc_images/tmp/11_camcorder_standby_press_ver.pngbin0 -> 26128 bytes
-rwxr-xr-ximages/edc_images/tmp/11_camera_mode_bg.pngbin0 -> 7075 bytes
-rwxr-xr-ximages/edc_images/tmp/11_camera_mode_bg_ver.pngbin0 -> 7163 bytes
-rwxr-xr-ximages/edc_images/tmp/11_camera_mode_button.pngbin0 -> 8788 bytes
-rwxr-xr-ximages/edc_images/tmp/11_camera_mode_button_ver.pngbin0 -> 8842 bytes
-rwxr-xr-ximages/edc_images/tmp/11_camera_mode_camcorder_off.pngbin0 -> 3363 bytes
-rwxr-xr-ximages/edc_images/tmp/11_camera_mode_camcorder_on.pngbin0 -> 3363 bytes
-rwxr-xr-ximages/edc_images/tmp/11_camera_mode_camera_off.pngbin0 -> 3613 bytes
-rwxr-xr-ximages/edc_images/tmp/11_camera_mode_camera_on.pngbin0 -> 3613 bytes
-rwxr-xr-ximages/edc_images/tmp/11_camera_mode_recording_normal.pngbin0 -> 24190 bytes
-rwxr-xr-ximages/edc_images/tmp/11_camera_mode_recording_normal_ver.pngbin0 -> 23973 bytes
-rwxr-xr-ximages/edc_images/tmp/11_camera_mode_recording_press.pngbin0 -> 23027 bytes
-rwxr-xr-ximages/edc_images/tmp/11_camera_mode_recording_press_ver.pngbin0 -> 22954 bytes
-rwxr-xr-ximages/edc_images/tmp/11_camera_snapshot.pngbin0 -> 8360 bytes
-rwxr-xr-ximages/edc_images/tmp/11_camera_snapshot_press.pngbin0 -> 8146 bytes
-rw-r--r--images/edc_images/tmp/37_guideline_1.pngbin0 -> 2812 bytes
-rw-r--r--images/edc_images/tmp/37_guideline_2.pngbin0 -> 2811 bytes
-rw-r--r--images/edc_images/tmp/37_guideline_opa_1.pngbin0 -> 2814 bytes
-rw-r--r--images/edc_images/tmp/37_guideline_opa_2.pngbin0 -> 2812 bytes
-rwxr-xr-ximages/edc_images/tmp/37_shootingmode_popup_bg.pngbin0 -> 698 bytes
-rwxr-xr-ximages/edc_images/touch_af_focus_rect_01.pngbin0 -> 2852 bytes
-rwxr-xr-ximages/edc_images/touch_af_focus_rect_02.pngbin0 -> 2850 bytes
-rwxr-xr-ximages/edc_images/touch_af_focus_rect_03.pngbin0 -> 2857 bytes
-rwxr-xr-ximages/edc_images/vertical/camera_mode_bg_ver.pngbin0 -> 3770 bytes
-rwxr-xr-ximages/edc_images/vertical/camera_mode_button_ver.pngbin0 -> 7937 bytes
-rwxr-xr-ximages/edc_images/vertical/camera_mode_shutter_dim_ver.pngbin0 -> 20865 bytes
-rw-r--r--images/edc_images/vertical/camera_mode_shutter_norma_ver_inverse.pngbin0 -> 27060 bytes
-rw-r--r--images/edc_images/vertical/camera_mode_shutter_normal_ver.pngbin0 -> 27198 bytes
-rwxr-xr-ximages/edc_images/vertical/camera_mode_shutter_press_ver.pngbin0 -> 20774 bytes
-rwxr-xr-ximages/edc_images/vertical/camera_normal_bg_ver.pngbin0 -> 1647 bytes
-rwxr-xr-ximages/edc_images/vertical/camera_normal_bg_ver2.pngbin0 -> 1640 bytes
-rwxr-xr-ximages/edc_images/vertical/camera_normal_bg_ver2_01.pngbin0 -> 625 bytes
-rwxr-xr-ximages/edc_images/vertical/camera_normal_bg_ver_01.pngbin0 -> 625 bytes
-rwxr-xr-ximages/edc_images/vertical/camera_option_popup_anker_vertical.pngbin0 -> 3154 bytes
-rwxr-xr-ximages/edc_images/vertical/camera_option_popup_anker_vertical_inverse.pngbin0 -> 3150 bytes
-rwxr-xr-ximages/edc_images/vertical/camera_popup_ex_bar_ver.pngbin0 -> 3111 bytes
-rwxr-xr-ximages/edc_images/vertical/camera_popup_zoom_bar_ver.pngbin0 -> 1292 bytes
-rwxr-xr-ximages/edc_images/vertical/camera_popup_zoom_ver.pngbin0 -> 515 bytes
-rwxr-xr-ximages/edc_images/vertical/camera_shrtcut_edit_bg_02_ver.pngbin0 -> 3682 bytes
-rwxr-xr-ximages/edc_images/vertical/camera_shrtcut_edit_bg_ver.pngbin0 -> 4250 bytes
-rwxr-xr-ximages/edc_images/vertical/camera_shrtcut_menubar_bg_ver.pngbin0 -> 1783 bytes
-rwxr-xr-ximages/edc_images/vertical/camera_shrtcut_text_bg_ver.pngbin0 -> 1618 bytes
-rwxr-xr-xinclude/CamDeviceCapacity.h118
-rwxr-xr-xinclude/CamTypeConverter.h48
-rwxr-xr-xinclude/cam.h394
-rwxr-xr-xinclude/cam_animation.h28
-rwxr-xr-xinclude/cam_app.h498
-rwxr-xr-xinclude/cam_capacity_type.h188
-rwxr-xr-xinclude/cam_config.h84
-rwxr-xr-xinclude/cam_continuous_shot.h49
-rwxr-xr-xinclude/cam_debug.h296
-rwxr-xr-xinclude/cam_device_capacity.h51
-rwxr-xr-xinclude/cam_error.h68
-rwxr-xr-xinclude/cam_exif_info.h35
-rwxr-xr-xinclude/cam_face_detection_focus.h70
-rwxr-xr-xinclude/cam_file.h87
-rwxr-xr-xinclude/cam_lbs.h46
-rwxr-xr-xinclude/cam_long_press.h41
-rwxr-xr-xinclude/cam_menu_composer.h45
-rwxr-xr-xinclude/cam_mm.h252
-rwxr-xr-xinclude/cam_popup.h76
-rwxr-xr-xinclude/cam_property.h955
-rwxr-xr-xinclude/cam_rec.h45
-rwxr-xr-xinclude/cam_sound.h55
-rwxr-xr-xinclude/cam_ta.h112
-rwxr-xr-xinclude/cam_typeconverter.h55
-rwxr-xr-xinclude/cam_ui_effect_utils.h86
-rwxr-xr-xinclude/cam_ui_rotate_utils.h101
-rwxr-xr-xinclude/cam_voice_command.h37
-rwxr-xr-xinclude/camera_utils.h153
-rwxr-xr-xinclude/edc-callback/cam_common_edc_callback.h46
-rwxr-xr-xinclude/edc-callback/cam_ev_edc_callback.h26
-rwxr-xr-xinclude/edc-callback/cam_indicator_edc_callback.h35
-rwxr-xr-xinclude/edc-callback/cam_recording_edc_callback.h28
-rwxr-xr-xinclude/edc-callback/cam_toolbar_edc_callback.h120
-rwxr-xr-xinclude/edc-callback/cam_zoom_edc_callback.h30
-rwxr-xr-xinclude/edc_image_name.h402
-rwxr-xr-xinclude/edc_string.h104
-rwxr-xr-xpackaging/ug-camera-efl.spec80
-rw-r--r--po/CMakeLists.txt25
-rwxr-xr-xpo/ar.po342
-rwxr-xr-xpo/az.po342
-rwxr-xr-xpo/bg.po342
-rwxr-xr-xpo/ca.po342
-rwxr-xr-xpo/cs.po342
-rwxr-xr-xpo/da.po342
-rwxr-xr-xpo/de_DE.po342
-rwxr-xr-xpo/el_GR.po342
-rwxr-xr-xpo/en.po342
-rwxr-xr-xpo/en_PH.po342
-rwxr-xr-xpo/en_US.po342
-rwxr-xr-xpo/es_ES.po342
-rwxr-xr-xpo/es_MX.po342
-rwxr-xr-xpo/et.po342
-rwxr-xr-xpo/eu.po342
-rwxr-xr-xpo/fi.po342
-rwxr-xr-xpo/fr_CA.po342
-rwxr-xr-xpo/fr_FR.po342
-rwxr-xr-xpo/ga.po342
-rwxr-xr-xpo/gl.po342
-rwxr-xr-xpo/hi.po342
-rwxr-xr-xpo/hr.po342
-rwxr-xr-xpo/htm2po.py97
-rwxr-xr-xpo/hu.po342
-rwxr-xr-xpo/hy.po342
-rwxr-xr-xpo/is.po342
-rwxr-xr-xpo/it_IT.po342
-rwxr-xr-xpo/ja_JP.po342
-rwxr-xr-xpo/ka.po342
-rwxr-xr-xpo/kk.po342
-rwxr-xr-xpo/ko_KR.po342
-rwxr-xr-xpo/lt.po342
-rwxr-xr-xpo/lv.po342
-rwxr-xr-xpo/mk.po342
-rwxr-xr-xpo/nb.po342
-rwxr-xr-xpo/nl_NL.po342
-rwxr-xr-xpo/pl.po342
-rwxr-xr-xpo/pt_BR.po342
-rwxr-xr-xpo/pt_PT.po342
-rwxr-xr-xpo/ro.po342
-rwxr-xr-xpo/ru_RU.po342
-rwxr-xr-xpo/sk.po342
-rwxr-xr-xpo/sl.po342
-rwxr-xr-xpo/sr.po342
-rwxr-xr-xpo/sv.po342
-rwxr-xr-xpo/tr_TR.po342
-rwxr-xr-xpo/uk.po342
-rwxr-xr-xpo/update-po.sh57
-rwxr-xr-xpo/uz.po342
-rwxr-xr-xpo/zh_CN.po342
-rwxr-xr-xpo/zh_HK.po342
-rwxr-xr-xpo/zh_SG.po342
-rwxr-xr-xpo/zh_TW.po342
-rwxr-xr-xsounds/af_fail.wavbin0 -> 18132 bytes
-rwxr-xr-xsounds/af_ok.wavbin0 -> 16104 bytes
-rwxr-xr-xsounds/count.wavbin0 -> 26700 bytes
-rwxr-xr-xsrc/CamDeviceCapacity.cpp715
-rwxr-xr-xsrc/CamTypeConverter.cpp672
-rwxr-xr-xsrc/cam.c924
-rwxr-xr-xsrc/cam_animation.c196
-rwxr-xr-xsrc/cam_app.c8669
-rwxr-xr-xsrc/cam_config.c361
-rwxr-xr-xsrc/cam_continuous_shot.c621
-rwxr-xr-xsrc/cam_debug.c291
-rwxr-xr-xsrc/cam_device_capacity.cpp108
-rwxr-xr-xsrc/cam_exif_info.c264
-rwxr-xr-xsrc/cam_face_detection_focus.c223
-rwxr-xr-xsrc/cam_file.c489
-rwxr-xr-xsrc/cam_lbs.c304
-rwxr-xr-xsrc/cam_long_press.c162
-rwxr-xr-xsrc/cam_menu_composer.c1254
-rwxr-xr-xsrc/cam_mm.c2431
-rwxr-xr-xsrc/cam_popup.c392
-rwxr-xr-xsrc/cam_rec.c495
-rwxr-xr-xsrc/cam_sound.c249
-rwxr-xr-xsrc/cam_ta.c620
-rwxr-xr-xsrc/cam_typeconverter.cpp109
-rwxr-xr-xsrc/cam_ui_effect_utils.c199
-rwxr-xr-xsrc/cam_ui_rotate_utils.c589
-rwxr-xr-xsrc/cam_voice_command.c139
-rwxr-xr-xsrc/camera_utils.c1461
-rwxr-xr-xsrc/edc-callback/cam_common_edc_callback.c949
-rwxr-xr-xsrc/edc-callback/cam_ev_edc_callback.c277
-rwxr-xr-xsrc/edc-callback/cam_indicator_edc_callback.c435
-rwxr-xr-xsrc/edc-callback/cam_recording_edc_callback.c383
-rwxr-xr-xsrc/edc-callback/cam_toolbar_edc_callback.c8327
-rwxr-xr-xsrc/edc-callback/cam_zoom_edc_callback.c418
-rw-r--r--ug-camera-efl.manifest13
-rwxr-xr-xug-camera-efl.pngbin0 -> 57662 bytes
-rwxr-xr-xug-camera-efl.xml70
-rwxr-xr-xug.camera-efl.include26
515 files changed, 72085 insertions, 0 deletions
diff --git a/.camera.ini b/.camera.ini
new file mode 100644
index 0000000..aae96f8
--- /dev/null
+++ b/.camera.ini
@@ -0,0 +1,39 @@
+
+[common]
+mode=1
+[still]
+storage=0
+ahs=0
+scene_mode=0
+iso=0
+flash=2
+wdr=0
+metering=2
+resolution=167774080
+review=false
+guideline=false
+af_mode=1
+wb=1
+toolbar_0 =-1
+toolbar_1 =-1
+toolbar_2 =-1
+toolbar_3 =3
+toolbar_4 =4
+[video]
+ahs=0
+scene_mode=0
+iso=0
+flash=0
+guideline=false
+wdr=0
+metering=2
+resolution=41943520
+review=false
+toolbar_0 =-1
+toolbar_1 =6
+toolbar_2 =-1
+toolbar_3 =3
+toolbar_4 =4
+[shortcuts]
+pop_tip=1
+init_part_index=false
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..2c4290f
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,2 @@
+*~
+*.orig
diff --git a/CMakeLists.txt b/CMakeLists.txt
new file mode 100755
index 0000000..1f04124
--- /dev/null
+++ b/CMakeLists.txt
@@ -0,0 +1,196 @@
+CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
+PROJECT(ug-camera-efl C CXX)
+
+message(">>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>")
+message("furcate arm or i686")
+EXEC_PROGRAM(uname ARGS -m OUTPUT_VARIABLE CMAKE_SYSTEM_VERSION)
+message("This package is building by ${CMAKE_SYSTEM_VERSION}")
+message(">>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>")
+
+if("${CMAKE_SYSTEM_VERSION}" MATCHES "^arm.*")
+SET(SRCS
+src/cam.c
+src/camera_utils.c
+src/cam_mm.c
+src/cam_app.c
+src/cam_animation.c
+src/cam_sound.c
+src/cam_debug.c
+src/cam_config.c
+src/cam_file.c
+src/cam_ta.c
+src/cam_continuous_shot.c
+src/cam_rec.c
+src/cam_lbs.c
+src/cam_popup.c
+src/cam_long_press.c
+src/cam_face_detection_focus.c
+src/cam_ui_effect_utils.c
+src/cam_ui_rotate_utils.c
+src/cam_menu_composer.c
+src/cam_typeconverter.cpp
+src/cam_device_capacity.cpp
+src/CamTypeConverter.cpp
+src/CamDeviceCapacity.cpp
+src/cam_voice_command.c
+src/cam_exif_info.c
+src/edc-callback/cam_common_edc_callback.c
+src/edc-callback/cam_toolbar_edc_callback.c
+src/edc-callback/cam_indicator_edc_callback.c
+src/edc-callback/cam_ev_edc_callback.c
+src/edc-callback/cam_zoom_edc_callback.c
+src/edc-callback/cam_recording_edc_callback.c
+)
+else()
+SET(SRCS
+src/cam.c
+src/camera_utils.c
+src/cam_mm.c
+src/cam_app.c
+src/cam_sound.c
+src/cam_debug.c
+src/cam_config.c
+src/cam_file.c
+src/cam_ta.c
+src/cam_continuous_shot.c
+src/cam_rec.c
+src/cam_lbs.c
+src/cam_popup.c
+src/cam_long_press.c
+src/cam_face_detection_focus.c
+src/cam_ui_effect_utils.c
+src/cam_ui_rotate_utils.c
+src/cam_menu_composer.c
+src/cam_typeconverter.cpp
+src/cam_device_capacity.cpp
+src/CamTypeConverter.cpp
+src/CamDeviceCapacity.cpp
+src/cam_voice_command.c
+src/edc-callback/cam_common_edc_callback.c
+src/edc-callback/cam_toolbar_edc_callback.c
+src/edc-callback/cam_indicator_edc_callback.c
+src/edc-callback/cam_ev_edc_callback.c
+src/edc-callback/cam_zoom_edc_callback.c
+src/edc-callback/cam_recording_edc_callback.c
+)
+endif()
+INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/include
+${CMAKE_CURRENT_SOURCE_DIR}/include/edc-callback )
+
+INCLUDE(FindPkgConfig)
+pkg_check_modules(pkgs REQUIRED
+ elementary
+ devman
+ capi-appfw-application
+ capi-content-media-content
+ capi-location-manager
+ capi-media-camera
+ capi-media-image-util
+ capi-media-recorder
+ capi-media-sound-manager
+ capi-media-wav-player
+ capi-system-power
+ vconf
+ dlog
+ ui-gadget-1
+ utilX
+ ecore-x ecore ecore-evas ecore-input eina
+ syspopup-caller
+ capi-system-sensor
+)
+FOREACH(flag ${pkgs_CFLAGS})
+ SET(EXTRA_CXXFLAGS "${EXTRA_CXXFLAGS} ${flag}")
+ENDFOREACH(flag)
+
+SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${EXTRA_CXXFLAGS} -Wall")
+SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${EXTRA_CXXFLAGS} -fPIC")
+SET(CMAKE_C_FLAGS ${CMAKE_CXX_FLAGS})
+
+SET(CAMERA_UG_PACKAGE_NAME "ug-camera-efl")
+SET(PREFIX ${CMAKE_INSTALL_PREFIX})
+SET(BINDIR "${PREFIX}/bin")
+SET(RESDIR "${PREFIX}/res")
+SET(DATADIR "/opt/usr/ug/data/${CAMERA_UG_PACKAGE_NAME}")
+SET(LOCALEDIR "${RESDIR}/locale")
+SET(EDJDIR "${RESDIR}/edje/${CAMERA_UG_PACKAGE_NAME}")
+SET(SOUNDDIR "${RESDIR}/sounds/${CAMERA_UG_PACKAGE_NAME}")
+SET(ICONDIR "${RESDIR}/icons/${CAMERA_UG_PACKAGE_NAME}")
+
+ADD_DEFINITIONS("-DPREFIX=\"${CMAKE_INSTALL_PREFIX}\"")
+ADD_DEFINITIONS("-DFACTORYFS=\"$ENV{PREFIX}\"")
+ADD_DEFINITIONS("-DRESDIR=\"${RESDIR}\"")
+ADD_DEFINITIONS("-DDATADIR=\"${DATADIR}\"")
+ADD_DEFINITIONS("-DEDJDIR=\"${EDJDIR}\"")
+ADD_DEFINITIONS("-DSLP_DEBUG")
+
+if(NOT "${CMAKE_SYSTEM_VERSION}" MATCHES "^arm.*")
+add_definitions(-DCAMERA_MACHINE_I686="${CMAKE_SYSTEM_VERSION}")
+endif()
+
+ADD_LIBRARY(${PROJECT_NAME} SHARED ${SRCS})
+SET_TARGET_PROPERTIES(${PROJECT_NAME} PROPERTIES SOVERSION 0.1.0)
+
+if("${CMAKE_SYSTEM_VERSION}" MATCHES "^arm.*")
+#TARGET_LINK_LIBRARIES(${PROJECT_NAME} ${${PROJECT_NAME}_pkgs_LDFLAGS})
+TARGET_LINK_LIBRARIES(${PROJECT_NAME} ${pkgs_LDFLAGS} ${EXTPkgs_LDFLAGS} "-fpie")
+else()
+TARGET_LINK_LIBRARIES(${PROJECT_NAME} ${pkgs_LDFLAGS})
+endif()
+
+###################################### EDC, Begin ################################
+SET(EDC_DIR ${CMAKE_SOURCE_DIR}/edc)
+SET(IMAGE_DIR ${CMAKE_SOURCE_DIR}/images/edc_images)
+
+SET(EDC_FILES
+cam_main_layout
+cam_toolbar_layout
+cam_toolbar_layout_inverse
+cam_toolbar_layout_vertical
+cam_toolbar_layout_vertical_inverse
+cam_recording_edje
+cam_recording_edje_inverse
+cam_recording_edje_vertical
+cam_recording_edje_vertical_inverse
+style_ctxpopup_camera_with_radio
+style_slider_camera
+style_label_camera
+style_button_camera
+cam_indicator_layout
+cam_utils
+cam_ev_layout
+cam_ev_layout_inverse
+cam_ev_layout_vertical
+cam_ev_layout_vertical_inverse
+cam_zoom_layout
+cam_zoom_layout_inverse
+cam_zoom_layout_vertical
+cam_zoom_layout_vertical_inverse
+cam_ctxpopup_shortcuts
+cam_setting_popup_layout
+cam_images
+)
+
+FOREACH(file_name ${EDC_FILES})
+ ADD_CUSTOM_TARGET(${file_name}.edj
+ COMMAND edje_cc -id ${IMAGE_DIR}
+ ${EDC_DIR}/${file_name}.edc ${EDC_DIR}/${file_name}.edj
+ DEPENDS ${EDC_DIR}/${file_name}.edc
+ )
+ ADD_DEPENDENCIES(${PROJECT_NAME} ${file_name}.edj)
+ INSTALL(FILES ${EDC_DIR}/${file_name}.edj DESTINATION ${EDJDIR})
+ENDFOREACH(file_name)
+###################################### EDC, end ################################
+
+# install library
+INSTALL(TARGETS ${PROJECT_NAME} DESTINATION /usr/ug/lib)
+
+# install sound & image files
+INSTALL(FILES ${CMAKE_SOURCE_DIR}/ug-camera-efl.xml DESTINATION /usr/share/packages/)
+INSTALL(FILES ${CMAKE_SOURCE_DIR}/ug-camera-efl.png DESTINATION ${ICONDIR})
+INSTALL(DIRECTORY ${CMAKE_SOURCE_DIR}/sounds DESTINATION ${SOUNDDIR})
+
+# install .camera.ini file
+INSTALL(FILES ${CMAKE_SOURCE_DIR}/.camera.ini DESTINATION ${DATADIR})
+
+# i18n
+ADD_SUBDIRECTORY(po)
diff --git a/LICENSE.Flora b/LICENSE.Flora
new file mode 100755
index 0000000..571fe79
--- /dev/null
+++ b/LICENSE.Flora
@@ -0,0 +1,206 @@
+Flora License
+
+Version 1.1, April, 2013
+
+http://floralicense.org/license/
+
+TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+1. Definitions.
+
+"License" shall mean the terms and conditions for use, reproduction,
+and distribution as defined by Sections 1 through 9 of this document.
+
+"Licensor" shall mean the copyright owner or entity authorized by
+the copyright owner that is granting the License.
+
+"Legal Entity" shall mean the union of the acting entity and
+all other entities that control, are controlled by, or are
+under common control with that entity. For the purposes of
+this definition, "control" means (i) the power, direct or indirect,
+to cause the direction or management of such entity,
+whether by contract or otherwise, or (ii) ownership of fifty percent (50%)
+or more of the outstanding shares, or (iii) beneficial ownership of
+such entity.
+
+"You" (or "Your") shall mean an individual or Legal Entity
+exercising permissions granted by this License.
+
+"Source" form shall mean the preferred form for making modifications,
+including but not limited to software source code, documentation source,
+and configuration files.
+
+"Object" form shall mean any form resulting from mechanical
+transformation or translation of a Source form, including but
+not limited to compiled object code, generated documentation,
+and conversions to other media types.
+
+"Work" shall mean the work of authorship, whether in Source or Object form,
+made available under the License, as indicated by a copyright notice
+that is included in or attached to the work (an example is provided
+in the Appendix below).
+
+"Derivative Works" shall mean any work, whether in Source or Object form,
+that is based on (or derived from) the Work and for which the editorial
+revisions, annotations, elaborations, or other modifications represent,
+as a whole, an original work of authorship. For the purposes of this License,
+Derivative Works shall not include works that remain separable from,
+or merely link (or bind by name) to the interfaces of, the Work and
+Derivative Works thereof.
+
+"Contribution" shall mean any work of authorship, including the original
+version of the Work and any modifications or additions to that Work or
+Derivative Works thereof, that is intentionally submitted to Licensor
+for inclusion in the Work by the copyright owner or by an individual or
+Legal Entity authorized to submit on behalf of the copyright owner.
+For the purposes of this definition, "submitted" means any form of
+electronic, verbal, or written communication sent to the Licensor or
+its representatives, including but not limited to communication on
+electronic mailing lists, source code control systems, and issue
+tracking systems that are managed by, or on behalf of, the Licensor
+for the purpose of discussing and improving the Work, but excluding
+communication that is conspicuously marked or otherwise designated
+in writing by the copyright owner as "Not a Contribution."
+
+"Contributor" shall mean Licensor and any individual or Legal Entity
+on behalf of whom a Contribution has been received by Licensor and
+subsequently incorporated within the Work.
+
+"Tizen Certified Platform" shall mean a software platform that complies
+with the standards set forth in the Tizen Compliance Specification
+and passes the Tizen Compliance Tests as defined from time to time
+by the Tizen Technical Steering Group and certified by the Tizen
+Association or its designated agent.
+
+2. Grant of Copyright License. Subject to the terms and conditions of
+this License, each Contributor hereby grants to You a perpetual,
+worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+copyright license to reproduce, prepare Derivative Works of,
+publicly display, publicly perform, sublicense, and distribute the
+Work and such Derivative Works in Source or Object form.
+
+3. Grant of Patent License. Subject to the terms and conditions of
+this License, each Contributor hereby grants to You a perpetual,
+worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+(except as stated in this section) patent license to make, have made,
+use, offer to sell, sell, import, and otherwise transfer the Work
+solely as incorporated into a Tizen Certified Platform, where such
+license applies only to those patent claims licensable by such
+Contributor that are necessarily infringed by their Contribution(s)
+alone or by combination of their Contribution(s) with the Work solely
+as incorporated into a Tizen Certified Platform to which such
+Contribution(s) was submitted. If You institute patent litigation
+against any entity (including a cross-claim or counterclaim
+in a lawsuit) alleging that the Work or a Contribution incorporated
+within the Work constitutes direct or contributory patent infringement,
+then any patent licenses granted to You under this License for that
+Work shall terminate as of the date such litigation is filed.
+
+4. Redistribution. You may reproduce and distribute copies of the
+Work or Derivative Works thereof pursuant to the copyright license
+above, in any medium, with or without modifications, and in Source or
+Object form, provided that You meet the following conditions:
+
+ 1. You must give any other recipients of the Work or Derivative Works
+ a copy of this License; and
+ 2. You must cause any modified files to carry prominent notices stating
+ that You changed the files; and
+ 3. You must retain, in the Source form of any Derivative Works that
+ You distribute, all copyright, patent, trademark, and attribution
+ notices from the Source form of the Work, excluding those notices
+ that do not pertain to any part of the Derivative Works; and
+ 4. If the Work includes a "NOTICE" text file as part of its distribution,
+ then any Derivative Works that You distribute must include a readable
+ copy of the attribution notices contained within such NOTICE file,
+ excluding those notices that do not pertain to any part of
+ the Derivative Works, in at least one of the following places:
+ within a NOTICE text file distributed as part of the Derivative Works;
+ within the Source form or documentation, if provided along with the
+ Derivative Works; or, within a display generated by the Derivative Works,
+ if and wherever such third-party notices normally appear.
+ The contents of the NOTICE file are for informational purposes only
+ and do not modify the License. You may add Your own attribution notices
+ within Derivative Works that You distribute, alongside or as an addendum
+ to the NOTICE text from the Work, provided that such additional attribution
+ notices cannot be construed as modifying the License. You may add Your own
+ copyright statement to Your modifications and may provide additional or
+ different license terms and conditions for use, reproduction, or
+ distribution of Your modifications, or for any such Derivative Works
+ as a whole, provided Your use, reproduction, and distribution of
+ the Work otherwise complies with the conditions stated in this License
+ and your own copyright statement or terms and conditions do not conflict
+ the conditions stated in the License including section 3.
+
+5. Submission of Contributions. Unless You explicitly state otherwise,
+any Contribution intentionally submitted for inclusion in the Work
+by You to the Licensor shall be under the terms and conditions of
+this License, without any additional terms or conditions.
+Notwithstanding the above, nothing herein shall supersede or modify
+the terms of any separate license agreement you may have executed
+with Licensor regarding such Contributions.
+
+6. Trademarks. This License does not grant permission to use the trade
+names, trademarks, service marks, or product names of the Licensor,
+except as required for reasonable and customary use in describing the
+origin of the Work and reproducing the content of the NOTICE file.
+
+7. Disclaimer of Warranty. Unless required by applicable law or
+agreed to in writing, Licensor provides the Work (and each
+Contributor provides its Contributions) on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+implied, including, without limitation, any warranties or conditions
+of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+PARTICULAR PURPOSE. You are solely responsible for determining the
+appropriateness of using or redistributing the Work and assume any
+risks associated with Your exercise of permissions under this License.
+
+8. Limitation of Liability. In no event and under no legal theory,
+whether in tort (including negligence), contract, or otherwise,
+unless required by applicable law (such as deliberate and grossly
+negligent acts) or agreed to in writing, shall any Contributor be
+liable to You for damages, including any direct, indirect, special,
+incidental, or consequential damages of any character arising as a
+result of this License or out of the use or inability to use the
+Work (including but not limited to damages for loss of goodwill,
+work stoppage, computer failure or malfunction, or any and all
+other commercial damages or losses), even if such Contributor
+has been advised of the possibility of such damages.
+
+9. Accepting Warranty or Additional Liability. While redistributing
+the Work or Derivative Works thereof, You may choose to offer,
+and charge a fee for, acceptance of support, warranty, indemnity,
+or other liability obligations and/or rights consistent with this
+License. However, in accepting such obligations, You may act only
+on Your own behalf and on Your sole responsibility, not on behalf
+of any other Contributor, and only if You agree to indemnify,
+defend, and hold each Contributor harmless for any liability
+incurred by, or claims asserted against, such Contributor by reason
+of your accepting any such warranty or additional liability.
+
+END OF TERMS AND CONDITIONS
+
+APPENDIX: How to apply the Flora License to your work
+
+To apply the Flora License to your work, attach the following
+boilerplate notice, with the fields enclosed by brackets "[]"
+replaced with your own identifying information. (Don't include
+the brackets!) The text should be enclosed in the appropriate
+comment syntax for the file format. We also recommend that a
+file or class name and description of purpose be included on the
+same "printed page" as the copyright notice for easier
+identification within third-party archives.
+
+ Copyright [yyyy] [name of copyright owner]
+
+ Licensed under the Flora License, Version 1.1 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://floralicense.org/license/
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
diff --git a/NOTICE b/NOTICE
new file mode 100644
index 0000000..a5964ea
--- /dev/null
+++ b/NOTICE
@@ -0,0 +1,3 @@
+Copyright (c) 2012 Samsung Electronics Co., Ltd. All rights reserved.
+Except as noted, this software is licensed under Flora License, Version 1.1.
+Please, see the LICENSE.Flora file for Flora License, Version 1.1 terms and conditions.
diff --git a/edc/cam_ctxpopup_shortcuts.edc b/edc/cam_ctxpopup_shortcuts.edc
new file mode 100755
index 0000000..8de32fc
--- /dev/null
+++ b/edc/cam_ctxpopup_shortcuts.edc
@@ -0,0 +1,1010 @@
+/*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.1 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://floralicense.org/license/
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+
+#include "cam_ctxpopup_shortcuts_inc.edc"
+
+#define SHORTCUTS_PANEL_WIDTH 720
+#define SHORTCUTS_PANEL_HEIGHT 900
+
+
+images {
+ image: SHOTCUTS_LINE_V_IMAGE COMP;
+ image: SHOTCUTS_EDIT_BG_H_IMAGE COMP;
+ image: SHOTCUTS_EDIT_MENU_BG_H_IMAGE COMP;
+ image: SHOTCUTS_LINE_H_IMAGE COMP;
+ image: SHOTCUTS_TEXT_BG_IMAGE COMP;
+}
+
+collections {
+ styles
+ {
+ style {
+ name: "cam_textblock_effect_default";
+ base: "font=SLP:style=Roman font_size=30 align=center color=#FFFFFF ellipise=1.0 wrap=mixed";
+ tag: "br" "\n";
+ tag: "hilight" "+ font=SLP:style=Bold";
+ tag: "b" "+ font=SLP:style=Bold";
+ tag: "tab" "\t";
+ }
+ style {
+ name: "cam_textblock_effect_align_left";
+ base: "font=SLP:style=Roman font_size=30 color=#000000 ellipise=1.0 wrap=mixed";
+ tag: "br" "\n";
+ tag: "hilight" "+ font=SLP:style=Bold";
+ tag: "b" "+ font=SLP:style=Bold";
+ tag: "tab" "\t";
+ }
+ style {
+ name: "cam_text_default";
+ base: "font=SLP:style=Roman font_size=30 align=center color=#FFFFFF ellipise=1.0 wrap=mixed";
+ tag: "br" " \n";
+ }
+ style {
+ name: "cam_text_left";
+ base: "font=SLP:style=Roman font_size=30 align=left color=#FFFFFF ellipise=1.0 wrap=mixed";
+ tag: "br" " \n";
+ }
+ }
+ group {
+ name: "camera/shortcuts/ele";
+ parts {
+ part {
+ name: "bg";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ min: 180 200;
+ max: 180 200;
+ rel1 { relative: 0.0 0.0; }
+ rel2 { relative: 1.0 1.0; }
+ }
+ }
+ part {
+ name: "ele.bg.top";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ rel1 { relative: 0.0 0.0; to:"bg";}
+ rel2 { relative: 1.0 122/200; to:"bg";}
+ }
+ }
+ part {
+ name: "ele.bg.bottom";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ rel1 { relative: 0.0 100/200; to:"bg";}
+ rel2 { relative: 1.0 1.0; to:"bg";}
+ }
+ }
+ part {
+ name: "ele.icon";
+ type: SWALLOW;
+ scale: 1;
+ mouse_events: 1;
+ description {
+ state: "default" 0.0;
+ visible: 1;
+ min: 86 86;
+ max: 86 86;
+ align: 0.5 0.5;
+ aspect: 1.0 1.0;
+ rel1 { relative: 14/180 0.0; to:"ele.bg.top";}
+ rel2 { relative: (1-14/180) 1.0; to:"ele.bg.top";}
+ }
+ }
+ part {
+ name: "ele.txt";
+ type: TEXTBLOCK;
+ scale: 1;
+ mouse_events: 0;
+ description {
+ state: "default" 0.0;
+ visible: 1;
+ align: 0.5 0.5;
+ rel1 { relative: 0.05 0.05; to:"ele.bg.bottom";}
+ rel2 { relative: 0.95 0.80; to:"ele.bg.bottom";}
+ text {
+ style: cam_textblock_effect_default;
+ min: 0 0;
+ }
+ }
+ }
+ part {
+ name: "ele.bg.bottom.pad";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ align: 0.0 0.0;
+ min: 0 4;
+ rel1 { relative: 1.0 1.0; to:"ele.txt";}
+ }
+ }
+ }
+ }
+
+ #define SHORTCUST_LAYOUT_WIDTH 720
+ #define SHORTCUST_LAYOUT_HEIGHT 1000
+
+ group {
+ name : "camera/shortcuts/layout/description";
+ parts {
+ part {
+ name: "bg";
+ type: RECT;
+// scale: 1;
+ mouse_events: 0;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ min: 720 120;
+ rel1 { relative: 0.0 0.0; }
+ rel2 { relative: 1.0 1.0; }
+ }
+ }
+
+ part {
+ name: "bg.content.img";
+ type: IMAGE;
+ scale: 1;
+ mouse_events: 0;
+ description {
+ state: "default" 0.0;
+ visible: 1;
+ rel1 { relative: 0.0 0.0; to: "bg";}
+ rel2 { relative: 1.0 1.0; to: "bg";}
+ image{
+ normal: SHOTCUTS_TEXT_BG_IMAGE ;
+ }
+ }
+ }
+ part {
+ name: "description.txtblock";
+ type: TEXTBLOCK;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ visible: 1;
+ rel1 { relative: 80/720 30/120; to: "bg.content.img";}
+ rel2 { relative: 640/720 100/120; to: "bg.content.img";}
+ align: 0.0 0.0;
+ text {
+ style: cam_textblock_effect_default;
+ min: 0 0;
+ max: 0 1;
+ }
+ }
+ }
+ }//end parts
+ }
+
+ group {
+ name:"camera/shortcuts/layout";
+ parts {
+ part {
+ name: "bg";
+ type: RECT;
+// scale: 1;
+ mouse_events: 0;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ min: SHORTCUST_LAYOUT_WIDTH SHORTCUST_LAYOUT_HEIGHT;
+ rel1 { relative: 0.0 0.0; }
+ rel2 { relative: 1.0 1.0; }
+ }
+ }
+
+ part {
+ name: "bg.content.img";
+ type: IMAGE;
+ scale: 1;
+ mouse_events: 0;
+ description {
+ state: "default" 0.0;
+ visible: 1;
+ rel1 { relative: 0.0 0.0; to: "bg";}
+ rel2 { relative: 1.0 1.0; to: "bg";}
+ image{
+ normal: SHOTCUTS_EDIT_BG_H_IMAGE ;
+ }
+ }
+ }
+
+ part {
+ name: "bg.content.shortcuts";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ rel1 { relative: 0.0 0.0; to: "bg";}
+ rel2 { relative: 1.0 1.0; to: "bg";}
+ }
+ }
+
+ part {
+ name: "line_h.1.padding.top";
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: 720 200;
+ visible: 0;
+ rel1 { relative: 0.0 0.0; to: "bg.content.shortcuts";}
+ rel2 { relative: 1.0 0.0; to: "bg.content.shortcuts";}
+ align: 0.0 0.0;
+ color: 0 0 0 255;
+ }
+ }
+
+ part {
+ name: "line_h.1";
+ type: IMAGE;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: 720 4;
+ visible: 1;
+ rel1 { relative: 0.0 1.0; to: "line_h.1.padding.top";}
+ rel2 { relative: 1.0 1.0; to: "line_h.1.padding.top";}
+ align: 0.0 0.0;
+ image{
+ normal: SHOTCUTS_LINE_H_IMAGE ;
+ }
+ }
+ }
+
+ part {
+ name: "line_h.2.padding.top";
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: 720 200;
+ visible: 0;
+ rel1 { relative: 0.0 1.0; to: "line_h.1";}
+ rel2 { relative: 1.0 1.0; to: "line_h.1";}
+ align: 0.0 0.0;
+ color: 0 0 0 255;
+ }
+ }
+
+ part {
+ name: "line_h.2";
+ type: IMAGE;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: 720 4;
+ visible: 1;
+ rel1 { relative: 0.0 1.0; to: "line_h.2.padding.top";}
+ rel2 { relative: 1.0 1.0; to: "line_h.2.padding.top";}
+ image{
+ normal: SHOTCUTS_LINE_H_IMAGE ;
+ }
+ align: 0.0 0.0;
+ }
+ }
+
+ part {
+ name: "line_h.3.padding.top";
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: 720 200;
+ visible: 0;
+ rel1 { relative: 0.0 1.0; to: "line_h.2";}
+ rel2 { relative: 1.0 1.0; to: "line_h.2";}
+ align: 0.0 0.0;
+ color: 0 0 0 255;
+ }
+ }
+
+ part {
+ name: "line_h.3";
+ type: IMAGE;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: 720 4;
+ visible: 1;
+ rel1 { relative: 0.0 1.0; to: "line_h.3.padding.top";}
+ rel2 { relative: 1.0 1.0; to: "line_h.3.padding.top";}
+ align: 0.0 0.0;
+ image{
+ normal: SHOTCUTS_LINE_H_IMAGE ;
+ }
+ }
+ }
+
+ part {
+ name: "line_h.4.padding.top";
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: 720 200;
+ visible: 0;
+ rel1 { relative: 0.0 1.0; to: "line_h.3";}
+ rel2 { relative: 1.0 1.0; to: "line_h.3";}
+ align: 0.0 0.0;
+ color: 0 0 0 255;
+ }
+ }
+
+ part {
+ name: "line_h.4";
+ type: IMAGE;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: 720 4;
+ visible: 1;
+ rel1 { relative: 0.0 1.0; to: "line_h.4.padding.top";}
+ rel2 { relative: 1.0 1.0; to: "line_h.4.padding.top";}
+ align: 0.0 0.0;
+ image{
+ normal: SHOTCUTS_LINE_H_IMAGE ;
+ }
+ }
+ }
+
+ part {
+ name: "line_h.5.padding.top";
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: 720 200;
+ visible: 0;
+ rel1 { relative: 0.0 1.0; to: "line_h.4";}
+ rel2 { relative: 1.0 1.0; to: "line_h.4";}
+ align: 0.0 0.0;
+ color: 0 0 0 255;
+ }
+ }
+
+ part {
+ name: "line_v.1.padding.left";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 180 1000;
+ visible: 0;
+ rel1 { relative: 0.0 0.0; to:"bg.content.shortcuts";}
+ rel2 { relative: 0.0 1.0; to:"bg.content.shortcuts";}
+ align: 0.0 0.0;
+ color: 0 0 0 255;
+ }
+ }
+
+ part {
+ name: "line_v.1";
+ type: IMAGE;
+ scale: 1;
+ mouse_events: 0;
+ description {
+ state: "default" 0.0;
+ visible: 1;
+ min: 4 1000;
+ visible: 1;
+ rel1 { relative: 1.0 0.0; to:"line_v.1.padding.left";}
+ rel2 { relative: 1.0 1.0; to:"line_v.1.padding.left";}
+ image{
+ normal: SHOTCUTS_LINE_V_IMAGE ;
+ }
+ align: 0.0 0.0;
+ }
+ }
+
+ part {
+ name: "line_v.2.padding.left";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 180 1000;
+ visible: 0;
+ rel1 { relative: 1.0 0.0; to:"line_v.1";}
+ rel2 { relative: 1.0 1.0; to:"line_v.1";}
+ align: 0.0 0.0;
+ color: 0 0 0 255;
+ }
+ }
+
+ part {
+ name: "line_v.2";
+ type: IMAGE;
+ scale: 1;
+ mouse_events: 0;
+ description {
+ state: "default" 0.0;
+ visible: 1;
+ min: 4 1000;
+ rel1 { relative: 1.0 0.0; to:"line_v.2.padding.left";}
+ rel2 { relative: 1.0 1.0; to:"line_v.2.padding.left";}
+ image{
+ normal: SHOTCUTS_LINE_V_IMAGE ;
+ }
+ align: 0.0 0.0;
+ }
+ }
+
+ part {
+ name: "line_v.3.padding.left";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 180 1000;
+ visible: 0;
+ rel1 { relative: 1.0 0.0; to:"line_v.2";}
+ rel2 { relative: 1.0 1.0; to:"line_v.2";}
+ align: 0.0 0.0;
+ color: 0 0 0 255;
+ }
+ }
+
+ part {
+ name: "line_v.3";
+ type: IMAGE;
+ scale: 1;
+ mouse_events: 0;
+ description {
+ state: "default" 0.0;
+ visible: 1;
+ min: 4 1000;
+ rel1 { relative: 1.0 0.0; to:"line_v.3.padding.left";}
+ rel2 { relative: 1.0 1.0; to:"line_v.3.padding.left";}
+ image{
+ normal: SHOTCUTS_LINE_V_IMAGE ;
+ }
+ align: 0.0 0.0;
+ }
+ }
+
+ part {
+ name: "line_v.4.padding.left";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 180 1000;
+ visible: 0;
+ rel1 { relative: 1.0 0.0; to:"line_v.3";}
+ rel2 { relative: 1.0 1.0; to:"line_v.3";}
+ align: 0.0 0.0;
+ color: 0 0 0 255;
+ }
+ }
+
+ SHORTCUTS_ITEM_BG(0,1,1);
+ SHORTCUTS_ITEM_BG(1,1,2);
+ SHORTCUTS_ITEM_BG(2,1,3);
+ SHORTCUTS_ITEM_BG(3,1,4);
+
+ SHORTCUTS_ITEM_BG(4,2,1);
+ SHORTCUTS_ITEM_BG(5,2,2);
+ SHORTCUTS_ITEM_BG(6,2,3);
+ SHORTCUTS_ITEM_BG(7,2,4);
+
+ SHORTCUTS_ITEM_BG(8,3,1);
+ SHORTCUTS_ITEM_BG(9,3,2);
+ SHORTCUTS_ITEM_BG(10,3,3);
+ SHORTCUTS_ITEM_BG(11,3,4);
+
+ SHORTCUTS_ITEM_BG(12,4,1);
+ SHORTCUTS_ITEM_BG(13,4,2);
+ SHORTCUTS_ITEM_BG(14,4,3);
+ SHORTCUTS_ITEM_BG(15,4,4);
+
+ SHORTCUTS_ITEM_BG(16,5,1);
+ SHORTCUTS_ITEM_BG(17,5,2);
+ SHORTCUTS_ITEM_BG(18,5,3);
+ SHORTCUTS_ITEM_BG(19,5,4);
+
+
+ SHORTCUTS_MENU_H("0", "menu.0.bg", "menu.0.bg", "menu.1.bg")
+ SHORTCUTS_MENU_H("1", "menu.0.bg", "menu.1.bg", "menu.2.bg")
+ SHORTCUTS_MENU_H("2", "menu.1.bg", "menu.2.bg", "menu.3.bg")
+ SHORTCUTS_MENU_H("3", "menu.2.bg", "menu.3.bg", "menu.4.bg")
+
+ SHORTCUTS_MENU_H("4", "menu.3.bg", "menu.4.bg", "menu.5.bg")
+ SHORTCUTS_MENU_H("5", "menu.4.bg", "menu.5.bg", "menu.6.bg")
+ SHORTCUTS_MENU_H("6", "menu.5.bg", "menu.6.bg", "menu.7.bg")
+ SHORTCUTS_MENU_H("7", "menu.6.bg", "menu.7.bg", "menu.8.bg")
+
+ SHORTCUTS_MENU_H("8", "menu.7.bg", "menu.8.bg", "menu.9.bg")
+ SHORTCUTS_MENU_H("9", "menu.8.bg", "menu.9.bg", "menu.10.bg")
+ SHORTCUTS_MENU_H("10", "menu.9.bg", "menu.10.bg", "menu.11.bg")
+ SHORTCUTS_MENU_H("11", "menu.10.bg", "menu.11.bg", "menu.12.bg")
+
+ SHORTCUTS_MENU_H("12", "menu.11.bg", "menu.12.bg", "menu.13.bg")
+ SHORTCUTS_MENU_H("13", "menu.12.bg", "menu.13.bg", "menu.14.bg")
+ SHORTCUTS_MENU_H("14", "menu.13.bg", "menu.14.bg", "menu.15.bg")
+ SHORTCUTS_MENU_H("15", "menu.14.bg", "menu.15.bg", "menu.16.bg")
+
+ SHORTCUTS_MENU_H("16", "menu.15.bg", "menu.16.bg", "menu.17.bg")
+ SHORTCUTS_MENU_H("17", "menu.16.bg", "menu.17.bg", "menu.18.bg")
+ SHORTCUTS_MENU_H("18", "menu.17.bg", "menu.18.bg", "menu.19.bg")
+ SHORTCUTS_MENU_H("19", "menu.18.bg", "menu.19.bg", "menu.19.bg")
+
+ }
+ programs {
+ SHORTCUTS_MENU_PROGRAM(0)
+ SHORTCUTS_MENU_PROGRAM(1)
+ SHORTCUTS_MENU_PROGRAM(2)
+ SHORTCUTS_MENU_PROGRAM(3)
+
+ SHORTCUTS_MENU_PROGRAM(4)
+ SHORTCUTS_MENU_PROGRAM(5)
+ SHORTCUTS_MENU_PROGRAM(6)
+ SHORTCUTS_MENU_PROGRAM(7)
+
+ SHORTCUTS_MENU_PROGRAM(8)
+ SHORTCUTS_MENU_PROGRAM(9)
+ SHORTCUTS_MENU_PROGRAM(10)
+ SHORTCUTS_MENU_PROGRAM(11)
+
+ SHORTCUTS_MENU_PROGRAM(12)
+ SHORTCUTS_MENU_PROGRAM(13)
+ SHORTCUTS_MENU_PROGRAM(14)
+ SHORTCUTS_MENU_PROGRAM(15)
+
+ SHORTCUTS_MENU_PROGRAM(16)
+ SHORTCUTS_MENU_PROGRAM(17)
+ SHORTCUTS_MENU_PROGRAM(18)
+ SHORTCUTS_MENU_PROGRAM(19)
+
+ }
+ }
+
+/*NOTE: shortcuts popup tip define*/
+/**
+* width:10(left_pading) + 16 + 306(help image width) +16 + 16 + 10(right padding)
+* width = 10 + 16 + 306 + 16 + 306 + 16 + 10 = 680
+* height = 10 + 64 + 22 + 240 + 22 + 60 + 22 + 96 + 10 = 546
+*/
+
+ group {
+ name: "camera/shortcuts/help/check/layout";
+ parts {
+ part {
+ name: "check.swallow";
+ type: SWALLOW;
+ scale: 1;
+ mouse_events: 1;
+ description {
+ state: "default" 0.0;
+ visible: 1;
+ min: 42 42;
+ max: 42 42;
+ fixed: 1 0;
+ align: 0.0 0.5;
+ }
+ }
+
+ part {
+ name: "check.txt";
+ type: TEXT;
+ scale: 1;
+ mouse_events: 0;
+ description {
+ state: "default" 0.0;
+ visible: 1;
+ min: 120 42;
+ max: 120 42;
+ fixed: 1 0;
+ align: 0 0.5;
+ rel1 { relative: 1.0 0.0; to: "check.swallow";}
+ rel2 { relative: 1.0 1.0;}
+ text {
+ font: FONT_NAME;
+ size: 30;
+ align: 0.0 0.5;
+ min: 1 1;
+ text: "Don't ask again";
+ }
+ }
+ }//part
+ }//parts
+
+ }
+
+ group {
+ name: "camera/shortcuts/help";
+ min: 680 546;
+ max: 680 546;
+ parts {
+ part {
+ name: "bg";
+ type: RECT;
+ scale: 1;
+ mouse_events: 1;
+ description {
+ state: "default" 0.0;
+ visible: 1;
+ min: 680 546;
+ max: 680 546;
+ fixed: 1 1;
+ rel1 { relative: 0.0 0.0; }
+ rel2 { relative: 1.0 1.0; }
+ color: 255 255 255 255;
+ }
+ }
+ CAM_SHORTCUTS_HELP_PART_PADDING_TOP(10)
+ CAM_SHORTCUTS_HELP_PART_PADDING_BOTTOM(10)
+ CAM_SHORTCUTS_HELP_PART_PADDING_LEFT(10)
+ CAM_SHORTCUTS_HELP_PART_PADDING_RIGHT(10)
+
+ part {
+ name: "tips";
+ type: RECT;
+ scale: 1;
+ mouse_events: 1;
+ description {
+ state: "default" 0.0;
+ visible: 1;
+ min: 0 64;
+ fixed: 0 1;
+ align: 0 0;
+ rel1 { relative: 1.0 1.0; to_x: "elm.padding.left"; to_y: "elm.padding.top";}
+ rel2 { relative: 0.0 1.0; to_x: "elm.padding.right"; to_y: "elm.padding.top";}
+ color: 51 102 153 255;
+ /*color: 0 0 0 196;*/
+ }
+ }
+
+ part {
+ name: "tips.txt";
+ type: TEXTBLOCK;
+ scale: 1;
+ mouse_events: 0;
+ description {
+ state: "default" 0.0;
+ visible: 1;
+ align: 0.5 0.5;
+ rel1 { relative: 0.0 0.0; to: "tips";}
+ rel2 { relative: 1.0 1.0; to: "tips";}
+ text {
+ style: "cam_text_default";
+ min: 1 1;
+ }
+ }
+ }
+
+ part {
+ name: "button.bg";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ min: 0 96;
+ fixed: 0 1;
+ align: 1 1;
+ rel1 { relative: 1.0 0.0; to_x: "elm.padding.left"; to_y: "elm.padding.bottom";}
+ rel2 { relative: 0.0 0.0; to_x: "elm.padding.right"; to_y: "elm.padding.bottom";}
+ color: 255 255 255 64;
+ }
+ }
+
+ part {
+ name: "button.swallow";
+ type: SWALLOW;
+ scale: 1;
+ mouse_events: 1;
+ description {
+ state: "default" 0.0;
+ visible: 1;
+ align: 0.5 0.5;
+ rel1 { relative: 0.2 0.0; to: "button.bg";}
+ rel2 { relative: 0.8 0.8; to: "button.bg";}
+ color: 51 102 153 255;
+ }
+ }
+
+
+ part {
+ name: "content.bg";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ align: 1 1;
+ rel1 { relative: 1.0 1.0; to_x: "elm.padding.left"; to_y: "tips";}
+ rel2 { relative: 0.0 0.0; to_x: "elm.padding.right"; to_y: "button.bg";}
+ color: 0 0 0 64;
+ }
+ }
+ /*note: content:
+ * width: 16 + 306 + 16 + 306 + 16 = 660
+ * height: 22 + 60*4 + 22 + 60 + 22 = 366
+ */
+ part {
+ name: "content.help.image";
+ type: SWALLOW;
+ scale: 1;
+ mouse_events: 0;
+ description {
+ state: "default" 0.0;
+ visible: 1;
+ align: 1 1;
+ rel1 { relative: 16/660 22/366; to: "content.bg";}
+ rel2 { relative: (16+306)/660 (22 + 240)/366; to: "content.bg";}
+ }
+ }
+ part {
+ name: "content.help.txt.bg";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ align: 1 1;
+ rel1 { relative: (16+306)/660 22/366; to: "content.bg";}
+ rel2 { relative: (16+306+306)/660 (22 + 240)/366; to: "content.bg";}
+ color: 0 0 0 64;
+ }
+ }
+
+ part {
+ name: "content.help.check";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ align: 1 1;
+ rel1 { relative: 16/660 (22 + 240 + 22)/366; to: "content.bg";}
+ rel2 { relative: (16+306+306)/660 (22 + 240 + 22 + 60)/366; to: "content.bg";}
+ color: 0 0 0 64;
+ }
+ }
+
+ part {
+ name: "content.help.check.swallow";
+ type: SWALLOW;
+ scale: 1;
+ mouse_events: 1;
+ description {
+ state: "default" 0.0;
+ visible: 1;
+ align: 1.0 0.5;
+ rel1 { relative: 0.25 0.0; to: "content.help.check";}
+ rel2 { relative: 0.40 1.0; to: "content.help.check";}
+ color: 0 0 0 64;
+ }
+ }
+
+ part {
+ name: "content.help.check.txt";
+ type: TEXTBLOCK;
+ scale: 1;
+ mouse_events: 0;
+ description {
+ state: "default" 0.0;
+ visible: 1;
+ align: 0.0 0.5;
+ rel1 { relative: 0.40 0.0; to: "content.help.check";}
+ rel2 { relative: 1.0 1.0; to: "content.help.check";}
+ text {
+ style: "cam_text_left";
+ min: 1 1;
+ }
+ color: 0 0 0 255;
+ }
+ }
+
+ part {
+ name: "content.help.txt.1.bg";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ align: 1 1;
+ rel1 { relative: 0.0 0.0; to: "content.help.txt.bg";}
+ rel2 { relative: 1.0 60/240; to: "content.help.txt.bg";}
+ color: 0 0 0 64;
+ }
+ }
+ part {
+ name: "content.help.txt.2.bg";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ align: 1 1;
+ rel1 { relative: 0.0 60/240; to: "content.help.txt.bg";}
+ rel2 { relative: 1.0 120/240; to: "content.help.txt.bg";}
+ color: 0 0 0 64;
+ }
+ }
+ part {
+ name: "content.help.txt.3.bg";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ align: 1 1;
+ rel1 { relative: 0.0 120/240; to: "content.help.txt.bg";}
+ rel2 { relative: 1.0 180/240; to: "content.help.txt.bg";}
+ color: 0 0 0 64;
+ }
+ }
+ part {
+ name: "content.help.txt.4.bg";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ align: 1 1;
+ rel1 { relative: 0.0 180/240; to: "content.help.txt.bg";}
+ rel2 { relative: 1.0 240/240; to: "content.help.txt.bg";}
+ color: 0 0 0 64;
+ }
+ }
+#if 1/*note: using textblock, block two lines parts*/
+ part {
+ name: "content.help.txtblock.bg";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ align: 1 1;
+ rel1 { relative: 0.0 0/240; to: "content.help.txt.bg";}
+ rel2 { relative: 1.0 180/240; to: "content.help.txt.bg";}
+ color: 0 0 0 64;
+ }
+ }
+ part {
+ name: "content.help.txtblock";
+ type: TEXTBLOCK;
+ scale: 1;
+ multiline: 1;
+ mouse_events: 0;
+ description {
+ state: "default" 0.0;
+ visible: 1;
+ align: 0.5 0.5;
+ rel1 { relative: 0.0 0.0; to: "content.help.txtblock.bg";}
+ rel2 { relative: 1.0 1.0; to: "content.help.txtblock.bg";}
+ text {
+ style: cam_textblock_effect_align_left;
+ align: 0.0 1.0;
+ min: 0 0;
+ max: 0 1;
+ //text: "Tap and hold <br><br>shortcuts <br><br>to edit them";
+ }
+ }
+ }
+
+#else
+ part {
+ name: "content.help.txt.1";
+ type: TEXT;
+ scale: 1;
+ mouse_events: 0;
+ description {
+ state: "default" 0.0;
+ visible: 1;
+ align: 1 1;
+ rel1 { relative: 16/(306+16) 0.0; to: "content.help.txt.1.bg";}
+ rel2 { relative: 1.0 1.0; to: "content.help.txt.1.bg";}
+ text {
+ font: FONT_NAME;
+ size: 30;
+ align: 0.0 0.5;
+ min: 1 1;
+ text: "Tap and hold";
+ }
+ }
+ }
+ part {
+ name: "content.help.txt.2";
+ type: TEXT;
+ scale: 1;
+ mouse_events: 0;
+ description {
+ state: "default" 0.0;
+ visible: 1;
+ align: 1 1;
+ rel1 { relative: 16/(306+16) 0.0; to: "content.help.txt.2.bg";}
+ rel2 { relative: 1.0 1.0; to: "content.help.txt.2.bg";}
+ text {
+ font: FONT_NAME;
+ size: 30;
+ align: 0.0 0.5;
+ min: 1 1;
+ text: "shortcuts";
+ }
+ }
+ }
+ part {
+ name: "content.help.txt.3";
+ type: TEXT;
+ scale: 1;
+ mouse_events: 0;
+ description {
+ state: "default" 0.0;
+ visible: 1;
+ align: 1 1;
+ rel1 { relative: 16/(306+16) 0.0; to: "content.help.txt.3.bg";}
+ rel2 { relative: 1.0 1.0; to: "content.help.txt.3.bg";}
+ text {
+ font: FONT_NAME;
+ size: 30;
+ align: 0.0 0.5;
+ min: 1 1;
+ text: "to edit them";
+ }
+ }
+ }
+ part {
+ name: "content.help.txt.4";
+ type: TEXT;
+ scale: 1;
+ mouse_events: 0;
+ description {
+ state: "default" 0.0;
+ visible: 1;
+ align: 1 1;
+ rel1 { relative: 16/(306+16) 0.0; to: "content.help.txt.4.bg";}
+ rel2 { relative: 1.0 1.0; to: "content.help.txt.4.bg";}
+ text {
+ font: FONT_NAME;
+ size: 30;
+ align: 0.0 0.5;
+ min: 1 1;
+ text: "";
+ }
+ }
+ }
+#endif
+
+ }//end parts
+ }//end group
+
+}//END connection
+//end file
diff --git a/edc/cam_ctxpopup_shortcuts_inc.edc b/edc/cam_ctxpopup_shortcuts_inc.edc
new file mode 100755
index 0000000..8889e36
--- /dev/null
+++ b/edc/cam_ctxpopup_shortcuts_inc.edc
@@ -0,0 +1,163 @@
+/*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.1 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://floralicense.org/license/
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+
+#include "../include/edc_image_name.h"
+#include "cam_funcs.edc"
+
+#define SHORTCUTS_PANEL_WIDTH 720
+#define SHORTCUTS_PANEL_HEIGHT 900
+
+#define SHORTCUTS_ITEM_BG(part_no,row,col) \
+ part {\
+ name: "menu."part_no".bg";\
+ type: RECT;\
+ scale: 1;\
+ mouse_events: 0;\
+ description {\
+ state: "default" 0.0;\
+ visible: 0;\
+ rel1 {\
+ relative: 0.0 0.0;\
+ to_x: "line_v."col".padding.left";\
+ to_y: "line_h."row".padding.top";\
+ }\
+ rel2 {\
+ relative: 1.0 1.0;\
+ to_x: "line_v."col".padding.left";\
+ to_y: "line_h."row".padding.top";\
+ }\
+ color: 255 255 255 255;\
+ align: 0.0 0.0;\
+ }\
+ }
+
+#define SHORTCUTS_MENU_H(part_name, pre_to_part, to_part, next_to_part) \
+ part { \
+ name: "row."part_name; \
+ type: SWALLOW; \
+ scale: 1; \
+ mouse_events: 1; \
+ repeat_events: 0;\
+ description { \
+ state: "default" 0.0; \
+ visible: 1; \
+ align: 0.5 0.5; \
+ aspect: 1.0 1.0; \
+ rel1 { relative: 0.0 0.0; to:to_part;} \
+ rel2 { relative: 1.0 1.0; to:to_part;} \
+ } \
+ description { \
+ state: "prev" 0.0; \
+ inherit: "default" 0.0;\
+ rel1 { relative: 0.0 0.0; to:pre_to_part;} \
+ rel2 { relative: 1.0 1.0; to:pre_to_part;} \
+ } \
+ description { \
+ state: "next" 0.0; \
+ inherit: "default" 0.0;\
+ rel1 { relative: 0.0 0.0; to:next_to_part;} \
+ rel2 { relative: 1.0 1.0; to:next_to_part;} \
+ } \
+ }
+
+#define SHORTCUTS_MENU_PROGRAM(part_name) \
+ program { \
+ name: "row."part_name".prev"; \
+ signal: "move,prev"; \
+ source: "row."part_name; \
+ action: STATE_SET "prev" 0.0; \
+ target: "row."part_name; \
+ } \
+ program { \
+ name: "row."part_name".next"; \
+ signal: "move,next"; \
+ source: "row."part_name; \
+ action: STATE_SET "next" 0.0; \
+ target: "row."part_name; \
+ } \
+ program { \
+ name: "row."part_name".ani"; \
+ signal: "ani,return"; \
+ source: "row."part_name; \
+ action: STATE_SET "default" 0.0; \
+ target: "row."part_name; \
+ transition: DECELERATE 0.4; \
+ }
+
+
+/*note: for shotcuts popup tip*/
+
+#define CAM_SHORTCUTS_HELP_PART_PADDING_TOP( param_padding_size ) \
+ part { name: "elm.padding.top"; \
+ type: RECT; \
+ scale: 1; \
+ description { \
+ state: "default" 0.0; \
+ min: 0 param_padding_size; \
+ fixed: 0 1; \
+ visible: 0; \
+ rel2 {relative: 1.0 0.0; to: "bg";}\
+ align: 0.0 0.0; \
+ color: 0 0 0 64;\
+ } \
+ }
+
+
+#define CAM_SHORTCUTS_HELP_PART_PADDING_BOTTOM( param_padding_size ) \
+ part { name: "elm.padding.bottom"; \
+ type: RECT; \
+ scale: 1; \
+ description { state: "default" 0.0; \
+ min: 0 param_padding_size; \
+ fixed: 0 1; \
+ visible: 0; \
+ rel1 {relative: 0.0 1.0; to: "bg";}\
+ align: 0.0 1.0; \
+ color: 0 0 0 64;\
+ } \
+ }
+
+#define CAM_SHORTCUTS_HELP_PART_PADDING_LEFT( param_padding_size ) \
+ part { name: "elm.padding.left"; \
+ type: RECT; \
+ scale: 1; \
+ description { state: "default" 0.0; \
+ min: param_padding_size 0; \
+ fixed: 1 0; \
+ visible: 0; \
+ rel2 {relative: 0.0 1.0; to: "bg";}\
+ align: 0.0 0.0; \
+ color: 0 0 0 64;\
+ } \
+ }
+
+#define CAM_SHORTCUTS_HELP_PART_PADDING_RIGHT( param_padding_size ) \
+ part { name: "elm.padding.right"; \
+ type: RECT; \
+ scale: 1; \
+ description { state: "default" 0.0; \
+ min: param_padding_size 0; \
+ fixed: 1 0; \
+ visible: 0; \
+ rel1 {relative: 1.0 0.0; to: "bg";}\
+ align: 1.0 0.0; \
+ color: 0 0 0 64;\
+ } \
+ }
+
+//end file
+
diff --git a/edc/cam_ev_layout.edc b/edc/cam_ev_layout.edc
new file mode 100755
index 0000000..45662d6
--- /dev/null
+++ b/edc/cam_ev_layout.edc
@@ -0,0 +1,159 @@
+/*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.1 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://floralicense.org/license/
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+
+#include "../include/edc_image_name.h"
+#include "../include/edc_string.h"
+
+#define EV_BG_X 188
+#define EV_BG_Y 72
+#define EV_BG_W 116
+#define EV_BG_H 576
+
+#define EV_ICON_X 15
+#define EV_ICON_Y 14
+#define EV_ICON_W 86
+#define EV_ICON_H 86
+
+#define EV_SLIDE_X 0
+#define EV_SLIDE_Y 120
+
+
+images {
+ image: ZOOM_BG_IMAGE COMP;
+ image: EXPOSURE_VALUE_MINUS_2_0_ICON COMP;
+ image: EXPOSURE_VALUE_MINUS_2_0_PRESS_ICON COMP;
+ image: EXPOSURE_VALUE_PLUS_2_0_ICON COMP;
+ image: EXPOSURE_VALUE_PLUS_2_0_PRESS_ICON COMP;
+}
+
+collections {
+ group {
+ name: "main";
+
+ parts {
+ part {
+ name: "bg";
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ visible: 0.0;
+ min: MAIN_W MAIN_H;
+ max: MAIN_W MAIN_H;
+ fixed: 1 1;
+ rel1 { relative: 0.0 0.0;}
+ rel2 { relative: 1.0 1.0;}
+ }
+ }
+ part {
+ name: "bg_image";
+ type: IMAGE;
+ description {
+ state: "default" 0.0;
+ rel1 { relative: EV_BG_X/MAIN_W EV_BG_Y/MAIN_H; to: "bg";}
+ rel2 { relative: (EV_BG_X+EV_BG_W)/MAIN_W (EV_BG_Y+EV_BG_H)/MAIN_H; to: "bg";}
+ image { normal: ZOOM_BG_IMAGE; }
+ }
+ }
+ part {
+ name: "icon_minus";
+ type: IMAGE;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ rel1 { relative: EV_ICON_X/EV_BG_W (EV_BG_H-EV_ICON_H-EV_ICON_Y)/EV_BG_H; to: "bg_image"; }
+ rel2 { relative: (EV_ICON_X+EV_ICON_W)/EV_BG_W (EV_BG_H-EV_ICON_Y)/EV_BG_H; to: "bg_image"; }
+ image { normal: EXPOSURE_VALUE_MINUS_2_0_ICON; }
+ }
+ description {
+ state: "press" 0.0;
+ inherit: "default" 0.0;
+ image { normal: EXPOSURE_VALUE_MINUS_2_0_PRESS_ICON; }
+ }
+ }
+ part {
+ name: "icon_plus";
+ type: IMAGE;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ rel1 { relative: EV_ICON_X/EV_BG_W EV_ICON_Y/EV_BG_H; to: "bg_image"; }
+ rel2 { relative: (EV_ICON_X+EV_ICON_W)/EV_BG_W (EV_ICON_Y+EV_ICON_H)/EV_BG_H; to: "bg_image"; }
+ image { normal: EXPOSURE_VALUE_PLUS_2_0_ICON; }
+ }
+ description {
+ state: "press" 0.0;
+ inherit: "default" 0.0;
+ image { normal: EXPOSURE_VALUE_PLUS_2_0_PRESS_ICON; }
+ }
+ }
+ part {
+ name: "slider";
+ type: SWALLOW;
+ description {
+ state: "default" 0.0;
+ rel1 { relative: 0.0 EV_SLIDE_Y/EV_BG_H; to: "bg_image"; }
+ rel2 { relative: 1.0 (EV_BG_H-EV_SLIDE_Y)/EV_BG_H; to: "bg_image"; }
+ }
+ }
+ }
+
+ programs {
+ program {
+ name: "icon_minus_press";
+ signal: "mouse,down,1";
+ source: "icon_minus";
+ action: STATE_SET "press" 0.0;
+ target: "icon_minus";
+ }
+ program {
+ name: "icon_minus_release";
+ signal: "mouse,up,1";
+ source: "icon_minus";
+ action: STATE_SET "default" 0.0;
+ target: "icon_minus";
+ }
+ program {
+ name: "icon_minus_clicked";
+ signal: "mouse,clicked,1";
+ source: "icon_minus";
+ action: SIGNAL_EMIT "icon_minus,clicked" "ev_icon_signal";
+ }
+ program {
+ name: "icon_plus_press";
+ signal: "mouse,down,1";
+ source: "icon_plus";
+ action: STATE_SET "press" 0.0;
+ target: "icon_plus";
+ }
+ program {
+ name: "icon_plus_release";
+ signal: "mouse,up,1";
+ source: "icon_plus";
+ action: STATE_SET "default" 0.0;
+ target: "icon_plus";
+ }
+ program {
+ name: "icon_plus_clicked";
+ signal: "mouse,clicked,1";
+ source: "icon_plus";
+ action: SIGNAL_EMIT "icon_plus,clicked" "ev_icon_signal";
+ }
+ }
+ }
+}
+//end files
diff --git a/edc/cam_ev_layout_inverse.edc b/edc/cam_ev_layout_inverse.edc
new file mode 100755
index 0000000..c2c77f7
--- /dev/null
+++ b/edc/cam_ev_layout_inverse.edc
@@ -0,0 +1,159 @@
+/*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.1 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://floralicense.org/license/
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+
+#include "../include/edc_image_name.h"
+#include "../include/edc_string.h"
+
+#define EV_BG_X 188
+#define EV_BG_Y 72
+#define EV_BG_W 116
+#define EV_BG_H 576
+
+#define EV_ICON_X 15
+#define EV_ICON_Y 14
+#define EV_ICON_W 86
+#define EV_ICON_H 86
+
+#define EV_SLIDE_X 0
+#define EV_SLIDE_Y 120
+
+
+images {
+ image: ZOOM_BG_IMAGE COMP;
+ image: EXPOSURE_VALUE_MINUS_2_0_ICON COMP;
+ image: EXPOSURE_VALUE_MINUS_2_0_PRESS_ICON COMP;
+ image: EXPOSURE_VALUE_PLUS_2_0_ICON COMP;
+ image: EXPOSURE_VALUE_PLUS_2_0_PRESS_ICON COMP;
+}
+
+collections {
+ group {
+ name: "main";
+
+ parts {
+ part {
+ name: "bg";
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ visible: 0.0;
+ min: MAIN_W MAIN_H;
+ max: MAIN_W MAIN_H;
+ fixed: 1 1;
+ rel1 { relative: 0.0 0.0;}
+ rel2 { relative: 1.0 1.0;}
+ }
+ }
+ part {
+ name: "bg_image";
+ type: IMAGE;
+ description {
+ state: "default" 0.0;
+ rel1 { relative: (1 - (EV_BG_X+EV_BG_W)/MAIN_W) (1 - (EV_BG_Y+EV_BG_H)/MAIN_H); to: "bg";}
+ rel2 { relative: (1 - EV_BG_X/MAIN_W) (1 - EV_BG_Y/MAIN_H); to: "bg";}
+ image { normal: ZOOM_BG_IMAGE; }
+ }
+ }
+ part {
+ name: "icon_minus";
+ type: IMAGE;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ rel1 { relative: (1 - (EV_ICON_X+EV_ICON_W)/EV_BG_W) (1 - (EV_BG_H-EV_ICON_Y)/EV_BG_H); to: "bg_image"; }
+ rel2 { relative: (1 - EV_ICON_X/EV_BG_W) (1 - (EV_BG_H-EV_ICON_Y-EV_ICON_H)/EV_BG_H); to: "bg_image"; }
+ image { normal: EXPOSURE_VALUE_MINUS_2_0_ICON; }
+ }
+ description {
+ state: "press" 0.0;
+ inherit: "default" 0.0;
+ image { normal: EXPOSURE_VALUE_MINUS_2_0_PRESS_ICON; }
+ }
+ }
+ part {
+ name: "icon_plus";
+ type: IMAGE;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ rel1 { relative: (1 - (EV_ICON_X+EV_ICON_W)/EV_BG_W) (1 - (EV_ICON_Y+EV_ICON_H)/EV_BG_H); to: "bg_image"; }
+ rel2 { relative: (1 - EV_ICON_X/EV_BG_W) (1 - EV_ICON_Y/EV_BG_H); to: "bg_image"; }
+ image { normal: EXPOSURE_VALUE_PLUS_2_0_ICON; }
+ }
+ description {
+ state: "press" 0.0;
+ inherit: "default" 0.0;
+ image { normal: EXPOSURE_VALUE_PLUS_2_0_PRESS_ICON; }
+ }
+ }
+ part {
+ name: "slider";
+ type: SWALLOW;
+ description {
+ state: "default" 0.0;
+ rel1 { relative: 0.0 (1 - (EV_BG_H-EV_SLIDE_Y)/EV_BG_H); to: "bg_image"; }
+ rel2 { relative: 1.0 (1 - EV_SLIDE_Y/EV_BG_H); to: "bg_image"; }
+ }
+ }
+ }
+
+ programs {
+ program {
+ name: "icon_minus_press";
+ signal: "mouse,down,1";
+ source: "icon_minus";
+ action: STATE_SET "press" 0.0;
+ target: "icon_minus";
+ }
+ program {
+ name: "icon_minus_release";
+ signal: "mouse,up,1";
+ source: "icon_minus";
+ action: STATE_SET "default" 0.0;
+ target: "icon_minus";
+ }
+ program {
+ name: "icon_minus_clicked";
+ signal: "mouse,clicked,1";
+ source: "icon_minus";
+ action: SIGNAL_EMIT "icon_minus,clicked" "ev_icon_signal";
+ }
+ program {
+ name: "icon_plus_press";
+ signal: "mouse,down,1";
+ source: "icon_plus";
+ action: STATE_SET "press" 0.0;
+ target: "icon_plus";
+ }
+ program {
+ name: "icon_plus_release";
+ signal: "mouse,up,1";
+ source: "icon_plus";
+ action: STATE_SET "default" 0.0;
+ target: "icon_plus";
+ }
+ program {
+ name: "icon_plus_clicked";
+ signal: "mouse,clicked,1";
+ source: "icon_plus";
+ action: SIGNAL_EMIT "icon_plus,clicked" "ev_icon_signal";
+ }
+ }
+ }
+}
+//end files
diff --git a/edc/cam_ev_layout_vertical.edc b/edc/cam_ev_layout_vertical.edc
new file mode 100755
index 0000000..395b6ca
--- /dev/null
+++ b/edc/cam_ev_layout_vertical.edc
@@ -0,0 +1,158 @@
+/*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.1 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://floralicense.org/license/
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#include "../include/edc_image_name.h"
+#include "../include/edc_string.h"
+
+#define EV_BG_X 188
+#define EV_BG_Y 72
+#define EV_BG_W 116
+#define EV_BG_H 576
+
+#define EV_ICON_X 15
+#define EV_ICON_Y 14
+#define EV_ICON_W 86
+#define EV_ICON_H 86
+
+#define EV_SLIDE_X 0
+#define EV_SLIDE_Y 120
+
+
+images {
+ image: ZOOM_BG_VER_IMAGE COMP;
+ image: EXPOSURE_VALUE_MINUS_2_0_ICON COMP;
+ image: EXPOSURE_VALUE_MINUS_2_0_PRESS_ICON COMP;
+ image: EXPOSURE_VALUE_PLUS_2_0_ICON COMP;
+ image: EXPOSURE_VALUE_PLUS_2_0_PRESS_ICON COMP;
+}
+
+collections {
+ group {
+ name: "main";
+
+ parts {
+ part {
+ name: "bg";
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ visible: 0.0;
+ min: MAIN_H MAIN_W;
+ max: MAIN_H MAIN_W;
+ fixed: 1 1;
+ rel1 { relative: 0.0 0.0;}
+ rel2 { relative: 1.0 1.0;}
+ }
+ }
+ part {
+ name: "bg_image";
+ type: IMAGE;
+ description {
+ state: "default" 0.0;
+ rel1 { relative: (1 - (EV_BG_Y+EV_BG_H)/MAIN_H) EV_BG_X/MAIN_W; to: "bg";}
+ rel2 { relative: (1 - EV_BG_Y/MAIN_H) (EV_BG_X+EV_BG_W)/MAIN_W; to: "bg";}
+ image { normal: ZOOM_BG_VER_IMAGE; }
+ }
+ }
+ part {
+ name: "icon_minus";
+ type: IMAGE;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ rel1 { relative: (1 - (EV_BG_H-EV_ICON_Y)/EV_BG_H) EV_ICON_X/EV_BG_W; to: "bg_image"; }
+ rel2 { relative: (1 - (EV_BG_H-EV_ICON_H-EV_ICON_Y)/EV_BG_H) (EV_ICON_X+EV_ICON_W)/EV_BG_W; to: "bg_image"; }
+ image { normal: EXPOSURE_VALUE_MINUS_2_0_ICON; }
+ }
+ description {
+ state: "press" 0.0;
+ inherit: "default" 0.0;
+ image { normal: EXPOSURE_VALUE_MINUS_2_0_PRESS_ICON; }
+ }
+ }
+ part {
+ name: "icon_plus";
+ type: IMAGE;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ rel1 { relative: (1 - (EV_ICON_Y+EV_ICON_H)/EV_BG_H) EV_ICON_X/EV_BG_W; to: "bg_image"; }
+ rel2 { relative: (1 - EV_ICON_Y/EV_BG_H) (EV_ICON_X+EV_ICON_W)/EV_BG_W; to: "bg_image"; }
+ image { normal: EXPOSURE_VALUE_PLUS_2_0_ICON; }
+ }
+ description {
+ state: "press" 0.0;
+ inherit: "default" 0.0;
+ image { normal: EXPOSURE_VALUE_PLUS_2_0_PRESS_ICON; }
+ }
+ }
+ part {
+ name: "slider";
+ type: SWALLOW;
+ description {
+ state: "default" 0.0;
+ rel1 { relative: EV_SLIDE_Y/EV_BG_H 0.0 ; to: "bg_image"; }
+ rel2 { relative: (1 - EV_SLIDE_Y/EV_BG_H) 1.0; to: "bg_image"; }
+ }
+ }
+ }
+
+ programs {
+ program {
+ name: "icon_minus_press";
+ signal: "mouse,down,1";
+ source: "icon_minus";
+ action: STATE_SET "press" 0.0;
+ target: "icon_minus";
+ }
+ program {
+ name: "icon_minus_release";
+ signal: "mouse,up,1";
+ source: "icon_minus";
+ action: STATE_SET "default" 0.0;
+ target: "icon_minus";
+ }
+ program {
+ name: "icon_minus_clicked";
+ signal: "mouse,clicked,1";
+ source: "icon_minus";
+ action: SIGNAL_EMIT "icon_minus,clicked" "ev_icon_signal";
+ }
+ program {
+ name: "icon_plus_press";
+ signal: "mouse,down,1";
+ source: "icon_plus";
+ action: STATE_SET "press" 0.0;
+ target: "icon_plus";
+ }
+ program {
+ name: "icon_plus_release";
+ signal: "mouse,up,1";
+ source: "icon_plus";
+ action: STATE_SET "default" 0.0;
+ target: "icon_plus";
+ }
+ program {
+ name: "icon_plus_clicked";
+ signal: "mouse,clicked,1";
+ source: "icon_plus";
+ action: SIGNAL_EMIT "icon_plus,clicked" "ev_icon_signal";
+ }
+ }
+ }
+}
+//end files
diff --git a/edc/cam_ev_layout_vertical_inverse.edc b/edc/cam_ev_layout_vertical_inverse.edc
new file mode 100755
index 0000000..8aff53c
--- /dev/null
+++ b/edc/cam_ev_layout_vertical_inverse.edc
@@ -0,0 +1,159 @@
+/*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.1 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://floralicense.org/license/
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+
+#include "../include/edc_image_name.h"
+#include "../include/edc_string.h"
+
+#define EV_BG_X 188
+#define EV_BG_Y 72
+#define EV_BG_W 116
+#define EV_BG_H 576
+
+#define EV_ICON_X 15
+#define EV_ICON_Y 14
+#define EV_ICON_W 86
+#define EV_ICON_H 86
+
+#define EV_SLIDE_X 0
+#define EV_SLIDE_Y 120
+
+
+images {
+ image: ZOOM_BG_VER_IMAGE COMP;
+ image: EXPOSURE_VALUE_MINUS_2_0_ICON COMP;
+ image: EXPOSURE_VALUE_MINUS_2_0_PRESS_ICON COMP;
+ image: EXPOSURE_VALUE_PLUS_2_0_ICON COMP;
+ image: EXPOSURE_VALUE_PLUS_2_0_PRESS_ICON COMP;
+}
+
+collections {
+ group {
+ name: "main";
+
+ parts {
+ part {
+ name: "bg";
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ visible: 0.0;
+ min: MAIN_H MAIN_W;
+ max: MAIN_H MAIN_W;
+ fixed: 1 1;
+ rel1 { relative: 0.0 0.0;}
+ rel2 { relative: 1.0 1.0;}
+ }
+ }
+ part {
+ name: "bg_image";
+ type: IMAGE;
+ description {
+ state: "default" 0.0;
+ rel1 { relative: EV_BG_Y/MAIN_H (1 - (EV_BG_X+EV_BG_W)/MAIN_W); offset: 0 0; to: "bg";}
+ rel2 { relative: (EV_BG_Y+EV_BG_H)/MAIN_H (1 - EV_BG_X/MAIN_W); offset: -1 -1; to: "bg";}
+ image { normal: ZOOM_BG_VER_IMAGE; }
+ }
+ }
+ part {
+ name: "icon_minus";
+ type: IMAGE;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ rel1 { relative: (EV_BG_H-EV_ICON_H-EV_ICON_Y)/EV_BG_H (1 - (EV_ICON_X+EV_ICON_W)/EV_BG_W); to: "bg_image"; }
+ rel2 { relative: (EV_BG_H-EV_ICON_Y)/EV_BG_H (1 - EV_ICON_X/EV_BG_W); to: "bg_image"; }
+ image { normal: EXPOSURE_VALUE_MINUS_2_0_ICON; }
+ }
+ description {
+ state: "press" 0.0;
+ inherit: "default" 0.0;
+ image { normal: EXPOSURE_VALUE_MINUS_2_0_PRESS_ICON; }
+ }
+ }
+ part {
+ name: "icon_plus";
+ type: IMAGE;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ rel1 { relative: EV_ICON_Y/EV_BG_H (1 - (EV_ICON_X+EV_ICON_W)/EV_BG_W); to: "bg_image"; }
+ rel2 { relative: (EV_ICON_Y+EV_ICON_H)/EV_BG_H (1 - EV_ICON_X/EV_BG_W); to: "bg_image"; }
+ image { normal: EXPOSURE_VALUE_PLUS_2_0_ICON; }
+ }
+ description {
+ state: "press" 0.0;
+ inherit: "default" 0.0;
+ image { normal: EXPOSURE_VALUE_PLUS_2_0_PRESS_ICON; }
+ }
+ }
+ part {
+ name: "slider";
+ type: SWALLOW;
+ description {
+ state: "default" 0.0;
+ rel1 { relative: EV_SLIDE_Y/EV_BG_H 0.0; to: "bg_image"; }
+ rel2 { relative: (1 - EV_SLIDE_Y/EV_BG_H) 1.0; to: "bg_image"; }
+ }
+ }
+ }
+
+ programs {
+ program {
+ name: "icon_minus_press";
+ signal: "mouse,down,1";
+ source: "icon_minus";
+ action: STATE_SET "press" 0.0;
+ target: "icon_minus";
+ }
+ program {
+ name: "icon_minus_release";
+ signal: "mouse,up,1";
+ source: "icon_minus";
+ action: STATE_SET "default" 0.0;
+ target: "icon_minus";
+ }
+ program {
+ name: "icon_minus_clicked";
+ signal: "mouse,clicked,1";
+ source: "icon_minus";
+ action: SIGNAL_EMIT "icon_minus,clicked" "ev_icon_signal";
+ }
+ program {
+ name: "icon_plus_press";
+ signal: "mouse,down,1";
+ source: "icon_plus";
+ action: STATE_SET "press" 0.0;
+ target: "icon_plus";
+ }
+ program {
+ name: "icon_plus_release";
+ signal: "mouse,up,1";
+ source: "icon_plus";
+ action: STATE_SET "default" 0.0;
+ target: "icon_plus";
+ }
+ program {
+ name: "icon_plus_clicked";
+ signal: "mouse,clicked,1";
+ source: "icon_plus";
+ action: SIGNAL_EMIT "icon_plus,clicked" "ev_icon_signal";
+ }
+ }
+ }
+}
+//end files
diff --git a/edc/cam_funcs.edc b/edc/cam_funcs.edc
new file mode 100755
index 0000000..06bc800
--- /dev/null
+++ b/edc/cam_funcs.edc
@@ -0,0 +1,163 @@
+/*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.1 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://floralicense.org/license/
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+
+#include "../include/edc_string.h"
+
+// background
+#define BACKGROUND_IMAGE(part_name, x, y, w, h, img) \
+ part { \
+ name: part_name; \
+ type: IMAGE; \
+ description { \
+ state: "default" 0.0;\
+ rel1 { relative: (x)/MAIN_W (y)/MAIN_H; } \
+ rel2 { relative: (x+w)/MAIN_W (y+h)/MAIN_H; } \
+ image { normal: img; } \
+ } \
+ }
+#define BACKGROUND_IMAGE_WITH_ALPHA(part_name, x, y, w, h, img, alpha) \
+ part { \
+ name: part_name; \
+ type: IMAGE; \
+ description { \
+ state: "default" 0.0;\
+ rel1 { relative: (x)/MAIN_W (y)/MAIN_H; } \
+ rel2 { relative: (x+w)/MAIN_W (y+h)/MAIN_H; } \
+ image { normal: img; }\
+ color: 255 255 255 alpha; \
+ } \
+ }
+
+#define VER_BACKGROUND_IMAGE(part_name, x, y, w, h, img) \
+ part { \
+ name: part_name; \
+ type: IMAGE; \
+ description { \
+ state: "default" 0.0;\
+ rel1 { relative: (x)/VER_MAIN_W (y)/VER_MAIN_H; } \
+ rel2 { relative: (x+w)/VER_MAIN_W (y+h)/VER_MAIN_H; } \
+ image { normal: img; } \
+ } \
+ }
+
+#define GENERAL_BUTTON(part_name, x, y, w, h, img_dim, img, img_p, img_s) \
+ part { \
+ name: part_name; \
+ type: IMAGE; \
+ mouse_events: 1;\
+ description { \
+ state: "default" 0.0;\
+ rel1 { relative: (x)/MAIN_W (y)/MAIN_H; } \
+ rel2 { relative: (x+w)/MAIN_W (y+h)/MAIN_H; } \
+ image { normal: img; } \
+ } \
+ description { \
+ state: "press" 0.0; \
+ inherit: "default" 0.0; \
+ image { normal: img_p; }\
+ } \
+ description { \
+ state: "selected" 0.0; \
+ inherit: "default" 0.0; \
+ image { normal: img_s; }\
+ } \
+ description { \
+ state: "dim" 0.0; \
+ inherit: "default" 0.0; \
+ image { normal: img_dim;} \
+ } \
+ description { \
+ state: "invisible" 0.0; \
+ inherit: "default" 0.0; \
+ visible: 0; \
+ } \
+ }
+
+#define VER_GENERAL_BUTTON(part_name, x, y, w, h, img_dim, img, img_p, img_s) \
+ part { \
+ name: part_name; \
+ type: IMAGE; \
+ mouse_events: 1;\
+ description { \
+ state: "default" 0.0;\
+ rel1 { relative: (x)/VER_MAIN_W (y)/VER_MAIN_H; } \
+ rel2 { relative: (x+w)/VER_MAIN_W (y+h)/VER_MAIN_H; } \
+ image { normal: img; } \
+ } \
+ description { \
+ state: "press" 0.0; \
+ inherit: "default" 0.0; \
+ image { normal: img_p; }\
+ } \
+ description { \
+ state: "selected" 0.0; \
+ inherit: "default" 0.0; \
+ image { normal: img_s; }\
+ } \
+ description { \
+ state: "dim" 0.0; \
+ inherit: "default" 0.0; \
+ image { normal: img_dim;} \
+ } \
+ description { \
+ state: "invisible" 0.0; \
+ inherit: "default" 0.0; \
+ visible: 0; \
+ } \
+ }
+
+#define GENERAL_BUTTON_PROGRAMS(part_name, signal_name, source_name) \
+ program { \
+ name: "lbutton_down_"part_name; \
+ signal: "mouse,down,1"; \
+ source: part_name; \
+ script {\
+ new st[31];\
+ new Float:vl;\
+ get_state(PART:part_name, st, 30, vl);\
+ if (strcmp(st, "dim") != 0) \
+ { \
+ set_state(PART:part_name, "press", 0.0);\
+ emit( HAPTIC_SIG, HAPTIC_SIG_SRC );\
+ } \
+ }\
+ } \
+ program { \
+ name: "lbutton_send_event_"part_name; \
+ signal: "mouse,clicked,1"; \
+ source: part_name; \
+ script {\
+ new st[31];\
+ new Float:vl;\
+ get_state(PART:part_name, st, 30, vl);\
+ if (strcmp(st, "dim") != 0) \
+ emit( signal_name, source_name );\
+ }\
+ } \
+ program { \
+ name: "lbutton_up_"part_name; \
+ signal: "mouse,up,1"; \
+ source: part_name; \
+ script {\
+ new st[31];\
+ new Float:vl;\
+ get_state(PART:part_name, st, 30, vl);\
+ if (strcmp(st, "dim") != 0) \
+ set_state(PART:part_name, "default", 0.0);\
+ }\
+ }
+
diff --git a/edc/cam_guideline_edje.edc b/edc/cam_guideline_edje.edc
new file mode 100755
index 0000000..20c9f57
--- /dev/null
+++ b/edc/cam_guideline_edje.edc
@@ -0,0 +1,453 @@
+/*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.1 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://floralicense.org/license/
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+
+images {
+ image: GUDIE_LINE_1_IMAGE COMP;
+ image: GUDIE_LINE_2_IMAGE COMP;
+ image: GUDIE_OPA_LINE_1_IMAGE COMP;
+ image: GUDIE_OPA_LINE_2_IMAGE COMP;
+}
+
+#define GUIDE_LINE_H1 238
+#define GUIDE_LINE_H2 238
+#define GUIDE_LINE_H3 238
+
+#define GUIDE_LINE_W1 425
+#define GUIDE_LINE_W2 424
+#define GUIDE_LINE_W3 425
+
+#define VER_GUIDE_LINE_H1 425
+#define VER_GUIDE_LINE_H2 424
+#define VER_GUIDE_LINE_H3 425
+
+#define VER_GUIDE_LINE_W1 238
+#define VER_GUIDE_LINE_W2 238
+#define VER_GUIDE_LINE_W3 238
+
+
+#define GUIDE_LINE_GAP 3
+
+group {
+ name: "guideline";
+ /**min: MAIN_W MAIN_H;*/
+
+ parts{
+ /*outline*/
+ part {
+ name: "guide_line1_outline1_1";
+ type: IMAGE;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ rel1 { relative: (GUIDE_LINE_W1 - 1)/MAIN_W 0.0; }
+ rel2 { relative: (GUIDE_LINE_W1)/MAIN_W 1.0; }
+ image{
+ normal: GUDIE_OPA_LINE_1_IMAGE ;
+ }
+ color: 0 0 0 25;
+ }
+ }
+
+ part {
+ name: "guide_line1";
+ type: IMAGE;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ rel1 { relative: GUIDE_LINE_W1/MAIN_W 0.0; }
+ rel2 { relative: (GUIDE_LINE_W1 + GUIDE_LINE_GAP)/MAIN_W 1.0; }
+ image{
+ normal: GUDIE_LINE_1_IMAGE ;
+ }
+ color: 255 255 255 255;
+ }
+ description {
+ state: "ver_default" 0.0;
+ rel1 { relative: VER_GUIDE_LINE_W1/VER_MAIN_W 0.125; }
+ rel2 { relative: (VER_GUIDE_LINE_W1 + GUIDE_LINE_GAP)/VER_MAIN_W 0.875; }
+ image{
+ normal: GUDIE_LINE_1_IMAGE ;
+ }
+ color: 255 255 255 255;
+ }
+ description {
+ state: "ver_wide" 0.0;
+ rel1 { relative: VER_GUIDE_LINE_W1/VER_MAIN_W 0.0; }
+ rel2 { relative: (VER_GUIDE_LINE_W1 + GUIDE_LINE_GAP)/VER_MAIN_W 1.0; }
+ image{
+ normal: GUDIE_LINE_1_IMAGE ;
+ }
+ color: 255 255 255 255;
+ }
+ description {
+ state: "ver_square" 0.0;
+ rel1 { relative: VER_GUIDE_LINE_W1/VER_MAIN_W ((VER_MAIN_H-VER_MAIN_W)/2)/VER_MAIN_H; }
+ rel2 { relative: (VER_GUIDE_LINE_W1 + GUIDE_LINE_GAP)/VER_MAIN_W ((VER_MAIN_H-VER_MAIN_W)/2+VER_MAIN_W)/VER_MAIN_H; }
+ image{
+ normal: GUDIE_LINE_1_IMAGE ;
+ }
+ color: 255 255 255 255;
+ }
+
+ }
+ /*outline*/
+ part {
+ name: "guide_line1_outline1_2";
+ type: IMAGE;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ rel1 { relative: (GUIDE_LINE_W1 + GUIDE_LINE_GAP)/MAIN_W 0.0; }
+ rel2 { relative: (GUIDE_LINE_W1 + GUIDE_LINE_GAP + 1)/MAIN_W 1.0; }
+ image{
+ normal: GUDIE_OPA_LINE_1_IMAGE ;
+ }
+ color: 0 0 0 25;
+ }
+ }
+ /*outline*/
+
+ part {
+ name: "guide_line2_outline2_1";
+ type: IMAGE;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ rel1 { relative: (GUIDE_LINE_W1 + GUIDE_LINE_GAP + GUIDE_LINE_W2 - 1)/MAIN_W 0.0; }
+ rel2 { relative: (GUIDE_LINE_W1 + GUIDE_LINE_GAP + GUIDE_LINE_W2)/MAIN_W 1.0; }
+ image{
+ normal: GUDIE_OPA_LINE_1_IMAGE ;
+ }
+ color: 0 0 0 25;
+ }
+ }
+
+ part {
+ name: "guide_line2";
+ type: IMAGE;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ rel1 { relative: (GUIDE_LINE_W1 + GUIDE_LINE_GAP + GUIDE_LINE_W2)/MAIN_W 0.0; }
+ rel2 { relative: (GUIDE_LINE_W1 + GUIDE_LINE_GAP + GUIDE_LINE_W2 + GUIDE_LINE_GAP)/MAIN_W 1.0; }
+ image{
+ normal: GUDIE_LINE_1_IMAGE ;
+ }
+ color: 255 255 255 255;
+ }
+ description {
+ state: "ver_default" 0.0;
+ rel1 { relative: (VER_GUIDE_LINE_W1 + GUIDE_LINE_GAP + VER_GUIDE_LINE_W2)/VER_MAIN_W 0.125; }
+ rel2 { relative: (VER_GUIDE_LINE_W1 + GUIDE_LINE_GAP + VER_GUIDE_LINE_W2 + GUIDE_LINE_GAP)/VER_MAIN_W 0.875; }
+ image{
+ normal: GUDIE_LINE_1_IMAGE ;
+ }
+ color: 255 255 255 255;
+ }
+ description {
+ state: "ver_wide" 0.0;
+ rel1 { relative: (VER_GUIDE_LINE_W1 + GUIDE_LINE_GAP + VER_GUIDE_LINE_W2)/VER_MAIN_W 0.0; }
+ rel2 { relative: (VER_GUIDE_LINE_W1 + GUIDE_LINE_GAP + VER_GUIDE_LINE_W2 + GUIDE_LINE_GAP)/VER_MAIN_W 1.0; }
+ image{
+ normal: GUDIE_LINE_1_IMAGE ;
+ }
+ color: 255 255 255 255;
+ }
+ description {
+ state: "ver_square" 0.0;
+ rel1 { relative: (VER_GUIDE_LINE_W1 + GUIDE_LINE_GAP + VER_GUIDE_LINE_W2)/VER_MAIN_W ((VER_MAIN_H-VER_MAIN_W)/2)/VER_MAIN_H; }
+ rel2 { relative: (VER_GUIDE_LINE_W1 + GUIDE_LINE_GAP + VER_GUIDE_LINE_W2 + GUIDE_LINE_GAP)/VER_MAIN_W ((VER_MAIN_H-VER_MAIN_W)/2+VER_MAIN_W)/VER_MAIN_H; }
+ image{
+ normal: GUDIE_LINE_1_IMAGE ;
+ }
+ color: 255 255 255 255;
+ }
+
+ }
+ /*outline*/
+ part {
+ name: "guide_line2_outline2_2";
+ type: IMAGE;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ rel1 { relative: (GUIDE_LINE_W1 + GUIDE_LINE_GAP + GUIDE_LINE_W2 + GUIDE_LINE_GAP)/MAIN_W 0.0; }
+ rel2 { relative: (GUIDE_LINE_W1 + GUIDE_LINE_GAP + GUIDE_LINE_W2 + GUIDE_LINE_GAP + 1)/MAIN_W 1.0; }
+ image{
+ normal: GUDIE_OPA_LINE_1_IMAGE ;
+ }
+ color: 0 0 0 25;
+ }
+ }
+ /*outline*/
+ part {
+ name: "guide_line3_outline3_1";
+ type: IMAGE;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ rel1 { relative: (GUIDE_LINE_H1 - 1)/MAIN_W 0.0; }
+ rel2 { relative: (GUIDE_LINE_H1)/MAIN_W 1.0; }
+ image{
+ normal: GUDIE_OPA_LINE_2_IMAGE ;
+ }
+ color: 0 0 0 25;
+ }
+ }
+
+ part {
+ name: "guide_line3";
+ type: IMAGE;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ rel1 { relative: 0.125 GUIDE_LINE_H1/MAIN_H; }
+ rel2 { relative: 0.875 (GUIDE_LINE_H1 + GUIDE_LINE_GAP)/MAIN_H; }
+ image{
+ normal: GUDIE_LINE_2_IMAGE ;
+ }
+ color: 255 255 255 255;
+ }
+ description {
+ state: "wide" 0.0;
+ rel1 { relative: 0.0 GUIDE_LINE_H1/MAIN_H; }
+ rel2 { relative: 1.0 (GUIDE_LINE_H1 + GUIDE_LINE_GAP)/MAIN_H; }
+ image{
+ normal: GUDIE_LINE_2_IMAGE ;
+ }
+ }
+ description {
+ state: "square" 0.0;
+ rel1 { relative: ((MAIN_W-MAIN_H)/2)/MAIN_W GUIDE_LINE_H1/MAIN_H; }
+ rel2 { relative: (((MAIN_W-MAIN_H)/2+MAIN_H))/MAIN_W (GUIDE_LINE_H1 + GUIDE_LINE_GAP)/MAIN_H; }
+ image{
+ normal: GUDIE_LINE_1_IMAGE ;
+ }
+ color: 255 255 255 255;
+ }
+ description {
+ state: "ver_default" 0.0;
+ rel1 { relative: 0.0 VER_GUIDE_LINE_H1/VER_MAIN_H; }
+ rel2 { relative: 1.0 (VER_GUIDE_LINE_H1 + GUIDE_LINE_GAP)/VER_MAIN_H; }
+ image{
+ normal: GUDIE_LINE_2_IMAGE ;
+ }
+ color: 255 255 255 255;
+ }
+ }
+ /*outline*/
+ part {
+ name: "guide_line3_outline3_2";
+ type: IMAGE;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ rel1 { relative: (GUIDE_LINE_H1 + GUIDE_LINE_GAP)/MAIN_W 0.0; }
+ rel2 { relative: (GUIDE_LINE_H1 + GUIDE_LINE_GAP + 1)/MAIN_W 1.0; }
+ image{
+ normal: GUDIE_OPA_LINE_2_IMAGE ;
+ }
+ color: 0 0 0 25;
+ }
+ }
+
+ /*outline*/
+ part {
+ name: "guide_line4_outline4_1";
+ type: IMAGE;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ rel1 { relative: (GUIDE_LINE_H1 + GUIDE_LINE_GAP + GUIDE_LINE_H2 - 1)/MAIN_W 0.0; }
+ rel2 { relative: (GUIDE_LINE_H1 + GUIDE_LINE_GAP + GUIDE_LINE_H2)/MAIN_W 1.0; }
+ image{
+ normal: GUDIE_OPA_LINE_2_IMAGE ;
+ }
+ color: 0 0 0 25;
+ }
+ }
+
+ part {
+ name: "guide_line4";
+ type: IMAGE;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ rel1 { relative: 0.125 (GUIDE_LINE_H1 + GUIDE_LINE_GAP + GUIDE_LINE_H2)/MAIN_H; }
+ rel2 { relative: 0.875 (GUIDE_LINE_H1 + GUIDE_LINE_GAP + GUIDE_LINE_H2 + GUIDE_LINE_GAP)/MAIN_H; }
+ image{
+ normal: GUDIE_LINE_2_IMAGE ;
+ }
+ color: 255 255 255 255;
+ }
+ description {
+ state: "square" 0.0;
+ rel1 { relative: ((MAIN_W-MAIN_H)/2)/MAIN_W (GUIDE_LINE_H1 + GUIDE_LINE_GAP + GUIDE_LINE_H2)/MAIN_H; }
+ rel2 { relative: (((MAIN_W-MAIN_H)/2+MAIN_H))/MAIN_W (GUIDE_LINE_H1 + GUIDE_LINE_GAP + GUIDE_LINE_H2 + GUIDE_LINE_GAP)/MAIN_H; }
+ image{
+ normal: GUDIE_LINE_1_IMAGE ;
+ }
+ color: 255 255 255 255;
+ }
+ description {
+ state: "wide" 0.0;
+ rel1 { relative: 0.0 (GUIDE_LINE_H1 + GUIDE_LINE_GAP + GUIDE_LINE_H2)/MAIN_H; }
+ rel2 { relative: 1.0 (GUIDE_LINE_H1 + GUIDE_LINE_GAP + GUIDE_LINE_H2 + GUIDE_LINE_GAP)/MAIN_H; }
+ image{
+ normal: GUDIE_LINE_2_IMAGE ;
+ }
+ }
+ description {
+ state: "ver_default" 0.0;
+ rel1 { relative: 0.0 (VER_GUIDE_LINE_H1 + GUIDE_LINE_GAP + VER_GUIDE_LINE_H2)/VER_MAIN_H; }
+ rel2 { relative: 1.0 (VER_GUIDE_LINE_H1 + GUIDE_LINE_GAP + VER_GUIDE_LINE_H2 + GUIDE_LINE_GAP)/VER_MAIN_H; }
+ image{
+ normal: GUDIE_LINE_2_IMAGE ;
+ }
+ color: 255 255 255 255;
+ }
+
+ }
+ /*outline*/
+ part {
+ name: "guide_line4_outline4_2";
+ type: IMAGE;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ rel1 { relative: (VER_GUIDE_LINE_H1 + GUIDE_LINE_GAP + VER_GUIDE_LINE_H2 + GUIDE_LINE_GAP)/MAIN_W 0.0; }
+ rel2 { relative: (VER_GUIDE_LINE_H1 + GUIDE_LINE_GAP + VER_GUIDE_LINE_H2 + GUIDE_LINE_GAP + 1)/MAIN_W 1.0; }
+ image{
+ normal: GUDIE_OPA_LINE_2_IMAGE ;
+ }
+ color: 0 0 0 25;
+ }
+ }
+
+
+ }/*end parts*/
+
+ programs{
+
+ /*line1 line2*/
+ program {
+ name: "prog_guideline12_set_normal";
+ source: "prog_guideline";
+ signal: "guide_line,1,2,normal";
+ script: {
+ set_state(PART:"guide_line1", "default", 0.0);
+ set_state(PART:"guide_line2", "default", 0.0);
+
+ }
+ }
+
+ program {
+ name:"prog_guideline12_set_wide_ver";
+ source: "prog_guideline";
+ signal: "guide_line,1,2,vertical,wide";
+ script: {
+ set_state(PART:"guide_line1", "ver_wide", 0.0);
+ set_state(PART:"guide_line2", "ver_wide", 0.0);
+ }
+ }
+
+ program {
+ name: "prog_guideline12_set_normal_ver";
+ source: "prog_guideline";
+ signal: "guide_line,1,2,vertical,normal";
+ script: {
+ set_state(PART:"guide_line1", "ver_default", 0.0);
+ set_state(PART:"guide_line2", "ver_default", 0.0);
+
+ }
+ }
+
+ program {
+ name: "prog_guideline12_set_square_ver";
+ source: "prog_guideline";
+ signal: "guide_line,1,2,vertical,square";
+ script: {
+ set_state(PART:"guide_line1", "ver_square", 0.0);
+ set_state(PART:"guide_line2", "ver_square", 0.0);
+
+ }
+ }
+
+ /*line3 line4 */
+ program {
+ name:"prog_guideline34_set_wide";
+ source: "prog_guideline";
+ signal: "guide_line,3,4,wide";
+ script: {
+ set_state(PART:"guide_line3", "wide", 0.0);
+ set_state(PART:"guide_line4", "wide", 0.0);
+ }
+ }
+
+ program {
+ name: "prog_guideline34_set_normal";
+ source: "prog_guideline";
+ signal: "guide_line,3,4,normal";
+ script: {
+ set_state(PART:"guide_line3", "default", 0.0);
+ set_state(PART:"guide_line4", "default", 0.0);
+
+ }
+ }
+
+ program {
+ name: "prog_guideline34_set_square";
+ source: "prog_guideline";
+ signal: "guide_line,3,4,square";
+ script: {
+ set_state(PART:"guide_line3", "square", 0.0);
+ set_state(PART:"guide_line4", "square", 0.0);
+
+ }
+ }
+
+ program {
+ name: "prog_guideline34_set_normal_ver";
+ source: "prog_guideline";
+ signal: "guide_line,3,4,vertical,normal";
+ script: {
+ set_state(PART:"guide_line3", "ver_default", 0.0);
+ set_state(PART:"guide_line4", "ver_default", 0.0);
+
+ }
+ }
+
+
+
+ }/*end programs*/
+
+
+}/*end group*/
+
+
diff --git a/edc/cam_images.edc b/edc/cam_images.edc
new file mode 100755
index 0000000..a51397a
--- /dev/null
+++ b/edc/cam_images.edc
@@ -0,0 +1,332 @@
+/*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.1 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://floralicense.org/license/
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+
+
+#include "../include/edc_image_name.h"
+
+
+#define RESOURCE_IMAGE( FILE_NAME ) \
+ group { \
+ name: FILE_NAME; \
+ images.image: FILE_NAME COMP; \
+ parts { \
+ part { name: "image"; \
+ description { \
+ state: "default" 0.0; \
+ image.normal: FILE_NAME; \
+ aspect: 1 1; \
+ aspect_preference: BOTH; \
+ } \
+ } \
+ } \
+ }
+
+#define RESOURCE_IMAGE_LOSSY( FILE_NAME ) \
+ group { \
+ name: FILE_NAME; \
+ images.image: FILE_NAME LOSSY 85; \
+ parts { \
+ part { name: "image"; \
+ description { \
+ state: "default" 0.0; \
+ image.normal: FILE_NAME; \
+ aspect: 1 1; \
+ aspect_preference: BOTH; \
+ } \
+ } \
+ } \
+ }
+
+
+collections {
+/* Burst shot */
+RESOURCE_IMAGE(BURST_SHOT_MODE_ON_NORMAL_ICON);
+RESOURCE_IMAGE(BURST_SHOT_MODE_ON_PRESS_ICON);
+RESOURCE_IMAGE(BURST_SHOT_MODE_OFF_NORMAL_ICON);
+RESOURCE_IMAGE(BURST_SHOT_MODE_OFF_PRESS_ICON);
+
+/* Self portrait */
+RESOURCE_IMAGE(CAMERA_SELF_PORTRAIT_NORMAL_ICON);
+RESOURCE_IMAGE(CAMERA_SELF_PORTRAIT_PRESS_ICON);
+RESOURCE_IMAGE(CAMCORDER_SELF_PORTRAIT_NORMAL_ICON);
+RESOURCE_IMAGE(CAMCORDER_SELF_PORTRAIT_PRESS_ICON);
+
+/* Flash */
+RESOURCE_IMAGE(FLASH_AUTO_NORMAL_ICON);
+RESOURCE_IMAGE(FLASH_AUTO_PRESS_ICON);
+RESOURCE_IMAGE(FLASH_OFF_NORMAL_ICON);
+RESOURCE_IMAGE(FLASH_OFF_PRESS_ICON);
+RESOURCE_IMAGE(FLASH_ON_NORMAL_ICON);
+RESOURCE_IMAGE(FLASH_ON_PRESS_ICON);
+
+/* Shooting mode */
+RESOURCE_IMAGE(SHOOTING_MODE_SINGLE_NORMAL_ICON);
+RESOURCE_IMAGE(SHOOTING_MODE_SINGLE_PRESS_ICON);
+
+/* Recording mode */
+RESOURCE_IMAGE(RECORDING_MODE_NORMAL_NORMAL_ICON);
+RESOURCE_IMAGE(RECORDING_MODE_NORMAL_PRESS_ICON);
+RESOURCE_IMAGE(RECORDING_MODE_LIMIT_MMS_NORMAL_ICON);
+RESOURCE_IMAGE(RECORDING_MODE_LIMIT_MMS_PRESS_ICON);
+RESOURCE_IMAGE(RECORDING_MODE_SLOW_MOTION_NORMAL_ICON);
+RESOURCE_IMAGE(RECORDING_MODE_SLOW_MOTION_PRESS_ICON);
+RESOURCE_IMAGE(RECORDING_MODE_FAST_MOTION_NORMAL_ICON);
+RESOURCE_IMAGE(RECORDING_MODE_FAST_MOTION_PRESS_ICON);
+
+/* Scene mode */
+RESOURCE_IMAGE(SCENE_MODE_AUTO_NORMAL_ICON);
+RESOURCE_IMAGE(SCENE_MODE_AUTO_PRESS_ICON);
+RESOURCE_IMAGE(SCENE_MODE_PORTRAIT_NORMAL_ICON);
+RESOURCE_IMAGE(SCENE_MODE_PORTRAIT_PRESS_ICON);
+RESOURCE_IMAGE(SCENE_MODE_LANDSCAPE_NORMAL_ICON);
+RESOURCE_IMAGE(SCENE_MODE_LANDSCAPE_PRESS_ICON);
+RESOURCE_IMAGE(SCENE_MODE_NIGHT_NORMAL_ICON);
+RESOURCE_IMAGE(SCENE_MODE_NIGHT_PRESS_ICON);
+RESOURCE_IMAGE(SCENE_MODE_SPORTS_NORMAL_ICON);
+RESOURCE_IMAGE(SCENE_MODE_SPORTS_PRESS_ICON);
+RESOURCE_IMAGE(SCENE_MODE_PARTY_NORMAL_ICON);
+RESOURCE_IMAGE(SCENE_MODE_PARTY_PRESS_ICON);
+RESOURCE_IMAGE(SCENE_MODE_BEACHSNOW_NORMAL_ICON);
+RESOURCE_IMAGE(SCENE_MODE_BEACHSNOW_PRESS_ICON);
+RESOURCE_IMAGE(SCENE_MODE_SUNSET_NORMAL_ICON);
+RESOURCE_IMAGE(SCENE_MODE_SUNSET_PRESS_ICON);
+RESOURCE_IMAGE(SCENE_MODE_DUSKDAWN_NORMAL_ICON);
+RESOURCE_IMAGE(SCENE_MODE_DUSKDAWN_PRESS_ICON);
+RESOURCE_IMAGE(SCENE_MODE_FALL_NORMAL_ICON);
+RESOURCE_IMAGE(SCENE_MODE_FALL_PRESS_ICON);
+RESOURCE_IMAGE(SCENE_MODE_FIREWORK_NORMAL_ICON);
+RESOURCE_IMAGE(SCENE_MODE_FIREWORK_PRESS_ICON);
+RESOURCE_IMAGE(SCENE_MODE_TEXT_NORMAL_ICON);
+RESOURCE_IMAGE(SCENE_MODE_TEXT_PRESS_ICON);
+RESOURCE_IMAGE(SCENE_MODE_CANDLELIGHT_NORMAL_ICON);
+RESOURCE_IMAGE(SCENE_MODE_CANDLELIGHT_PRESS_ICON);
+RESOURCE_IMAGE(SCENE_MODE_BACKLIGHT_NORMAL_ICON);
+RESOURCE_IMAGE(SCENE_MODE_BACKLIGHT_PRESS_ICON);
+
+/* Exposure value */
+RESOURCE_IMAGE(EXPOSURE_VALUE_MINUS_2_0_ICON);
+RESOURCE_IMAGE(EXPOSURE_VALUE_MINUS_2_0_PRESS_ICON);
+RESOURCE_IMAGE(EXPOSURE_VALUE_MINUS_1_5_ICON);
+RESOURCE_IMAGE(EXPOSURE_VALUE_MINUS_1_5_PRESS_ICON);
+RESOURCE_IMAGE(EXPOSURE_VALUE_MINUS_1_0_ICON);
+RESOURCE_IMAGE(EXPOSURE_VALUE_MINUS_1_0_PRESS_ICON);
+RESOURCE_IMAGE(EXPOSURE_VALUE_MINUS_0_5_ICON);
+RESOURCE_IMAGE(EXPOSURE_VALUE_MINUS_0_5_PRESS_ICON);
+RESOURCE_IMAGE(EXPOSURE_VALUE_0_ICON);
+RESOURCE_IMAGE(EXPOSURE_VALUE_0_PRESS_ICON);
+RESOURCE_IMAGE(EXPOSURE_VALUE_PLUS_0_5_ICON);
+RESOURCE_IMAGE(EXPOSURE_VALUE_PLUS_0_5_PRESS_ICON);
+RESOURCE_IMAGE(EXPOSURE_VALUE_PLUS_1_0_ICON);
+RESOURCE_IMAGE(EXPOSURE_VALUE_PLUS_1_0_PRESS_ICON);
+RESOURCE_IMAGE(EXPOSURE_VALUE_PLUS_1_5_ICON);
+RESOURCE_IMAGE(EXPOSURE_VALUE_PLUS_1_5_PRESS_ICON);
+RESOURCE_IMAGE(EXPOSURE_VALUE_PLUS_2_0_ICON);
+RESOURCE_IMAGE(EXPOSURE_VALUE_PLUS_2_0_PRESS_ICON);
+
+/* Focus mode */
+RESOURCE_IMAGE(FOCUS_MODE_AUTO_NORMAL_ICON);
+RESOURCE_IMAGE(FOCUS_MODE_AUTO_PRESS_ICON);
+RESOURCE_IMAGE(FOCUS_MODE_MACRO_NORMAL_ICON);
+RESOURCE_IMAGE(FOCUS_MODE_MACRO_PRESS_ICON);
+RESOURCE_IMAGE(FOCUS_MODE_FACE_DETECTION_NORMAL_ICON);
+RESOURCE_IMAGE(FOCUS_MODE_FACE_DETECTION_PRESS_ICON);
+
+/* Timer */
+RESOURCE_IMAGE(TIMER_OFF_NORMAL_ICON);
+RESOURCE_IMAGE(TIMER_OFF_PRESS_ICON);
+RESOURCE_IMAGE(TIMER_2SEC_NORMAL_ICON);
+RESOURCE_IMAGE(TIMER_2SEC_PRESS_ICON);
+RESOURCE_IMAGE(TIMER_5SEC_NORMAL_ICON);
+RESOURCE_IMAGE(TIMER_5SEC_PRESS_ICON);
+RESOURCE_IMAGE(TIMER_10SEC_NORMAL_ICON);
+RESOURCE_IMAGE(TIMER_10SEC_PRESS_ICON);
+
+/* Effect */
+RESOURCE_IMAGE(EFFECTS_NONE_NORMAL_ICON);
+RESOURCE_IMAGE(EFFECTS_NONE_PRESS_ICON);
+RESOURCE_IMAGE(EFFECTS_NEGATIVE_NORMAL_ICON);
+RESOURCE_IMAGE(EFFECTS_NEGATIVE_PRESS_ICON);
+RESOURCE_IMAGE(EFFECTS_BLACKANDWHITE_NORMAL_ICON);
+RESOURCE_IMAGE(EFFECTS_BLACKANDWHITE_PRESS_ICON);
+RESOURCE_IMAGE(EFFECTS_SEPIA_NORMAL_ICON);
+RESOURCE_IMAGE(EFFECTS_SEPIA_PRESS_ICON);
+
+/* Camera resolution */
+RESOURCE_IMAGE(CAM_RESOLUTION_8M_NORMAL_ICON);
+RESOURCE_IMAGE(CAM_RESOLUTION_8M_PRESS_ICON);
+RESOURCE_IMAGE(CAM_RESOLUTION_5M_NORMAL_ICON);
+RESOURCE_IMAGE(CAM_RESOLUTION_5M_PRESS_ICON);
+RESOURCE_IMAGE(CAM_RESOLUTION_3_2M_NORMAL_ICON);
+RESOURCE_IMAGE(CAM_RESOLUTION_3_2M_PRESS_ICON);
+RESOURCE_IMAGE(CAM_RESOLUTION_2M_NORMAL_ICON);
+RESOURCE_IMAGE(CAM_RESOLUTION_2M_PRESS_ICON);
+RESOURCE_IMAGE(CAM_RESOLUTION_1_3M_NORMAL_ICON);
+RESOURCE_IMAGE(CAM_RESOLUTION_1_3M_PRESS_ICON);
+RESOURCE_IMAGE(CAM_RESOLUTION_0_3M_NORMAL_ICON);
+RESOURCE_IMAGE(CAM_RESOLUTION_0_3M_PRESS_ICON);
+RESOURCE_IMAGE(CAM_RESOLUTION_W6M_NORMAL_ICON);
+RESOURCE_IMAGE(CAM_RESOLUTION_W6M_PRESS_ICON);
+RESOURCE_IMAGE(CAM_RESOLUTION_W5_7M_NORMAL_ICON);
+RESOURCE_IMAGE(CAM_RESOLUTION_W5_7M_PRESS_ICON);
+RESOURCE_IMAGE(CAM_RESOLUTION_W2_4M_NORMAL_ICON);
+RESOURCE_IMAGE(CAM_RESOLUTION_W2_4M_PRESS_ICON);
+RESOURCE_IMAGE(CAM_RESOLUTION_W2M_NORMAL_ICON);
+RESOURCE_IMAGE(CAM_RESOLUTION_W2M_PRESS_ICON);
+RESOURCE_IMAGE(CAM_RESOLUTION_W0_9M_NORMAL_ICON);
+RESOURCE_IMAGE(CAM_RESOLUTION_W0_9M_PRESS_ICON);
+
+/* Camcorder resolution */
+RESOURCE_IMAGE(REC_RESOLUTION_FULLHD_NORMAL_ICON);
+RESOURCE_IMAGE(REC_RESOLUTION_FULLHD_PRESS_ICON);
+RESOURCE_IMAGE(REC_RESOLUTION_HD_NORMAL_ICON);
+RESOURCE_IMAGE(REC_RESOLUTION_HD_PRESS_ICON);
+RESOURCE_IMAGE(REC_RESOLUTION_WVGA_NORMAL_ICON);
+RESOURCE_IMAGE(REC_RESOLUTION_WVGA_PRESS_ICON);
+RESOURCE_IMAGE(REC_RESOLUTION_VGA_NORMAL_ICON);
+RESOURCE_IMAGE(REC_RESOLUTION_VGA_PRESS_ICON);
+RESOURCE_IMAGE(REC_RESOLUTION_QVGA_NORMAL_ICON);
+RESOURCE_IMAGE(REC_RESOLUTION_QVGA_PRESS_ICON);
+RESOURCE_IMAGE(REC_RESOLUTION_QCIF_NORMAL_ICON);
+RESOURCE_IMAGE(REC_RESOLUTION_QCIF_PRESS_ICON);
+
+/* White balance */
+RESOURCE_IMAGE(WHITE_BALANCE_AUTO_NORMAL_ICON);
+RESOURCE_IMAGE(WHITE_BALANCE_AUTO_PRESS_ICON);
+RESOURCE_IMAGE(WHITE_BALANCE_INCANDESCENT_NORMAL_ICON);
+RESOURCE_IMAGE(WHITE_BALANCE_INCANDESCENT_PRESS_ICON);
+RESOURCE_IMAGE(WHITE_BALANCE_FLUORESCENT_NORMAL_ICON);
+RESOURCE_IMAGE(WHITE_BALANCE_FLUORESCENT_PRESS_ICON);
+RESOURCE_IMAGE(WHITE_BALANCE_DAYLIGHT_NORMAL_ICON);
+RESOURCE_IMAGE(WHITE_BALANCE_DAYLIGHT_PRESS_ICON);
+RESOURCE_IMAGE(WHITE_BALANCE_CLOUDY_NORMAL_ICON);
+RESOURCE_IMAGE(WHITE_BALANCE_CLOUDY_PRESS_ICON);
+RESOURCE_IMAGE(WHITE_BALANCE_SHADE_NORMAL_ICON);
+RESOURCE_IMAGE(WHITE_BALANCE_SHADE_PRESS_ICON);
+RESOURCE_IMAGE(WHITE_BALANCE_HORIZON_NORMAL_ICON);
+RESOURCE_IMAGE(WHITE_BALANCE_HORIZON_PRESS_ICON);
+
+/* ISO */
+RESOURCE_IMAGE(ISO_AUTO_NORMAL_ICON);
+RESOURCE_IMAGE(ISO_AUTO_PRESS_ICON);
+RESOURCE_IMAGE(ISO_50_NORMAL_ICON);
+RESOURCE_IMAGE(ISO_50_PRESS_ICON);
+RESOURCE_IMAGE(ISO_100_NORMAL_ICON);
+RESOURCE_IMAGE(ISO_100_PRESS_ICON);
+RESOURCE_IMAGE(ISO_200_NORMAL_ICON);
+RESOURCE_IMAGE(ISO_200_PRESS_ICON);
+RESOURCE_IMAGE(ISO_400_NORMAL_ICON);
+RESOURCE_IMAGE(ISO_400_PRESS_ICON);
+RESOURCE_IMAGE(ISO_800_NORMAL_ICON);
+RESOURCE_IMAGE(ISO_800_PRESS_ICON);
+
+/* Metering */
+RESOURCE_IMAGE(METERING_MATRIX_NORMAL_ICON);
+RESOURCE_IMAGE(METERING_MATRIX_PRESS_ICON);
+RESOURCE_IMAGE(METERING_CENTER_WEIGHTED_NORMAL_ICON);
+RESOURCE_IMAGE(METERING_CENTER_WEIGHTED_PRESS_ICON);
+RESOURCE_IMAGE(METERING_SPOT_NORMAL_ICON);
+RESOURCE_IMAGE(METERING_SPOT_PRESS_ICON);
+
+/* Anti shake */
+RESOURCE_IMAGE(ANTISHAKE_ON_NORMAL_ICON);
+RESOURCE_IMAGE(ANTISHAKE_ON_PRESS_ICON);
+RESOURCE_IMAGE(ANTISHAKE_OFF_NORMAL_ICON);
+RESOURCE_IMAGE(ANTISHAKE_OFF_PRESS_ICON);
+
+/* Outdoor visibility */
+RESOURCE_IMAGE(OUTDOOR_VISIBILITY_ON_NORMAL_ICON);
+RESOURCE_IMAGE(OUTDOOR_VISIBILITY_ON_PRESS_ICON);
+RESOURCE_IMAGE(OUTDOOR_VISIBILITY_OFF_NORMAL_ICON);
+RESOURCE_IMAGE(OUTDOOR_VISIBILITY_OFF_PRESS_ICON);
+
+/* Auto contrast */
+RESOURCE_IMAGE(AUTO_CONTRAST_ON_NORMAL_ICON);
+RESOURCE_IMAGE(AUTO_CONTRAST_ON_PRESS_ICON);
+RESOURCE_IMAGE(AUTO_CONTRAST_OFF_NORMAL_ICON);
+RESOURCE_IMAGE(AUTO_CONTRAST_OFF_PRESS_ICON);
+
+/* Guide lines */
+RESOURCE_IMAGE(GUIDELINE_ON_NORMAL_ICON);
+RESOURCE_IMAGE(GUIDELINE_ON_PRESS_ICON);
+RESOURCE_IMAGE(GUIDELINE_OFF_NORMAL_ICON);
+RESOURCE_IMAGE(GUIDELINE_OFF_PRESS_ICON);
+
+/* Capture with voice */
+RESOURCE_IMAGE(CAPTURE_WITH_VOICE_ON_NORMAL_ICON);
+RESOURCE_IMAGE(CAPTURE_WITH_VOICE_ON_PRESS_ICON);
+RESOURCE_IMAGE(CAPTURE_WITH_VOICE_OFF_NORMAL_ICON);
+RESOURCE_IMAGE(CAPTURE_WITH_VOICE_OFF_PRESS_ICON);
+
+/* GPS */
+RESOURCE_IMAGE(GPS_ON_NORMAL_ICON);
+RESOURCE_IMAGE(GPS_ON_PRESS_ICON);
+RESOURCE_IMAGE(GPS_OFF_NORMAL_ICON);
+RESOURCE_IMAGE(GPS_OFF_PRESS_ICON);
+
+/* Save as flip */
+RESOURCE_IMAGE(SAVE_AS_FLIP_ON_NORMAL_ICON);
+RESOURCE_IMAGE(SAVE_AS_FLIP_ON_PRESS_ICON);
+RESOURCE_IMAGE(SAVE_AS_FLIP_OFF_NORMAL_ICON);
+RESOURCE_IMAGE(SAVE_AS_FLIP_OFF_PRESS_ICON);
+
+/* Storage */
+RESOURCE_IMAGE(STORAGE_MYDEVICE_NORMAL_ICON);
+RESOURCE_IMAGE(STORAGE_MYDEVICE_PRESS_ICON);
+RESOURCE_IMAGE(STORAGE_CARD_NORMAL_ICON);
+RESOURCE_IMAGE(STORAGE_CARD_PRESS_ICON);
+
+/* Reset setting */
+RESOURCE_IMAGE(RESET_SETTING_NORMAL_ICON);
+RESOURCE_IMAGE(RESET_SETTING_PRESS_ICON);
+
+/* Setting */
+RESOURCE_IMAGE(SETTING_NORMAL_ICON);
+RESOURCE_IMAGE(SETTING_PRESS_ICON);
+
+/* Indicator */
+RESOURCE_IMAGE(INDICATOR_STORAGE_INTERNAL_ICON);
+RESOURCE_IMAGE(INDICATOR_STORAGE_CARD_ICON);
+RESOURCE_IMAGE(INDICATOR_BATTERY_LEVEL_00_ICON);
+RESOURCE_IMAGE(INDICATOR_BATTERY_LEVEL_01_ICON);
+RESOURCE_IMAGE(INDICATOR_BATTERY_LEVEL_02_ICON);
+RESOURCE_IMAGE(INDICATOR_BATTERY_LEVEL_03_ICON);
+RESOURCE_IMAGE(INDICATOR_BATTERY_LEVEL_04_ICON);
+RESOURCE_IMAGE(INDICATOR_BATTERY_LEVEL_05_ICON);
+RESOURCE_IMAGE(INDICATOR_BATTERY_FULL_ICON);
+RESOURCE_IMAGE(INDICATOR_BATTERY_CHARGE_ICON);
+RESOURCE_IMAGE(INDICATOR_GPS_STATE_OFF_ICON);
+RESOURCE_IMAGE(INDICATOR_GPS_STATE_ON_ICON);
+RESOURCE_IMAGE(INDICATOR_GPS_STATE_CONNECT_ANI01_ICON);
+RESOURCE_IMAGE(INDICATOR_GPS_STATE_CONNECT_ANI02_ICON);
+RESOURCE_IMAGE(INDICATOR_GPS_STATE_CONNECT_ANI03_ICON);
+RESOURCE_IMAGE(INDICATOR_MUTE_ICON);
+
+/* Shutter icon */
+RESOURCE_IMAGE(CAMERA_SHUTTER_ICON);
+RESOURCE_IMAGE(CAMERA_SHUTTER_ICON_DIM);
+
+/* Volume key */
+RESOURCE_IMAGE(VOLUME_KEY_AS_ZOOM_NORMAL_ICON);
+RESOURCE_IMAGE(VOLUME_KEY_AS_ZOOM_PRESS_ICON);
+RESOURCE_IMAGE(VOLUME_KEY_AS_SHUTTER_NORMAL_ICON);
+RESOURCE_IMAGE(VOLUME_KEY_AS_SHUTTER_PRESS_ICON);
+
+/* Tip popup */
+RESOURCE_IMAGE(TIP_POPUP_BURSTSHOT_HELP_IMAGE);
+RESOURCE_IMAGE(TIP_POPUP_VOLUMEKEY_HELP_IMAGE);
+}
+
diff --git a/edc/cam_indicator_layout.edc b/edc/cam_indicator_layout.edc
new file mode 100755
index 0000000..debe3d7
--- /dev/null
+++ b/edc/cam_indicator_layout.edc
@@ -0,0 +1,218 @@
+/*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.1 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://floralicense.org/license/
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+
+#include "../include/edc_string.h"
+
+// order GUI_v1.0_120727
+// voice capture/gps/remain cnt/stroage/battery
+
+//indicator
+#define INDI_BATTERY_X 1044
+#define INDI_STORAGE_X 994
+#define INDI_NUM_X 874
+#define INDI_NUM_W 120
+#define INDI_GPS_X 824
+#define INDI_REC_GPS_X 944
+#define INDI_MUTE_X 894
+
+#define INDICATOR_Y 12
+#define INDICATOR_W 48
+#define INDICATOR_H 48
+
+//portrait
+#define INDI_PORTRAIT_BATTERY_X 660
+#define INDI_PORTRAIT_STORAGE_X 610
+#define INDI_PORTRAIT_NUM_X 488
+#define INDI_PORTRAIT_GPS_X 438
+#define INDI_PORTRAIT_MUTE_X 510
+#define INDI_PORTRAIT_REC_GPS_X 560
+#define INDI_PORTRAIT_REC_Y 28
+
+#define INDICATOR_PORTRAIT_Y 172
+
+
+#define INDICATOR(part_name, x, y) \
+ part { \
+ name: part_name; \
+ type: SWALLOW; \
+ description { \
+ state: "default" 0.0; \
+ rel1 { relative: x/MAIN_W y/MAIN_H; } \
+ rel2 { relative: (x+INDICATOR_W)/MAIN_W (y+INDICATOR_H)/MAIN_H; } \
+ } \
+ }
+
+#define INDICATOR_INVERSE(part_name, x, y) \
+ part { \
+ name: part_name; \
+ type: SWALLOW; \
+ description { \
+ state: "default" 0.0; \
+ rel1 { relative: (1 - (x+INDICATOR_W)/MAIN_W) (1 - (y+INDICATOR_H)/MAIN_H); } \
+ rel2 { relative: (1 - x/MAIN_W) (1 - y/MAIN_H); } \
+ } \
+ }
+
+
+#define INDICATOR_PORTRAIT(part_name, x, y) \
+ part { \
+ name: part_name; \
+ type: SWALLOW; \
+ description { \
+ state: "default" 0.0; \
+ rel1 { relative: x/MAIN_H y/MAIN_W; } \
+ rel2 { relative: (x+INDICATOR_W)/MAIN_H (y+INDICATOR_H)/MAIN_W; } \
+ } \
+ }
+
+#define INDICATOR_PORTRAIT_INVERSE(part_name, x, y) \
+ part { \
+ name: part_name; \
+ type: SWALLOW; \
+ description { \
+ state: "default" 0.0; \
+ rel1 { relative: (1 - (x+INDICATOR_W)/MAIN_H) (1 - (y+INDICATOR_H)/MAIN_W); } \
+ rel2 { relative: (1 - x/MAIN_H) (1 - (y/MAIN_W)); } \
+ } \
+ }
+
+
+collections {
+ group { name: "indicator_landscape";
+ min: MAIN_W MAIN_H;
+
+ parts{
+ INDICATOR(INDICATOR_GPS, INDI_GPS_X, INDICATOR_Y)
+ INDICATOR(INDI_REC_GPS, INDI_REC_GPS_X, INDICATOR_Y)
+ INDICATOR(INDICATOR_STORAGE, INDI_STORAGE_X, INDICATOR_Y)
+ INDICATOR(INDI_REC_STORAGE, INDI_STORAGE_X, INDICATOR_Y)
+ INDICATOR(INDICATOR_BATTERY, INDI_BATTERY_X, INDICATOR_Y)
+ INDICATOR(INDI_REC_BATTERY, INDI_BATTERY_X, INDICATOR_Y)
+ INDICATOR(INDI_REC_MUTE, INDI_MUTE_X, INDICATOR_Y)
+
+
+ part {
+ name: INDICATOR_NUM;
+ type: TEXT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ rel1 { relative: INDI_NUM_X/MAIN_W INDICATOR_Y/MAIN_H; }
+ rel2 { relative: (INDI_NUM_X+INDI_NUM_W)/MAIN_W (INDICATOR_Y+INDICATOR_H)/MAIN_H; }
+ color: COLOR_1;
+ text {
+ font : FONT_NAME;
+ size : 28;
+ align: 1.0 0.5;
+ }
+ }
+ }
+ }
+ }
+
+ group { name: "indicator_landscape_inverse";
+ min: MAIN_W MAIN_H;
+ parts{
+ INDICATOR(INDICATOR_STORAGE, INDI_STORAGE_X, INDICATOR_Y)
+ INDICATOR(INDI_REC_STORAGE, INDI_STORAGE_X, INDICATOR_Y)
+ INDICATOR(INDICATOR_GPS, INDI_GPS_X, INDICATOR_Y)
+ INDICATOR(INDI_REC_GPS, INDI_REC_GPS_X, INDICATOR_Y)
+ INDICATOR(INDICATOR_BATTERY, INDI_BATTERY_X, INDICATOR_Y)
+ INDICATOR(INDI_REC_BATTERY, INDI_BATTERY_X, INDICATOR_Y)
+ INDICATOR(INDI_REC_MUTE, INDI_MUTE_X, INDICATOR_Y)
+
+ part {
+ name: INDICATOR_NUM;
+ type: TEXT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ rel1 { relative: INDI_NUM_X/MAIN_W INDICATOR_Y/MAIN_H; }
+ rel2 { relative: (INDI_NUM_X+INDI_NUM_W)/MAIN_W (INDICATOR_Y+INDICATOR_H)/MAIN_H; }
+ color: COLOR_1;
+ text {
+ font : FONT_NAME;
+ size : 28;
+ align: 0.0 0.5;
+ }
+ }
+ }
+ }
+ }
+
+ group { name: "indicator_portrait";
+ min: MAIN_H MAIN_W;
+ parts{
+ INDICATOR_PORTRAIT(INDICATOR_GPS, INDI_PORTRAIT_GPS_X, INDICATOR_PORTRAIT_Y)
+ INDICATOR_PORTRAIT(INDI_REC_GPS, INDI_PORTRAIT_REC_GPS_X, INDI_PORTRAIT_REC_Y)
+ INDICATOR_PORTRAIT(INDICATOR_STORAGE, INDI_PORTRAIT_STORAGE_X, INDICATOR_PORTRAIT_Y)
+ INDICATOR_PORTRAIT(INDI_REC_STORAGE, INDI_PORTRAIT_STORAGE_X, INDI_PORTRAIT_REC_Y)
+ INDICATOR_PORTRAIT(INDICATOR_BATTERY, INDI_PORTRAIT_BATTERY_X, INDICATOR_PORTRAIT_Y)
+ INDICATOR_PORTRAIT(INDI_REC_BATTERY, INDI_PORTRAIT_BATTERY_X, INDI_PORTRAIT_REC_Y)
+ INDICATOR_PORTRAIT(INDI_REC_MUTE, INDI_PORTRAIT_MUTE_X, INDI_PORTRAIT_REC_Y)
+
+ part {
+ name: INDICATOR_NUM;
+ type: TEXT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ rel1 { relative: INDI_PORTRAIT_NUM_X/MAIN_H INDICATOR_PORTRAIT_Y/MAIN_W ; }
+ rel2 { relative: (INDI_PORTRAIT_NUM_X+INDI_NUM_W)/MAIN_H (INDICATOR_PORTRAIT_Y+INDICATOR_H)/MAIN_W ; }
+ color: COLOR_1;
+ text {
+ font : FONT_NAME;
+ size : 28;
+ align: 1.0 0.5;
+ }
+ }
+ }
+ }
+ }
+
+ group { name: "indicator_portrait_inverse";
+ min: MAIN_H MAIN_W;
+ parts{
+ INDICATOR_PORTRAIT(INDICATOR_GPS, INDI_PORTRAIT_GPS_X, INDICATOR_PORTRAIT_Y)
+ INDICATOR_PORTRAIT(INDI_REC_GPS, INDI_PORTRAIT_REC_GPS_X, INDICATOR_PORTRAIT_Y)
+ INDICATOR_PORTRAIT(INDICATOR_STORAGE, INDI_PORTRAIT_STORAGE_X, INDICATOR_PORTRAIT_Y)
+ INDICATOR_PORTRAIT(INDI_REC_STORAGE, INDI_PORTRAIT_STORAGE_X, INDICATOR_PORTRAIT_Y)
+ INDICATOR_PORTRAIT(INDICATOR_BATTERY, INDI_PORTRAIT_BATTERY_X, INDICATOR_PORTRAIT_Y)
+ INDICATOR_PORTRAIT(INDI_REC_BATTERY, INDI_PORTRAIT_BATTERY_X, INDICATOR_PORTRAIT_Y)
+ INDICATOR_PORTRAIT(INDI_REC_MUTE, INDI_PORTRAIT_MUTE_X, INDICATOR_PORTRAIT_Y)
+
+ part {
+ name: INDICATOR_NUM;
+ type: TEXT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ rel1 { relative: INDI_PORTRAIT_NUM_X/MAIN_H INDICATOR_PORTRAIT_Y/MAIN_W ; }
+ rel2 { relative: (INDI_PORTRAIT_NUM_X+INDI_NUM_W)/MAIN_H (INDICATOR_PORTRAIT_Y+INDICATOR_H)/MAIN_W ; }
+ color: COLOR_1;
+ text {
+ font : FONT_NAME;
+ size : 28;
+ align: 0.0 0.5;
+ }
+ }
+ }
+ }
+ }
+
+}//end collections
+//end file
diff --git a/edc/cam_main_layout.edc b/edc/cam_main_layout.edc
new file mode 100755
index 0000000..b555771
--- /dev/null
+++ b/edc/cam_main_layout.edc
@@ -0,0 +1,496 @@
+/*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.1 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://floralicense.org/license/
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+
+#include "cam_funcs.edc"
+#include "../include/edc_image_name.h"
+
+collections {
+ group {
+ name: "main_layout";
+ parts {
+ part { name: "transparent_layout";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0; }
+ }
+ part { name: "guideline_layout";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0; }
+ }
+ part { name: "shot_guide_popup_layout";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0; }
+ }
+ part { name: "indicator_layout";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0; }
+ }
+ part { name: "recording_layout";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0; }
+ }
+ part { name: "mouse_event_layer";
+ type: RECT;
+ mouse_events: 1;
+ description {
+ state: "default" 0.0;
+ rel1 { relative: 0.0 0.0; offset: 0 0; }
+ rel2 { relative: 1.0 1.0; offset: -1 -1; }
+ color : 0 0 0 0;
+ }
+ }
+ part { name: "timer_layout";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0; }
+ }
+ part { name: "best_photo_thumbnail_layout";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0; }
+ }
+ part { name: "progressbar_layout";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0; }
+ }
+ part { name: "progress_popup_layout";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0; }
+ }
+ part { name: "tip_popup_layout";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0; }
+ }
+ part { name: "pinch_layout";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0; }
+ }
+ part { name: "zoom_layout";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0; }
+ }
+ part { name: "ev_layout";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0; }
+ }
+ part { name: "toolbar_layout";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0; }
+ }
+ }
+ }
+
+#include "cam_guideline_edje.edc"
+
+ group {
+ name: "progressbar";
+ min: MAIN_W MAIN_H;
+
+ parts {
+
+#define PROGRESS_BAR_X 320
+#define PROGRESS_BAR_Y 657
+#define PROGRESS_BAR_W 639
+#define PROGRESS_BAR_H 20
+
+ part {
+ name: "progressbar";
+ type: SWALLOW;
+ description {
+ state: "default" 0.0;
+ fixed:1 1;
+ visible: 0;
+ rel1 { relative: PROGRESS_BAR_X/MAIN_W PROGRESS_BAR_Y/MAIN_H; }
+ rel2 { relative: (PROGRESS_BAR_X+PROGRESS_BAR_W)/MAIN_W (PROGRESS_BAR_Y+PROGRESS_BAR_H)/MAIN_H; }
+ }
+
+ description {
+ state: "landscape" 0.0;
+ fixed:1 1;
+ visible: 1;
+ rel1 { relative: PROGRESS_BAR_X/MAIN_W PROGRESS_BAR_Y/MAIN_H; }
+ rel2 { relative: (PROGRESS_BAR_X+PROGRESS_BAR_W)/MAIN_W (PROGRESS_BAR_Y+PROGRESS_BAR_H)/MAIN_H; }
+ }
+
+ description {
+ state: "vertical" 0.0;
+ fixed:1 1;
+ visible: 1;
+ rel1 { relative: PROGRESS_BAR_X/MAIN_W (PROGRESS_BAR_Y - 60)/MAIN_H; }
+ rel2 { relative: (PROGRESS_BAR_X+PROGRESS_BAR_W)/MAIN_W (PROGRESS_BAR_Y+PROGRESS_BAR_H - 60)/MAIN_H; }
+ }
+ }
+
+ part {
+ name: "progressbar_text";
+ type: TEXT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ rel1 { relative: 1.0 (-20)/PROGRESS_BAR_H; to: "progressbar"; }
+ rel2 { relative: (1.0+90/PROGRESS_BAR_W) (1.0+20/PROGRESS_BAR_H); to: "progressbar"; }
+ color: FONT_COLOR;
+ text {
+ font : FONT_NAME;
+ size : 28;
+ align: 0.5 0.5;
+ }
+ }
+ description {
+ state: "vertical" 0.0;
+ rel1 { relative: 1.0 (-20)/PROGRESS_BAR_H; to: "progressbar"; }
+ rel2 { relative: (1.0+90/PROGRESS_BAR_W*MAIN_W/MAIN_H) (1.0+20/PROGRESS_BAR_H); to: "progressbar"; }
+ color: FONT_COLOR;
+ text {
+ font : FONT_NAME;
+ size : 28;
+ align: 0.5 0.5;
+ }
+ }
+ }
+
+ }
+ programs {
+ program {
+ name: "progressbar,default";
+ source: "prog";
+ signal: "progressbar,default";
+ script: {
+ set_state(PART:"progressbar", "landscape", 0.0);
+ set_state(PART:"progressbar_text", "default", 0.0);
+ }
+ }
+ program {
+ name: "progressbar,vertical";
+ source: "prog";
+ signal: "progressbar,vertical";
+ script: {
+ set_state(PART:"progressbar", "vertical", 0.0);
+ set_state(PART:"progressbar_text", "vertical", 0.0);
+ }
+ }
+ }
+ }
+
+ group {
+ name: "shutter_image";
+ min: MAIN_W MAIN_H;
+
+ parts {
+ part {
+ name: "camera_image_bg";
+ type: RECT;
+ description {
+ state: "default" 0.0;
+ rel1 { relative: 0.0 0.0; offset: 0 0; }
+ rel2 { relative: 1.0 1.0; offset: -1 -1; }
+ color : 0 0 0 0;
+ }
+ description {
+ state: "gray" 0.0;
+ rel1 { relative: 0.0 0.0; offset: 0 0; }
+ rel2 { relative: 1.0 1.0; offset: -1 -1; }
+ color : 0 0 0 180;
+ }
+ }
+ part {
+ name: "up_part";
+ type: RECT;
+ description {
+ state: "default" 0.0;
+ rel1 { relative: 0.0 0.0; offset: 0 0; to : "camera_image_bg"; }
+ rel2 { relative: 1.0 0.0; offset: -1 0; to : "camera_image_bg"; }
+ color : 0 0 0 255;
+// visible: 1;
+ }
+ description {
+ state: "middle" 0.0;
+ rel1 { relative: 0.0 0.0; offset: 0 0; to : "camera_image_bg"; }
+ rel2 { relative: 1.0 0.5; offset: -1 -1; to : "camera_image_bg"; }
+ color : 0 0 0 255;
+// visible: 0;
+ }
+ }
+
+ part { name: "down_part";
+ type: RECT;
+ description {
+ state: "default" 0.0;
+ rel1 { relative: 0.0 1.0; offset: 0 -1; to : "camera_image_bg"; }
+ rel2 { relative: 1.0 1.0; offset: -1 -1; to : "camera_image_bg"; }
+ color : 0 0 0 255;
+// visible: 1;
+ }
+ description {
+ state: "middle" 0.0;
+ rel1 { relative: 0.0 0.5; offset: 0 -1; to : "camera_image_bg"; }
+ rel2 { relative: 1.0 1.0; offset: -1 -1; to : "camera_image_bg"; }
+ color : 0 0 0 255;
+// visible: 0;
+ }
+ }
+ }
+
+ programs {
+ program {
+ name: "close";
+ signal: "start_animation";
+ source: "*";
+ action: STATE_SET "middle" 0.0;
+ target: "up_part" ;
+ target: "down_part" ;
+ transition: ACCELERATE 0.25;
+ after: "open";
+ }
+ program {
+ name: "open";
+ signal: "open";
+ source: "*";
+ action: STATE_SET "default" 0.0;
+ target: "up_part" ;
+ target: "down_part" ;
+ transition: DECELERATE 0.25;
+ }
+ program {
+ name: "dim";
+ signal: "dim";
+ source: "*";
+ action: STATE_SET "gray" 0.0;
+ target: "camera_image_bg" ;
+ }
+
+ program {
+ name: "bright";
+ signal: "bright";
+ source: "*";
+ action: STATE_SET "default" 0.0;
+ target: "camera_image_bg" ;
+ transition: DECELERATE 0.2;
+ after: "animation_finish";
+ }
+ program {
+ name: "animation_finish";
+ signal: "animation_finish";
+ source: "*";
+ action: SIGNAL_EMIT "animation_finish" "*";
+ }
+ }
+ }
+
+ group {
+ name: "shutter_rect";
+ min: MAIN_W MAIN_H;
+
+ parts {
+ part {
+ name: "shutter_rect_bg";
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ rel1 { relative: 0.0 0.0;}
+ rel2 { relative: 1.0 1.0;}
+ color : 0 0 0 0;
+ }
+ description {
+ state: "gray" 0.0;
+ rel1 { relative: 0.0 0.0;}
+ rel2 { relative: 1.0 1.0;}
+ color : 0 0 0 180;
+ }
+ }
+
+ part {
+ name: "point_0";
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: 1 1;
+ max: 1 1;
+ fixed: 1 1;
+ align: 0.0 0.0;
+ rel1 { relative: 0.0 0.0; to : "shutter_rect_bg"; }
+ rel2 { relative: 0.0 0.0; to : "shutter_rect_bg"; }
+ color : 255 255 255 0;
+ visible: 0;
+ }
+ description {
+ state: "end" 0.0;
+ inherit: "default" 0.0;
+ min: 15 15;
+ max: 15 15;
+ fixed: 1 1;
+ }
+ }
+ part {
+ name: "point_1";
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: 1 1;
+ max: 1 1;
+ fixed: 1 1;
+ align: 1.0 0.0;
+ rel1 { relative: 1.0 0.0; to : "shutter_rect_bg"; }
+ rel2 { relative: 1.0 0.0; to : "shutter_rect_bg"; }
+ color : 255 255 255 0;
+ visible: 0;
+ }
+ description {
+ state: "end" 0.0;
+ inherit: "default" 0.0;
+ min: 15 15;
+ max: 15 15;
+ fixed: 1 1;
+ }
+ }
+ part {
+ name: "point_2";
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: 1 1;
+ max: 1 1;
+ fixed: 1 1;
+ align: 1.0 1.0;
+ rel1 { relative: 1.0 1.0; to : "shutter_rect_bg"; }
+ rel2 { relative: 1.0 1.0; to : "shutter_rect_bg"; }
+ color : 255 255 255 0;
+ visible: 0;
+ }
+ description {
+ state: "end" 0.0;
+ inherit: "default" 0.0;
+ min: 15 15;
+ max: 15 15;
+ fixed: 1 1;
+ }
+ }
+ part {
+ name: "point_3";
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: 1 1;
+ max: 1 1;
+ fixed: 1 1;
+ align: 0.0 1.0;
+ rel1 { relative: 0.0 1.0; to : "shutter_rect_bg"; }
+ rel2 { relative: 0.0 1.0; to : "shutter_rect_bg"; }
+ color : 255 255 255 0;
+ visible: 0;
+ }
+ description {
+ state: "end" 0.0;
+ inherit: "default" 0.0;
+ min: 15 15;
+ max: 15 15;
+ fixed: 1 1;
+ }
+ }
+
+ part {
+ name: "top";
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ rel1 { relative: 0.0 0.0; offset: 0 0; to_x : "point_0"; to_y : "point_0";}
+ rel2 { relative: 0.0 1.0; offset: 0 0; to_x : "point_1"; to_y : "point_1";}
+ color : 255 255 255 200;
+ visible: 1;
+ }
+ }
+
+ part {
+ name: "right";
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ rel1 { relative: 0.0 0.0; offset: 1 0; to_x : "point_1"; to_y : "point_1";}
+ rel2 { relative: 1.0 1.0; offset: 0 0; to_x : "point_2"; to_y : "point_2";}
+ color : 255 255 255 200;
+ visible: 1;
+ }
+ }
+
+ part {
+ name: "bottom";
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ rel1 { relative: 0.0 0.0; offset: 0 0; to_x : "point_3"; to_y : "point_3";}
+ rel2 { relative: 0.0 1.0; offset: 0 0; to_x : "point_2"; to_y : "point_2";}
+ color : 255 255 255 200;
+ visible: 1;
+ }
+ }
+ part {
+ name: "left";
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ rel1 { relative: 0.0 1.0; offset: 0 1; to_x : "point_0"; to_y : "point_0";}
+ rel2 { relative: 1.0 0.0; offset: 0 -1; to_x : "point_3"; to_y : "point_3";}
+ color : 255 255 255 200;
+ visible: 1;
+ }
+ }
+ }
+
+ programs {
+ program {
+ name: "shutter_rect,start";
+ signal: "shutter_rect,start";
+ source: "prog";
+ action: STATE_SET "end" 0.0;
+ target: "point_0";
+ target: "point_1";
+ target: "point_2";
+ target: "point_3";
+ transition: DECELERATE 0.20;
+ after: "shutter_rect,finish";
+ }
+ program {
+ name: "shutter_rect,finish";
+ signal: "shutter_rect,finish";
+ source: "*";
+ action: SIGNAL_EMIT "shutter_rect,finish" "*";
+ }
+ }
+ }
+}
+
+
diff --git a/edc/cam_recording_edje.edc b/edc/cam_recording_edje.edc
new file mode 100755
index 0000000..5af9fd3
--- /dev/null
+++ b/edc/cam_recording_edje.edc
@@ -0,0 +1,190 @@
+/*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.1 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://floralicense.org/license/
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+
+
+#include "cam_recording_edje_inc.edc"
+
+collections {
+ group {
+ name: "recording_layout";
+ min: MAIN_W MAIN_H;
+
+ parts {
+ part {
+ name: RECORDING_IMAGE;
+ type: IMAGE;
+ description {
+ state: "default" 0.0;
+ rel1 { relative: RECORDING_IMAGE_X/MAIN_W RECORDING_IMAGE_Y/MAIN_H; }
+ rel2 { relative: (RECORDING_IMAGE_X+RECORDING_IMAGE_W)/MAIN_W (RECORDING_IMAGE_Y+RECORDING_IMAGE_H)/MAIN_H; }
+ }
+ description {
+ state: "rec" 0.0;
+ inherit: "default" 0.0;
+ image { normal: RECORDING_IMAGE_REC_IMAGE; }
+ }
+ description {
+ state: "rec1" 0.0;
+ inherit: "default" 0.0;
+ image { normal: RECORDING_IMAGE_REC_IMAGE; }
+ }
+ description {
+ state: "invisible" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+
+ part {
+ name: RECORDING_TEXT;
+ type: TEXT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ rel1 { relative: RECORDING_TEXT_X/MAIN_W RECORDING_TEXT_Y/MAIN_H; }
+ rel2 { relative: 1.0 1.0; offset: -1 -1; }
+ color: FONT_COLOR;
+ text {
+ font : FONT_NAME;
+ size : 35;
+ align: 0.0 0.0;
+ }
+ }
+ description {
+ state: "invisible" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+
+ part {
+ name: RECORDING_LEFT_TEXT;
+ type: TEXT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ rel1 { relative: RECORDING_LEFT_TEXT_X/MAIN_W RECORDING_LEFT_TEXT_Y/MAIN_H; }
+ rel2 { relative: 1.0 1.0; offset: -1 -1; }
+ color: FONT_COLOR;
+ text {
+ font : FONT_NAME;
+ size : 35;
+ align: 0.0 0.0;
+ }
+ }
+ description {
+ state: "invisible" 0.0;
+ inherit: "default" 0.0;
+ visible : 0;
+ }
+ }
+
+ part { name: "progressbar";
+ type: SWALLOW;
+ description {
+ state: "default" 0.0;
+ fixed:1 1;
+ rel1 { relative: PROGRESS_BAR_X/MAIN_W PROGRESS_BAR_Y/MAIN_H; }
+ rel2 { relative: (PROGRESS_BAR_X+PROGRESS_BAR_W)/MAIN_W (PROGRESS_BAR_Y+PROGRESS_BAR_H)/MAIN_H; }
+ }
+ }
+
+ part {
+ name: "progressbar_text";
+ type: TEXT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ rel1 { relative: 1.0 (-20)/PROGRESS_BAR_H; to: "progressbar"; }
+ rel2 { relative: (1.0+90/PROGRESS_BAR_W) (1.0+20/PROGRESS_BAR_H); to: "progressbar"; }
+ color: FONT_COLOR;
+ text {
+ font : FONT_NAME;
+ size : 28;
+ align: 0.5 0.5;
+ }
+ }
+ }
+
+ part{
+ name: "file_size_text";
+ type: TEXT;
+ scale: 1;
+ description{
+ state: "default" 0.0;
+ rel1 { relative: (0.0-100/PROGRESS_BAR_W) (-20)/PROGRESS_BAR_H; to: "progressbar"; }
+ rel2 { relative: (0.0-10/PROGRESS_BAR_W) (1.0+20/PROGRESS_BAR_H); to: "progressbar"; }
+ color: FONT_COLOR;
+ text {
+ font : FONT_NAME;
+ size : 28;
+ align : 1.0 0.5;
+ }
+ }
+ }
+ }
+
+ programs {
+ program {
+ name: "set_rec_state";
+ source: "program";
+ signal: "state,rec";
+ script {
+ set_state(PART:RECORDING_IMAGE, "rec", 0.0);
+ set_state(PART:RECORDING_TEXT, "default", 0.0);
+ }
+ }
+ program {
+ name: "set_rec_state1";
+ source: "program";
+ signal: "state,rec1";
+ script {
+ set_state(PART:RECORDING_IMAGE, "rec1", 0.0);
+ set_state(PART:RECORDING_TEXT, "default", 0.0);
+ }
+ }
+ program {
+ name: "set_pause_state";
+ source: "program";
+ signal: "state,pause";
+ script {
+ set_state(PART:RECORDING_IMAGE, "pause", 0.0);
+ set_state(PART:RECORDING_TEXT, "default", 0.0);
+ }
+ }
+ program {
+ name: "hide_indicator";
+ source: "program";
+ signal: "indicator,hide";
+ script {
+ set_state(PART:RECORDING_IMAGE, "invisible", 0.0);
+ set_state(PART:RECORDING_TEXT, "invisible", 0.0);
+ }
+ }
+ program {
+ name: "show_indicator";
+ source: "program";
+ signal: "indicator,show";
+ script {
+ set_state(PART:RECORDING_IMAGE, "pause", 0.0);
+ set_state(PART:RECORDING_TEXT, "default", 0.0);
+ }
+ }
+ }
+ }
+}
+//endfile
diff --git a/edc/cam_recording_edje_inc.edc b/edc/cam_recording_edje_inc.edc
new file mode 100755
index 0000000..727c92f
--- /dev/null
+++ b/edc/cam_recording_edje_inc.edc
@@ -0,0 +1,40 @@
+/*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.1 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://floralicense.org/license/
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+
+
+#include "../include/edc_image_name.h"
+#include "cam_funcs.edc"
+images {
+ image: RECORDING_IMAGE_REC_IMAGE COMP;
+}
+
+
+#define RECORDING_IMAGE_X 844
+#define RECORDING_IMAGE_Y 12
+#define RECORDING_IMAGE_W 48
+#define RECORDING_IMAGE_H 48
+#define RECORDING_TEXT_X 734
+#define RECORDING_TEXT_Y 12
+#define RECORDING_LEFT_TEXT_X 128
+#define RECORDING_LEFT_TEXT_Y 10
+
+#define PROGRESS_BAR_X 320
+#define PROGRESS_BAR_Y 657
+#define PROGRESS_BAR_W 639
+#define PROGRESS_BAR_H 20
+
+//endfiles
diff --git a/edc/cam_recording_edje_inverse.edc b/edc/cam_recording_edje_inverse.edc
new file mode 100755
index 0000000..3b7269b
--- /dev/null
+++ b/edc/cam_recording_edje_inverse.edc
@@ -0,0 +1,194 @@
+/*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.1 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://floralicense.org/license/
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+
+
+#include "cam_recording_edje_inverse_inc.edc"
+
+collections {
+
+ group {
+ name: "recording_layout";
+ min: MAIN_W MAIN_H;
+
+ parts {
+
+ part {
+ name: RECORDING_IMAGE;
+ type: IMAGE;
+ description {
+ state: "default" 0.0;
+ rel1 { relative: RECORDING_IMAGE_X/MAIN_W RECORDING_IMAGE_Y/MAIN_H; }
+ rel2 { relative: (RECORDING_IMAGE_X+RECORDING_IMAGE_W)/MAIN_W (RECORDING_IMAGE_Y+RECORDING_IMAGE_H)/MAIN_H; }
+ }
+ description {
+ state: "rec" 0.0;
+ inherit: "default" 0.0;
+ image { normal: RECORDING_IMAGE_REC_IMAGE; }
+ }
+ description {
+ state: "rec1" 0.0;
+ inherit: "default" 0.0;
+ image { normal: RECORDING_IMAGE_REC_IMAGE; }
+ }
+ description {
+ state: "invisible" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+
+ part {
+ name: RECORDING_TEXT;
+ type: TEXT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ rel1 { relative: RECORDING_TEXT_X/MAIN_W RECORDING_TEXT_Y/MAIN_H; }
+ rel2 { relative: 1.0 1.0; offset: -1 -1; }
+ color: FONT_COLOR;
+ text {
+ font : FONT_NAME;
+ size : 35;
+ align: 0.0 0.0;
+ }
+ }
+ description {
+ state: "invisible" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+
+
+ part {
+ name: RECORDING_LEFT_TEXT;
+ type: TEXT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ rel1 { relative: 0.0 0.0; }
+ rel2 { relative: (1.0 - RECORDING_LEFT_TEXT_X/MAIN_W) (1.0 - RECORDING_LEFT_TEXT_Y/MAIN_H); offset: -1 -1; }
+ color: FONT_COLOR;
+ text {
+ font : FONT_NAME;
+ size : 35;
+ align: 1.0 1.0;
+ }
+ }
+ description {
+ state: "invisible" 0.0;
+ inherit: "default" 0.0;
+ visible : 0;
+ }
+ }
+
+ part { name: "progressbar";
+ type: SWALLOW;
+ description {
+ state: "default" 0.0;
+ fixed:1 1;
+ rel1 { relative: PROGRESS_BAR_X/MAIN_W PROGRESS_BAR_Y/MAIN_H; }
+ rel2 { relative: (PROGRESS_BAR_X+PROGRESS_BAR_W)/MAIN_W (PROGRESS_BAR_Y+PROGRESS_BAR_H)/MAIN_H; }
+ }
+ }
+
+ part {
+ name: "progressbar_text";
+ type: TEXT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ rel1 { relative: 1.0 (-20)/PROGRESS_BAR_H; to: "progressbar"; }
+ rel2 { relative: (1.0+90/PROGRESS_BAR_W) (1.0+20/PROGRESS_BAR_H); to: "progressbar"; }
+ color: FONT_COLOR;
+ text {
+ font : FONT_NAME;
+ size : 28;
+ align: 0.5 0.5;
+ }
+ }
+ }
+
+ part{
+ name: "file_size_text";
+ type: TEXT;
+ scale: 1;
+ description{
+ state: "default" 0.0;
+ rel1 { relative: (0.0-100/PROGRESS_BAR_W) (-20)/PROGRESS_BAR_H; to: "progressbar"; }
+ rel2 { relative: (0.0-10/PROGRESS_BAR_W) (1.0+20/PROGRESS_BAR_H); to: "progressbar"; }
+ color: FONT_COLOR;
+ text {
+ font : FONT_NAME;
+ size : 28;
+ align : 1.0 0.5;
+ }
+ }
+ }
+ }
+
+ programs {
+
+ program {
+ name: "set_rec_state";
+ source: "program";
+ signal: "state,rec";
+ script {
+ set_state(PART:RECORDING_IMAGE, "rec", 0.0);
+ set_state(PART:RECORDING_TEXT, "default", 0.0);
+ }
+ }
+ program {
+ name: "set_rec_state1";
+ source: "program";
+ signal: "state,rec1";
+ script {
+ set_state(PART:RECORDING_IMAGE, "rec1", 0.0);
+ set_state(PART:RECORDING_TEXT, "default", 0.0);
+ }
+ }
+ program {
+ name: "set_pause_state";
+ source: "program";
+ signal: "state,pause";
+ script {
+ set_state(PART:RECORDING_IMAGE, "pause", 0.0);
+ set_state(PART:RECORDING_TEXT, "default", 0.0);
+ }
+ }
+ program {
+ name: "hide_indicator";
+ source: "program";
+ signal: "indicator,hide";
+ script {
+ set_state(PART:RECORDING_IMAGE, "invisible", 0.0);
+ set_state(PART:RECORDING_TEXT, "invisible", 0.0);
+ }
+ }
+ program {
+ name: "show_indicator";
+ source: "program";
+ signal: "indicator,show";
+ script {
+ set_state(PART:RECORDING_IMAGE, "pause", 0.0);
+ set_state(PART:RECORDING_TEXT, "default", 0.0);
+ }
+ }
+ }
+ }
+}
+//endfile
diff --git a/edc/cam_recording_edje_inverse_inc.edc b/edc/cam_recording_edje_inverse_inc.edc
new file mode 100755
index 0000000..a910913
--- /dev/null
+++ b/edc/cam_recording_edje_inverse_inc.edc
@@ -0,0 +1,38 @@
+/*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.1 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://floralicense.org/license/
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#include "../include/edc_image_name.h"
+#include "cam_funcs.edc"
+images {
+ image: RECORDING_IMAGE_REC_IMAGE COMP;
+}
+
+
+#define RECORDING_IMAGE_X 844
+#define RECORDING_IMAGE_Y 12
+#define RECORDING_IMAGE_W 48
+#define RECORDING_IMAGE_H 48
+#define RECORDING_TEXT_X 734
+#define RECORDING_TEXT_Y 12
+#define RECORDING_LEFT_TEXT_X 128
+#define RECORDING_LEFT_TEXT_Y 10
+
+#define PROGRESS_BAR_X 320
+#define PROGRESS_BAR_Y 657
+#define PROGRESS_BAR_W 639
+#define PROGRESS_BAR_H 20
+
+//endfiles \ No newline at end of file
diff --git a/edc/cam_recording_edje_vertical.edc b/edc/cam_recording_edje_vertical.edc
new file mode 100755
index 0000000..1234ac9
--- /dev/null
+++ b/edc/cam_recording_edje_vertical.edc
@@ -0,0 +1,189 @@
+/*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.1 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://floralicense.org/license/
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+
+#include "cam_recording_edje_vertical_inc.edc"
+
+
+collections {
+ group {
+ name: "recording_layout";
+ min: MAIN_H MAIN_W;
+
+ parts {
+ part {
+ name: RECORDING_IMAGE;
+ type: IMAGE;
+ description {
+ state: "default" 0.0;
+ rel1 { relative: RECORDING_IMAGE_X/VER_MAIN_W RECORDING_IMAGE_Y/VER_MAIN_H; }
+ rel2 { relative: (RECORDING_IMAGE_X+RECORDING_IMAGE_W)/VER_MAIN_W (RECORDING_IMAGE_Y+RECORDING_IMAGE_H)/VER_MAIN_H; }
+ }
+ description {
+ state: "rec" 0.0;
+ inherit: "default" 0.0;
+ image { normal: RECORDING_IMAGE_REC_IMAGE; }
+ }
+ description {
+ state: "rec1" 0.0;
+ inherit: "default" 0.0;
+ image { normal: RECORDING_IMAGE_REC_IMAGE; }
+ }
+ description {
+ state: "invisible" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+
+ part {
+ name: RECORDING_TEXT;
+ type: TEXT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ rel1 { relative: RECORDING_TEXT_X/VER_MAIN_W RECORDING_TEXT_Y/VER_MAIN_H; }
+ rel2 { relative: 1.0 1.0; offset: -1 -1; }
+ color: FONT_COLOR;
+ text {
+ font : FONT_NAME;
+ size : 35;
+ align: 0.0 0.0;
+ }
+ }
+ description {
+ state: "invisible" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+
+ part {
+ name: RECORDING_LEFT_TEXT;
+ type: TEXT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ rel1 { relative: RECORDING_LEFT_TEXT_X/VER_MAIN_W RECORDING_LEFT_TEXT_Y/VER_MAIN_H; }
+ rel2 { relative: 1.0 1.0; offset: -1 -1; }
+ color: FONT_COLOR;
+ text {
+ font : FONT_NAME;
+ size : 35;
+ align: 0.0 0.0;
+ }
+ }
+ description {
+ state: "invisible" 0.0;
+ inherit: "default" 0.0;
+ visible : 0;
+ }
+ }
+
+ part { name: "progressbar";
+ type: SWALLOW;
+ description {
+ state: "default" 0.0;
+ fixed:1 1;
+ rel1 { relative: PROGRESS_BAR_X/VER_MAIN_W PROGRESS_BAR_Y/VER_MAIN_H; }
+ rel2 { relative: (PROGRESS_BAR_X+PROGRESS_BAR_W)/VER_MAIN_W (PROGRESS_BAR_Y+PROGRESS_BAR_H)/VER_MAIN_H; }
+ }
+ }
+
+ part {
+ name: "progressbar_text";
+ type: TEXT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ rel1 { relative: 1.0 (-20)/PROGRESS_BAR_H; to: "progressbar"; }
+ rel2 { relative: (1.0+90/PROGRESS_BAR_W) (1.0+20/PROGRESS_BAR_H); to: "progressbar"; }
+ color: FONT_COLOR;
+ text {
+ font : FONT_NAME;
+ size : 28;
+ align: 0.5 0.5;
+ }
+ }
+ }
+
+ part{
+ name: "file_size_text";
+ type: TEXT;
+ scale: 1;
+ description{
+ state: "default" 0.0;
+ rel1 { relative: (0.0-100/PROGRESS_BAR_W) (-20)/PROGRESS_BAR_H; to: "progressbar"; }
+ rel2 { relative: (0.0-10/PROGRESS_BAR_W) (1.0+20/PROGRESS_BAR_H); to: "progressbar"; }
+ color: FONT_COLOR;
+ text {
+ font : FONT_NAME;
+ size : 28;
+ align : 1.0 0.5;
+ }
+ }
+ }
+ }
+
+ programs {
+
+ program {
+ name: "set_rec_state";
+ source: "program";
+ signal: "state,rec";
+ script {
+ set_state(PART:RECORDING_IMAGE, "rec", 0.0);
+ set_state(PART:RECORDING_TEXT, "default", 0.0);
+ }
+ }
+ program {
+ name: "set_rec_state1";
+ source: "program";
+ signal: "state,rec1";
+ script {
+ set_state(PART:RECORDING_IMAGE, "rec1", 0.0);
+ set_state(PART:RECORDING_TEXT, "default", 0.0);
+ }
+ }
+ program {
+ name: "set_pause_state";
+ source: "program";
+ signal: "state,pause";
+ script {
+ set_state(PART:RECORDING_IMAGE, "pause", 0.0);
+ set_state(PART:RECORDING_TEXT, "default", 0.0);
+ }
+ }
+ program { name: "hide_indicator";
+ source: "program";
+ signal: "indicator,hide";
+ script {
+ set_state(PART:RECORDING_IMAGE, "invisible", 0.0);
+ set_state(PART:RECORDING_TEXT, "invisible", 0.0);
+ }
+ }
+ program { name: "show_indicator";
+ source: "program";
+ signal: "indicator,show";
+ script {
+ set_state(PART:RECORDING_IMAGE, "pause", 0.0);
+ set_state(PART:RECORDING_TEXT, "default", 0.0);
+ }
+ }
+ }
+ }
+}
+//endfile
diff --git a/edc/cam_recording_edje_vertical_inc.edc b/edc/cam_recording_edje_vertical_inc.edc
new file mode 100755
index 0000000..1a450ee
--- /dev/null
+++ b/edc/cam_recording_edje_vertical_inc.edc
@@ -0,0 +1,39 @@
+/*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.1 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://floralicense.org/license/
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+
+#include "../include/edc_image_name.h"
+#include "cam_funcs.edc"
+images {
+ image: RECORDING_IMAGE_REC_IMAGE COMP;
+}
+
+
+#define RECORDING_IMAGE_X 460
+#define RECORDING_IMAGE_Y 28
+#define RECORDING_IMAGE_W 48
+#define RECORDING_IMAGE_H 48
+#define RECORDING_TEXT_X 350
+#define RECORDING_TEXT_Y 28
+#define RECORDING_LEFT_TEXT_X 10
+#define RECORDING_LEFT_TEXT_Y 28
+
+#define PROGRESS_BAR_X 128
+#define PROGRESS_BAR_Y 1000
+#define PROGRESS_BAR_W 464
+#define PROGRESS_BAR_H 20
+
+//endfiles \ No newline at end of file
diff --git a/edc/cam_recording_edje_vertical_inverse.edc b/edc/cam_recording_edje_vertical_inverse.edc
new file mode 100755
index 0000000..98e958a
--- /dev/null
+++ b/edc/cam_recording_edje_vertical_inverse.edc
@@ -0,0 +1,192 @@
+/*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.1 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://floralicense.org/license/
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+
+
+#include "cam_recording_edje_vertical_inverse_inc.edc"
+
+collections {
+ group {
+ name: "recording_layout";
+ min: MAIN_H MAIN_W;
+
+ parts {
+ part {
+ name: RECORDING_IMAGE;
+ type: IMAGE;
+ description {
+ state: "default" 0.0;
+ rel1 { relative: RECORDING_IMAGE_X/VER_MAIN_W RECORDING_IMAGE_Y/VER_MAIN_H; }
+ rel2 { relative: (RECORDING_IMAGE_X+RECORDING_IMAGE_W)/VER_MAIN_W (RECORDING_IMAGE_Y+RECORDING_IMAGE_H)/VER_MAIN_H; }
+ }
+ description {
+ state: "rec" 0.0;
+ inherit: "default" 0.0;
+ image { normal: RECORDING_IMAGE_REC_IMAGE; }
+ }
+ description {
+ state: "rec1" 0.0;
+ inherit: "default" 0.0;
+ image { normal: RECORDING_IMAGE_REC_IMAGE; }
+ }
+ description {
+ state: "invisible" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+
+ part {
+ name: RECORDING_TEXT;
+ type: TEXT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ rel1 { relative: RECORDING_TEXT_X/VER_MAIN_W RECORDING_TEXT_Y/VER_MAIN_H; }
+ rel2 { relative: 1.0 1.0; offset: -1 -1; }
+ color: FONT_COLOR;
+ text {
+ font : FONT_NAME;
+ size : 35;
+ align: 0.0 0.0;
+ }
+ }
+ description {
+ state: "invisible" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+
+ part {
+ name: RECORDING_LEFT_TEXT;
+ type: TEXT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ rel1 { relative: 0.0 0.0; }
+ rel2 { relative: (1 - RECORDING_LEFT_TEXT_X/VER_MAIN_W) (1 - RECORDING_LEFT_TEXT_Y/VER_MAIN_H); offset: -1 -1; }
+ color: FONT_COLOR;
+ text {
+ font : FONT_NAME;
+ size : 35;
+ align: 0.0 0.0;
+ }
+ }
+ description {
+ state: "invisible" 0.0;
+ inherit: "default" 0.0;
+ visible : 0;
+ }
+ }
+
+ part { name: "progressbar";
+ type: SWALLOW;
+ description {
+ state: "default" 0.0;
+ fixed:1 1;
+ rel1 { relative: PROGRESS_BAR_X/VER_MAIN_W PROGRESS_BAR_Y/VER_MAIN_H; }
+ rel2 { relative: (PROGRESS_BAR_X+PROGRESS_BAR_W)/VER_MAIN_W (PROGRESS_BAR_Y+PROGRESS_BAR_H)/VER_MAIN_H; }
+ }
+ }
+
+ part {
+ name: "progressbar_text";
+ type: TEXT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ rel1 { relative: 1.0 (-20)/PROGRESS_BAR_H; to: "progressbar"; }
+ rel2 { relative: (1.0+90/PROGRESS_BAR_W) (1.0+20/PROGRESS_BAR_H); to: "progressbar"; }
+ color: FONT_COLOR;
+ text {
+ font : FONT_NAME;
+ size : 28;
+ align: 0.5 0.5;
+ }
+ }
+ }
+
+ part{
+ name: "file_size_text";
+ type: TEXT;
+ scale: 1;
+ description{
+ state: "default" 0.0;
+ rel1 { relative: (0.0-100/PROGRESS_BAR_W) (-20)/PROGRESS_BAR_H; to: "progressbar"; }
+ rel2 { relative: (0.0-10/PROGRESS_BAR_W) (1.0+20/PROGRESS_BAR_H); to: "progressbar"; }
+ color: FONT_COLOR;
+ text {
+ font : FONT_NAME;
+ size : 28;
+ align : 1.0 0.5;
+ }
+ }
+ }
+ }
+
+ programs {
+
+ program {
+ name: "set_rec_state";
+ source: "program";
+ signal: "state,rec";
+ script {
+ set_state(PART:RECORDING_IMAGE, "rec", 0.0);
+ set_state(PART:RECORDING_TEXT, "default", 0.0);
+ }
+ }
+ program {
+ name: "set_rec_state1";
+ source: "program";
+ signal: "state,rec1";
+ script {
+ set_state(PART:RECORDING_IMAGE, "rec1", 0.0);
+ set_state(PART:RECORDING_TEXT, "default", 0.0);
+ }
+ }
+ program {
+ name: "set_pause_state";
+ source: "program";
+ signal: "state,pause";
+ script {
+ set_state(PART:RECORDING_IMAGE, "pause", 0.0);
+ set_state(PART:RECORDING_TEXT, "default", 0.0);
+ }
+ }
+ program {
+ name: "hide_indicator";
+ source: "program";
+ signal: "indicator,hide";
+ script {
+ set_state(PART:RECORDING_IMAGE, "invisible", 0.0);
+ set_state(PART:RECORDING_TEXT, "invisible", 0.0);
+ }
+ }
+ program {
+ name: "show_indicator";
+ source: "program";
+ signal: "indicator,show";
+ script {
+ set_state(PART:RECORDING_IMAGE, "pause", 0.0);
+ set_state(PART:RECORDING_TEXT, "default", 0.0);
+ }
+ }
+ }
+ }
+}
+//endfile
+
diff --git a/edc/cam_recording_edje_vertical_inverse_inc.edc b/edc/cam_recording_edje_vertical_inverse_inc.edc
new file mode 100755
index 0000000..446acea
--- /dev/null
+++ b/edc/cam_recording_edje_vertical_inverse_inc.edc
@@ -0,0 +1,38 @@
+/*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.1 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://floralicense.org/license/
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+
+#include "../include/edc_image_name.h"
+#include "cam_funcs.edc"
+images {
+ image: RECORDING_IMAGE_REC_IMAGE COMP;
+}
+
+#define RECORDING_IMAGE_X 460
+#define RECORDING_IMAGE_Y 172
+#define RECORDING_IMAGE_W 48
+#define RECORDING_IMAGE_H 48
+#define RECORDING_TEXT_X 350
+#define RECORDING_TEXT_Y 172
+#define RECORDING_LEFT_TEXT_X 10
+#define RECORDING_LEFT_TEXT_Y 28
+
+#define PROGRESS_BAR_X 128
+#define PROGRESS_BAR_Y 1000
+#define PROGRESS_BAR_W 464
+#define PROGRESS_BAR_H 20
+
+//endfiles \ No newline at end of file
diff --git a/edc/cam_setting_popup_layout.edc b/edc/cam_setting_popup_layout.edc
new file mode 100755
index 0000000..21b22b1
--- /dev/null
+++ b/edc/cam_setting_popup_layout.edc
@@ -0,0 +1,50 @@
+/*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.1 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://floralicense.org/license/
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+
+#include "cam_funcs.edc"
+#include "../include/edc_image_name.h"
+#include "cam_setting_popup_layout_inc.edc"
+
+#define SETTING_POPUP_WIDTH 550
+#define SETTING_POPUP_HEIGHT 661
+
+images {
+ image: CTXPOPUP_BG_IMAGE COMP;
+}
+
+collections {
+ group {
+ name:"camera/setting/popup/area/toolbar";
+ min: MAIN_W MAIN_H;
+ parts {
+ part { name: "setting_popup";
+ type: SWALLOW;
+ repeat_events: 0;
+ description{
+ state:"default" 0.0;
+ rel1{ relative: ((TOOLBAR_W+20)/MAIN_W) 0.0;}
+ rel2{ relative: ((MAIN_W-TOOLBAR_W-20)/MAIN_W) 1.0;}
+ }
+ }
+ }
+ }
+
+ CAMERA_SETTING_POPUP_GROUP_LAYOUT("toolbar", SETTING_POPUP_WIDTH, SETTING_POPUP_HEIGHT)
+}
+
+
+
diff --git a/edc/cam_setting_popup_layout_inc.edc b/edc/cam_setting_popup_layout_inc.edc
new file mode 100755
index 0000000..d32da91
--- /dev/null
+++ b/edc/cam_setting_popup_layout_inc.edc
@@ -0,0 +1,288 @@
+/*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.1 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://floralicense.org/license/
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+
+#ifndef __H_EDC_CAM_SETTING_POPUP_LAYOUT_EDC_H__
+#define __H_EDC_CAM_SETTING_POPUP_LAYOUT_EDC_H__
+#define SETTING_POPUP_WIDTH 550
+#define SETTING_POPUP_HEIGHT 661
+
+
+#define CAMERA_SETTING_POPUP_AREA_PART(part_name, width, height) \
+ part { name: "camera/setting/popup/area/"part_name;\
+ type: SWALLOW;\
+ scale: 1;\
+ repeat_events: 0;\
+ description {\
+ state:"default" 0.0;\
+ min: width height;\
+ max: width height;\
+ fixed: 1 1;\
+ align: 0 0;\
+ rel1{ relative: 0.0 0.0; to: "popup_area";}\
+ rel2{ relative: 0.0 0.0; to: "popup_area";}\
+ } \
+ }
+
+
+/*Ctxpopup Style*/
+#define CTXPOPUP_BORDER_CORNER_SIZE 9
+
+#define CAMERA_SETTING_POPUP_GROUP_LAYOUT(group_name, width, height)\
+ group { \
+ name: "camera/setting/popup/"group_name;\
+ min: width height;\
+ max: width height;\
+ parts {\
+ part { name: "elm.padding.top"; \
+ type: RECT; \
+ scale: 1; \
+ description { \
+ state: "default" 0.0; \
+ min: 0 CTXPOPUP_BORDER_CORNER_SIZE; \
+ fixed: 0 1; \
+ visible: 0; \
+ rel2.relative: 1.0 0.0; \
+ align: 0.0 0.0; \
+ color: 255 255 255 255;\
+ } \
+ description {\
+ state: "show" 0.0;\
+ inherit: "default" 0.0;\
+ visible: 1;\
+ }\
+ description {\
+ state: "dim" 0.0;\
+ inherit: "default" 0.0;\
+ }\
+ }\
+ part { name: "elm.padding.bottom"; \
+ type: RECT; \
+ scale: 1; \
+ description { state: "default" 0.0; \
+ min: 0 CTXPOPUP_BORDER_CORNER_SIZE; \
+ fixed: 0 1; \
+ visible: 0; \
+ rel1.relative: 0.0 1.0; \
+ align: 0.0 1.0; \
+ color: 255 255 255 255;\
+ } \
+ description {\
+ state: "show" 0.0;\
+ inherit: "default" 0.0;\
+ visible: 1;\
+ }\
+ description {\
+ state: "dim" 0.0;\
+ inherit: "default" 0.0;\
+ }\
+ }\
+ part { name: "elm.padding.left"; \
+ type: RECT; \
+ scale: 1; \
+ description { state: "default" 0.0; \
+ min: CTXPOPUP_BORDER_CORNER_SIZE 0; \
+ fixed: 1 0; \
+ visible: 0; \
+ rel2.relative: 0.0 1.0; \
+ align: 0.0 0.0; \
+ color: 255 255 255 255;\
+ } \
+ description {\
+ state: "show" 0.0;\
+ inherit: "default" 0.0;\
+ visible: 1;\
+ }\
+ description {\
+ state: "dim" 0.0;\
+ inherit: "default" 0.0;\
+ }\
+ }\
+ part { name: "elm.padding.right"; \
+ type: RECT; \
+ scale: 1; \
+ description { state: "default" 0.0; \
+ min: CTXPOPUP_BORDER_CORNER_SIZE 0; \
+ fixed: 1 0; \
+ visible: 0; \
+ rel1.relative: 1.0 0.0; \
+ align: 1.0 0.0; \
+ color: 255 255 255 255;\
+ } \
+ description {\
+ state: "show" 0.0;\
+ inherit: "default" 0.0;\
+ visible: 1;\
+ }\
+ description {\
+ state: "dim" 0.0;\
+ inherit: "default" 0.0;\
+ }\
+ }\
+ part {\
+ name: "bg";\
+ type: RECT;\
+ mouse_events: 0;\
+ repeat_events: 0;\
+ description {\
+ state: "default" 0.0;\
+ visible: 0;\
+ rel1 { relative: 0.0 0.0; }\
+ rel2 { relative: 1.0 1.0; }\
+ }\
+ }\
+ part {\
+ name: "bg_image";\
+ type: IMAGE;\
+ scale: 1;\
+ mouse_events: 0;\
+ repeat_events: 0;\
+ description {\
+ align: 1 1;\
+ visible: 0;\
+ image {\
+ normal: CTXPOPUP_BG_IMAGE;\
+ border: 67 67 92 42;\
+ border_scale: 1;\
+ }\
+ rel1 {relative: 0.0 0.0; to: "bg";}\
+ rel2 {relative: 1.0. 1.0; to: "bg";}\
+ }\
+ description {\
+ state: "show" 0.0;\
+ inherit: "default" 0.0;\
+ visible: 1;\
+ }\
+ description {\
+ state: "dim" 0.0;\
+ inherit: "default" 0.0;\
+ }\
+ }\
+ part {\
+ name: "ele.bg.top";\
+ type: RECT;\
+ scale: 1;\
+ mouse_events: 0;\
+ repeat_events: 0;\
+ description {\
+ state: "default" 0.0;\
+ visible: 0;\
+ rel1 { relative: 0.0 0.0; to:"bg";}\
+ rel2 { relative: 1.0 60/height; to:"bg";}\
+ }\
+ }\
+ part {\
+ name: "ele.bg.bottom";\
+ type: RECT;\
+ scale: 1;\
+ mouse_events: 0;\
+ repeat_events: 0;\
+ description {\
+ state: "default" 0.0;\
+ visible: 0;\
+ rel1 { relative: 0.0 60/height; to:"bg";}\
+ rel2 { relative: 1.0 1.0; to:"bg";}\
+ }\
+ }\
+ part {\
+ name: "elm.text";\
+ type: TEXT;\
+ scale: 1;\
+ mouse_events: 1;\
+ repeat_events: 0;\
+ description {\
+ state: "default" 0.0;\
+ visible: 0;\
+ align: 0.5 0.5;\
+ rel1 { relative: 0.0 0.0; to:"ele.bg.top";}\
+ rel2 { relative: 1.0 1.0; to:"ele.bg.top";}\
+ text {\
+ font: FONT_NAME;\
+ size: 30;\
+ align: 0.5 0.5;\
+ min: 1 1;\
+ text: "";\
+ }\
+ }\
+ description {\
+ state: "show" 0.0;\
+ inherit: "default" 0.0;\
+ visible: 1;\
+ }\
+ description {\
+ state: "dim" 0.0;\
+ inherit: "default" 0.0;\
+ }\
+ }\
+ part {\
+ name: "elm.swallow.box";\
+ type: SWALLOW;\
+ scale: 1;\
+ mouse_events: 1;\
+ repeat_events: 0;\
+ description {\
+ state: "default" 0.0;\
+ visible: 0;\
+ align: 0.5 0.5;\
+ rel1 { relative: 0.0 0.0; to:"ele.bg.bottom";}\
+ rel2 { relative: 1.0 1.0; to:"ele.bg.bottom";}\
+ }\
+ description {\
+ state: "show" 0.0;\
+ inherit: "default" 0.0;\
+ visible: 1;\
+ }\
+ description {\
+ state: "dim" 0.0;\
+ inherit: "default" 0.0;\
+ }\
+ }\
+ }\
+ programs {\
+ program {\
+ name: "set.popup.dim";\
+ source: "prog";\
+ signal: "set.popup.dim";\
+ script: {\
+ set_state(PART:"bg_image", "dim", 0.0);\
+ set_state(PART:"elm.text", "dim", 0.0);\
+ set_state(PART:"elm.swallow.box", "dim", 0.0);\
+ set_state(PART:"elm.padding.right", "dim", 0.0);\
+ set_state(PART:"elm.padding.left", "dim", 0.0);\
+ set_state(PART:"elm.padding.top", "dim", 0.0);\
+ set_state(PART:"elm.padding.bottom", "dim", 0.0);\
+ }\
+ }\
+ program {\
+ name: "set.popup.show";\
+ source: "prog";\
+ signal: "set.popup.show";\
+ script: {\
+ set_state(PART:"bg_image", "show", 0.0);\
+ set_state(PART:"elm.text", "show", 0.0);\
+ set_state(PART:"elm.swallow.box", "show", 0.0);\
+ set_state(PART:"elm.padding.right", "show", 0.0);\
+ set_state(PART:"elm.padding.left", "show", 0.0);\
+ set_state(PART:"elm.padding.top", "show", 0.0);\
+ set_state(PART:"elm.padding.bottom", "show", 0.0);\
+ }\
+ }\
+ }\
+ }
+
+
+#endif /*__H_EDC_CAM_SETTING_POPUP_LAYOUT_EDC_H__*/
+//end file
diff --git a/edc/cam_toolbar_layout.edc b/edc/cam_toolbar_layout.edc
new file mode 100755
index 0000000..5be5582
--- /dev/null
+++ b/edc/cam_toolbar_layout.edc
@@ -0,0 +1,619 @@
+/*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.1 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://floralicense.org/license/
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+
+#include "cam_funcs.edc"
+#include "../include/edc_image_name.h"
+#include "cam_toolbar_layout_inc.edc"
+#include "cam_setting_popup_layout_inc.edc"
+
+
+collections {
+
+ group {
+ name: "toolbar";
+ min: MAIN_W MAIN_H;
+
+ parts {
+ part {
+ name: "bg";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ min: MAIN_W MAIN_H;
+ max: MAIN_W MAIN_H;
+ fixed: 1 1;
+ rel1 { relative: 0.0 0.0;}
+ rel2 { relative: 1.0 1.0;}
+ }
+ }
+
+ TOOLBAR_BACKGROUND_IMAGE("left_bg", 0, 0, TOOLBAR_W, MAIN_H, LEFT_TOOLBAR_BG_IMAGE)
+ TOOLBAR_BACKGROUND_IMAGE("right_bg", MAIN_W-TOOLBAR_W, 0, TOOLBAR_W, MAIN_H, RIGHT_TOOLBAR_BG_IMAGE)
+
+ part { name: "popup_area";
+ type: SWALLOW;
+ mouse_events: 0;
+ scale: 1;
+ description{
+ state:"default" 0.0;
+ rel1{ relative: TOOLBAR_W/MAIN_W 0.0; to: "bg";}
+ rel2{ relative: (MAIN_W-TOOLBAR_W)/MAIN_W 1.0; to: "bg";}
+ }
+ }
+
+ part { name: "setting_popup";
+ type: SWALLOW;
+ scale: 1;
+ description{
+ state:"default" 0.0;
+ rel1{ relative: TOOLBAR_W/MAIN_W 0.0; to: "bg";}
+ rel2{ relative: (MAIN_W-TOOLBAR_W)/MAIN_W 1.0; to: "bg";}
+ }
+ }
+
+ part { name: "shortcuts_popup";
+ type: SWALLOW;
+ scale: 1;
+ description{
+ state:"default" 0.0;
+ rel1{ relative: TOOLBAR_W/MAIN_W 0.0; to: "bg";}
+ rel2{ relative: (TOOLBAR_W+720)/MAIN_W (MAIN_H-120)/MAIN_H; to: "bg";}
+ }
+ }
+
+ part { name: "shortcuts_popup_description";
+ type: SWALLOW;
+ scale: 1;
+ description{
+ state:"default" 0.0;
+ rel1{ relative: TOOLBAR_W/MAIN_W (MAIN_H-120)/MAIN_H; to: "bg";}
+ rel2{ relative: (TOOLBAR_W+720)/MAIN_W 1.0; to: "bg";}
+ }
+ }
+
+ TOOLBAR_ITEM_BUTTON("toolbar_0_button", TOOLBAR_0_X, TOOLBAR_0_Y)
+ TOOLBAR_ITEM_BUTTON("toolbar_1_button", TOOLBAR_1_X, TOOLBAR_1_Y)
+ TOOLBAR_ITEM_BUTTON("toolbar_2_button", TOOLBAR_2_X, TOOLBAR_2_Y)
+ TOOLBAR_ITEM_BUTTON("toolbar_3_button", TOOLBAR_3_X, TOOLBAR_3_Y)
+ TOOLBAR_ITEM_BUTTON("toolbar_4_button", TOOLBAR_4_X, TOOLBAR_4_Y)
+
+ TOOLBAR_ITEM_SWALLOW_ICON("toolbar_0_icon", TOOLBAR_0_X, TOOLBAR_0_Y, TOOLBAR_ITEM_W, TOOLBAR_ITEM_H)
+ TOOLBAR_ITEM_SWALLOW_ICON("toolbar_1_icon", TOOLBAR_1_X, TOOLBAR_1_Y, TOOLBAR_ITEM_W, TOOLBAR_ITEM_H)
+ TOOLBAR_ITEM_SWALLOW_ICON("toolbar_2_icon", TOOLBAR_2_X, TOOLBAR_2_Y, TOOLBAR_ITEM_W, TOOLBAR_ITEM_H)
+ TOOLBAR_ITEM_SWALLOW_ICON("toolbar_3_icon", TOOLBAR_3_X, TOOLBAR_3_Y, TOOLBAR_ITEM_W, TOOLBAR_ITEM_H)
+ TOOLBAR_ITEM_SWALLOW_ICON("toolbar_4_icon", TOOLBAR_4_X, TOOLBAR_4_Y, TOOLBAR_ITEM_W, TOOLBAR_ITEM_H)
+
+ TOOLBAR_ITEM_SWALLOW_BUTTON("shutter_button", SHUTTER_X, SHUTTER_Y, SHUTTER_W, SHUTTER_H)
+ TOOLBAR_ITEM_SWALLOW_BUTTON("recording_button", RECORDINGBTN_X, RECORDINGBTN_Y, RECORDINGBTN_W, RECORDINGBTN_H)
+ TOOLBAR_ITEM_SWALLOW_BUTTON("recording_stop_button",REC_STOP_BTN_X, REC_STOP_BTN_Y, REC_STOP_BTN_W, REC_STOP_BTN_H)
+ TOOLBAR_ITEM_SWALLOW_BUTTON("quickview_item", QUICKVIEW_X, QUICKVIEW_Y, QUICKVIEW_W, QUICKVIEW_H)
+ TOOLBAR_ITEM_SWALLOW_BUTTON("backbutton_item", BACKBTN_X, BACKBTN_Y, BACKBTN_W, BACKBTN_H)
+ TOOLBAR_ITEM_SWALLOW_BUTTON("cafbutton_item", CAF_BUTTON_X, CAF_BUTTON_Y, CAF_BUTTON_W, CAF_BUTTON_H)
+ }/*end parts*/
+
+ programs {
+ program {
+ name: "toolbar_bg,show";
+ source: "prog";
+ signal: "toolbar_bg,show";
+ script: {
+ set_state(PART:"left_bg", "default", 0.0);
+ set_state(PART:"right_bg", "default", 0.0);
+ }
+ }
+ program {
+ name: "toolbar_bg,hide";
+ source: "prog";
+ signal: "toolbar_bg,hide";
+ script: {
+ set_state(PART:"left_bg", "hide", 0.0);
+ set_state(PART:"right_bg", "hide", 0.0);
+ }
+ }
+ TOOLBAR_LEFT_ITEM_PROGRAM("toolbar_0_button", "toolbar_0_icon", "toolbar_0_press_sig", "toolbar_0_release_sig", "toolbar_0_click_sig")
+ TOOLBAR_LEFT_ITEM_PROGRAM("toolbar_1_button", "toolbar_1_icon", "toolbar_1_press_sig", "toolbar_1_release_sig", "toolbar_1_click_sig")
+ TOOLBAR_LEFT_ITEM_PROGRAM("toolbar_2_button", "toolbar_2_icon", "toolbar_2_press_sig", "toolbar_2_release_sig", "toolbar_2_click_sig")
+ TOOLBAR_LEFT_ITEM_PROGRAM("toolbar_3_button", "toolbar_3_icon", "toolbar_3_press_sig", "toolbar_3_release_sig", "toolbar_3_click_sig")
+ TOOLBAR_LEFT_ITEM_PROGRAM("toolbar_4_button", "toolbar_4_icon", "toolbar_4_press_sig", "toolbar_4_release_sig", "toolbar_4_click_sig")
+ }/*end programs*/
+ }/*end group :toolbar*/
+
+ group {
+ name: "shutter_button";
+
+ images {
+ image: SHUTTER_NORMAL_IMAGE COMP;
+ image: SHUTTER_PRESS_IMAGE COMP;
+ image: SHUTTER_DIM_IMAGE COMP;
+ }
+
+ parts {
+ part { name: "capture_button";
+ type: IMAGE;
+ mouse_events: 1;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ align: 0.5 0.5;
+ rel1 { relative: 0.0 0.0;}
+ rel2 { relative: 1.0 1.0;}
+ visible: 0;
+ }
+ description {
+ state: "normal" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ image { normal: SHUTTER_NORMAL_IMAGE; }
+ }
+ description {
+ state: "press" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ image { normal: SHUTTER_PRESS_IMAGE; }
+ }
+ description {
+ state: "dim" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ image { normal: SHUTTER_DIM_IMAGE; }
+ }
+ }
+
+ part { name: "camera_icon";
+ type: SWALLOW;
+ scale: 1;
+ mouse_events: 0;
+ description {
+ state: "default" 0.0;
+ aspect: 1.0 1.0;
+ align: 0.5 0.5;
+ max: 60 60;
+ min: 60 60;
+ fixed:1 1;
+ rel1 { relative: 0.0 0.0; to: "capture_button";}
+ rel2 { relative: 1.0 1.0; to: "capture_button";}
+ visible: 1;
+ }
+
+ description {
+ state: "normal" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ description {
+ state: "dim" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ }/*end parts*/
+
+ programs {
+ TOOLBAR_RIGHT_ITEM_PROGRAM("capture_button", "press_shutter_sig", "release_shutter_sig", "click_shutter_sig")
+
+ program {
+ name: "camera_icon,normal";
+ source: "prog";
+ signal: "camera_icon,normal";
+ script: { set_state(PART:"camera_icon", "normal", 0.0); }
+ }
+ program {
+ name: "camera_icon,invisible";
+ source: "prog";
+ signal: "camera_icon,invisible";
+ script: { set_state(PART:"camera_icon", "dim", 0.0); }
+ }
+ }/*end programs*/
+ }/*end group*/
+
+ group {
+ name: "recording_button";
+
+ images {
+ image: CAMCORDER_SHUTTER_ICON_IMAGE COMP;
+ image: CAMCORDER_SHUTTER_ICON_PRESS_IMAGE COMP;
+ image: CAMCORDER_SHUTTER_ICON_DIM_IMAGE COMP;
+ image: CAMCORDER_PAUSE_ICON_IMAGE COMP;
+ image: CAMCORDER_PAUSE_ICON_PRESS_IMAGE COMP;
+ }
+
+ parts {
+ part { name: "recording_button";
+ type: IMAGE;
+ mouse_events: 1;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ align: 0.5 0.5;
+ rel1 { relative: 0.0 0.0;}
+ rel2 { relative: 1.0 1.0;}
+ visible: 0;
+ }
+ description {
+ state: "normal" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ image { normal: CAMCORDER_SHUTTER_ICON_IMAGE; }
+ }
+ description {
+ state: "press" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ image { normal: CAMCORDER_SHUTTER_ICON_PRESS_IMAGE; }
+ }
+ description {
+ state: "dim" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ image { normal: CAMCORDER_SHUTTER_ICON_DIM_IMAGE; }
+ }
+ }
+ part { name: "recording_pause_button";
+ type: IMAGE;
+ mouse_events: 1;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ align: 0.5 0.5;
+ rel1 { relative: 0.0 0.0;}
+ rel2 { relative: 1.0 1.0;}
+ visible: 0;
+ }
+ description {
+ state: "normal" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ image { normal: CAMCORDER_PAUSE_ICON_IMAGE; }
+ }
+ description {
+ state: "press" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ image { normal: CAMCORDER_PAUSE_ICON_PRESS_IMAGE; }
+ }
+ }
+ }/*end parts*/
+
+ programs {
+ TOOLBAR_RIGHT_ITEM_PROGRAM("recording_button", "press_shutter_sig", "release_shutter_sig", "click_shutter_sig")
+ TOOLBAR_RIGHT_ITEM_PROGRAM("recording_pause_button", "press_shutter_sig", "release_shutter_sig", "click_shutter_sig")
+ }/*end programs*/
+ }/*end group*/
+
+ group {
+ name: "recording_stop_button";
+
+ images {
+ image: CAMCORDER_STOP_ICON_IMAGE COMP;
+ image: CAMCORDER_STOP_ICON_PRESS_IMAGE COMP;
+ }
+
+ parts {
+ part { name: "recording_stop_button";
+ type: IMAGE;
+ mouse_events: 1;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ align: 0.5 0.5;
+ rel1 { relative: 0.0 0.0;}
+ rel2 { relative: 1.0 1.0;}
+ visible: 0;
+ }
+ description {
+ state: "normal" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ image { normal: CAMCORDER_STOP_ICON_IMAGE; }
+ }
+ description {
+ state: "press" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ image { normal: CAMCORDER_STOP_ICON_PRESS_IMAGE; }
+ }
+ }
+ }/*end parts*/
+
+ programs {
+ TOOLBAR_RIGHT_ITEM_PROGRAM("recording_stop_button", "press_shutter_sig", "release_shutter_sig", "click_shutter_sig")
+ }/*end programs*/
+ }/*end group*/
+
+ group {
+ name: "toolbar_quickview_item";
+
+ images {
+ image: THUMBNAIL_BG_NORMAL_IMAGE COMP;
+ }
+
+ parts {
+ part { name: "bg";
+ type: IMAGE;
+ mouse_events: 1;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ align: 0.5 0.5;
+ rel1 { relative: 0.0 0.0;}
+ rel2 { relative: 1.0 1.0;}
+ image {
+ normal: THUMBNAIL_BG_NORMAL_IMAGE ;
+ }
+ }
+ description {
+ state: "invisible" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "thumbnail";
+ type: SWALLOW;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ rel1 { relative: 1/9 1/9; to: "bg"; }
+ rel2 { relative: 8/9 8/9; to: "bg"; }
+ }
+ description {
+ state: "invisible" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+
+ part { name: "thumbnail_area"; /*note: just for c codes get thumbnail x,y,w,h*/
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ rel1 { relative: 0.0 0.0; to: "thumbnail"; }
+ rel2 { relative: 1.0 1.0; to: "thumbnail"; }
+ color: 0 0 0 0;
+ }
+ }
+
+ }/*end parts*/
+
+ programs {
+ program {
+ name: "quickview_bg,mouse,down,1";
+ signal: "mouse,down,1";
+ source: "bg";
+ action: SIGNAL_EMIT "landscape,quickview,press" "toolbar_signal";
+ }
+ program {
+ name: "quickview_bg,mouse,up,1";
+ signal: "mouse,up,1";
+ source: "bg";
+ action: SIGNAL_EMIT "landscape,quickview,release" "toolbar_signal";
+ }
+ program {
+ name: "prog_set_default";
+ source: "prog";
+ signal: "SET_DEFAULT";
+ script: {
+ set_state(PART:"bg", "default", 0.0);
+ set_state(PART:"thumbnail", "default", 0.0);
+ }
+ }
+ program {
+ name: "prog_set_invisible";
+ source: "prog";
+ signal: "SET_INVISIBLE";
+ script: {
+ set_state(PART:"bg", "invisible", 0.0);
+ set_state(PART:"thumbnail", "invisible", 0.0);
+ }
+ }
+ }/*end programs*/
+ }/*end toolbar_quickview_item*/
+
+ group{
+ name: "toolbar_backbutton_item";
+
+ images{
+ image: BACK_BUTTON_NORMAL_IMAGE COMP;
+ image: BACK_BUTTON_PRESS_IMAGE COMP;
+ }
+
+ parts{
+ part{
+ name: "back_button";
+ type: IMAGE;
+ mouse_events: 1;
+ scale: 1;
+ description{
+ state: "default" 0.0;
+ rel1 { relative: 0.0 0.0;}
+ rel2 { relative: 1.0 1.0;}
+ image {
+ normal : BACK_BUTTON_NORMAL_IMAGE;
+ }
+ }
+ description{
+ state: "press" 0.0;
+ rel1 { relative: 0.0 0.0;}
+ rel2 { relative: 1.0 1.0;}
+ image {
+ normal : BACK_BUTTON_PRESS_IMAGE;
+ }
+ }
+ }
+ }/*end parts*/
+
+ programs {
+ program {
+ name: "back_button_press";
+ signal: "mouse,down,1";
+ source: "back_button";
+ action: STATE_SET "press" 0.0;
+ target: "back_button";
+ }
+ program {
+ name: "back_button_release";
+ signal: "mouse,up,1";
+ source: "back_button";
+ action: STATE_SET "default" 0.0;
+ target: "back_button";
+ }
+ program {
+ name: "back_button_clicked";
+ signal: "mouse,clicked,1";
+ source: "back_button";
+ action: SIGNAL_EMIT "landscape,backbutton,clicked" "toolbar_signal";
+ }
+ }/*end programs*/
+ }/*end toolbar_backbutton_item*/
+
+ group{
+ name: "toolbar_cafbutton_item";
+
+ parts{
+ part{
+ name: "caf_button";
+ type: IMAGE;
+ scale: 1;
+ mouse_events: 1;
+ description{
+ state: "default" 0.0;
+ rel1 { relative: 0.0 0.0;}
+ rel2 { relative: 1.0 1.0;}
+ visible: 0;
+ }
+ description{
+ state: "normal" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ image {
+ normal : CAF_BUTTON_NORMAL_IMAGE;
+ }
+ }
+ description{
+ state: "press" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ image {
+ normal : CAF_BUTTON_PRESS_IMAGE;
+ }
+ }
+ }
+ }/*end parts*/
+
+ programs {
+ program {
+ name: "caf_button_press";
+ signal: "mouse,down,1";
+ source: "caf_button";
+ action: STATE_SET "press" 0.0;
+ target: "caf_button";
+ }
+ program {
+ name: "caf_button_release";
+ signal: "mouse,up,1";
+ source: "caf_button";
+ action: STATE_SET "normal" 0.0;
+ target: "caf_button";
+ }
+ program {
+ name: "caf_button_clicked";
+ signal: "mouse,clicked,1";
+ source: "caf_button";
+ action: SIGNAL_EMIT "caf_button,clicked" "toolbar_signal";
+ }
+ program {
+ name: "caf_button_normal";
+ source: "prog";
+ signal: "caf_button,normal";
+ script: {
+ set_state(PART:"caf_button", "normal", 0.0);
+ }
+ }
+ program {
+ name: "caf_button_default";
+ source: "prog";
+ signal: "caf_button,invisible";
+ script: {
+ set_state(PART:"caf_button", "default", 0.0);
+ }
+ }
+ }/*end programs*/
+ }/*end toolbar_cafbutton_item*/
+
+ group{
+ name: "toolbar_capture_button_item";
+
+ images{
+ image: SNAPSHOT_PRESS_IMAGE COMP;
+ image: SNAPSHOT_NORMAL_IMAGE COMP;
+ }
+
+ parts{
+ part{
+ name: "capture_button";
+ type: IMAGE;
+ mouse_events: 1;
+ scale: 1;
+ description{
+ state: "default" 0.0;
+ rel1 { relative: 0.0 0.0;}
+ rel2 { relative: 1.0 1.0;}
+ image {
+ normal : SNAPSHOT_NORMAL_IMAGE;
+ }
+ }
+ description{
+ state: "press" 0.0;
+ rel1 { relative: 0.0 0.0;}
+ rel2 { relative: 1.0 1.0;}
+ image {
+ normal : SNAPSHOT_PRESS_IMAGE;
+ }
+ }
+ }
+ }/*end parts*/
+
+ programs {
+ program {
+ name: "capture_button_press";
+ signal: "mouse,down,1";
+ source: "capture_button";
+ action: STATE_SET "press" 0.0;
+ target: "capture_button";
+ }
+ program {
+ name: "capture_button_release";
+ signal: "mouse,up,1";
+ source: "capture_button";
+ action: STATE_SET "default" 0.0;
+ target: "capture_button";
+ }
+ program {
+ name: "capture_button_clicked";
+ signal: "mouse,clicked,1";
+ source: "capture_button";
+ action: SIGNAL_EMIT "capture_button_click" "capture_button_click";
+ }
+ }/*end programs*/
+ }
+}/*end collections*/
+//end file
diff --git a/edc/cam_toolbar_layout_inc.edc b/edc/cam_toolbar_layout_inc.edc
new file mode 100755
index 0000000..ae6e1c8
--- /dev/null
+++ b/edc/cam_toolbar_layout_inc.edc
@@ -0,0 +1,353 @@
+/*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.1 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://floralicense.org/license/
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+
+#ifndef __H_EDC_CAM_TOOLBAR_LAYOUT_INC_EDC_H__
+#define __H_EDC_CAM_TOOLBAR_LAYOUT_INC_EDC_H__
+
+#define SETTING_TOOLBAR_W 1156
+#define SETTING_TOOLBAR_H 116
+
+#define TOOLBAR_ITEM_W 86
+#define TOOLBAR_ITEM_H 86
+
+#define TOOLBAR_0_X 38
+#define TOOLBAR_0_Y 594
+
+#define TOOLBAR_1_X 38
+#define TOOLBAR_1_Y 454
+
+#define TOOLBAR_2_X 38
+#define TOOLBAR_2_Y 317
+
+#define TOOLBAR_3_X 38
+#define TOOLBAR_3_Y 180
+
+#define TOOLBAR_4_X 38
+#define TOOLBAR_4_Y 40
+
+#define SHUTTER_X 1146
+#define SHUTTER_Y 194
+#define SHUTTER_W 108
+#define SHUTTER_H 214
+
+#define BACKBTN_X 1146
+#define BACKBTN_Y 18
+#define BACKBTN_W 108
+#define BACKBTN_H 108
+
+#define QUICKVIEW_X 1146
+#define QUICKVIEW_Y 604
+#define QUICKVIEW_W 108
+#define QUICKVIEW_H 108
+
+#define RECORDINGBTN_X 1146
+#define RECORDINGBTN_Y 418
+#define RECORDINGBTN_W 108
+#define RECORDINGBTN_H 108
+
+#define REC_STOP_BTN_X 1146
+#define REC_STOP_BTN_Y 594
+#define REC_STOP_BTN_W 108
+#define REC_STOP_BTN_H 108
+
+#define CAF_BUTTON_X 38
+#define CAF_BUTTON_Y 606
+#define CAF_BUTTON_W 87
+#define CAF_BUTTON_H 88
+
+#define CAMERA_BUTTON_X 38
+#define CAMERA_BUTTON_Y 65
+#define CAMERA_BUTTON_W 61
+#define CAMERA_BUTTON_H 61
+#define CAMCORDER_BUTTON_X 38
+#define CAMCORDER_BUTTON_Y 109
+#define CAMCORDER_BUTTON_W 61
+#define CAMCORDER_BUTTON_H 61
+#define CAMERA_ICON_X 38
+#define CAMERA_ICON_Y 10
+#define CAMERA_ICON_W 56
+#define CAMERA_ICON_H 48
+
+images {
+ /*item_button*/
+ image: BUTTON_BG_NORMAL_IMAGE COMP;
+ image: BUTTON_BG_PRESS_IMAGE COMP;
+
+ image: SNAPSHOT_PRESS_IMAGE COMP;
+ image: SNAPSHOT_NORMAL_IMAGE COMP;
+ image: LEFT_TOOLBAR_BG_IMAGE COMP;
+ image: RIGHT_TOOLBAR_BG_IMAGE COMP;
+
+ image: CAF_BUTTON_NORMAL_IMAGE COMP;
+ image: CAF_BUTTON_PRESS_IMAGE COMP;
+}
+
+#define TOOLBAR_BACKGROUND_IMAGE(part_name, x, y, w, h, img) \
+ part { \
+ name: part_name; \
+ type: IMAGE; \
+ scale: 1;\
+ description { \
+ state: "default" 0.0;\
+ rel1 { relative: (x)/MAIN_W (y)/MAIN_H; } \
+ rel2 { relative: (x+w)/MAIN_W (y+h)/MAIN_H; } \
+ image { normal: img; } \
+ }\
+ description{ \
+ state: "hide" 0.0; \
+ inherit:"default" 0.0; \
+ visible: 0; \
+ } \
+ }
+
+#define TOOLBAR_ITEM_BUTTON_WITH_BG(button_name, x, y, bg_w, bg_h) \
+ part { name: button_name; \
+ type: IMAGE; \
+ mouse_events: 1; \
+ scale: 1;\
+ description { \
+ state: "default" 0.0; \
+ rel1 { relative: (x)/(bg_w) (y)/(bg_h); offset: 0 0;} \
+ rel2 { relative: (x+TOOLBAR_ITEM_W)/(bg_w) (y+TOOLBAR_ITEM_H)/(bg_h); offset: 0 0;} \
+ visible: 0; \
+ } \
+ description { \
+ state: "normal" 0.0; \
+ inherit: "default" 0.0; \
+ visible: 1; \
+ image { normal: BUTTON_BG_NORMAL_IMAGE; } \
+ } \
+ description { \
+ state: "press" 0.0; \
+ inherit: "default" 0.0; \
+ visible: 1; \
+ image { normal: BUTTON_BG_PRESS_IMAGE; } \
+ } \
+ description { \
+ state: "dim" 0.0; \
+ inherit: "default" 0.0; \
+ visible: 0; \
+ } \
+ }
+
+#define TOOLBAR_ITEM_SWALLOW_ICON_WITH_BG(icon_name, x, y, w, h, bg_w, bg_h) \
+ part { name: icon_name; \
+ type: SWALLOW; \
+ mouse_events: 1; \
+ scale: 1;\
+ description { \
+ state: "default" 0.0; \
+ rel1 { relative: (x)/(bg_w) (y)/(bg_h); offset: 0 0;} \
+ rel2 { relative: (x+w)/(bg_w) (y+h)/(bg_h); offset: 0 0;} \
+ visible: 0; \
+ } \
+ description { \
+ state: "normal" 0.0; \
+ inherit: "default" 0.0; \
+ visible: 1; \
+ } \
+ description { \
+ state: "dim" 0.0; \
+ inherit: "default" 0.0; \
+ visible: 1; \
+ } \
+ } \
+ part { name: icon_name"_event"; \
+ type: RECT; \
+ mouse_events: 1; \
+ scale: 1;\
+ description { \
+ state: "default" 0.0; \
+ rel1.to: icon_name; \
+ rel2.to: icon_name; \
+ color: 0 0 0 0; \
+ visible: 1; \
+ } \
+ }
+
+#define TOOLBAR_ITEM_SWALLOW_BUTTON_WITH_BG(icon_name, x, y, w, h, bg_w, bg_h) \
+ part { name: icon_name; \
+ type: SWALLOW; \
+ mouse_events: 1; \
+ scale: 1;\
+ description { \
+ state: "default" 0.0; \
+ rel1 { relative: (x)/(bg_w) (y)/(bg_h); offset: 0 0;} \
+ rel2 { relative: (x+w)/(bg_w) (y+h)/(bg_h); offset: -1 -1;} \
+ } \
+ }
+
+#define TOOLBAR_LEFT_ITEM_PROGRAM(button_name, icon_name, press_signal, release_signal, click_signal) \
+ program { \
+ name: "mouse_down_"icon_name; \
+ signal: "mouse,down,1"; \
+ source: icon_name"_event"; \
+ script {\
+ new st[31];\
+ new Float:vl;\
+ get_state(PART:icon_name, st, 30, vl);\
+ if (strcmp(st, "normal") == 0) { \
+ emit( press_signal, "toolbar_signal" );\
+ } \
+ }\
+ } \
+ program { \
+ name: "mouse_up_"icon_name; \
+ signal: "mouse,up,1"; \
+ source: icon_name"_event"; \
+ script {\
+ new st[31];\
+ new Float:vl;\
+ get_state(PART:icon_name, st, 30, vl);\
+ if (strcmp(st, "normal") == 0) { \
+ emit( release_signal, "toolbar_signal" );\
+ } \
+ }\
+ }\
+ program { \
+ name: "mouse_clicked_"icon_name; \
+ signal: "mouse,clicked,1"; \
+ source: icon_name"_event"; \
+ script {\
+ new st[31];\
+ new Float:vl;\
+ get_state(PART:icon_name, st, 30, vl);\
+ if (strcmp(st, "normal") == 0) { \
+ emit( click_signal, "toolbar_signal" );\
+ } \
+ }\
+ }\
+ program { \
+ name: icon_name",invisible"; \
+ source: "prog"; \
+ signal: icon_name",invisible"; \
+ script: { \
+ set_state(PART:button_name, "default", 0.0); \
+ set_state(PART:icon_name, "default", 0.0); \
+ } \
+ } \
+ program { \
+ name: icon_name",normal"; \
+ source: "prog"; \
+ signal: icon_name",normal"; \
+ script: { \
+ set_state(PART:button_name, "default", 0.0); \
+ set_state(PART:icon_name, "normal", 0.0); \
+ } \
+ } \
+ program { \
+ name: icon_name",edit"; \
+ source: "prog"; \
+ signal: icon_name",edit"; \
+ script: { \
+ set_state(PART:button_name, "normal", 0.0); \
+ set_state(PART:icon_name, "normal", 0.0); \
+ } \
+ } \
+ program { \
+ name: icon_name",dim"; \
+ source: "prog"; \
+ signal: icon_name",dim"; \
+ script: { \
+ set_state(PART:button_name, "default", 0.0); \
+ set_state(PART:icon_name, "dim", 0.0); \
+ } \
+ }
+
+#define TOOLBAR_RIGHT_ITEM_PROGRAM(icon_name, press_signal_name, release_signal_name, click_signal_name) \
+ program { \
+ name: "mouse_down_"icon_name; \
+ signal: "mouse,down,1"; \
+ source: icon_name; \
+ script {\
+ new st[31];\
+ new Float:vl;\
+ get_state(PART:icon_name, st, 30, vl);\
+ if (strcmp(st, "dim") != 0) { \
+ emit( press_signal_name, "toolbar_signal" );\
+ } \
+ }\
+ } \
+ program { \
+ name: "mouse_up_"icon_name; \
+ signal: "mouse,up,1"; \
+ source: icon_name; \
+ script {\
+ new st[31];\
+ new Float:vl;\
+ get_state(PART:icon_name, st, 30, vl);\
+ if (strcmp(st, "dim") != 0) { \
+ emit( release_signal_name, "toolbar_signal" );\
+ } \
+ }\
+ }\
+ program { \
+ name: "mouse_clicked_"icon_name; \
+ signal: "mouse,clicked,1"; \
+ source: icon_name; \
+ script {\
+ new st[31];\
+ new Float:vl;\
+ get_state(PART:icon_name, st, 30, vl);\
+ if (strcmp(st, "dim") != 0) \
+ emit( click_signal_name, "toolbar_signal" );\
+ }\
+ }\
+ program { \
+ name: icon_name",invisible"; \
+ source: "prog"; \
+ signal: icon_name",invisible"; \
+ script: { \
+ set_state(PART:icon_name, "default", 0.0); \
+ } \
+ } \
+ program { \
+ name: icon_name",normal"; \
+ source: "prog"; \
+ signal: icon_name",normal"; \
+ script: { \
+ set_state(PART:icon_name, "normal", 0.0); \
+ } \
+ } \
+ program { \
+ name: icon_name",press"; \
+ source: "prog"; \
+ signal: icon_name",press"; \
+ script: { \
+ set_state(PART:icon_name, "press", 0.0); \
+ } \
+ } \
+ program { \
+ name: icon_name",dim"; \
+ source: "prog"; \
+ signal: icon_name",dim"; \
+ script: { \
+ set_state(PART:icon_name, "dim", 0.0); \
+ } \
+ }
+
+#define TOOLBAR_ITEM_BUTTON(name, x, y) \
+ TOOLBAR_ITEM_BUTTON_WITH_BG(name, x, y, MAIN_W, MAIN_H)
+
+#define TOOLBAR_ITEM_SWALLOW_ICON(name, x, y, w, h) \
+ TOOLBAR_ITEM_SWALLOW_ICON_WITH_BG(name, x, y, w, h, MAIN_W, MAIN_H)
+
+#define TOOLBAR_ITEM_SWALLOW_BUTTON(name, x, y, w, h) \
+ TOOLBAR_ITEM_SWALLOW_BUTTON_WITH_BG(name, x, y, w, h, MAIN_W, MAIN_H)
+
+#endif /*__H_EDC_CAM_TOOLBAR_LAYOUT_INC_EDC_H__*/
+//end files
diff --git a/edc/cam_toolbar_layout_inverse.edc b/edc/cam_toolbar_layout_inverse.edc
new file mode 100755
index 0000000..5dd92d1
--- /dev/null
+++ b/edc/cam_toolbar_layout_inverse.edc
@@ -0,0 +1,619 @@
+/*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.1 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://floralicense.org/license/
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+
+#include "cam_funcs.edc"
+#include "../include/edc_image_name.h"
+#include "cam_toolbar_layout_inverse_inc.edc"
+#include "cam_setting_popup_layout_inc.edc"
+
+
+collections {
+
+ group {
+ name: "toolbar";
+ min: MAIN_W MAIN_H;
+
+ parts {
+ part {
+ name: "bg";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ min: MAIN_W MAIN_H;
+ max: MAIN_W MAIN_H;
+ fixed: 1 1;
+ rel1 { relative: 0.0 0.0;}
+ rel2 { relative: 1.0 1.0;}
+ }
+ }
+
+ TOOLBAR_BACKGROUND_IMAGE("left_bg", 0, 0, TOOLBAR_W, MAIN_H, RIGHT_TOOLBAR_BG_IMAGE)
+ TOOLBAR_BACKGROUND_IMAGE("right_bg", MAIN_W-TOOLBAR_W, 0, TOOLBAR_W, MAIN_H, LEFT_TOOLBAR_BG_IMAGE)
+
+ part { name: "popup_area";
+ type: SWALLOW;
+ mouse_events: 0;
+ scale: 1;
+ description{
+ state:"default" 0.0;
+ rel1{ relative: (1 - (MAIN_W-TOOLBAR_W)/MAIN_W) 0.0; to: "bg";}
+ rel2{ relative: (1 - TOOLBAR_W/MAIN_W) 1.0; to: "bg";}
+ }
+ }
+
+ part { name: "setting_popup";
+ type: SWALLOW;
+ scale: 1;
+ description{
+ state:"default" 0.0;
+ rel1{ relative: (1 - (MAIN_W-TOOLBAR_W)/MAIN_W) 0.0; to: "bg";}
+ rel2{ relative: (1 - TOOLBAR_W/MAIN_W) 1.0; to: "bg";}
+ }
+ }
+
+ part { name: "shortcuts_popup";
+ type: SWALLOW;
+ scale: 1;
+ description{
+ state:"default" 0.0;
+ rel1{ relative: (1 - (TOOLBAR_W+720)/MAIN_W) 0.0; to: "bg";}
+ rel2{ relative: (1 - TOOLBAR_W/MAIN_W) (MAIN_H-120)/MAIN_H; to: "bg";}
+ }
+ }
+
+ part { name: "shortcuts_popup_description";
+ type: SWALLOW;
+ scale: 1;
+ description{
+ state:"default" 0.0;
+ rel1{ relative: (1 - (TOOLBAR_W+720)/MAIN_W) (MAIN_H-120)/MAIN_H; to: "bg";}
+ rel2{ relative: (1 - TOOLBAR_W/MAIN_W) 1.0; to: "bg";}
+ }
+ }
+
+ TOOLBAR_ITEM_BUTTON("toolbar_0_button", TOOLBAR_0_X, TOOLBAR_0_Y)
+ TOOLBAR_ITEM_BUTTON("toolbar_1_button", TOOLBAR_1_X, TOOLBAR_1_Y)
+ TOOLBAR_ITEM_BUTTON("toolbar_2_button", TOOLBAR_2_X, TOOLBAR_2_Y)
+ TOOLBAR_ITEM_BUTTON("toolbar_3_button", TOOLBAR_3_X, TOOLBAR_3_Y)
+ TOOLBAR_ITEM_BUTTON("toolbar_4_button", TOOLBAR_4_X, TOOLBAR_4_Y)
+
+ TOOLBAR_ITEM_SWALLOW_ICON("toolbar_0_icon", TOOLBAR_0_X, TOOLBAR_0_Y, TOOLBAR_ITEM_W, TOOLBAR_ITEM_H)
+ TOOLBAR_ITEM_SWALLOW_ICON("toolbar_1_icon", TOOLBAR_1_X, TOOLBAR_1_Y, TOOLBAR_ITEM_W, TOOLBAR_ITEM_H)
+ TOOLBAR_ITEM_SWALLOW_ICON("toolbar_2_icon", TOOLBAR_2_X, TOOLBAR_2_Y, TOOLBAR_ITEM_W, TOOLBAR_ITEM_H)
+ TOOLBAR_ITEM_SWALLOW_ICON("toolbar_3_icon", TOOLBAR_3_X, TOOLBAR_3_Y, TOOLBAR_ITEM_W, TOOLBAR_ITEM_H)
+ TOOLBAR_ITEM_SWALLOW_ICON("toolbar_4_icon", TOOLBAR_4_X, TOOLBAR_4_Y, TOOLBAR_ITEM_W, TOOLBAR_ITEM_H)
+
+ TOOLBAR_ITEM_SWALLOW_BUTTON("shutter_button", SHUTTER_X, SHUTTER_Y, SHUTTER_W, SHUTTER_H)
+ TOOLBAR_ITEM_SWALLOW_BUTTON("recording_button", RECORDINGBTN_X, RECORDINGBTN_Y, RECORDINGBTN_W, RECORDINGBTN_H)
+ TOOLBAR_ITEM_SWALLOW_BUTTON("recording_stop_button",REC_STOP_BTN_X, REC_STOP_BTN_Y, REC_STOP_BTN_W, REC_STOP_BTN_H)
+ TOOLBAR_ITEM_SWALLOW_BUTTON("quickview_item", QUICKVIEW_X, QUICKVIEW_Y, QUICKVIEW_W, QUICKVIEW_H)
+ TOOLBAR_ITEM_SWALLOW_BUTTON("backbutton_item", BACKBTN_X, BACKBTN_Y, BACKBTN_W, BACKBTN_H)
+ TOOLBAR_ITEM_SWALLOW_BUTTON("cafbutton_item", CAF_BUTTON_X, CAF_BUTTON_Y, CAF_BUTTON_W, CAF_BUTTON_H)
+ }/*end parts*/
+
+ programs {
+ program {
+ name: "toolbar_bg,show";
+ source: "prog";
+ signal: "toolbar_bg,show";
+ script: {
+ set_state(PART:"left_bg", "default", 0.0);
+ set_state(PART:"right_bg", "default", 0.0);
+ }
+ }
+ program {
+ name: "toolbar_bg,hide";
+ source: "prog";
+ signal: "toolbar_bg,hide";
+ script: {
+ set_state(PART:"left_bg", "hide", 0.0);
+ set_state(PART:"right_bg", "hide", 0.0);
+ }
+ }
+ TOOLBAR_LEFT_ITEM_PROGRAM("toolbar_0_button", "toolbar_0_icon", "toolbar_0_press_sig", "toolbar_0_release_sig", "toolbar_0_click_sig")
+ TOOLBAR_LEFT_ITEM_PROGRAM("toolbar_1_button", "toolbar_1_icon", "toolbar_1_press_sig", "toolbar_1_release_sig", "toolbar_1_click_sig")
+ TOOLBAR_LEFT_ITEM_PROGRAM("toolbar_2_button", "toolbar_2_icon", "toolbar_2_press_sig", "toolbar_2_release_sig", "toolbar_2_click_sig")
+ TOOLBAR_LEFT_ITEM_PROGRAM("toolbar_3_button", "toolbar_3_icon", "toolbar_3_press_sig", "toolbar_3_release_sig", "toolbar_3_click_sig")
+ TOOLBAR_LEFT_ITEM_PROGRAM("toolbar_4_button", "toolbar_4_icon", "toolbar_4_press_sig", "toolbar_4_release_sig", "toolbar_4_click_sig")
+ }/*end programs*/
+ }/*end group :toolbar*/
+
+ group {
+ name: "shutter_button";
+
+ images {
+ image: SHUTTER_NORMAL_INVERSE_IMAGE COMP;
+ image: SHUTTER_PRESS_IMAGE COMP;
+ image: SHUTTER_DIM_IMAGE COMP;
+ }
+
+ parts {
+ part { name: "capture_button";
+ type: IMAGE;
+ mouse_events: 1;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ align: 0.5 0.5;
+ rel1 { relative: 0.0 0.0;}
+ rel2 { relative: 1.0 1.0;}
+ visible: 0;
+ }
+ description {
+ state: "normal" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ image { normal: SHUTTER_NORMAL_INVERSE_IMAGE; }
+ }
+ description {
+ state: "press" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ image { normal: SHUTTER_PRESS_IMAGE; }
+ }
+ description {
+ state: "dim" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ image { normal: SHUTTER_DIM_IMAGE; }
+ }
+ }
+
+ part { name: "camera_icon";
+ type: SWALLOW;
+ scale: 1;
+ mouse_events: 0;
+ description {
+ state: "default" 0.0;
+ aspect: 1.0 1.0;
+ align: 0.5 0.5;
+ max: 60 60;
+ min: 60 60;
+ fixed:1 1;
+ rel1 { relative: 0.0 0.0; to: "capture_button";}
+ rel2 { relative: 1.0 1.0; to: "capture_button";}
+ visible: 1;
+ }
+
+ description {
+ state: "normal" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ description {
+ state: "dim" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ }/*end parts*/
+
+ programs {
+ TOOLBAR_RIGHT_ITEM_PROGRAM("capture_button", "press_shutter_sig", "release_shutter_sig", "click_shutter_sig")
+
+ program {
+ name: "camera_icon,normal";
+ source: "prog";
+ signal: "camera_icon,normal";
+ script: { set_state(PART:"camera_icon", "normal", 0.0); }
+ }
+ program {
+ name: "camera_icon,invisible";
+ source: "prog";
+ signal: "camera_icon,invisible";
+ script: { set_state(PART:"camera_icon", "dim", 0.0); }
+ }
+ }/*end programs*/
+ }/*end group*/
+
+ group {
+ name: "recording_button";
+
+ images {
+ image: CAMCORDER_SHUTTER_ICON_IMAGE COMP;
+ image: CAMCORDER_SHUTTER_ICON_PRESS_IMAGE COMP;
+ image: CAMCORDER_SHUTTER_ICON_DIM_IMAGE COMP;
+ image: CAMCORDER_PAUSE_ICON_IMAGE COMP;
+ image: CAMCORDER_PAUSE_ICON_PRESS_IMAGE COMP;
+ }
+
+ parts {
+ part { name: "recording_button";
+ type: IMAGE;
+ mouse_events: 1;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ align: 0.5 0.5;
+ rel1 { relative: 0.0 0.0;}
+ rel2 { relative: 1.0 1.0;}
+ visible: 0;
+ }
+ description {
+ state: "normal" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ image { normal: CAMCORDER_SHUTTER_ICON_IMAGE; }
+ }
+ description {
+ state: "press" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ image { normal: CAMCORDER_SHUTTER_ICON_PRESS_IMAGE; }
+ }
+ description {
+ state: "dim" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ image { normal: CAMCORDER_SHUTTER_ICON_DIM_IMAGE; }
+ }
+ }
+ part { name: "recording_pause_button";
+ type: IMAGE;
+ mouse_events: 1;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ align: 0.5 0.5;
+ rel1 { relative: 0.0 0.0;}
+ rel2 { relative: 1.0 1.0;}
+ visible: 0;
+ }
+ description {
+ state: "normal" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ image { normal: CAMCORDER_PAUSE_ICON_IMAGE; }
+ }
+ description {
+ state: "press" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ image { normal: CAMCORDER_PAUSE_ICON_PRESS_IMAGE; }
+ }
+ }
+ }/*end parts*/
+
+ programs {
+ TOOLBAR_RIGHT_ITEM_PROGRAM("recording_button", "press_shutter_sig", "release_shutter_sig", "click_shutter_sig")
+ TOOLBAR_RIGHT_ITEM_PROGRAM("recording_pause_button", "press_shutter_sig", "release_shutter_sig", "click_shutter_sig")
+ }/*end programs*/
+ }/*end group*/
+
+ group {
+ name: "recording_stop_button";
+
+ images {
+ image: CAMCORDER_STOP_ICON_IMAGE COMP;
+ image: CAMCORDER_STOP_ICON_PRESS_IMAGE COMP;
+ }
+
+ parts {
+ part { name: "recording_stop_button";
+ type: IMAGE;
+ mouse_events: 1;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ align: 0.5 0.5;
+ rel1 { relative: 0.0 0.0;}
+ rel2 { relative: 1.0 1.0;}
+ visible: 0;
+ }
+ description {
+ state: "normal" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ image { normal: CAMCORDER_STOP_ICON_IMAGE; }
+ }
+ description {
+ state: "press" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ image { normal: CAMCORDER_STOP_ICON_PRESS_IMAGE; }
+ }
+ }
+ }/*end parts*/
+
+ programs {
+ TOOLBAR_RIGHT_ITEM_PROGRAM("recording_stop_button", "press_shutter_sig", "release_shutter_sig", "click_shutter_sig")
+ }/*end programs*/
+ }/*end group*/
+
+ group {
+ name: "toolbar_quickview_item";
+
+ images {
+ image: THUMBNAIL_BG_NORMAL_IMAGE COMP;
+ }
+
+ parts {
+ part { name: "bg";
+ type: IMAGE;
+ mouse_events: 1;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ align: 0.5 0.5;
+ rel1 { relative: 0.0 0.0;}
+ rel2 { relative: 1.0 1.0;}
+ image {
+ normal: THUMBNAIL_BG_NORMAL_IMAGE ;
+ }
+ }
+ description {
+ state: "invisible" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "thumbnail";
+ type: SWALLOW;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ rel1 { relative: 1/9 1/9;to: "bg"; }
+ rel2 { relative: 8/9 8/9;to: "bg"; }
+ }
+ description {
+ state: "invisible" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+
+ part { name: "thumbnail_area"; /*note: just for c codes get thumbnail x,y,w,h*/
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ rel1 { relative: 0.0 0.0; to: "thumbnail"; }
+ rel2 { relative: 1.0 1.0; to: "thumbnail"; }
+ color: 0 0 0 0;
+ }
+ }
+
+ }/*end parts*/
+
+ programs {
+ program {
+ name: "quickview_bg,mouse,down,1";
+ signal: "mouse,down,1";
+ source: "bg";
+ action: SIGNAL_EMIT "landscape,quickview,press" "toolbar_signal";
+ }
+ program {
+ name: "quickview_bg,mouse,up,1";
+ signal: "mouse,up,1";
+ source: "bg";
+ action: SIGNAL_EMIT "landscape,quickview,release" "toolbar_signal";
+ }
+ program {
+ name: "prog_set_default";
+ source: "prog";
+ signal: "SET_DEFAULT";
+ script: {
+ set_state(PART:"bg", "default", 0.0);
+ set_state(PART:"thumbnail", "default", 0.0);
+ }
+ }
+ program {
+ name: "prog_set_invisible";
+ source: "prog";
+ signal: "SET_INVISIBLE";
+ script: {
+ set_state(PART:"bg", "invisible", 0.0);
+ set_state(PART:"thumbnail", "invisible", 0.0);
+ }
+ }
+ }/*end programs*/
+ }/*end toolbar_quickview_item*/
+
+ group{
+ name: "toolbar_backbutton_item";
+
+ images{
+ image: BACK_BUTTON_NORMAL_IMAGE COMP;
+ image: BACK_BUTTON_PRESS_IMAGE COMP;
+ }
+
+ parts{
+ part{
+ name: "back_button";
+ type: IMAGE;
+ mouse_events: 1;
+ scale: 1;
+ description{
+ state: "default" 0.0;
+ rel1 { relative: 0.0 0.0;}
+ rel2 { relative: 1.0 1.0;}
+ image {
+ normal : BACK_BUTTON_NORMAL_IMAGE;
+ }
+ }
+ description{
+ state: "press" 0.0;
+ rel1 { relative: 0.0 0.0;}
+ rel2 { relative: 1.0 1.0;}
+ image {
+ normal : BACK_BUTTON_PRESS_IMAGE;
+ }
+ }
+ }
+ }/*end parts*/
+
+ programs {
+ program {
+ name: "back_button_press";
+ signal: "mouse,down,1";
+ source: "back_button";
+ action: STATE_SET "press" 0.0;
+ target: "back_button";
+ }
+ program {
+ name: "back_button_release";
+ signal: "mouse,up,1";
+ source: "back_button";
+ action: STATE_SET "default" 0.0;
+ target: "back_button";
+ }
+ program {
+ name: "back_button_clicked";
+ signal: "mouse,clicked,1";
+ source: "back_button";
+ action: SIGNAL_EMIT "landscape,backbutton,clicked" "toolbar_signal";
+ }
+ }/*end programs*/
+ }/*end toolbar_backbutton_item*/
+
+ group{
+ name: "toolbar_cafbutton_item";
+
+ parts{
+ part{
+ name: "caf_button";
+ type: IMAGE;
+ scale: 1;
+ mouse_events: 1;
+ description{
+ state: "default" 0.0;
+ rel1 { relative: 0.0 0.0;}
+ rel2 { relative: 1.0 1.0;}
+ visible: 0;
+ }
+ description{
+ state: "normal" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ image {
+ normal : CAF_BUTTON_NORMAL_IMAGE;
+ }
+ }
+ description{
+ state: "press" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ image {
+ normal : CAF_BUTTON_PRESS_IMAGE;
+ }
+ }
+ }
+ }/*end parts*/
+
+ programs {
+ program {
+ name: "caf_button_press";
+ signal: "mouse,down,1";
+ source: "caf_button";
+ action: STATE_SET "press" 0.0;
+ target: "caf_button";
+ }
+ program {
+ name: "caf_button_release";
+ signal: "mouse,up,1";
+ source: "caf_button";
+ action: STATE_SET "normal" 0.0;
+ target: "caf_button";
+ }
+ program {
+ name: "caf_button_clicked";
+ signal: "mouse,clicked,1";
+ source: "caf_button";
+ action: SIGNAL_EMIT "caf_button,clicked" "toolbar_signal";
+ }
+ program {
+ name: "caf_button_normal";
+ source: "prog";
+ signal: "caf_button,normal";
+ script: {
+ set_state(PART:"caf_button", "normal", 0.0);
+ }
+ }
+ program {
+ name: "caf_button_default";
+ source: "prog";
+ signal: "caf_button,invisible";
+ script: {
+ set_state(PART:"caf_button", "default", 0.0);
+ }
+ }
+ }/*end programs*/
+ }/*end toolbar_cafbutton_item*/
+
+ group{
+ name: "toolbar_capture_button_item";
+
+ images{
+ image: SNAPSHOT_PRESS_IMAGE COMP;
+ image: SNAPSHOT_NORMAL_IMAGE COMP;
+ }
+
+ parts{
+ part{
+ name: "capture_button";
+ type: IMAGE;
+ mouse_events: 1;
+ scale: 1;
+ description{
+ state: "default" 0.0;
+ rel1 { relative: 0.0 0.0;}
+ rel2 { relative: 1.0 1.0;}
+ image {
+ normal : SNAPSHOT_NORMAL_IMAGE;
+ }
+ }
+ description{
+ state: "press" 0.0;
+ rel1 { relative: 0.0 0.0;}
+ rel2 { relative: 1.0 1.0;}
+ image {
+ normal : SNAPSHOT_PRESS_IMAGE;
+ }
+ }
+ }
+ }/*end parts*/
+
+ programs {
+ program {
+ name: "capture_button_press";
+ signal: "mouse,down,1";
+ source: "capture_button";
+ action: STATE_SET "press" 0.0;
+ target: "capture_button";
+ }
+ program {
+ name: "capture_button_release";
+ signal: "mouse,up,1";
+ source: "capture_button";
+ action: STATE_SET "default" 0.0;
+ target: "capture_button";
+ }
+ program {
+ name: "capture_button_clicked";
+ signal: "mouse,clicked,1";
+ source: "capture_button";
+ action: SIGNAL_EMIT "capture_button_click" "capture_button_click";
+ }
+ }/*end programs*/
+ }
+}/*end collections*/
+//end file
diff --git a/edc/cam_toolbar_layout_inverse_inc.edc b/edc/cam_toolbar_layout_inverse_inc.edc
new file mode 100755
index 0000000..448631c
--- /dev/null
+++ b/edc/cam_toolbar_layout_inverse_inc.edc
@@ -0,0 +1,353 @@
+/*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.1 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://floralicense.org/license/
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+
+#ifndef __H_EDC_CAM_TOOLBAR_LAYOUT_INC_EDC_H__
+#define __H_EDC_CAM_TOOLBAR_LAYOUT_INC_EDC_H__
+
+#define SETTING_TOOLBAR_W 1156
+#define SETTING_TOOLBAR_H 116
+
+#define TOOLBAR_ITEM_W 86
+#define TOOLBAR_ITEM_H 86
+
+#define TOOLBAR_0_X 38
+#define TOOLBAR_0_Y 594
+
+#define TOOLBAR_1_X 38
+#define TOOLBAR_1_Y 454
+
+#define TOOLBAR_2_X 38
+#define TOOLBAR_2_Y 317
+
+#define TOOLBAR_3_X 38
+#define TOOLBAR_3_Y 180
+
+#define TOOLBAR_4_X 38
+#define TOOLBAR_4_Y 40
+
+#define SHUTTER_X 1146
+#define SHUTTER_Y 194
+#define SHUTTER_W 108
+#define SHUTTER_H 214
+
+#define BACKBTN_X 1146
+#define BACKBTN_Y 18
+#define BACKBTN_W 108
+#define BACKBTN_H 108
+
+#define QUICKVIEW_X 1146
+#define QUICKVIEW_Y 604
+#define QUICKVIEW_W 108
+#define QUICKVIEW_H 108
+
+#define RECORDINGBTN_X 1146
+#define RECORDINGBTN_Y 418
+#define RECORDINGBTN_W 108
+#define RECORDINGBTN_H 108
+
+#define REC_STOP_BTN_X 1146
+#define REC_STOP_BTN_Y 594
+#define REC_STOP_BTN_W 108
+#define REC_STOP_BTN_H 108
+
+#define CAF_BUTTON_X 38
+#define CAF_BUTTON_Y 606
+#define CAF_BUTTON_W 87
+#define CAF_BUTTON_H 88
+
+#define CAMERA_BUTTON_X 38
+#define CAMERA_BUTTON_Y 65
+#define CAMERA_BUTTON_W 61
+#define CAMERA_BUTTON_H 61
+#define CAMCORDER_BUTTON_X 38
+#define CAMCORDER_BUTTON_Y 109
+#define CAMCORDER_BUTTON_W 61
+#define CAMCORDER_BUTTON_H 61
+#define CAMERA_ICON_X 38
+#define CAMERA_ICON_Y 10
+#define CAMERA_ICON_W 56
+#define CAMERA_ICON_H 48
+
+images {
+ /*item_button*/
+ image: BUTTON_BG_NORMAL_IMAGE COMP;
+ image: BUTTON_BG_PRESS_IMAGE COMP;
+
+ image: SNAPSHOT_PRESS_IMAGE COMP;
+ image: SNAPSHOT_NORMAL_IMAGE COMP;
+ image: LEFT_TOOLBAR_BG_IMAGE COMP;
+ image: RIGHT_TOOLBAR_BG_IMAGE COMP;
+
+ image: CAF_BUTTON_NORMAL_IMAGE COMP;
+ image: CAF_BUTTON_PRESS_IMAGE COMP;
+}
+
+#define TOOLBAR_BACKGROUND_IMAGE(part_name, x, y, w, h, img) \
+ part { \
+ name: part_name; \
+ type: IMAGE; \
+ scale: 1;\
+ description { \
+ state: "default" 0.0;\
+ rel1 { relative: (1 - (x+w)/MAIN_W) (1 - (y+h)/MAIN_H); } \
+ rel2 { relative: (1 - (x)/MAIN_W) (1 - (y)/MAIN_H); } \
+ image { normal: img; } \
+ } \
+ description{ \
+ state: "hide" 0.0; \
+ inherit:"default" 0.0; \
+ visible: 0; \
+ } \
+ }
+
+#define TOOLBAR_ITEM_BUTTON_WITH_BG(button_name, x, y, bg_w, bg_h) \
+ part { name: button_name; \
+ type: IMAGE; \
+ mouse_events: 1; \
+ scale: 1;\
+ description { \
+ state: "default" 0.0; \
+ rel1 { relative: (1 - (x+TOOLBAR_ITEM_W)/(bg_w)) (1 - (y+TOOLBAR_ITEM_H)/(bg_h)); offset: 1 0;} \
+ rel2 { relative: (1 - (x)/(bg_w)) (1 - (y)/(bg_h)); offset: 1 0;} \
+ visible: 0; \
+ } \
+ description { \
+ state: "normal" 0.0; \
+ inherit: "default" 0.0; \
+ visible: 1; \
+ image { normal: BUTTON_BG_NORMAL_IMAGE; } \
+ } \
+ description { \
+ state: "press" 0.0; \
+ inherit: "default" 0.0; \
+ visible: 1; \
+ image { normal: BUTTON_BG_PRESS_IMAGE; } \
+ } \
+ description { \
+ state: "dim" 0.0; \
+ inherit: "default" 0.0; \
+ visible: 0; \
+ } \
+ }
+
+#define TOOLBAR_ITEM_SWALLOW_ICON_WITH_BG(icon_name, x, y, w, h, bg_w, bg_h) \
+ part { name: icon_name; \
+ type: SWALLOW; \
+ mouse_events: 1; \
+ scale: 1;\
+ description { \
+ state: "default" 0.0; \
+ rel1 { relative: (1 - (x+w)/(bg_w)) (1 - (y+h)/(bg_h)); offset: 1 0;} \
+ rel2 { relative: (1 - (x)/(bg_w)) (1 - (y)/(bg_h)); offset: 1 0;} \
+ visible: 0; \
+ } \
+ description { \
+ state: "normal" 0.0; \
+ inherit: "default" 0.0; \
+ visible: 1; \
+ } \
+ description { \
+ state: "dim" 0.0; \
+ inherit: "default" 0.0; \
+ visible: 1; \
+ } \
+ } \
+ part { name: icon_name"_event"; \
+ type: RECT; \
+ mouse_events: 1; \
+ scale: 1;\
+ description { \
+ state: "default" 0.0; \
+ rel1.to: icon_name; \
+ rel2.to: icon_name; \
+ color: 0 0 0 0; \
+ visible: 1; \
+ } \
+ }
+
+#define TOOLBAR_ITEM_SWALLOW_BUTTON_WITH_BG(icon_name, x, y, w, h, bg_w, bg_h) \
+ part { name: icon_name; \
+ type: SWALLOW; \
+ mouse_events: 1; \
+ scale: 1;\
+ description { \
+ state: "default" 0.0; \
+ rel1 { relative: (1 - (x+w)/(bg_w)) (1 - (y+h)/(bg_h)); offset: 1 1;} \
+ rel2 { relative: (1 - (x)/(bg_w)) (1 - (y)/(bg_h)); offset: 0 0;} \
+ } \
+ }
+
+#define TOOLBAR_LEFT_ITEM_PROGRAM(button_name, icon_name, press_signal, release_signal, click_signal) \
+ program { \
+ name: "mouse_down_"icon_name; \
+ signal: "mouse,down,1"; \
+ source: icon_name"_event"; \
+ script {\
+ new st[31];\
+ new Float:vl;\
+ get_state(PART:icon_name, st, 30, vl);\
+ if (strcmp(st, "normal") == 0) { \
+ emit( press_signal, "toolbar_signal" );\
+ } \
+ }\
+ } \
+ program { \
+ name: "mouse_up_"icon_name; \
+ signal: "mouse,up,1"; \
+ source: icon_name"_event"; \
+ script {\
+ new st[31];\
+ new Float:vl;\
+ get_state(PART:icon_name, st, 30, vl);\
+ if (strcmp(st, "normal") == 0) { \
+ emit( release_signal, "toolbar_signal" );\
+ } \
+ }\
+ }\
+ program { \
+ name: "mouse_clicked_"icon_name; \
+ signal: "mouse,clicked,1"; \
+ source: icon_name"_event"; \
+ script {\
+ new st[31];\
+ new Float:vl;\
+ get_state(PART:icon_name, st, 30, vl);\
+ if (strcmp(st, "normal") == 0) { \
+ emit( click_signal, "toolbar_signal" );\
+ } \
+ }\
+ }\
+ program { \
+ name: icon_name",invisible"; \
+ source: "prog"; \
+ signal: icon_name",invisible"; \
+ script: { \
+ set_state(PART:button_name, "default", 0.0); \
+ set_state(PART:icon_name, "default", 0.0); \
+ } \
+ } \
+ program { \
+ name: icon_name",normal"; \
+ source: "prog"; \
+ signal: icon_name",normal"; \
+ script: { \
+ set_state(PART:button_name, "default", 0.0); \
+ set_state(PART:icon_name, "normal", 0.0); \
+ } \
+ } \
+ program { \
+ name: icon_name",edit"; \
+ source: "prog"; \
+ signal: icon_name",edit"; \
+ script: { \
+ set_state(PART:button_name, "normal", 0.0); \
+ set_state(PART:icon_name, "normal", 0.0); \
+ } \
+ } \
+ program { \
+ name: icon_name",dim"; \
+ source: "prog"; \
+ signal: icon_name",dim"; \
+ script: { \
+ set_state(PART:button_name, "default", 0.0); \
+ set_state(PART:icon_name, "dim", 0.0); \
+ } \
+ }
+
+#define TOOLBAR_RIGHT_ITEM_PROGRAM(icon_name, press_signal_name, release_signal_name, click_signal_name) \
+ program { \
+ name: "mouse_down_"icon_name; \
+ signal: "mouse,down,1"; \
+ source: icon_name; \
+ script {\
+ new st[31];\
+ new Float:vl;\
+ get_state(PART:icon_name, st, 30, vl);\
+ if (strcmp(st, "dim") != 0) { \
+ emit( press_signal_name, "toolbar_signal" );\
+ } \
+ }\
+ } \
+ program { \
+ name: "mouse_up_"icon_name; \
+ signal: "mouse,up,1"; \
+ source: icon_name; \
+ script {\
+ new st[31];\
+ new Float:vl;\
+ get_state(PART:icon_name, st, 30, vl);\
+ if (strcmp(st, "dim") != 0) { \
+ emit( release_signal_name, "toolbar_signal" );\
+ } \
+ }\
+ }\
+ program { \
+ name: "mouse_clicked_"icon_name; \
+ signal: "mouse,clicked,1"; \
+ source: icon_name; \
+ script {\
+ new st[31];\
+ new Float:vl;\
+ get_state(PART:icon_name, st, 30, vl);\
+ if (strcmp(st, "dim") != 0) \
+ emit( click_signal_name, "toolbar_signal" );\
+ }\
+ }\
+ program { \
+ name: icon_name",invisible"; \
+ source: "prog"; \
+ signal: icon_name",invisible"; \
+ script: { \
+ set_state(PART:icon_name, "default", 0.0); \
+ } \
+ } \
+ program { \
+ name: icon_name",normal"; \
+ source: "prog"; \
+ signal: icon_name",normal"; \
+ script: { \
+ set_state(PART:icon_name, "normal", 0.0); \
+ } \
+ } \
+ program { \
+ name: icon_name",press"; \
+ source: "prog"; \
+ signal: icon_name",press"; \
+ script: { \
+ set_state(PART:icon_name, "press", 0.0); \
+ } \
+ } \
+ program { \
+ name: icon_name",dim"; \
+ source: "prog"; \
+ signal: icon_name",dim"; \
+ script: { \
+ set_state(PART:icon_name, "dim", 0.0); \
+ } \
+ }
+
+#define TOOLBAR_ITEM_BUTTON(name, x, y) \
+ TOOLBAR_ITEM_BUTTON_WITH_BG(name, x, y, MAIN_W, MAIN_H)
+
+#define TOOLBAR_ITEM_SWALLOW_ICON(name, x, y, w, h) \
+ TOOLBAR_ITEM_SWALLOW_ICON_WITH_BG(name, x, y, w, h, MAIN_W, MAIN_H)
+
+#define TOOLBAR_ITEM_SWALLOW_BUTTON(name, x, y, w, h) \
+ TOOLBAR_ITEM_SWALLOW_BUTTON_WITH_BG(name, x, y, w, h, MAIN_W, MAIN_H)
+
+#endif /*__H_EDC_CAM_TOOLBAR_LAYOUT_INC_EDC_H__*/
+//end files
diff --git a/edc/cam_toolbar_layout_vertical.edc b/edc/cam_toolbar_layout_vertical.edc
new file mode 100755
index 0000000..1b21d76
--- /dev/null
+++ b/edc/cam_toolbar_layout_vertical.edc
@@ -0,0 +1,618 @@
+/*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.1 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://floralicense.org/license/
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+
+#include "cam_funcs.edc"
+#include "../include/edc_image_name.h"
+#include "cam_toolbar_layout_vertical_inc.edc"
+#include "cam_setting_popup_layout.edc"
+
+
+collections {
+
+ group {
+ name: "toolbar";
+ min: MAIN_H MAIN_W;
+
+ parts {
+ part {
+ name: "bg";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ min: MAIN_H MAIN_W;
+ max: MAIN_H MAIN_W;
+ fixed: 1 1;
+ rel1 { relative: 0.0 0.0;}
+ rel2 { relative: 1.0 1.0;}
+ }
+ }
+
+ TOOLBAR_BACKGROUND_IMAGE("left_bg", 0, 0, TOOLBAR_W, MAIN_H, LEFT_TOOLBAR_BG_VER_IMAGE)
+ TOOLBAR_BACKGROUND_IMAGE("right_bg", MAIN_W-TOOLBAR_W, 0, TOOLBAR_W, MAIN_H, RIGHT_TOOLBAR_BG_VER_IMAGE)
+
+ part { name: "popup_area";
+ type: SWALLOW;
+ mouse_events: 0;
+ scale: 1;
+ description{
+ state:"default" 0.0;
+ rel1{ relative: 0.0 TOOLBAR_W/MAIN_W; to: "bg";}
+ rel2{ relative: 1.0 (MAIN_W-TOOLBAR_W)/MAIN_W; to: "bg";}
+ }
+ }
+
+ part { name: "setting_popup";
+ type: SWALLOW;
+ scale: 1;
+ description{
+ state:"default" 0.0;
+ rel1{ relative: 0.0 TOOLBAR_W/MAIN_W; to: "bg";}
+ rel2{ relative: 1.0 (MAIN_W-TOOLBAR_W)/MAIN_W; to: "bg";}
+ }
+ }
+
+ part { name: "shortcuts_popup";
+ type: SWALLOW;
+ scale: 1;
+ description{
+ state:"default" 0.0;
+ rel1{ relative: 0.0 TOOLBAR_W/MAIN_W; to: "bg";}
+ rel2{ relative: 1.0 (TOOLBAR_W+720-120)/MAIN_W; to: "bg";}
+ }
+ }
+
+ part { name: "shortcuts_popup_description";
+ type: SWALLOW;
+ scale: 1;
+ description{
+ state:"default" 0.0;
+ rel1{ relative: 0.0 (TOOLBAR_W+720-120)/MAIN_W; to: "bg";}
+ rel2{ relative: 1.0 (TOOLBAR_W+720)/MAIN_W; to: "bg";}
+ }
+ }
+
+ TOOLBAR_ITEM_BUTTON("toolbar_0_button", TOOLBAR_0_X, TOOLBAR_0_Y)
+ TOOLBAR_ITEM_BUTTON("toolbar_1_button", TOOLBAR_1_X, TOOLBAR_1_Y)
+ TOOLBAR_ITEM_BUTTON("toolbar_2_button", TOOLBAR_2_X, TOOLBAR_2_Y)
+ TOOLBAR_ITEM_BUTTON("toolbar_3_button", TOOLBAR_3_X, TOOLBAR_3_Y)
+ TOOLBAR_ITEM_BUTTON("toolbar_4_button", TOOLBAR_4_X, TOOLBAR_4_Y)
+
+ TOOLBAR_ITEM_SWALLOW_ICON("toolbar_0_icon", TOOLBAR_0_X, TOOLBAR_0_Y, TOOLBAR_ITEM_W, TOOLBAR_ITEM_H)
+ TOOLBAR_ITEM_SWALLOW_ICON("toolbar_1_icon", TOOLBAR_1_X, TOOLBAR_1_Y, TOOLBAR_ITEM_W, TOOLBAR_ITEM_H)
+ TOOLBAR_ITEM_SWALLOW_ICON("toolbar_2_icon", TOOLBAR_2_X, TOOLBAR_2_Y, TOOLBAR_ITEM_W, TOOLBAR_ITEM_H)
+ TOOLBAR_ITEM_SWALLOW_ICON("toolbar_3_icon", TOOLBAR_3_X, TOOLBAR_3_Y, TOOLBAR_ITEM_W, TOOLBAR_ITEM_H)
+ TOOLBAR_ITEM_SWALLOW_ICON("toolbar_4_icon", TOOLBAR_4_X, TOOLBAR_4_Y, TOOLBAR_ITEM_W, TOOLBAR_ITEM_H)
+
+ TOOLBAR_ITEM_SWALLOW_BUTTON("shutter_button", SHUTTER_X, SHUTTER_Y, SHUTTER_W, SHUTTER_H)
+ TOOLBAR_ITEM_SWALLOW_BUTTON("recording_button", RECORDINGBTN_X, RECORDINGBTN_Y, RECORDINGBTN_W, RECORDINGBTN_H)
+ TOOLBAR_ITEM_SWALLOW_BUTTON("recording_stop_button",REC_STOP_BTN_X, REC_STOP_BTN_Y, REC_STOP_BTN_W, REC_STOP_BTN_H)
+ TOOLBAR_ITEM_SWALLOW_BUTTON("quickview_item", QUICKVIEW_X, QUICKVIEW_Y, QUICKVIEW_W, QUICKVIEW_H)
+ TOOLBAR_ITEM_SWALLOW_BUTTON("backbutton_item", BACKBTN_X, BACKBTN_Y, BACKBTN_W, BACKBTN_H)
+ TOOLBAR_ITEM_SWALLOW_BUTTON("cafbutton_item", CAF_BUTTON_X, CAF_BUTTON_Y, CAF_BUTTON_W, CAF_BUTTON_H)
+ }/*end parts*/
+
+ programs {
+ program {
+ name: "toolbar_bg,show";
+ source: "prog";
+ signal: "toolbar_bg,show";
+ script: {
+ set_state(PART:"left_bg", "default", 0.0);
+ set_state(PART:"right_bg", "default", 0.0);
+ }
+ }
+ program {
+ name: "toolbar_bg,hide";
+ source: "prog";
+ signal: "toolbar_bg,hide";
+ script: {
+ set_state(PART:"left_bg", "hide", 0.0);
+ set_state(PART:"right_bg", "hide", 0.0);
+ }
+ }
+ TOOLBAR_LEFT_ITEM_PROGRAM("toolbar_0_button", "toolbar_0_icon", "toolbar_0_press_sig", "toolbar_0_release_sig", "toolbar_0_click_sig")
+ TOOLBAR_LEFT_ITEM_PROGRAM("toolbar_1_button", "toolbar_1_icon", "toolbar_1_press_sig", "toolbar_1_release_sig", "toolbar_1_click_sig")
+ TOOLBAR_LEFT_ITEM_PROGRAM("toolbar_2_button", "toolbar_2_icon", "toolbar_2_press_sig", "toolbar_2_release_sig", "toolbar_2_click_sig")
+ TOOLBAR_LEFT_ITEM_PROGRAM("toolbar_3_button", "toolbar_3_icon", "toolbar_3_press_sig", "toolbar_3_release_sig", "toolbar_3_click_sig")
+ TOOLBAR_LEFT_ITEM_PROGRAM("toolbar_4_button", "toolbar_4_icon", "toolbar_4_press_sig", "toolbar_4_release_sig", "toolbar_4_click_sig")
+ }/*end programs*/
+ }/*end group :toolbar*/
+
+ group {
+ name: "shutter_button";
+
+ images {
+ image: SHUTTER_NORMAL_VER_IMAGE COMP;
+ image: SHUTTER_PRESS_VER_IMAGE COMP;
+ image: SHUTTER_DIM_VER_IMAGE COMP;
+ }
+
+ parts {
+ part { name: "capture_button";
+ type: IMAGE;
+ mouse_events: 1;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ align: 0.5 0.5;
+ rel1 { relative: 0.0 0.0;}
+ rel2 { relative: 1.0 1.0;}
+ visible: 0;
+ }
+ description {
+ state: "normal" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ image { normal: SHUTTER_NORMAL_VER_IMAGE; }
+ }
+ description {
+ state: "press" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ image { normal: SHUTTER_PRESS_VER_IMAGE; }
+ }
+ description {
+ state: "dim" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ image { normal: SHUTTER_DIM_VER_IMAGE; }
+ }
+ }
+
+ part { name: "camera_icon";
+ type: SWALLOW;
+ scale: 1;
+ mouse_events: 0;
+ description {
+ state: "default" 0.0;
+ aspect: 1.0 1.0;
+ align: 0.5 0.5;
+ max: 60 60;
+ min: 60 60;
+ fixed:1 1;
+ rel1 { relative: 0.0 0.0; to: "capture_button";}
+ rel2 { relative: 1.0 1.0; to: "capture_button";}
+ visible: 1;
+ }
+
+ description {
+ state: "normal" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ description {
+ state: "dim" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ }/*end parts*/
+
+ programs {
+ TOOLBAR_RIGHT_ITEM_PROGRAM("capture_button", "press_shutter_sig", "release_shutter_sig", "click_shutter_sig")
+
+ program {
+ name: "camera_icon,normal";
+ source: "prog";
+ signal: "camera_icon,normal";
+ script: { set_state(PART:"camera_icon", "normal", 0.0); }
+ }
+ program {
+ name: "camera_icon,invisible";
+ source: "prog";
+ signal: "camera_icon,invisible";
+ script: { set_state(PART:"camera_icon", "dim", 0.0); }
+ }
+ }/*end programs*/
+ }/*end group*/
+
+ group {
+ name: "recording_button";
+
+ images {
+ image: CAMCORDER_SHUTTER_ICON_IMAGE COMP;
+ image: CAMCORDER_SHUTTER_ICON_PRESS_IMAGE COMP;
+ image: CAMCORDER_SHUTTER_ICON_DIM_IMAGE COMP;
+ image: CAMCORDER_PAUSE_ICON_IMAGE COMP;
+ image: CAMCORDER_PAUSE_ICON_PRESS_IMAGE COMP;
+ }
+
+ parts {
+ part { name: "recording_button";
+ type: IMAGE;
+ mouse_events: 1;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ align: 0.5 0.5;
+ rel1 { relative: 0.0 0.0;}
+ rel2 { relative: 1.0 1.0;}
+ visible: 0;
+ }
+ description {
+ state: "normal" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ image { normal: CAMCORDER_SHUTTER_ICON_IMAGE; }
+ }
+ description {
+ state: "press" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ image { normal: CAMCORDER_SHUTTER_ICON_PRESS_IMAGE; }
+ }
+ description {
+ state: "dim" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ image { normal: CAMCORDER_SHUTTER_ICON_DIM_IMAGE; }
+ }
+ }
+ part { name: "recording_pause_button";
+ type: IMAGE;
+ mouse_events: 1;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ align: 0.5 0.5;
+ rel1 { relative: 0.0 0.0;}
+ rel2 { relative: 1.0 1.0;}
+ visible: 0;
+ }
+ description {
+ state: "normal" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ image { normal: CAMCORDER_PAUSE_ICON_IMAGE; }
+ }
+ description {
+ state: "press" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ image { normal: CAMCORDER_PAUSE_ICON_PRESS_IMAGE; }
+ }
+ }
+ }/*end parts*/
+
+ programs {
+ TOOLBAR_RIGHT_ITEM_PROGRAM("recording_button", "press_shutter_sig", "release_shutter_sig", "click_shutter_sig")
+ TOOLBAR_RIGHT_ITEM_PROGRAM("recording_pause_button", "press_shutter_sig", "release_shutter_sig", "click_shutter_sig")
+ }/*end programs*/
+ }/*end group*/
+
+ group {
+ name: "recording_stop_button";
+
+ images {
+ image: CAMCORDER_STOP_ICON_IMAGE COMP;
+ image: CAMCORDER_STOP_ICON_PRESS_IMAGE COMP;
+ }
+
+ parts {
+ part { name: "recording_stop_button";
+ type: IMAGE;
+ mouse_events: 1;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ align: 0.5 0.5;
+ rel1 { relative: 0.0 0.0;}
+ rel2 { relative: 1.0 1.0;}
+ visible: 0;
+ }
+ description {
+ state: "normal" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ image { normal: CAMCORDER_STOP_ICON_IMAGE; }
+ }
+ description {
+ state: "press" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ image { normal: CAMCORDER_STOP_ICON_PRESS_IMAGE; }
+ }
+ }
+ }/*end parts*/
+
+ programs {
+ TOOLBAR_RIGHT_ITEM_PROGRAM("recording_stop_button", "press_shutter_sig", "release_shutter_sig", "click_shutter_sig")
+ }/*end programs*/
+ }/*end group*/
+
+ group {
+ name: "toolbar_quickview_item";
+
+ images {
+ image: THUMBNAIL_BG_NORMAL_IMAGE COMP;
+ }
+
+ parts {
+ part { name: "bg";
+ type: IMAGE;
+ mouse_events: 1;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ rel1 { relative: 0.0 0.0;}
+ rel2 { relative: 1.0 1.0;}
+ image {
+ normal: THUMBNAIL_BG_NORMAL_IMAGE ;
+ }
+ }
+ description {
+ state: "invisible" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "thumbnail";
+ type: SWALLOW;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ rel1 { relative: 1/9 1/9; to: "bg"; }
+ rel2 { relative: 8/9 8/9; to: "bg"; }
+ }
+ description {
+ state: "invisible" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+
+ part { name: "thumbnail_area"; /*note: just for c codes get thumbnail x,y,w,h*/
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ rel1 { relative: 0.0 0.0; to: "thumbnail"; }
+ rel2 { relative: 1.0 1.0; to: "thumbnail"; }
+ color: 0 0 0 0;
+ }
+ }
+
+ }/*end parts*/
+
+ programs {
+ program {
+ name: "quickview_bg,mouse,down,1";
+ signal: "mouse,down,1";
+ source: "bg";
+ action: SIGNAL_EMIT "landscape,quickview,press" "toolbar_signal";
+ }
+ program {
+ name: "quickview_bg,mouse,up,1";
+ signal: "mouse,up,1";
+ source: "bg";
+ action: SIGNAL_EMIT "landscape,quickview,release" "toolbar_signal";
+ }
+ program {
+ name: "prog_set_default";
+ source: "prog";
+ signal: "SET_DEFAULT";
+ script: {
+ set_state(PART:"bg", "default", 0.0);
+ set_state(PART:"thumbnail", "default", 0.0);
+ }
+ }
+ program {
+ name: "prog_set_invisible";
+ source: "prog";
+ signal: "SET_INVISIBLE";
+ script: {
+ set_state(PART:"bg", "invisible", 0.0);
+ set_state(PART:"thumbnail", "invisible", 0.0);
+ }
+ }
+ }/*end programs*/
+ }/*end toolbar_quickview_item*/
+
+ group{
+ name: "toolbar_backbutton_item";
+
+ images{
+ image: BACK_BUTTON_NORMAL_IMAGE COMP;
+ image: BACK_BUTTON_PRESS_IMAGE COMP;
+ }
+
+ parts{
+ part{
+ name: "back_button";
+ type: IMAGE;
+ mouse_events: 1;
+ scale: 1;
+ description{
+ state: "default" 0.0;
+ rel1 { relative: 0.0 0.0;}
+ rel2 { relative: 1.0 1.0;}
+ image {
+ normal : BACK_BUTTON_NORMAL_IMAGE;
+ }
+ }
+ description{
+ state: "press" 0.0;
+ rel1 { relative: 0.0 0.0;}
+ rel2 { relative: 1.0 1.0;}
+ image {
+ normal : BACK_BUTTON_PRESS_IMAGE;
+ }
+ }
+ }
+ }/*end parts*/
+
+ programs {
+ program {
+ name: "back_button_press";
+ signal: "mouse,down,1";
+ source: "back_button";
+ action: STATE_SET "press" 0.0;
+ target: "back_button";
+ }
+ program {
+ name: "back_button_release";
+ signal: "mouse,up,1";
+ source: "back_button";
+ action: STATE_SET "default" 0.0;
+ target: "back_button";
+ }
+ program {
+ name: "back_button_clicked";
+ signal: "mouse,clicked,1";
+ source: "back_button";
+ action: SIGNAL_EMIT "landscape,backbutton,clicked" "toolbar_signal";
+ }
+ }/*end programs*/
+ }/*end toolbar_backbutton_item*/
+
+ group{
+ name: "toolbar_cafbutton_item";
+
+ parts{
+ part{
+ name: "caf_button";
+ type: IMAGE;
+ scale: 1;
+ mouse_events: 1;
+ description{
+ state: "default" 0.0;
+ rel1 { relative: 0.0 0.0;}
+ rel2 { relative: 1.0 1.0;}
+ visible: 0;
+ }
+ description{
+ state: "normal" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ image {
+ normal : CAF_BUTTON_NORMAL_IMAGE;
+ }
+ }
+ description{
+ state: "press" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ image {
+ normal : CAF_BUTTON_PRESS_IMAGE;
+ }
+ }
+ }
+ }/*end parts*/
+
+ programs {
+ program {
+ name: "caf_button_press";
+ signal: "mouse,down,1";
+ source: "caf_button";
+ action: STATE_SET "press" 0.0;
+ target: "caf_button";
+ }
+ program {
+ name: "caf_button_release";
+ signal: "mouse,up,1";
+ source: "caf_button";
+ action: STATE_SET "normal" 0.0;
+ target: "caf_button";
+ }
+ program {
+ name: "caf_button_clicked";
+ signal: "mouse,clicked,1";
+ source: "caf_button";
+ action: SIGNAL_EMIT "caf_button,clicked" "toolbar_signal";
+ }
+ program {
+ name: "caf_button_normal";
+ source: "prog";
+ signal: "caf_button,normal";
+ script: {
+ set_state(PART:"caf_button", "normal", 0.0);
+ }
+ }
+ program {
+ name: "caf_button_default";
+ source: "prog";
+ signal: "caf_button,invisible";
+ script: {
+ set_state(PART:"caf_button", "default", 0.0);
+ }
+ }
+ }/*end programs*/
+ }/*end toolbar_cafbutton_item*/
+
+ group{
+ name: "toolbar_capture_button_item";
+
+ images{
+ image: SNAPSHOT_PRESS_IMAGE COMP;
+ image: SNAPSHOT_NORMAL_IMAGE COMP;
+ }
+
+ parts{
+ part{
+ name: "capture_button";
+ type: IMAGE;
+ mouse_events: 1;
+ scale: 1;
+ description{
+ state: "default" 0.0;
+ rel1 { relative: 0.0 0.0;}
+ rel2 { relative: 1.0 1.0;}
+ image {
+ normal : SNAPSHOT_NORMAL_IMAGE;
+ }
+ }
+ description{
+ state: "press" 0.0;
+ rel1 { relative: 0.0 0.0;}
+ rel2 { relative: 1.0 1.0;}
+ image {
+ normal : SNAPSHOT_PRESS_IMAGE;
+ }
+ }
+ }
+ }/*end parts*/
+
+ programs {
+ program {
+ name: "capture_button_press";
+ signal: "mouse,down,1";
+ source: "capture_button";
+ action: STATE_SET "press" 0.0;
+ target: "capture_button";
+ }
+ program {
+ name: "capture_button_release";
+ signal: "mouse,up,1";
+ source: "capture_button";
+ action: STATE_SET "default" 0.0;
+ target: "capture_button";
+ }
+ program {
+ name: "capture_button_clicked";
+ signal: "mouse,clicked,1";
+ source: "capture_button";
+ action: SIGNAL_EMIT "capture_button_click" "capture_button_click";
+ }
+ }/*end programs*/
+ }
+}/*end collections*/
+//end file
diff --git a/edc/cam_toolbar_layout_vertical_inc.edc b/edc/cam_toolbar_layout_vertical_inc.edc
new file mode 100755
index 0000000..f5099ff
--- /dev/null
+++ b/edc/cam_toolbar_layout_vertical_inc.edc
@@ -0,0 +1,353 @@
+/*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.1 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://floralicense.org/license/
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+
+#ifndef __H_EDC_CAM_TOOLBAR_LAYOUT_INC_EDC_H__
+#define __H_EDC_CAM_TOOLBAR_LAYOUT_INC_EDC_H__
+
+#define SETTING_TOOLBAR_W 1156
+#define SETTING_TOOLBAR_H 116
+
+#define TOOLBAR_ITEM_W 86
+#define TOOLBAR_ITEM_H 86
+
+#define TOOLBAR_0_X 38
+#define TOOLBAR_0_Y 594
+
+#define TOOLBAR_1_X 38
+#define TOOLBAR_1_Y 454
+
+#define TOOLBAR_2_X 38
+#define TOOLBAR_2_Y 317
+
+#define TOOLBAR_3_X 38
+#define TOOLBAR_3_Y 180
+
+#define TOOLBAR_4_X 38
+#define TOOLBAR_4_Y 40
+
+#define SHUTTER_X 1146
+#define SHUTTER_Y 194
+#define SHUTTER_W 108
+#define SHUTTER_H 214
+
+#define BACKBTN_X 1146
+#define BACKBTN_Y 18
+#define BACKBTN_W 108
+#define BACKBTN_H 108
+
+#define QUICKVIEW_X 1146
+#define QUICKVIEW_Y 604
+#define QUICKVIEW_W 108
+#define QUICKVIEW_H 108
+
+#define RECORDINGBTN_X 1146
+#define RECORDINGBTN_Y 418
+#define RECORDINGBTN_W 108
+#define RECORDINGBTN_H 108
+
+#define REC_STOP_BTN_X 1146
+#define REC_STOP_BTN_Y 594
+#define REC_STOP_BTN_W 108
+#define REC_STOP_BTN_H 108
+
+#define CAF_BUTTON_X 38
+#define CAF_BUTTON_Y 606
+#define CAF_BUTTON_W 87
+#define CAF_BUTTON_H 88
+
+#define CAMERA_BUTTON_X 38
+#define CAMERA_BUTTON_Y 65
+#define CAMERA_BUTTON_W 61
+#define CAMERA_BUTTON_H 61
+#define CAMCORDER_BUTTON_X 38
+#define CAMCORDER_BUTTON_Y 109
+#define CAMCORDER_BUTTON_W 61
+#define CAMCORDER_BUTTON_H 61
+#define CAMERA_ICON_X 38
+#define CAMERA_ICON_Y 10
+#define CAMERA_ICON_W 56
+#define CAMERA_ICON_H 48
+
+images {
+ /*item_button*/
+ image: BUTTON_BG_NORMAL_IMAGE COMP;
+ image: BUTTON_BG_PRESS_IMAGE COMP;
+
+ image: SNAPSHOT_PRESS_IMAGE COMP;
+ image: SNAPSHOT_NORMAL_IMAGE COMP;
+ image: LEFT_TOOLBAR_BG_VER_IMAGE COMP;
+ image: RIGHT_TOOLBAR_BG_VER_IMAGE COMP;
+
+ image: CAF_BUTTON_NORMAL_IMAGE COMP;
+ image: CAF_BUTTON_PRESS_IMAGE COMP;
+}
+
+#define TOOLBAR_BACKGROUND_IMAGE(part_name, x, y, w, h, img) \
+ part { \
+ name: part_name; \
+ type: IMAGE; \
+ scale: 1;\
+ description { \
+ state: "default" 0.0;\
+ rel1 { relative: (1 - (y+h)/MAIN_H) (x)/MAIN_W; } \
+ rel2 { relative: (1 - (y)/MAIN_H) (x+w)/MAIN_W; } \
+ image { normal: img; } \
+ }\
+ description{ \
+ state: "hide" 0.0; \
+ inherit:"default" 0.0; \
+ visible: 0; \
+ } \
+ }
+
+#define TOOLBAR_ITEM_BUTTON_WITH_BG(button_name, x, y, bg_w, bg_h) \
+ part { name: button_name; \
+ type: IMAGE; \
+ mouse_events: 1; \
+ scale: 1;\
+ description { \
+ state: "default" 0.0; \
+ rel1 { relative: (1 - (y+TOOLBAR_ITEM_H)/(bg_h)) (x)/(bg_w); offset: 0 0;} \
+ rel2 { relative: (1 - (y)/(bg_h)) (x+TOOLBAR_ITEM_W)/(bg_w); offset: 0 0;} \
+ visible: 0; \
+ } \
+ description { \
+ state: "normal" 0.0; \
+ inherit: "default" 0.0; \
+ visible: 1; \
+ image { normal: BUTTON_BG_NORMAL_IMAGE; } \
+ } \
+ description { \
+ state: "press" 0.0; \
+ inherit: "default" 0.0; \
+ visible: 1; \
+ image { normal: BUTTON_BG_PRESS_IMAGE; } \
+ } \
+ description { \
+ state: "dim" 0.0; \
+ inherit: "default" 0.0; \
+ visible: 0; \
+ } \
+ }
+
+#define TOOLBAR_ITEM_SWALLOW_ICON_WITH_BG(icon_name, x, y, w, h, bg_w, bg_h) \
+ part { name: icon_name; \
+ type: SWALLOW; \
+ mouse_events: 1; \
+ scale: 1;\
+ description { \
+ state: "default" 0.0; \
+ rel1 { relative: (1 - (y+h)/(bg_h)) (x)/(bg_w); offset: 0 0;} \
+ rel2 { relative: (1 - (y)/(bg_h)) (x+w)/(bg_w); offset: 0 0;} \
+ visible: 0; \
+ } \
+ description { \
+ state: "normal" 0.0; \
+ inherit: "default" 0.0; \
+ visible: 1; \
+ } \
+ description { \
+ state: "dim" 0.0; \
+ inherit: "default" 0.0; \
+ visible: 1; \
+ } \
+ } \
+ part { name: icon_name"_event"; \
+ type: RECT; \
+ mouse_events: 1; \
+ scale: 1;\
+ description { \
+ state: "default" 0.0; \
+ rel1.to: icon_name; \
+ rel2.to: icon_name; \
+ color: 0 0 0 0; \
+ visible: 1; \
+ } \
+ }
+
+#define TOOLBAR_ITEM_SWALLOW_BUTTON_WITH_BG(icon_name, x, y, w, h, bg_w, bg_h) \
+ part { name: icon_name; \
+ type: SWALLOW; \
+ mouse_events: 1; \
+ scale: 1;\
+ description { \
+ state: "default" 0.0; \
+ rel1 { relative: (1 - (y+h)/(bg_h)) (x)/(bg_w); offset: 1 0;} \
+ rel2 { relative: (1 - (y)/(bg_h)) (x+w)/(bg_w); offset: 0 -1;} \
+ } \
+ }
+
+#define TOOLBAR_LEFT_ITEM_PROGRAM(button_name, icon_name, press_signal, release_signal, click_signal) \
+ program { \
+ name: "mouse_down_"icon_name; \
+ signal: "mouse,down,1"; \
+ source: icon_name"_event"; \
+ script {\
+ new st[31];\
+ new Float:vl;\
+ get_state(PART:icon_name, st, 30, vl);\
+ if (strcmp(st, "normal") == 0) { \
+ emit( press_signal, "toolbar_signal" );\
+ } \
+ }\
+ } \
+ program { \
+ name: "mouse_up_"icon_name; \
+ signal: "mouse,up,1"; \
+ source: icon_name"_event"; \
+ script {\
+ new st[31];\
+ new Float:vl;\
+ get_state(PART:icon_name, st, 30, vl);\
+ if (strcmp(st, "normal") == 0) { \
+ emit( release_signal, "toolbar_signal" );\
+ } \
+ }\
+ }\
+ program { \
+ name: "mouse_clicked_"icon_name; \
+ signal: "mouse,clicked,1"; \
+ source: icon_name"_event"; \
+ script {\
+ new st[31];\
+ new Float:vl;\
+ get_state(PART:icon_name, st, 30, vl);\
+ if (strcmp(st, "normal") == 0) { \
+ emit( click_signal, "toolbar_signal" );\
+ } \
+ }\
+ }\
+ program { \
+ name: icon_name",invisible"; \
+ source: "prog"; \
+ signal: icon_name",invisible"; \
+ script: { \
+ set_state(PART:button_name, "default", 0.0); \
+ set_state(PART:icon_name, "default", 0.0); \
+ } \
+ } \
+ program { \
+ name: icon_name",normal"; \
+ source: "prog"; \
+ signal: icon_name",normal"; \
+ script: { \
+ set_state(PART:button_name, "default", 0.0); \
+ set_state(PART:icon_name, "normal", 0.0); \
+ } \
+ } \
+ program { \
+ name: icon_name",edit"; \
+ source: "prog"; \
+ signal: icon_name",edit"; \
+ script: { \
+ set_state(PART:button_name, "normal", 0.0); \
+ set_state(PART:icon_name, "normal", 0.0); \
+ } \
+ } \
+ program { \
+ name: icon_name",dim"; \
+ source: "prog"; \
+ signal: icon_name",dim"; \
+ script: { \
+ set_state(PART:button_name, "default", 0.0); \
+ set_state(PART:icon_name, "dim", 0.0); \
+ } \
+ }
+
+#define TOOLBAR_RIGHT_ITEM_PROGRAM(icon_name, press_signal_name, release_signal_name, click_signal_name) \
+ program { \
+ name: "mouse_down_"icon_name; \
+ signal: "mouse,down,1"; \
+ source: icon_name; \
+ script {\
+ new st[31];\
+ new Float:vl;\
+ get_state(PART:icon_name, st, 30, vl);\
+ if (strcmp(st, "dim") != 0) { \
+ emit( press_signal_name, "toolbar_signal" );\
+ } \
+ }\
+ } \
+ program { \
+ name: "mouse_up_"icon_name; \
+ signal: "mouse,up,1"; \
+ source: icon_name; \
+ script {\
+ new st[31];\
+ new Float:vl;\
+ get_state(PART:icon_name, st, 30, vl);\
+ if (strcmp(st, "dim") != 0) { \
+ emit( release_signal_name, "toolbar_signal" );\
+ } \
+ }\
+ }\
+ program { \
+ name: "mouse_clicked_"icon_name; \
+ signal: "mouse,clicked,1"; \
+ source: icon_name; \
+ script {\
+ new st[31];\
+ new Float:vl;\
+ get_state(PART:icon_name, st, 30, vl);\
+ if (strcmp(st, "dim") != 0) \
+ emit( click_signal_name, "toolbar_signal" );\
+ }\
+ }\
+ program { \
+ name: icon_name",invisible"; \
+ source: "prog"; \
+ signal: icon_name",invisible"; \
+ script: { \
+ set_state(PART:icon_name, "default", 0.0); \
+ } \
+ } \
+ program { \
+ name: icon_name",normal"; \
+ source: "prog"; \
+ signal: icon_name",normal"; \
+ script: { \
+ set_state(PART:icon_name, "normal", 0.0); \
+ } \
+ } \
+ program { \
+ name: icon_name",press"; \
+ source: "prog"; \
+ signal: icon_name",press"; \
+ script: { \
+ set_state(PART:icon_name, "press", 0.0); \
+ } \
+ } \
+ program { \
+ name: icon_name",dim"; \
+ source: "prog"; \
+ signal: icon_name",dim"; \
+ script: { \
+ set_state(PART:icon_name, "dim", 0.0); \
+ } \
+ }
+
+#define TOOLBAR_ITEM_BUTTON(name, x, y) \
+ TOOLBAR_ITEM_BUTTON_WITH_BG(name, x, y, MAIN_W, MAIN_H)
+
+#define TOOLBAR_ITEM_SWALLOW_ICON(name, x, y, w, h) \
+ TOOLBAR_ITEM_SWALLOW_ICON_WITH_BG(name, x, y, w, h, MAIN_W, MAIN_H)
+
+#define TOOLBAR_ITEM_SWALLOW_BUTTON(name, x, y, w, h) \
+ TOOLBAR_ITEM_SWALLOW_BUTTON_WITH_BG(name, x, y, w, h, MAIN_W, MAIN_H)
+
+#endif /*__H_EDC_CAM_TOOLBAR_LAYOUT_INC_EDC_H__*/
+//end files
diff --git a/edc/cam_toolbar_layout_vertical_inverse.edc b/edc/cam_toolbar_layout_vertical_inverse.edc
new file mode 100755
index 0000000..c84ee63
--- /dev/null
+++ b/edc/cam_toolbar_layout_vertical_inverse.edc
@@ -0,0 +1,618 @@
+/*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.1 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://floralicense.org/license/
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+
+#include "cam_funcs.edc"
+#include "../include/edc_image_name.h"
+#include "cam_toolbar_layout_vertical_inverse_inc.edc"
+#include "cam_setting_popup_layout_inc.edc"
+
+
+collections {
+
+ group {
+ name: "toolbar";
+ min: MAIN_H MAIN_W;
+
+ parts {
+ part {
+ name: "bg";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ min: MAIN_H MAIN_W;
+ max: MAIN_H MAIN_W;
+ fixed: 1 1;
+ rel1 { relative: 0.0 0.0;}
+ rel2 { relative: 1.0 1.0;}
+ }
+ }
+
+ TOOLBAR_BACKGROUND_IMAGE("left_bg", 0, 0, TOOLBAR_W, MAIN_H, RIGHT_TOOLBAR_BG_VER_IMAGE)
+ TOOLBAR_BACKGROUND_IMAGE("right_bg", MAIN_W-TOOLBAR_W, 0, TOOLBAR_W, MAIN_H, LEFT_TOOLBAR_BG_VER_IMAGE)
+
+ part { name: "popup_area";
+ type: SWALLOW;
+ mouse_events: 0;
+ scale: 1;
+ description{
+ state:"default" 0.0;
+ rel1{ relative: 0.0 (1 - (MAIN_W-TOOLBAR_W)/MAIN_W); to: "bg";}
+ rel2{ relative: 1.0 (1 - TOOLBAR_W/MAIN_W); to: "bg";}
+ }
+ }
+
+ part { name: "setting_popup";
+ type: SWALLOW;
+ scale: 1;
+ description{
+ state:"default" 0.0;
+ rel1{ relative: 0.0 (1 - (MAIN_W-TOOLBAR_W)/MAIN_W) ; to: "bg";}
+ rel2{ relative: 1.0 (1 - TOOLBAR_W/MAIN_W); to: "bg";}
+ }
+ }
+
+ part { name: "shortcuts_popup";
+ type: SWALLOW;
+ scale: 1;
+ description{
+ state:"default" 0.0;
+ rel1{ relative: 0.0 (1 - (TOOLBAR_W+720)/MAIN_W); to: "bg";}
+ rel2{ relative: 1.0 (1 - (TOOLBAR_W+120)/MAIN_W); to: "bg";}
+ }
+ }
+
+ part { name: "shortcuts_popup_description";
+ type: SWALLOW;
+ scale: 1;
+ description{
+ state:"default" 0.0;
+ rel1{ relative: 0.0 (1 - (TOOLBAR_W+120)/MAIN_W); to: "bg";}
+ rel2{ relative: 1.0 (1 - (TOOLBAR_W)/MAIN_W); to: "bg";}
+ }
+ }
+
+ TOOLBAR_ITEM_BUTTON("toolbar_0_button", TOOLBAR_0_X, TOOLBAR_0_Y)
+ TOOLBAR_ITEM_BUTTON("toolbar_1_button", TOOLBAR_1_X, TOOLBAR_1_Y)
+ TOOLBAR_ITEM_BUTTON("toolbar_2_button", TOOLBAR_2_X, TOOLBAR_2_Y)
+ TOOLBAR_ITEM_BUTTON("toolbar_3_button", TOOLBAR_3_X, TOOLBAR_3_Y)
+ TOOLBAR_ITEM_BUTTON("toolbar_4_button", TOOLBAR_4_X, TOOLBAR_4_Y)
+
+ TOOLBAR_ITEM_SWALLOW_ICON("toolbar_0_icon", TOOLBAR_0_X, TOOLBAR_0_Y, TOOLBAR_ITEM_W, TOOLBAR_ITEM_H)
+ TOOLBAR_ITEM_SWALLOW_ICON("toolbar_1_icon", TOOLBAR_1_X, TOOLBAR_1_Y, TOOLBAR_ITEM_W, TOOLBAR_ITEM_H)
+ TOOLBAR_ITEM_SWALLOW_ICON("toolbar_2_icon", TOOLBAR_2_X, TOOLBAR_2_Y, TOOLBAR_ITEM_W, TOOLBAR_ITEM_H)
+ TOOLBAR_ITEM_SWALLOW_ICON("toolbar_3_icon", TOOLBAR_3_X, TOOLBAR_3_Y, TOOLBAR_ITEM_W, TOOLBAR_ITEM_H)
+ TOOLBAR_ITEM_SWALLOW_ICON("toolbar_4_icon", TOOLBAR_4_X, TOOLBAR_4_Y, TOOLBAR_ITEM_W, TOOLBAR_ITEM_H)
+
+ TOOLBAR_ITEM_SWALLOW_BUTTON("shutter_button", SHUTTER_X, SHUTTER_Y, SHUTTER_W, SHUTTER_H)
+ TOOLBAR_ITEM_SWALLOW_BUTTON("recording_button", RECORDINGBTN_X, RECORDINGBTN_Y, RECORDINGBTN_W, RECORDINGBTN_H)
+ TOOLBAR_ITEM_SWALLOW_BUTTON("recording_stop_button",REC_STOP_BTN_X, REC_STOP_BTN_Y, REC_STOP_BTN_W, REC_STOP_BTN_H)
+ TOOLBAR_ITEM_SWALLOW_BUTTON("quickview_item", QUICKVIEW_X, QUICKVIEW_Y, QUICKVIEW_W, QUICKVIEW_H)
+ TOOLBAR_ITEM_SWALLOW_BUTTON("backbutton_item", BACKBTN_X, BACKBTN_Y, BACKBTN_W, BACKBTN_H)
+ TOOLBAR_ITEM_SWALLOW_BUTTON("cafbutton_item", CAF_BUTTON_X, CAF_BUTTON_Y, CAF_BUTTON_W, CAF_BUTTON_H)
+ }/*end parts*/
+
+ programs {
+ program {
+ name: "toolbar_bg,show";
+ source: "prog";
+ signal: "toolbar_bg,show";
+ script: {
+ set_state(PART:"left_bg", "default", 0.0);
+ set_state(PART:"right_bg", "default", 0.0);
+ }
+ }
+ program {
+ name: "toolbar_bg,hide";
+ source: "prog";
+ signal: "toolbar_bg,hide";
+ script: {
+ set_state(PART:"left_bg", "hide", 0.0);
+ set_state(PART:"right_bg", "hide", 0.0);
+ }
+ }
+ TOOLBAR_LEFT_ITEM_PROGRAM("toolbar_0_button", "toolbar_0_icon", "toolbar_0_press_sig", "toolbar_0_release_sig", "toolbar_0_click_sig")
+ TOOLBAR_LEFT_ITEM_PROGRAM("toolbar_1_button", "toolbar_1_icon", "toolbar_1_press_sig", "toolbar_1_release_sig", "toolbar_1_click_sig")
+ TOOLBAR_LEFT_ITEM_PROGRAM("toolbar_2_button", "toolbar_2_icon", "toolbar_2_press_sig", "toolbar_2_release_sig", "toolbar_2_click_sig")
+ TOOLBAR_LEFT_ITEM_PROGRAM("toolbar_3_button", "toolbar_3_icon", "toolbar_3_press_sig", "toolbar_3_release_sig", "toolbar_3_click_sig")
+ TOOLBAR_LEFT_ITEM_PROGRAM("toolbar_4_button", "toolbar_4_icon", "toolbar_4_press_sig", "toolbar_4_release_sig", "toolbar_4_click_sig")
+ }/*end programs*/
+ }/*end group :toolbar*/
+
+ group {
+ name: "shutter_button";
+
+ images {
+ image: SHUTTER_NORMAL_VER_INVERSE_IMAGE COMP;
+ image: SHUTTER_PRESS_VER_IMAGE COMP;
+ image: SHUTTER_DIM_VER_IMAGE COMP;
+ }
+
+ parts {
+ part { name: "capture_button";
+ type: IMAGE;
+ mouse_events: 1;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ align: 0.5 0.5;
+ rel1 { relative: 0.0 0.0;}
+ rel2 { relative: 1.0 1.0;}
+ visible: 0;
+ }
+ description {
+ state: "normal" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ image { normal: SHUTTER_NORMAL_VER_INVERSE_IMAGE; }
+ }
+ description {
+ state: "press" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ image { normal: SHUTTER_PRESS_VER_IMAGE; }
+ }
+ description {
+ state: "dim" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ image { normal: SHUTTER_DIM_VER_IMAGE; }
+ }
+ }
+
+ part { name: "camera_icon";
+ type: SWALLOW;
+ scale: 1;
+ mouse_events: 0;
+ description {
+ state: "default" 0.0;
+ aspect: 1.0 1.0;
+ align: 0.5 0.5;
+ max: 60 60;
+ min: 60 60;
+ fixed:1 1;
+ rel1 { relative: 0.0 0.0; to: "capture_button";}
+ rel2 { relative: 1.0 1.0; to: "capture_button";}
+ visible: 1;
+ }
+
+ description {
+ state: "normal" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ description {
+ state: "dim" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ }/*end parts*/
+
+ programs {
+ TOOLBAR_RIGHT_ITEM_PROGRAM("capture_button", "press_shutter_sig", "release_shutter_sig", "click_shutter_sig")
+
+ program {
+ name: "camera_icon,normal";
+ source: "prog";
+ signal: "camera_icon,normal";
+ script: { set_state(PART:"camera_icon", "normal", 0.0); }
+ }
+ program {
+ name: "camera_icon,invisible";
+ source: "prog";
+ signal: "camera_icon,invisible";
+ script: { set_state(PART:"camera_icon", "dim", 0.0); }
+ }
+ }/*end programs*/
+ }/*end group*/
+
+ group {
+ name: "recording_button";
+
+ images {
+ image: CAMCORDER_SHUTTER_ICON_IMAGE COMP;
+ image: CAMCORDER_SHUTTER_ICON_PRESS_IMAGE COMP;
+ image: CAMCORDER_SHUTTER_ICON_DIM_IMAGE COMP;
+ image: CAMCORDER_PAUSE_ICON_IMAGE COMP;
+ image: CAMCORDER_PAUSE_ICON_PRESS_IMAGE COMP;
+ }
+
+ parts {
+ part { name: "recording_button";
+ type: IMAGE;
+ mouse_events: 1;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ align: 0.5 0.5;
+ rel1 { relative: 0.0 0.0;}
+ rel2 { relative: 1.0 1.0;}
+ visible: 0;
+ }
+ description {
+ state: "normal" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ image { normal: CAMCORDER_SHUTTER_ICON_IMAGE; }
+ }
+ description {
+ state: "press" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ image { normal: CAMCORDER_SHUTTER_ICON_PRESS_IMAGE; }
+ }
+ description {
+ state: "dim" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ image { normal: CAMCORDER_SHUTTER_ICON_DIM_IMAGE; }
+ }
+ }
+ part { name: "recording_pause_button";
+ type: IMAGE;
+ mouse_events: 1;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ align: 0.5 0.5;
+ rel1 { relative: 0.0 0.0;}
+ rel2 { relative: 1.0 1.0;}
+ visible: 0;
+ }
+ description {
+ state: "normal" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ image { normal: CAMCORDER_PAUSE_ICON_IMAGE; }
+ }
+ description {
+ state: "press" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ image { normal: CAMCORDER_PAUSE_ICON_PRESS_IMAGE; }
+ }
+ }
+ }/*end parts*/
+
+ programs {
+ TOOLBAR_RIGHT_ITEM_PROGRAM("recording_button", "press_shutter_sig", "release_shutter_sig", "click_shutter_sig")
+ TOOLBAR_RIGHT_ITEM_PROGRAM("recording_pause_button", "press_shutter_sig", "release_shutter_sig", "click_shutter_sig")
+ }/*end programs*/
+ }/*end group*/
+
+ group {
+ name: "recording_stop_button";
+
+ images {
+ image: CAMCORDER_STOP_ICON_IMAGE COMP;
+ image: CAMCORDER_STOP_ICON_PRESS_IMAGE COMP;
+ }
+
+ parts {
+ part { name: "recording_stop_button";
+ type: IMAGE;
+ mouse_events: 1;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ align: 0.5 0.5;
+ rel1 { relative: 0.0 0.0;}
+ rel2 { relative: 1.0 1.0;}
+ visible: 0;
+ }
+ description {
+ state: "normal" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ image { normal: CAMCORDER_STOP_ICON_IMAGE; }
+ }
+ description {
+ state: "press" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ image { normal: CAMCORDER_STOP_ICON_PRESS_IMAGE; }
+ }
+ }
+ }/*end parts*/
+
+ programs {
+ TOOLBAR_RIGHT_ITEM_PROGRAM("recording_stop_button", "press_shutter_sig", "release_shutter_sig", "click_shutter_sig")
+ }/*end programs*/
+ }/*end group*/
+
+ group {
+ name: "toolbar_quickview_item";
+
+ images {
+ image: THUMBNAIL_BG_NORMAL_IMAGE COMP;
+ }
+
+ parts {
+ part { name: "bg";
+ type: IMAGE;
+ mouse_events: 1;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ rel1 { relative: 0.0 0.0;}
+ rel2 { relative: 1.0 1.0;}
+ image {
+ normal: THUMBNAIL_BG_NORMAL_IMAGE ;
+ }
+ }
+ description {
+ state: "invisible" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "thumbnail";
+ type: SWALLOW;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ rel1 { relative: 1/9 1/9; to: "bg"; }
+ rel2 { relative: 8/9 8/9; to: "bg"; }
+ }
+ description {
+ state: "invisible" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+
+ part { name: "thumbnail_area"; /*note: just for c codes get thumbnail x,y,w,h*/
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ rel1 { relative: 0.0 0.0; to: "thumbnail"; }
+ rel2 { relative: 1.0 1.0; to: "thumbnail"; }
+ color: 0 0 0 0;
+ }
+ }
+
+ }/*end parts*/
+
+ programs {
+ program {
+ name: "quickview_bg,mouse,down,1";
+ signal: "mouse,down,1";
+ source: "bg";
+ action: SIGNAL_EMIT "landscape,quickview,press" "toolbar_signal";
+ }
+ program {
+ name: "quickview_bg,mouse,up,1";
+ signal: "mouse,up,1";
+ source: "bg";
+ action: SIGNAL_EMIT "landscape,quickview,release" "toolbar_signal";
+ }
+ program {
+ name: "prog_set_default";
+ source: "prog";
+ signal: "SET_DEFAULT";
+ script: {
+ set_state(PART:"bg", "default", 0.0);
+ set_state(PART:"thumbnail", "default", 0.0);
+ }
+ }
+ program {
+ name: "prog_set_invisible";
+ source: "prog";
+ signal: "SET_INVISIBLE";
+ script: {
+ set_state(PART:"bg", "invisible", 0.0);
+ set_state(PART:"thumbnail", "invisible", 0.0);
+ }
+ }
+ }/*end programs*/
+ }/*end toolbar_quickview_item*/
+
+ group{
+ name: "toolbar_backbutton_item";
+
+ images{
+ image: BACK_BUTTON_NORMAL_IMAGE COMP;
+ image: BACK_BUTTON_PRESS_IMAGE COMP;
+ }
+
+ parts{
+ part{
+ name: "back_button";
+ type: IMAGE;
+ mouse_events: 1;
+ scale: 1;
+ description{
+ state: "default" 0.0;
+ rel1 { relative: 0.0 0.0;}
+ rel2 { relative: 1.0 1.0;}
+ image {
+ normal : BACK_BUTTON_NORMAL_IMAGE;
+ }
+ }
+ description{
+ state: "press" 0.0;
+ rel1 { relative: 0.0 0.0;}
+ rel2 { relative: 1.0 1.0;}
+ image {
+ normal : BACK_BUTTON_PRESS_IMAGE;
+ }
+ }
+ }
+ }/*end parts*/
+
+ programs {
+ program {
+ name: "back_button_press";
+ signal: "mouse,down,1";
+ source: "back_button";
+ action: STATE_SET "press" 0.0;
+ target: "back_button";
+ }
+ program {
+ name: "back_button_release";
+ signal: "mouse,up,1";
+ source: "back_button";
+ action: STATE_SET "default" 0.0;
+ target: "back_button";
+ }
+ program {
+ name: "back_button_clicked";
+ signal: "mouse,clicked,1";
+ source: "back_button";
+ action: SIGNAL_EMIT "landscape,backbutton,clicked" "toolbar_signal";
+ }
+ }/*end programs*/
+ }/*end toolbar_backbutton_item*/
+
+ group{
+ name: "toolbar_cafbutton_item";
+
+ parts{
+ part{
+ name: "caf_button";
+ type: IMAGE;
+ scale: 1;
+ mouse_events: 1;
+ description{
+ state: "default" 0.0;
+ rel1 { relative: 0.0 0.0;}
+ rel2 { relative: 1.0 1.0;}
+ visible: 0;
+ }
+ description{
+ state: "normal" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ image {
+ normal : CAF_BUTTON_NORMAL_IMAGE;
+ }
+ }
+ description{
+ state: "press" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ image {
+ normal : CAF_BUTTON_PRESS_IMAGE;
+ }
+ }
+ }
+ }/*end parts*/
+
+ programs {
+ program {
+ name: "caf_button_press";
+ signal: "mouse,down,1";
+ source: "caf_button";
+ action: STATE_SET "press" 0.0;
+ target: "caf_button";
+ }
+ program {
+ name: "caf_button_release";
+ signal: "mouse,up,1";
+ source: "caf_button";
+ action: STATE_SET "normal" 0.0;
+ target: "caf_button";
+ }
+ program {
+ name: "caf_button_clicked";
+ signal: "mouse,clicked,1";
+ source: "caf_button";
+ action: SIGNAL_EMIT "caf_button,clicked" "toolbar_signal";
+ }
+ program {
+ name: "caf_button_normal";
+ source: "prog";
+ signal: "caf_button,normal";
+ script: {
+ set_state(PART:"caf_button", "normal", 0.0);
+ }
+ }
+ program {
+ name: "caf_button_default";
+ source: "prog";
+ signal: "caf_button,invisible";
+ script: {
+ set_state(PART:"caf_button", "default", 0.0);
+ }
+ }
+ }/*end programs*/
+ }/*end toolbar_cafbutton_item*/
+
+ group{
+ name: "toolbar_capture_button_item";
+
+ images{
+ image: SNAPSHOT_PRESS_IMAGE COMP;
+ image: SNAPSHOT_NORMAL_IMAGE COMP;
+ }
+
+ parts{
+ part{
+ name: "capture_button";
+ type: IMAGE;
+ mouse_events: 1;
+ scale: 1;
+ description{
+ state: "default" 0.0;
+ rel1 { relative: 0.0 0.0;}
+ rel2 { relative: 1.0 1.0;}
+ image {
+ normal : SNAPSHOT_NORMAL_IMAGE;
+ }
+ }
+ description{
+ state: "press" 0.0;
+ rel1 { relative: 0.0 0.0;}
+ rel2 { relative: 1.0 1.0;}
+ image {
+ normal : SNAPSHOT_PRESS_IMAGE;
+ }
+ }
+ }
+ }/*end parts*/
+
+ programs {
+ program {
+ name: "capture_button_press";
+ signal: "mouse,down,1";
+ source: "capture_button";
+ action: STATE_SET "press" 0.0;
+ target: "capture_button";
+ }
+ program {
+ name: "capture_button_release";
+ signal: "mouse,up,1";
+ source: "capture_button";
+ action: STATE_SET "default" 0.0;
+ target: "capture_button";
+ }
+ program {
+ name: "capture_button_clicked";
+ signal: "mouse,clicked,1";
+ source: "capture_button";
+ action: SIGNAL_EMIT "capture_button_click" "capture_button_click";
+ }
+ }/*end programs*/
+ }
+}/*end collections*/
+//end file
diff --git a/edc/cam_toolbar_layout_vertical_inverse_inc.edc b/edc/cam_toolbar_layout_vertical_inverse_inc.edc
new file mode 100755
index 0000000..827ee9c
--- /dev/null
+++ b/edc/cam_toolbar_layout_vertical_inverse_inc.edc
@@ -0,0 +1,353 @@
+/*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.1 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://floralicense.org/license/
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+
+#ifndef __H_EDC_CAM_TOOLBAR_LAYOUT_INC_EDC_H__
+#define __H_EDC_CAM_TOOLBAR_LAYOUT_INC_EDC_H__
+
+#define SETTING_TOOLBAR_W 1156
+#define SETTING_TOOLBAR_H 116
+
+#define TOOLBAR_ITEM_W 86
+#define TOOLBAR_ITEM_H 86
+
+#define TOOLBAR_0_X 38
+#define TOOLBAR_0_Y 594
+
+#define TOOLBAR_1_X 38
+#define TOOLBAR_1_Y 454
+
+#define TOOLBAR_2_X 38
+#define TOOLBAR_2_Y 317
+
+#define TOOLBAR_3_X 38
+#define TOOLBAR_3_Y 180
+
+#define TOOLBAR_4_X 38
+#define TOOLBAR_4_Y 40
+
+#define SHUTTER_X 1146
+#define SHUTTER_Y 194
+#define SHUTTER_W 108
+#define SHUTTER_H 214
+
+#define BACKBTN_X 1146
+#define BACKBTN_Y 18
+#define BACKBTN_W 108
+#define BACKBTN_H 108
+
+#define QUICKVIEW_X 1146
+#define QUICKVIEW_Y 604
+#define QUICKVIEW_W 108
+#define QUICKVIEW_H 108
+
+#define RECORDINGBTN_X 1146
+#define RECORDINGBTN_Y 418
+#define RECORDINGBTN_W 108
+#define RECORDINGBTN_H 108
+
+#define REC_STOP_BTN_X 1146
+#define REC_STOP_BTN_Y 594
+#define REC_STOP_BTN_W 108
+#define REC_STOP_BTN_H 108
+
+#define CAF_BUTTON_X 38
+#define CAF_BUTTON_Y 606
+#define CAF_BUTTON_W 87
+#define CAF_BUTTON_H 88
+
+#define CAMERA_BUTTON_X 38
+#define CAMERA_BUTTON_Y 65
+#define CAMERA_BUTTON_W 61
+#define CAMERA_BUTTON_H 61
+#define CAMCORDER_BUTTON_X 38
+#define CAMCORDER_BUTTON_Y 109
+#define CAMCORDER_BUTTON_W 61
+#define CAMCORDER_BUTTON_H 61
+#define CAMERA_ICON_X 38
+#define CAMERA_ICON_Y 10
+#define CAMERA_ICON_W 56
+#define CAMERA_ICON_H 48
+
+images {
+ /*item_button*/
+ image: BUTTON_BG_NORMAL_IMAGE COMP;
+ image: BUTTON_BG_PRESS_IMAGE COMP;
+
+ image: SNAPSHOT_PRESS_IMAGE COMP;
+ image: SNAPSHOT_NORMAL_IMAGE COMP;
+ image: LEFT_TOOLBAR_BG_VER_IMAGE COMP;
+ image: RIGHT_TOOLBAR_BG_VER_IMAGE COMP;
+
+ image: CAF_BUTTON_NORMAL_IMAGE COMP;
+ image: CAF_BUTTON_PRESS_IMAGE COMP;
+}
+
+#define TOOLBAR_BACKGROUND_IMAGE(part_name, x, y, w, h, img) \
+ part { \
+ name: part_name; \
+ type: IMAGE; \
+ scale: 1;\
+ description { \
+ state: "default" 0.0;\
+ rel1 { relative: (y)/MAIN_H (1 - (x+w)/MAIN_W); } \
+ rel2 { relative: (y+h)/MAIN_H (1 - (x)/MAIN_W); } \
+ image { normal: img; } \
+ } \
+ description{ \
+ state: "hide" 0.0; \
+ inherit:"default" 0.0; \
+ visible: 0; \
+ } \
+ }
+
+#define TOOLBAR_ITEM_BUTTON_WITH_BG(button_name, x, y, bg_w, bg_h) \
+ part { name: button_name; \
+ type: IMAGE; \
+ mouse_events: 1; \
+ scale: 1;\
+ description { \
+ state: "default" 0.0; \
+ rel1 { relative: (y)/(bg_h) (1 - (x+TOOLBAR_ITEM_W)/(bg_w)); offset: 0 1;} \
+ rel2 { relative: (y+TOOLBAR_ITEM_H)/(bg_h) (1 - (x)/(bg_w)); offset: 0 1;} \
+ visible: 0; \
+ } \
+ description { \
+ state: "normal" 0.0; \
+ inherit: "default" 0.0; \
+ visible: 1; \
+ image { normal: BUTTON_BG_NORMAL_IMAGE; } \
+ } \
+ description { \
+ state: "press" 0.0; \
+ inherit: "default" 0.0; \
+ visible: 1; \
+ image { normal: BUTTON_BG_PRESS_IMAGE; } \
+ } \
+ description { \
+ state: "dim" 0.0; \
+ inherit: "default" 0.0; \
+ visible: 0; \
+ } \
+ }
+
+#define TOOLBAR_ITEM_SWALLOW_ICON_WITH_BG(icon_name, x, y, w, h, bg_w, bg_h) \
+ part { name: icon_name; \
+ type: SWALLOW; \
+ mouse_events: 1; \
+ scale: 1;\
+ description { \
+ state: "default" 0.0; \
+ rel1 { relative: (y)/(bg_h) (1 - (x+w)/(bg_w)); offset: 0 1;} \
+ rel2 { relative: (y+h)/(bg_h) (1 - (x)/(bg_w)); offset: 0 1;} \
+ visible: 0; \
+ } \
+ description { \
+ state: "normal" 0.0; \
+ inherit: "default" 0.0; \
+ visible: 1; \
+ } \
+ description { \
+ state: "dim" 0.0; \
+ inherit: "default" 0.0; \
+ visible: 1; \
+ } \
+ } \
+ part { name: icon_name"_event"; \
+ type: RECT; \
+ mouse_events: 1; \
+ scale: 1;\
+ description { \
+ state: "default" 0.0; \
+ rel1.to: icon_name; \
+ rel2.to: icon_name; \
+ color: 0 0 0 0; \
+ visible: 1; \
+ } \
+ }
+
+#define TOOLBAR_ITEM_SWALLOW_BUTTON_WITH_BG(icon_name, x, y, w, h, bg_w, bg_h) \
+ part { name: icon_name; \
+ type: SWALLOW; \
+ mouse_events: 1; \
+ scale: 1;\
+ description { \
+ state: "default" 0.0; \
+ rel1 { relative: (y)/(bg_h) (1 - (x+w)/(bg_w)); offset: 0 1;} \
+ rel2 { relative: (y+h)/(bg_h) (1 - (x)/(bg_w)); offset: -1 0;} \
+ } \
+ }
+
+#define TOOLBAR_LEFT_ITEM_PROGRAM(button_name, icon_name, press_signal, release_signal, click_signal) \
+ program { \
+ name: "mouse_down_"icon_name; \
+ signal: "mouse,down,1"; \
+ source: icon_name"_event"; \
+ script {\
+ new st[31];\
+ new Float:vl;\
+ get_state(PART:icon_name, st, 30, vl);\
+ if (strcmp(st, "normal") == 0) { \
+ emit( press_signal, "toolbar_signal" );\
+ } \
+ }\
+ } \
+ program { \
+ name: "mouse_up_"icon_name; \
+ signal: "mouse,up,1"; \
+ source: icon_name"_event"; \
+ script {\
+ new st[31];\
+ new Float:vl;\
+ get_state(PART:icon_name, st, 30, vl);\
+ if (strcmp(st, "normal") == 0) { \
+ emit( release_signal, "toolbar_signal" );\
+ } \
+ }\
+ }\
+ program { \
+ name: "mouse_clicked_"icon_name; \
+ signal: "mouse,clicked,1"; \
+ source: icon_name"_event"; \
+ script {\
+ new st[31];\
+ new Float:vl;\
+ get_state(PART:icon_name, st, 30, vl);\
+ if (strcmp(st, "normal") == 0) { \
+ emit( click_signal, "toolbar_signal" );\
+ } \
+ }\
+ }\
+ program { \
+ name: icon_name",invisible"; \
+ source: "prog"; \
+ signal: icon_name",invisible"; \
+ script: { \
+ set_state(PART:button_name, "default", 0.0); \
+ set_state(PART:icon_name, "default", 0.0); \
+ } \
+ } \
+ program { \
+ name: icon_name",normal"; \
+ source: "prog"; \
+ signal: icon_name",normal"; \
+ script: { \
+ set_state(PART:button_name, "default", 0.0); \
+ set_state(PART:icon_name, "normal", 0.0); \
+ } \
+ } \
+ program { \
+ name: icon_name",edit"; \
+ source: "prog"; \
+ signal: icon_name",edit"; \
+ script: { \
+ set_state(PART:button_name, "normal", 0.0); \
+ set_state(PART:icon_name, "normal", 0.0); \
+ } \
+ } \
+ program { \
+ name: icon_name",dim"; \
+ source: "prog"; \
+ signal: icon_name",dim"; \
+ script: { \
+ set_state(PART:button_name, "default", 0.0); \
+ set_state(PART:icon_name, "dim", 0.0); \
+ } \
+ }
+
+#define TOOLBAR_RIGHT_ITEM_PROGRAM(icon_name, press_signal_name, release_signal_name, click_signal_name) \
+ program { \
+ name: "mouse_down_"icon_name; \
+ signal: "mouse,down,1"; \
+ source: icon_name; \
+ script {\
+ new st[31];\
+ new Float:vl;\
+ get_state(PART:icon_name, st, 30, vl);\
+ if (strcmp(st, "dim") != 0) { \
+ emit( press_signal_name, "toolbar_signal" );\
+ } \
+ }\
+ } \
+ program { \
+ name: "mouse_up_"icon_name; \
+ signal: "mouse,up,1"; \
+ source: icon_name; \
+ script {\
+ new st[31];\
+ new Float:vl;\
+ get_state(PART:icon_name, st, 30, vl);\
+ if (strcmp(st, "dim") != 0) { \
+ emit( release_signal_name, "toolbar_signal" );\
+ } \
+ }\
+ }\
+ program { \
+ name: "mouse_clicked_"icon_name; \
+ signal: "mouse,clicked,1"; \
+ source: icon_name; \
+ script {\
+ new st[31];\
+ new Float:vl;\
+ get_state(PART:icon_name, st, 30, vl);\
+ if (strcmp(st, "dim") != 0) \
+ emit( click_signal_name, "toolbar_signal" );\
+ }\
+ }\
+ program { \
+ name: icon_name",invisible"; \
+ source: "prog"; \
+ signal: icon_name",invisible"; \
+ script: { \
+ set_state(PART:icon_name, "default", 0.0); \
+ } \
+ } \
+ program { \
+ name: icon_name",normal"; \
+ source: "prog"; \
+ signal: icon_name",normal"; \
+ script: { \
+ set_state(PART:icon_name, "normal", 0.0); \
+ } \
+ } \
+ program { \
+ name: icon_name",press"; \
+ source: "prog"; \
+ signal: icon_name",press"; \
+ script: { \
+ set_state(PART:icon_name, "press", 0.0); \
+ } \
+ } \
+ program { \
+ name: icon_name",dim"; \
+ source: "prog"; \
+ signal: icon_name",dim"; \
+ script: { \
+ set_state(PART:icon_name, "dim", 0.0); \
+ } \
+ }
+
+#define TOOLBAR_ITEM_BUTTON(name, x, y) \
+ TOOLBAR_ITEM_BUTTON_WITH_BG(name, x, y, MAIN_W, MAIN_H)
+
+#define TOOLBAR_ITEM_SWALLOW_ICON(name, x, y, w, h) \
+ TOOLBAR_ITEM_SWALLOW_ICON_WITH_BG(name, x, y, w, h, MAIN_W, MAIN_H)
+
+#define TOOLBAR_ITEM_SWALLOW_BUTTON(name, x, y, w, h) \
+ TOOLBAR_ITEM_SWALLOW_BUTTON_WITH_BG(name, x, y, w, h, MAIN_W, MAIN_H)
+
+#endif /*__H_EDC_CAM_TOOLBAR_LAYOUT_INC_EDC_H__*/
+//end files
diff --git a/edc/cam_utils.edc b/edc/cam_utils.edc
new file mode 100755
index 0000000..3a213db
--- /dev/null
+++ b/edc/cam_utils.edc
@@ -0,0 +1,436 @@
+/*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.1 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://floralicense.org/license/
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+
+#include "cam_funcs.edc"
+#include "../include/edc_image_name.h"
+
+#define CAM_FOCUS_IMG "CAMERA_FOCUS_IMG"
+
+images {
+ image: FOCUS_GUIDE_NOTREADY_IMAGE COMP;
+ image: FOCUS_GUIDE_FOCUSED_IMAGE COMP;
+ image: FOCUS_GUIDE_FAILED_IMAGE COMP;
+ image: SHOTTING_MODE_POPUP_BG_IMAGE COMP;
+ image: TIMER_ICON_BG_IMAGE COMP;
+}
+
+styles {
+ style {
+ name: "textblock_style";
+ base: "font=SLP:style=Roman font_size=40 align=left valign=top color=#ffffff wrap=word";
+ tag: "br" " \n";
+ }
+
+ style {
+ name: "textblock_style_center";
+ base: "font=SLP:style=Roman font_size=40 align=center valign=top color=#ffffff wrap=word";
+ tag: "br" " \n";
+ }
+
+ style {
+ name: "textblock_style_shot_guide";
+ base: "font=SLP:style=Roman font_size=36 align=center color=#FFFFFF ellipise=1.0 wrap=mixed";
+ tag: "br" "\n";
+ tag: "hilight" "+ font=SLP:style=Bold";
+ tag: "b" "+ font=SLP:style=Bold";
+ tag: "tab" "\t";
+ }
+}
+
+
+collections {
+ group { name: "focus_image";
+ min: CAMERA_FOCUS_W CAMERA_FOCUS_H;
+ max: CAMERA_FOCUS_W CAMERA_FOCUS_H;
+ parts{
+ part {
+ name: CAM_FOCUS_IMG;
+ type: IMAGE;
+ scale: 1;
+ mouse_events: 0;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+
+ rel1 { relative: 0.0 0.0; }
+ rel2 { relative: 1.0 1.0; }
+
+ }
+ description {
+ state: "notready" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ image{
+ normal: FOCUS_GUIDE_NOTREADY_IMAGE;
+ border: 9 9 9 9;
+ border_scale: 1;
+ }
+ }
+ description {
+ state: "focused" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ image{
+ normal:FOCUS_GUIDE_FOCUSED_IMAGE;
+ border: 9 9 9 9;
+ border_scale: 1;
+ }
+ }
+ description {
+ state: "failed" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ image{
+ normal: FOCUS_GUIDE_FAILED_IMAGE;
+ border: 9 9 9 9;
+ border_scale: 1;
+ }
+ }
+
+ }
+ }
+
+ programs {
+ program { name: "focus,hide";
+ source: "program";
+ signal: "focus,hide";
+ action: STATE_SET "default" 0.0;
+ target: CAM_FOCUS_IMG;
+ }
+ program { name: "focus,notready";
+ source: "program";
+ signal: "focus,notready";
+ action: STATE_SET "notready" 0.0;
+ target: CAM_FOCUS_IMG;
+ }
+ program { name: "focus,focused";
+ source: "program";
+ signal: "focus,focused";
+ action: STATE_SET "focused" 0.0;
+ target: CAM_FOCUS_IMG;
+ }
+ program { name: "focus,failed";
+ source: "program";
+ signal: "focus,failed";
+ action: STATE_SET "failed" 0.0;
+ target: CAM_FOCUS_IMG;
+ }
+ }
+ }
+
+#define PX_POPUP_BOX_X 288
+#define PX_POPUP_BOX_Y 239
+#define VER_PX_POPUP_BOX_X 8
+#define VER_PX_POPUP_BOX_Y 519
+
+#define PX_POPUP_BOX_W 704
+#define PX_POPUP_BOX_H 242
+
+
+#define PX_POPUP_TEXT_Y 32
+
+#define PX_POPUP_BAR_X 72
+#define PX_POPUP_BAR_Y 182
+#define PX_POPUP_BAR_W 560
+#define PX_POPUP_BAR_H 21
+
+
+ group { name: "progress_popup";
+ parts {
+ part {
+ name: "progress_popup_bg";
+ type: IMAGE;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ rel1 { relative: PX_POPUP_BOX_X/MAIN_W PX_POPUP_BOX_Y/MAIN_H; }
+ rel2 { relative: (PX_POPUP_BOX_X+PX_POPUP_BOX_W)/MAIN_W (PX_POPUP_BOX_Y+PX_POPUP_BOX_H)/MAIN_H; }
+ image{ normal: SHOTTING_MODE_POPUP_BG_IMAGE; }
+ }
+ description {
+ state: "landscape" 0.0;
+ visible: 1;
+ rel1 { relative: PX_POPUP_BOX_X/MAIN_W PX_POPUP_BOX_Y/MAIN_H; }
+ rel2 { relative: (PX_POPUP_BOX_X+PX_POPUP_BOX_W)/MAIN_W (PX_POPUP_BOX_Y+PX_POPUP_BOX_H)/MAIN_H; }
+ image{ normal: SHOTTING_MODE_POPUP_BG_IMAGE; }
+ }
+ description {
+ state: "vertical" 0.0;
+ visible: 1;
+ rel1 { relative: VER_PX_POPUP_BOX_X/VER_MAIN_W VER_PX_POPUP_BOX_Y/VER_MAIN_H; }
+ rel2 { relative: (VER_PX_POPUP_BOX_X+PX_POPUP_BOX_W)/VER_MAIN_W (VER_PX_POPUP_BOX_Y+PX_POPUP_BOX_H)/VER_MAIN_H; }
+ image{ normal: SHOTTING_MODE_POPUP_BG_IMAGE; }
+ }
+ }
+ part {
+ name: "progress_popup_text";
+ type: TEXTBLOCK;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ fixed: 1 1;
+ visible: 1;
+ rel1 { relative: 66/PX_POPUP_BOX_W PX_POPUP_TEXT_Y/PX_POPUP_BOX_H; to: progress_popup_bg; }
+ rel2 { relative: (PX_POPUP_BOX_W - 66)/PX_POPUP_BOX_W 152/PX_POPUP_BOX_H; to: progress_popup_bg; }
+ color: FONT_COLOR;
+ text {
+ style: "textblock_style";
+ min: 0 1;
+ }
+ }
+ }
+ //to swallow progressbar
+ part {
+ name: "progress_popup_bar";
+ type: SWALLOW;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ fixed: 1 1;
+ rel1 { relative: PX_POPUP_BAR_X/PX_POPUP_BOX_W PX_POPUP_BAR_Y/PX_POPUP_BOX_H;
+ to: progress_popup_bg; }
+ rel2 { relative: (PX_POPUP_BAR_X+PX_POPUP_BAR_W)/PX_POPUP_BOX_W (PX_POPUP_BAR_Y+PX_POPUP_BAR_H)/PX_POPUP_BOX_H;
+ to: progress_popup_bg; }
+ }
+ }
+ }
+ programs {
+ program {
+ name: "progress_popup,default";
+ source: "prog";
+ signal: "progress_popup,default";
+ script: {
+ set_state(PART:"progress_popup_bg", "landscape", 0.0);
+ }
+ }
+ program {
+ name: "progress_popup,vertical";
+ source: "prog";
+ signal: "progress_popup,vertical";
+ script: {
+ set_state(PART:"progress_popup_bg", "vertical", 0.0);
+ }
+ }
+ }
+ }
+#if 1/*note: for burst mode*/
+//#define PX_POPUP_BOX_W 704
+//#define PX_POPUP_BOX_H 180
+
+group { name: "burst_progress_popup";
+ parts {
+ part {
+ name: "progress_popup_bg";
+ type: IMAGE;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ rel1 { relative: PX_POPUP_BOX_X/MAIN_W PX_POPUP_BOX_Y/MAIN_H; }
+ rel2 { relative: (PX_POPUP_BOX_X+PX_POPUP_BOX_W)/MAIN_W (PX_POPUP_BOX_Y+PX_POPUP_BOX_H)/MAIN_H; }
+ image{ normal: SHOTTING_MODE_POPUP_BG_IMAGE; }
+ }
+ description {
+ state: "landscape" 0.0;
+ visible: 1;
+ rel1 { relative: PX_POPUP_BOX_X/MAIN_W PX_POPUP_BOX_Y/MAIN_H; }
+ rel2 { relative: (PX_POPUP_BOX_X+PX_POPUP_BOX_W)/MAIN_W (PX_POPUP_BOX_Y+PX_POPUP_BOX_H)/MAIN_H; }
+ image{ normal: SHOTTING_MODE_POPUP_BG_IMAGE; }
+ }
+ description {
+ state: "vertical" 0.0;
+ visible: 1;
+ rel1 { relative: VER_PX_POPUP_BOX_X/VER_MAIN_W VER_PX_POPUP_BOX_Y/VER_MAIN_H; }
+ rel2 { relative: (VER_PX_POPUP_BOX_X+PX_POPUP_BOX_W)/VER_MAIN_W (VER_PX_POPUP_BOX_Y+PX_POPUP_BOX_H)/VER_MAIN_H; }
+ image{ normal: SHOTTING_MODE_POPUP_BG_IMAGE; }
+ }
+ }
+ part {
+ name: "progress_popup_text";
+ type: TEXTBLOCK;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ fixed: 1 1;
+ visible: 1;
+ rel1 { relative: 66/PX_POPUP_BOX_W PX_POPUP_TEXT_Y/PX_POPUP_BOX_H; to: progress_popup_bg; }
+ rel2 { relative: (PX_POPUP_BOX_W - 66)/PX_POPUP_BOX_W 152/PX_POPUP_BOX_H; to: progress_popup_bg; }
+ color: FONT_COLOR;
+ text {
+ style: "textblock_style_center";
+ min: 0 1;
+ }
+ }
+ }
+ //to swallow progressbar
+ part {
+ name: "progress_popup_bar";
+ type: SWALLOW;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ fixed: 1 1;
+ rel1 { relative: PX_POPUP_BAR_X/PX_POPUP_BOX_W PX_POPUP_BAR_Y/PX_POPUP_BOX_H;
+ to: progress_popup_bg; }
+ rel2 { relative: (PX_POPUP_BAR_X+PX_POPUP_BAR_W)/PX_POPUP_BOX_W (PX_POPUP_BAR_Y+PX_POPUP_BAR_H)/PX_POPUP_BOX_H;
+ to: progress_popup_bg; }
+ }
+ }
+ }
+ programs {
+ program {
+ name: "progress_popup,default";
+ source: "prog";
+ signal: "progress_popup,default";
+ script: {
+ set_state(PART:"progress_popup_bg", "landscape", 0.0);
+ }
+ }
+ program {
+ name: "progress_popup,vertical";
+ source: "prog";
+ signal: "progress_popup,vertical";
+ script: {
+ set_state(PART:"progress_popup_bg", "vertical", 0.0);
+ }
+ }
+ }
+}
+
+
+#endif
+
+
+#define TIMER_ICON_W 188
+#define TIMER_ICON_H 158
+ group{ name: "timer_icon_landscape";
+
+ parts{
+ part {
+ name: "icon";
+ type: IMAGE;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ rel1 { relative: (1 - TIMER_ICON_W/MAIN_W)/2 (1 - TIMER_ICON_H/MAIN_H)/2; offset: 0 0; }
+ rel2 { relative: (1 + TIMER_ICON_W/MAIN_W)/2 (1 + TIMER_ICON_H/MAIN_H)/2; offset: -1 -1; }
+ image { normal: TIMER_ICON_BG_IMAGE; }
+ }
+ }
+ part {
+ name: "text";
+ type: TEXT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ rel1 { relative: 0.0 0.0; offset: 0 0; to: "icon"; }
+ rel2 { relative: 1.0 1.0; offset: -1 -1; to: "icon"; }
+ color: COLOR_1;
+ text {
+ font: FONT_NAME;
+ size: 60;
+ min: 1 1;
+ align: 0.8 0.8;
+ }
+ }
+ }
+ }
+ }
+
+ group{ name: "timer_icon_portrait";
+
+ parts{
+ part {
+ name: "icon";
+ type: IMAGE;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ rel1 { relative: (1 - TIMER_ICON_W/MAIN_H)/2 (1 - TIMER_ICON_H/MAIN_W)/2; offset: 0 0; }
+ rel2 { relative: (1 + TIMER_ICON_W/MAIN_H)/2 (1 + TIMER_ICON_H/MAIN_W)/2; offset: -1 -1; }
+ image { normal: TIMER_ICON_BG_IMAGE; }
+ }
+ }
+ part {
+ name: "text";
+ type: TEXT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ rel1 { relative: 0.0 0.0; offset: 0 0; to: "icon"; }
+ rel2 { relative: 1.0 1.0; offset: -1 -1; to: "icon"; }
+ color: COLOR_1;
+ text {
+ font: FONT_NAME;
+ size: 60;
+ min: 1 1;
+ align: 0.8 0.8;
+ }
+ }
+ }
+ }
+ }
+
+
+#define SHOT_GUIDE_POPUP_WIDTH 600
+#define SHOT_GUIDE_POPUP_HEIGHT 72
+ group{ name: "shot_guide_landscape";
+ parts{
+ part {
+ name: "text";
+ type: TEXTBLOCK;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ rel1 { relative: (1 - SHOT_GUIDE_POPUP_WIDTH/MAIN_W)/2 0.8; offset: 0 0; }
+ rel2 { relative: (1 + SHOT_GUIDE_POPUP_WIDTH/MAIN_W)/2 1.0; offset: -1 -1; }
+ color: COLOR_1;
+ text {
+ style: textblock_style_shot_guide;
+ min: 0 0;
+ max: 0 1;
+ }
+ }
+ }
+ }
+ }
+
+ group{ name: "shot_guide_potrait";
+ parts{
+ part {
+ name: "text";
+ type: TEXTBLOCK;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ rel1 { relative: (1 - SHOT_GUIDE_POPUP_WIDTH/MAIN_H)/2 0.75; offset: 0 0; }
+ rel2 { relative: (1 + SHOT_GUIDE_POPUP_WIDTH/MAIN_H)/2 0.85; offset: -1 -1; }
+ color: COLOR_1;
+ text {
+ style: textblock_style_shot_guide;
+ min: 0 0;
+ max: 0 1;
+ }
+ }
+ }
+ }
+ }
+}
+
diff --git a/edc/cam_zoom_layout.edc b/edc/cam_zoom_layout.edc
new file mode 100755
index 0000000..06edd50
--- /dev/null
+++ b/edc/cam_zoom_layout.edc
@@ -0,0 +1,341 @@
+/*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.1 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://floralicense.org/license/
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+
+#include "../include/edc_image_name.h"
+#include "../include/edc_string.h"
+
+#define ZOOM_BG_X 188
+#define ZOOM_BG_Y 89
+#define ZOOM_BG_W 96
+#define ZOOM_BG_H 542
+
+#define ZOOM_TEXT_X 0
+#define ZOOM_TEXT_Y 26
+#define ZOOM_TEXT_W 96
+#define ZOOM_TEXT_H 44
+
+#define ZOOM_SLIDE_X 0
+#define ZOOM_SLIDE_Y 104
+
+#define PIN_STEP_GAP (8)
+#define PIN_IMAGE_1X_WIDTH (160)
+#define PIN_IMAGE_1_1X_WIDTH (160 + PIN_STEP_GAP)
+#define PIN_IMAGE_1_2X_WIDTH (160 + PIN_STEP_GAP*2)
+#define PIN_IMAGE_1_3X_WIDTH (160 + PIN_STEP_GAP*3)
+#define PIN_IMAGE_1_4X_WIDTH (160 + PIN_STEP_GAP*4)
+#define PIN_IMAGE_1_5X_WIDTH (160 + PIN_STEP_GAP*5)
+#define PIN_IMAGE_1_6X_WIDTH (160 + PIN_STEP_GAP*6)
+#define PIN_IMAGE_1_7X_WIDTH (160 + PIN_STEP_GAP*7)
+#define PIN_IMAGE_1_8X_WIDTH (160 + PIN_STEP_GAP*8)
+#define PIN_IMAGE_1_9X_WIDTH (160 + PIN_STEP_GAP*9)
+
+#define PIN_IMAGE_2X_WIDTH (240)
+#define PIN_IMAGE_2_1X_WIDTH (240 + PIN_STEP_GAP)
+#define PIN_IMAGE_2_2X_WIDTH (240 + PIN_STEP_GAP*2)
+#define PIN_IMAGE_2_3X_WIDTH (240 + PIN_STEP_GAP*3)
+#define PIN_IMAGE_2_4X_WIDTH (240 + PIN_STEP_GAP*4)
+#define PIN_IMAGE_2_5X_WIDTH (240 + PIN_STEP_GAP*5)
+#define PIN_IMAGE_2_6X_WIDTH (240 + PIN_STEP_GAP*6)
+#define PIN_IMAGE_2_7X_WIDTH (240 + PIN_STEP_GAP*7)
+#define PIN_IMAGE_2_8X_WIDTH (240 + PIN_STEP_GAP*8)
+#define PIN_IMAGE_2_9X_WIDTH (240 + PIN_STEP_GAP*9)
+
+
+#define PIN_IMAGE_3X_WIDTH (320)
+#define PIN_IMAGE_3_1X_WIDTH (320 + PIN_STEP_GAP)
+#define PIN_IMAGE_3_2X_WIDTH (320 + PIN_STEP_GAP*2)
+#define PIN_IMAGE_3_3X_WIDTH (320 + PIN_STEP_GAP*3)
+#define PIN_IMAGE_3_4X_WIDTH (320 + PIN_STEP_GAP*4)
+#define PIN_IMAGE_3_5X_WIDTH (320 + PIN_STEP_GAP*5)
+#define PIN_IMAGE_3_6X_WIDTH (320 + PIN_STEP_GAP*6)
+#define PIN_IMAGE_3_7X_WIDTH (320 + PIN_STEP_GAP*7)
+#define PIN_IMAGE_3_8X_WIDTH (320 + PIN_STEP_GAP*8)
+#define PIN_IMAGE_3_9X_WIDTH (320 + PIN_STEP_GAP*9)
+
+#define PIN_IMAGE_4X_WIDTH (400)
+
+images {
+ image: ZOOM_BG_IMAGE COMP;
+ image: ZOOM_PINCH_IMAGE COMP;
+}
+
+#define ZOOM_X_DESCRIPTON(name, width, height) \
+description {\
+ state: name 0.0;\
+ rel1 { relative: (MAIN_W/2 - (width)/2)/MAIN_W (MAIN_H/2 - (width)/2)/MAIN_H;}\
+ rel2 { relative: (MAIN_W/2 + (height)/2)/MAIN_W (MAIN_H/2 + (height)/2)/MAIN_H;}\
+ image {\
+ normal: ZOOM_PINCH_IMAGE;\
+ border: 9 9 9 9;\
+ border_scale: 1;\
+ }\
+}
+
+#define ZOOM_X_TEXT_DESCRIPTION(name, txt) \
+description {\
+ state: name 0.0;\
+ align: 1.0 0.0;\
+ min: 0 40;\
+ max: 100 40;\
+ fixed: 1 1;\
+ rel1 { relative: 0.0 1.0; to: "pinch_image"; offset:0 2;}\
+ rel2 { relative: 1.0 1.0; to: "pinch_image";}\
+ text {\
+ font : FONT_NAME;\
+ size : 40;\
+ align: 0.5 0.5;\
+ text: txt;\
+ }\
+}
+
+#define ZOOM_X_PROGRAM(pro_name, pro_signal, pro_state)\
+program {\
+ name: "set.pinch."pro_name;\
+ source: "prog";\
+ signal: "set.pinch."pro_signal;\
+ script: {\
+ set_state(PART:"pinch_image", pro_state, 0.0);\
+ set_state(PART:"text_desc", pro_state, 0.0);\
+ }\
+ transition: LINEAR 0.1;\
+}
+
+
+collections {
+ group {
+ name: "pinch";
+ parts {
+ part {
+ name: "pinch_image";
+ type: IMAGE;
+ scale: 1;
+ ZOOM_X_DESCRIPTON("default", PIN_IMAGE_1X_WIDTH, PIN_IMAGE_1X_WIDTH)
+ ZOOM_X_DESCRIPTON("1.0x", PIN_IMAGE_1X_WIDTH, PIN_IMAGE_1X_WIDTH)
+ ZOOM_X_DESCRIPTON("1.1x", PIN_IMAGE_1_1X_WIDTH, PIN_IMAGE_1_1X_WIDTH)
+ ZOOM_X_DESCRIPTON("1.2x", PIN_IMAGE_1_2X_WIDTH, PIN_IMAGE_1_2X_WIDTH)
+ ZOOM_X_DESCRIPTON("1.3x", PIN_IMAGE_1_3X_WIDTH, PIN_IMAGE_1_3X_WIDTH)
+ ZOOM_X_DESCRIPTON("1.4x", PIN_IMAGE_1_4X_WIDTH, PIN_IMAGE_1_4X_WIDTH)
+ ZOOM_X_DESCRIPTON("1.5x", PIN_IMAGE_1_5X_WIDTH, PIN_IMAGE_1_5X_WIDTH)
+ ZOOM_X_DESCRIPTON("1.6x", PIN_IMAGE_1_6X_WIDTH, PIN_IMAGE_1_6X_WIDTH)
+ ZOOM_X_DESCRIPTON("1.7x", PIN_IMAGE_1_7X_WIDTH, PIN_IMAGE_1_7X_WIDTH)
+ ZOOM_X_DESCRIPTON("1.8x", PIN_IMAGE_1_8X_WIDTH, PIN_IMAGE_1_8X_WIDTH)
+ ZOOM_X_DESCRIPTON("1.9x", PIN_IMAGE_1_9X_WIDTH, PIN_IMAGE_1_9X_WIDTH)
+ ZOOM_X_DESCRIPTON("2.0x", PIN_IMAGE_2X_WIDTH, PIN_IMAGE_2X_WIDTH)
+ ZOOM_X_DESCRIPTON("2.1x", PIN_IMAGE_2_1X_WIDTH, PIN_IMAGE_2_1X_WIDTH)
+ ZOOM_X_DESCRIPTON("2.2x", PIN_IMAGE_2_2X_WIDTH, PIN_IMAGE_2_2X_WIDTH)
+ ZOOM_X_DESCRIPTON("2.3x", PIN_IMAGE_2_3X_WIDTH, PIN_IMAGE_2_3X_WIDTH)
+ ZOOM_X_DESCRIPTON("2.4x", PIN_IMAGE_2_4X_WIDTH, PIN_IMAGE_2_4X_WIDTH)
+ ZOOM_X_DESCRIPTON("2.5x", PIN_IMAGE_2_5X_WIDTH, PIN_IMAGE_2_5X_WIDTH)
+ ZOOM_X_DESCRIPTON("2.6x", PIN_IMAGE_2_6X_WIDTH, PIN_IMAGE_2_6X_WIDTH)
+ ZOOM_X_DESCRIPTON("2.7x", PIN_IMAGE_2_7X_WIDTH, PIN_IMAGE_2_7X_WIDTH)
+ ZOOM_X_DESCRIPTON("2.8x", PIN_IMAGE_2_8X_WIDTH, PIN_IMAGE_2_8X_WIDTH)
+ ZOOM_X_DESCRIPTON("2.9x", PIN_IMAGE_2_9X_WIDTH, PIN_IMAGE_2_9X_WIDTH)
+ ZOOM_X_DESCRIPTON("3.0x", PIN_IMAGE_3X_WIDTH, PIN_IMAGE_3X_WIDTH)
+ ZOOM_X_DESCRIPTON("3.1x", PIN_IMAGE_3_1X_WIDTH, PIN_IMAGE_3_1X_WIDTH)
+ ZOOM_X_DESCRIPTON("3.2x", PIN_IMAGE_3_2X_WIDTH, PIN_IMAGE_3_2X_WIDTH)
+ ZOOM_X_DESCRIPTON("3.3x", PIN_IMAGE_3_3X_WIDTH, PIN_IMAGE_3_3X_WIDTH)
+ ZOOM_X_DESCRIPTON("3.4x", PIN_IMAGE_3_4X_WIDTH, PIN_IMAGE_3_4X_WIDTH)
+ ZOOM_X_DESCRIPTON("3.5x", PIN_IMAGE_3_5X_WIDTH, PIN_IMAGE_3_5X_WIDTH)
+ ZOOM_X_DESCRIPTON("3.6x", PIN_IMAGE_3_6X_WIDTH, PIN_IMAGE_3_6X_WIDTH)
+ ZOOM_X_DESCRIPTON("3.7x", PIN_IMAGE_3_7X_WIDTH, PIN_IMAGE_3_7X_WIDTH)
+ ZOOM_X_DESCRIPTON("3.8x", PIN_IMAGE_3_8X_WIDTH, PIN_IMAGE_3_8X_WIDTH)
+ ZOOM_X_DESCRIPTON("3.9x", PIN_IMAGE_3_9X_WIDTH, PIN_IMAGE_3_9X_WIDTH)
+ ZOOM_X_DESCRIPTON("4.0x", PIN_IMAGE_4X_WIDTH, PIN_IMAGE_4X_WIDTH)
+ }
+
+ part {
+ name: "text_desc";
+ type: TEXT;
+ scale: 1;
+ ZOOM_X_TEXT_DESCRIPTION("default", "1.0x")
+ ZOOM_X_TEXT_DESCRIPTION("1.0x", "1.0x")
+ ZOOM_X_TEXT_DESCRIPTION("1.1x", "1.1x")
+ ZOOM_X_TEXT_DESCRIPTION("1.2x", "1.2x")
+ ZOOM_X_TEXT_DESCRIPTION("1.3x", "1.3x")
+ ZOOM_X_TEXT_DESCRIPTION("1.4x", "1.4x")
+ ZOOM_X_TEXT_DESCRIPTION("1.5x", "1.5x")
+ ZOOM_X_TEXT_DESCRIPTION("1.6x", "1.6x")
+ ZOOM_X_TEXT_DESCRIPTION("1.7x", "1.7x")
+ ZOOM_X_TEXT_DESCRIPTION("1.8x", "1.8x")
+ ZOOM_X_TEXT_DESCRIPTION("1.9x", "1.9x")
+ ZOOM_X_TEXT_DESCRIPTION("2.0x", "2.0x")
+ ZOOM_X_TEXT_DESCRIPTION("2.1x", "2.1x")
+ ZOOM_X_TEXT_DESCRIPTION("2.2x", "2.2x")
+ ZOOM_X_TEXT_DESCRIPTION("2.3x", "2.3x")
+ ZOOM_X_TEXT_DESCRIPTION("2.4x", "2.4x")
+ ZOOM_X_TEXT_DESCRIPTION("2.5x", "2.5x")
+ ZOOM_X_TEXT_DESCRIPTION("2.6x", "2.6x")
+ ZOOM_X_TEXT_DESCRIPTION("2.7x", "2.7x")
+ ZOOM_X_TEXT_DESCRIPTION("2.8x", "2.8x")
+ ZOOM_X_TEXT_DESCRIPTION("2.9x", "2.9x")
+ ZOOM_X_TEXT_DESCRIPTION("3.0x", "3.0x")
+ ZOOM_X_TEXT_DESCRIPTION("3.1x", "3.1x")
+ ZOOM_X_TEXT_DESCRIPTION("3.2x", "3.2x")
+ ZOOM_X_TEXT_DESCRIPTION("3.3x", "3.3x")
+ ZOOM_X_TEXT_DESCRIPTION("3.4x", "3.4x")
+ ZOOM_X_TEXT_DESCRIPTION("3.5x", "3.5x")
+ ZOOM_X_TEXT_DESCRIPTION("3.6x", "3.6x")
+ ZOOM_X_TEXT_DESCRIPTION("3.7x", "3.7x")
+ ZOOM_X_TEXT_DESCRIPTION("3.8x", "3.8x")
+ ZOOM_X_TEXT_DESCRIPTION("3.9x", "3.9x")
+ ZOOM_X_TEXT_DESCRIPTION("4.0x", "4.0x")
+ }
+
+ programs {
+ ZOOM_X_PROGRAM("default", "default", "default")
+ ZOOM_X_PROGRAM("1.0x", "1.0x", "1.0x")
+ ZOOM_X_PROGRAM("1.1x", "1.1x", "1.1x")
+ ZOOM_X_PROGRAM("1.2x", "1.2x", "1.2x")
+ ZOOM_X_PROGRAM("1.3x", "1.3x", "1.3x")
+ ZOOM_X_PROGRAM("1.4x", "1.4x", "1.4x")
+ ZOOM_X_PROGRAM("1.5x", "1.5x", "1.5x")
+ ZOOM_X_PROGRAM("1.6x", "1.6x", "1.6x")
+ ZOOM_X_PROGRAM("1.7x", "1.7x", "1.7x")
+ ZOOM_X_PROGRAM("1.8x", "1.8x", "1.8x")
+ ZOOM_X_PROGRAM("1.9x", "1.9x", "1.9x")
+ ZOOM_X_PROGRAM("2.0x", "2.0x", "2.0x")
+ ZOOM_X_PROGRAM("2.1x", "2.1x", "2.1x")
+ ZOOM_X_PROGRAM("2.2x", "2.2x", "2.2x")
+ ZOOM_X_PROGRAM("2.3x", "2.3x", "2.3x")
+ ZOOM_X_PROGRAM("2.4x", "2.4x", "2.4x")
+ ZOOM_X_PROGRAM("2.5x", "2.5x", "2.5x")
+ ZOOM_X_PROGRAM("2.6x", "2.6x", "2.6x")
+ ZOOM_X_PROGRAM("2.7x", "2.7x", "2.7x")
+ ZOOM_X_PROGRAM("2.8x", "2.8x", "2.8x")
+ ZOOM_X_PROGRAM("2.9x", "2.9x", "2.9x")
+ ZOOM_X_PROGRAM("3.0x", "3.0x", "3.0x")
+ ZOOM_X_PROGRAM("3.1x", "3.1x", "3.1x")
+ ZOOM_X_PROGRAM("3.2x", "3.2x", "3.2x")
+ ZOOM_X_PROGRAM("3.3x", "3.3x", "3.3x")
+ ZOOM_X_PROGRAM("3.4x", "3.4x", "3.4x")
+ ZOOM_X_PROGRAM("3.5x", "3.5x", "3.5x")
+ ZOOM_X_PROGRAM("3.6x", "3.6x", "3.6x")
+ ZOOM_X_PROGRAM("3.7x", "3.7x", "3.7x")
+ ZOOM_X_PROGRAM("3.8x", "3.8x", "3.8x")
+ ZOOM_X_PROGRAM("3.9x", "3.9x", "3.9x")
+ ZOOM_X_PROGRAM("4.0x", "4.0x", "4.0x")
+ }
+ }
+
+ }
+
+ group {
+ name: "main";
+
+ parts {
+ part {
+ name: "bg";
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ visible: 0.0;
+ min: MAIN_W MAIN_H;
+ max: MAIN_W MAIN_H;
+ fixed: 1 1;
+ rel1 { relative: 0.0 0.0;}
+ rel2 { relative: 1.0 1.0;}
+ }
+ }
+ part {
+ name: "bg_image";
+ type: IMAGE;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ rel1 { relative: ZOOM_BG_X/MAIN_W ZOOM_BG_Y/MAIN_H; to: "bg";}
+ rel2 { relative: (ZOOM_BG_X+ZOOM_BG_W)/MAIN_W (ZOOM_BG_Y+ZOOM_BG_H)/MAIN_H; to: "bg";}
+ image { normal: ZOOM_BG_IMAGE; }
+ }
+ }
+ part {
+ name: "text_min";
+ type: TEXT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ rel1 { relative: 0.0 (ZOOM_BG_H-ZOOM_TEXT_H-ZOOM_TEXT_Y)/ZOOM_BG_H; to: "bg_image"; }
+ rel2 { relative: 1.0 (ZOOM_BG_H-ZOOM_TEXT_Y)/ZOOM_BG_H; to: "bg_image"; }
+ text {
+ font : FONT_NAME;
+ size : 40;
+ align: 0.5 0.5;
+ }
+ }
+ }
+ part {
+ name: "text_max";
+ type: TEXT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ rel1 { relative: 0.0 ZOOM_TEXT_Y/ZOOM_BG_H; to: "bg_image"; }
+ rel2 { relative: 1.0 (ZOOM_TEXT_Y+ZOOM_TEXT_H)/ZOOM_BG_H; to: "bg_image"; }
+ text {
+ font : FONT_NAME;
+ size : 40;
+ align: 0.5 0.5;
+ }
+ }
+ }
+ part {
+ name: "slider";
+ type: SWALLOW;
+ description {
+ state: "default" 0.0;
+ rel1 { relative: 0.0 ZOOM_SLIDE_Y/ZOOM_BG_H; to: "bg_image"; }
+ rel2 { relative: 1.0 (ZOOM_BG_H-ZOOM_SLIDE_Y)/ZOOM_BG_H; to: "bg_image"; }
+ }
+ }
+ programs {
+ program {
+ name:"set.zoom.default";
+ source: "prog";
+ signal: "set.zoom.default";
+ script: {
+ set_state(PART:"bg_image", "default", 0.0);
+ }
+ }
+ program {
+ name:"set.zoom.landscape_inverse";
+ source: "prog";
+ signal: "set.zoom.landscape_inverse";
+ script: {
+ set_state(PART:"bg_image", "landscape_inverse", 0.0);
+ }
+ }
+ program {
+ name:"set.zoom.portrait";
+ source: "prog";
+ signal: "set.zoom.portrait";
+ script: {
+ set_state(PART:"bg_image", "portrait", 0.0);
+ }
+ }
+ program {
+ name:"set.zoom.portrait_inverse";
+ source: "prog";
+ signal: "set.zoom.portrait_inverse";
+ script: {
+ set_state(PART:"bg_image", "portrait_inverse", 0.0);
+ }
+ }
+ }
+ }
+ }
+}
+//end files
diff --git a/edc/cam_zoom_layout_inverse.edc b/edc/cam_zoom_layout_inverse.edc
new file mode 100755
index 0000000..8eefd89
--- /dev/null
+++ b/edc/cam_zoom_layout_inverse.edc
@@ -0,0 +1,146 @@
+/*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.1 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://floralicense.org/license/
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+
+#include "../include/edc_image_name.h"
+#include "../include/edc_string.h"
+
+#define ZOOM_BG_X 188
+#define ZOOM_BG_Y 89
+
+#define ZOOM_BG_W 96
+#define ZOOM_BG_H 542
+
+#define ZOOM_TEXT_X 0
+#define ZOOM_TEXT_Y 26
+#define ZOOM_TEXT_W 96
+#define ZOOM_TEXT_H 44
+
+#define ZOOM_SLIDE_X 0
+#define ZOOM_SLIDE_Y 104
+
+
+images {
+ image: ZOOM_BG_IMAGE COMP;
+}
+
+collections {
+ group {
+ name: "main";
+
+ parts {
+ part {
+ name: "bg";
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ visible: 0.0;
+ min: MAIN_W MAIN_H;
+ max: MAIN_W MAIN_H;
+ fixed: 1 1;
+ rel1 { relative: 0.0 0.0;}
+ rel2 { relative: 1.0 1.0;}
+ }
+ }
+ part {
+ name: "bg_image";
+ type: IMAGE;
+ description {
+ state: "default" 0.0;
+ rel1 { relative: (1 - (ZOOM_BG_X+ZOOM_BG_W)/MAIN_W) (1 - (ZOOM_BG_Y+ZOOM_BG_H)/MAIN_H) ; offset: 0 0; to: "bg";}
+ rel2 { relative: (1 - ZOOM_BG_X/MAIN_W) (1 - ZOOM_BG_Y/MAIN_H); offset: -1 -1; to: "bg";}
+ image { normal: ZOOM_BG_IMAGE; }
+
+ }
+ }
+ part {
+ name: "text_min";
+ type: TEXT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ rel1 { relative: 0.0 (1 - (ZOOM_BG_H-ZOOM_TEXT_Y)/ZOOM_BG_H); to: "bg_image"; }
+ rel2 { relative: 1.0 (1 - (ZOOM_BG_H-ZOOM_TEXT_H-ZOOM_TEXT_Y)/ZOOM_BG_H); to: "bg_image"; }
+ text {
+ font : FONT_NAME;
+ size : 40;
+ align: 0.5 0.5;
+ }
+ }
+ }
+ part {
+ name: "text_max";
+ type: TEXT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ rel1 { relative: 0.0 (1.0 - (ZOOM_TEXT_Y+ZOOM_TEXT_H)/ZOOM_BG_H); to: "bg_image"; }
+ rel2 { relative: 1.0 (1.0 - ZOOM_TEXT_Y/ZOOM_BG_H); to: "bg_image"; }
+ text {
+ font : FONT_NAME;
+ size : 40;
+ align: 0.5 0.5;
+ }
+ }
+ }
+ part {
+ name: "slider";
+ type: SWALLOW;
+ description {
+ state: "default" 0.0;
+ rel1 { relative: 0.0 (1.0 - (ZOOM_BG_H-ZOOM_SLIDE_Y)/ZOOM_BG_H); to: "bg_image"; }
+ rel2 { relative: 1.0 (1.0 - ZOOM_SLIDE_Y/ZOOM_BG_H); to: "bg_image"; }
+ }
+ }
+ programs {
+ program {
+ name:"set.zoom.default";
+ source: "prog";
+ signal: "set.zoom.default";
+ script: {
+ set_state(PART:"bg_image", "default", 0.0);
+ }
+ }
+ program {
+ name:"set.zoom.landscape_inverse";
+ source: "prog";
+ signal: "set.zoom.landscape_inverse";
+ script: {
+ set_state(PART:"bg_image", "landscape_inverse", 0.0);
+ }
+ }
+ program {
+ name:"set.zoom.portrait";
+ source: "prog";
+ signal: "set.zoom.portrait";
+ script: {
+ set_state(PART:"bg_image", "portrait", 0.0);
+ }
+ }
+ program {
+ name:"set.zoom.portrait_inverse";
+ source: "prog";
+ signal: "set.zoom.portrait_inverse";
+ script: {
+ set_state(PART:"bg_image", "portrait_inverse", 0.0);
+ }
+ }
+ }
+ }
+ }
+}
+//end files
diff --git a/edc/cam_zoom_layout_vertical.edc b/edc/cam_zoom_layout_vertical.edc
new file mode 100755
index 0000000..68df3a1
--- /dev/null
+++ b/edc/cam_zoom_layout_vertical.edc
@@ -0,0 +1,344 @@
+/*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.1 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://floralicense.org/license/
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+
+#include "../include/edc_image_name.h"
+#include "../include/edc_string.h"
+
+#define ZOOM_BG_X 188
+#define ZOOM_BG_Y 89
+
+#define ZOOM_BG_W 96
+#define ZOOM_BG_H 542
+
+#define ZOOM_TEXT_X 0
+#define ZOOM_TEXT_Y 26
+#define ZOOM_TEXT_W 96
+#define ZOOM_TEXT_H 44
+
+#define ZOOM_SLIDE_X 0
+#define ZOOM_SLIDE_Y 104
+
+#define PIN_STEP_GAP (8)
+#define PIN_IMAGE_1X_WIDTH (160)
+#define PIN_IMAGE_1_1X_WIDTH (160 + PIN_STEP_GAP)
+#define PIN_IMAGE_1_2X_WIDTH (160 + PIN_STEP_GAP*2)
+#define PIN_IMAGE_1_3X_WIDTH (160 + PIN_STEP_GAP*3)
+#define PIN_IMAGE_1_4X_WIDTH (160 + PIN_STEP_GAP*4)
+#define PIN_IMAGE_1_5X_WIDTH (160 + PIN_STEP_GAP*5)
+#define PIN_IMAGE_1_6X_WIDTH (160 + PIN_STEP_GAP*6)
+#define PIN_IMAGE_1_7X_WIDTH (160 + PIN_STEP_GAP*7)
+#define PIN_IMAGE_1_8X_WIDTH (160 + PIN_STEP_GAP*8)
+#define PIN_IMAGE_1_9X_WIDTH (160 + PIN_STEP_GAP*9)
+
+#define PIN_IMAGE_2X_WIDTH (240)
+#define PIN_IMAGE_2_1X_WIDTH (240 + PIN_STEP_GAP)
+#define PIN_IMAGE_2_2X_WIDTH (240 + PIN_STEP_GAP*2)
+#define PIN_IMAGE_2_3X_WIDTH (240 + PIN_STEP_GAP*3)
+#define PIN_IMAGE_2_4X_WIDTH (240 + PIN_STEP_GAP*4)
+#define PIN_IMAGE_2_5X_WIDTH (240 + PIN_STEP_GAP*5)
+#define PIN_IMAGE_2_6X_WIDTH (240 + PIN_STEP_GAP*6)
+#define PIN_IMAGE_2_7X_WIDTH (240 + PIN_STEP_GAP*7)
+#define PIN_IMAGE_2_8X_WIDTH (240 + PIN_STEP_GAP*8)
+#define PIN_IMAGE_2_9X_WIDTH (240 + PIN_STEP_GAP*9)
+
+
+#define PIN_IMAGE_3X_WIDTH (320)
+#define PIN_IMAGE_3_1X_WIDTH (320 + PIN_STEP_GAP)
+#define PIN_IMAGE_3_2X_WIDTH (320 + PIN_STEP_GAP*2)
+#define PIN_IMAGE_3_3X_WIDTH (320 + PIN_STEP_GAP*3)
+#define PIN_IMAGE_3_4X_WIDTH (320 + PIN_STEP_GAP*4)
+#define PIN_IMAGE_3_5X_WIDTH (320 + PIN_STEP_GAP*5)
+#define PIN_IMAGE_3_6X_WIDTH (320 + PIN_STEP_GAP*6)
+#define PIN_IMAGE_3_7X_WIDTH (320 + PIN_STEP_GAP*7)
+#define PIN_IMAGE_3_8X_WIDTH (320 + PIN_STEP_GAP*8)
+#define PIN_IMAGE_3_9X_WIDTH (320 + PIN_STEP_GAP*9)
+
+#define PIN_IMAGE_4X_WIDTH (400)
+
+
+images {
+ image: ZOOM_BG_VER_IMAGE COMP;
+ image: ZOOM_PINCH_IMAGE COMP;
+}
+
+#define ZOOM_X_DESCRIPTON(name, width, height) \
+description {\
+ state: name 0.0;\
+ rel1 { relative: (VER_MAIN_W/2 - (width)/2)/VER_MAIN_W (VER_MAIN_H/2 - (width)/2)/VER_MAIN_H;}\
+ rel2 { relative: (VER_MAIN_W/2 + (height)/2)/VER_MAIN_W (VER_MAIN_H/2 + (height)/2)/VER_MAIN_H;}\
+ image {\
+ normal: ZOOM_PINCH_IMAGE;\
+ border: 9 9 9 9;\
+ border_scale: 1;\
+ }\
+}
+
+#define ZOOM_X_TEXT_DESCRIPTION(name, txt) \
+description {\
+ state: name 0.0;\
+ align: 1.0 0.0;\
+ min: 0 40;\
+ max: 100 40;\
+ fixed: 1 1;\
+ rel1 { relative: 0.0 1.0; to: "pinch_image"; offset:0 2;}\
+ rel2 { relative: 1.0 1.0; to: "pinch_image";}\
+ text {\
+ font : FONT_NAME;\
+ size : 40;\
+ align: 0.5 0.5;\
+ text: txt;\
+ }\
+}
+
+#define ZOOM_X_PROGRAM(pro_name, pro_signal, pro_state)\
+program {\
+ name: "set.pinch."pro_name;\
+ source: "prog";\
+ signal: "set.pinch."pro_signal;\
+ script: {\
+ set_state(PART:"pinch_image", pro_state, 0.0);\
+ set_state(PART:"text_desc", pro_state, 0.0);\
+ }\
+ transition: LINEAR 0.1;\
+}
+
+
+collections {
+ group {
+ name: "pinch";
+ parts {
+ part {
+ name: "pinch_image";
+ type: IMAGE;
+ scale: 1;
+ ZOOM_X_DESCRIPTON("default", PIN_IMAGE_1X_WIDTH, PIN_IMAGE_1X_WIDTH)
+ ZOOM_X_DESCRIPTON("1.0x", PIN_IMAGE_1X_WIDTH, PIN_IMAGE_1X_WIDTH)
+ ZOOM_X_DESCRIPTON("1.1x", PIN_IMAGE_1_1X_WIDTH, PIN_IMAGE_1_1X_WIDTH)
+ ZOOM_X_DESCRIPTON("1.2x", PIN_IMAGE_1_2X_WIDTH, PIN_IMAGE_1_2X_WIDTH)
+ ZOOM_X_DESCRIPTON("1.3x", PIN_IMAGE_1_3X_WIDTH, PIN_IMAGE_1_3X_WIDTH)
+ ZOOM_X_DESCRIPTON("1.4x", PIN_IMAGE_1_4X_WIDTH, PIN_IMAGE_1_4X_WIDTH)
+ ZOOM_X_DESCRIPTON("1.5x", PIN_IMAGE_1_5X_WIDTH, PIN_IMAGE_1_5X_WIDTH)
+ ZOOM_X_DESCRIPTON("1.6x", PIN_IMAGE_1_6X_WIDTH, PIN_IMAGE_1_6X_WIDTH)
+ ZOOM_X_DESCRIPTON("1.7x", PIN_IMAGE_1_7X_WIDTH, PIN_IMAGE_1_7X_WIDTH)
+ ZOOM_X_DESCRIPTON("1.8x", PIN_IMAGE_1_8X_WIDTH, PIN_IMAGE_1_8X_WIDTH)
+ ZOOM_X_DESCRIPTON("1.9x", PIN_IMAGE_1_9X_WIDTH, PIN_IMAGE_1_9X_WIDTH)
+ ZOOM_X_DESCRIPTON("2.0x", PIN_IMAGE_2X_WIDTH, PIN_IMAGE_2X_WIDTH)
+ ZOOM_X_DESCRIPTON("2.1x", PIN_IMAGE_2_1X_WIDTH, PIN_IMAGE_2_1X_WIDTH)
+ ZOOM_X_DESCRIPTON("2.2x", PIN_IMAGE_2_2X_WIDTH, PIN_IMAGE_2_2X_WIDTH)
+ ZOOM_X_DESCRIPTON("2.3x", PIN_IMAGE_2_3X_WIDTH, PIN_IMAGE_2_3X_WIDTH)
+ ZOOM_X_DESCRIPTON("2.4x", PIN_IMAGE_2_4X_WIDTH, PIN_IMAGE_2_4X_WIDTH)
+ ZOOM_X_DESCRIPTON("2.5x", PIN_IMAGE_2_5X_WIDTH, PIN_IMAGE_2_5X_WIDTH)
+ ZOOM_X_DESCRIPTON("2.6x", PIN_IMAGE_2_6X_WIDTH, PIN_IMAGE_2_6X_WIDTH)
+ ZOOM_X_DESCRIPTON("2.7x", PIN_IMAGE_2_7X_WIDTH, PIN_IMAGE_2_7X_WIDTH)
+ ZOOM_X_DESCRIPTON("2.8x", PIN_IMAGE_2_8X_WIDTH, PIN_IMAGE_2_8X_WIDTH)
+ ZOOM_X_DESCRIPTON("2.9x", PIN_IMAGE_2_9X_WIDTH, PIN_IMAGE_2_9X_WIDTH)
+ ZOOM_X_DESCRIPTON("3.0x", PIN_IMAGE_3X_WIDTH, PIN_IMAGE_3X_WIDTH)
+ ZOOM_X_DESCRIPTON("3.1x", PIN_IMAGE_3_1X_WIDTH, PIN_IMAGE_3_1X_WIDTH)
+ ZOOM_X_DESCRIPTON("3.2x", PIN_IMAGE_3_2X_WIDTH, PIN_IMAGE_3_2X_WIDTH)
+ ZOOM_X_DESCRIPTON("3.3x", PIN_IMAGE_3_3X_WIDTH, PIN_IMAGE_3_3X_WIDTH)
+ ZOOM_X_DESCRIPTON("3.4x", PIN_IMAGE_3_4X_WIDTH, PIN_IMAGE_3_4X_WIDTH)
+ ZOOM_X_DESCRIPTON("3.5x", PIN_IMAGE_3_5X_WIDTH, PIN_IMAGE_3_5X_WIDTH)
+ ZOOM_X_DESCRIPTON("3.6x", PIN_IMAGE_3_6X_WIDTH, PIN_IMAGE_3_6X_WIDTH)
+ ZOOM_X_DESCRIPTON("3.7x", PIN_IMAGE_3_7X_WIDTH, PIN_IMAGE_3_7X_WIDTH)
+ ZOOM_X_DESCRIPTON("3.8x", PIN_IMAGE_3_8X_WIDTH, PIN_IMAGE_3_8X_WIDTH)
+ ZOOM_X_DESCRIPTON("3.9x", PIN_IMAGE_3_9X_WIDTH, PIN_IMAGE_3_9X_WIDTH)
+ ZOOM_X_DESCRIPTON("4.0x", PIN_IMAGE_4X_WIDTH, PIN_IMAGE_4X_WIDTH)
+ }
+
+ part {
+ name: "text_desc";
+ type: TEXT;
+ scale: 1;
+ ZOOM_X_TEXT_DESCRIPTION("default", "1.0x")
+ ZOOM_X_TEXT_DESCRIPTION("1.0x", "1.0x")
+ ZOOM_X_TEXT_DESCRIPTION("1.1x", "1.1x")
+ ZOOM_X_TEXT_DESCRIPTION("1.2x", "1.2x")
+ ZOOM_X_TEXT_DESCRIPTION("1.3x", "1.3x")
+ ZOOM_X_TEXT_DESCRIPTION("1.4x", "1.4x")
+ ZOOM_X_TEXT_DESCRIPTION("1.5x", "1.5x")
+ ZOOM_X_TEXT_DESCRIPTION("1.6x", "1.6x")
+ ZOOM_X_TEXT_DESCRIPTION("1.7x", "1.7x")
+ ZOOM_X_TEXT_DESCRIPTION("1.8x", "1.8x")
+ ZOOM_X_TEXT_DESCRIPTION("1.9x", "1.9x")
+ ZOOM_X_TEXT_DESCRIPTION("2.0x", "2.0x")
+ ZOOM_X_TEXT_DESCRIPTION("2.1x", "2.1x")
+ ZOOM_X_TEXT_DESCRIPTION("2.2x", "2.2x")
+ ZOOM_X_TEXT_DESCRIPTION("2.3x", "2.3x")
+ ZOOM_X_TEXT_DESCRIPTION("2.4x", "2.4x")
+ ZOOM_X_TEXT_DESCRIPTION("2.5x", "2.5x")
+ ZOOM_X_TEXT_DESCRIPTION("2.6x", "2.6x")
+ ZOOM_X_TEXT_DESCRIPTION("2.7x", "2.7x")
+ ZOOM_X_TEXT_DESCRIPTION("2.8x", "2.8x")
+ ZOOM_X_TEXT_DESCRIPTION("2.9x", "2.9x")
+ ZOOM_X_TEXT_DESCRIPTION("3.0x", "3.0x")
+ ZOOM_X_TEXT_DESCRIPTION("3.1x", "3.1x")
+ ZOOM_X_TEXT_DESCRIPTION("3.2x", "3.2x")
+ ZOOM_X_TEXT_DESCRIPTION("3.3x", "3.3x")
+ ZOOM_X_TEXT_DESCRIPTION("3.4x", "3.4x")
+ ZOOM_X_TEXT_DESCRIPTION("3.5x", "3.5x")
+ ZOOM_X_TEXT_DESCRIPTION("3.6x", "3.6x")
+ ZOOM_X_TEXT_DESCRIPTION("3.7x", "3.7x")
+ ZOOM_X_TEXT_DESCRIPTION("3.8x", "3.8x")
+ ZOOM_X_TEXT_DESCRIPTION("3.9x", "3.9x")
+ ZOOM_X_TEXT_DESCRIPTION("4.0x", "4.0x")
+ }
+
+ programs {
+ ZOOM_X_PROGRAM("default", "default", "default")
+ ZOOM_X_PROGRAM("1.0x", "1.0x", "1.0x")
+ ZOOM_X_PROGRAM("1.1x", "1.1x", "1.1x")
+ ZOOM_X_PROGRAM("1.2x", "1.2x", "1.2x")
+ ZOOM_X_PROGRAM("1.3x", "1.3x", "1.3x")
+ ZOOM_X_PROGRAM("1.4x", "1.4x", "1.4x")
+ ZOOM_X_PROGRAM("1.5x", "1.5x", "1.5x")
+ ZOOM_X_PROGRAM("1.6x", "1.6x", "1.6x")
+ ZOOM_X_PROGRAM("1.7x", "1.7x", "1.7x")
+ ZOOM_X_PROGRAM("1.8x", "1.8x", "1.8x")
+ ZOOM_X_PROGRAM("1.9x", "1.9x", "1.9x")
+ ZOOM_X_PROGRAM("2.0x", "2.0x", "2.0x")
+ ZOOM_X_PROGRAM("2.1x", "2.1x", "2.1x")
+ ZOOM_X_PROGRAM("2.2x", "2.2x", "2.2x")
+ ZOOM_X_PROGRAM("2.3x", "2.3x", "2.3x")
+ ZOOM_X_PROGRAM("2.4x", "2.4x", "2.4x")
+ ZOOM_X_PROGRAM("2.5x", "2.5x", "2.5x")
+ ZOOM_X_PROGRAM("2.6x", "2.6x", "2.6x")
+ ZOOM_X_PROGRAM("2.7x", "2.7x", "2.7x")
+ ZOOM_X_PROGRAM("2.8x", "2.8x", "2.8x")
+ ZOOM_X_PROGRAM("2.9x", "2.9x", "2.9x")
+ ZOOM_X_PROGRAM("3.0x", "3.0x", "3.0x")
+ ZOOM_X_PROGRAM("3.1x", "3.1x", "3.1x")
+ ZOOM_X_PROGRAM("3.2x", "3.2x", "3.2x")
+ ZOOM_X_PROGRAM("3.3x", "3.3x", "3.3x")
+ ZOOM_X_PROGRAM("3.4x", "3.4x", "3.4x")
+ ZOOM_X_PROGRAM("3.5x", "3.5x", "3.5x")
+ ZOOM_X_PROGRAM("3.6x", "3.6x", "3.6x")
+ ZOOM_X_PROGRAM("3.7x", "3.7x", "3.7x")
+ ZOOM_X_PROGRAM("3.8x", "3.8x", "3.8x")
+ ZOOM_X_PROGRAM("3.9x", "3.9x", "3.9x")
+ ZOOM_X_PROGRAM("4.0x", "4.0x", "4.0x")
+ }
+ }
+
+ }
+
+ group {
+ name: "main";
+
+ parts {
+ part {
+ name: "bg";
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ visible: 0.0;
+ min: MAIN_H MAIN_W;
+ max: MAIN_H MAIN_W;
+ fixed: 1 1;
+ rel1 { relative: 0.0 0.0;}
+ rel2 { relative: 1.0 1.0;}
+ }
+ }
+ part {
+ name: "bg_image";
+ type: IMAGE;
+ scale : 1;
+ description {
+ state: "default" 0.0;
+ rel1 { relative: (1 - (ZOOM_BG_Y+ZOOM_BG_H)/MAIN_H) ZOOM_BG_X/MAIN_W; to: "bg";}
+ rel2 { relative: (1 - ZOOM_BG_Y/MAIN_H) (ZOOM_BG_X+ZOOM_BG_W)/MAIN_W; to: "bg";}
+ image { normal: ZOOM_BG_VER_IMAGE; }
+
+ }
+ }
+ part {
+ name: "text_min";
+ type: TEXT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ rel1 { relative: (1 - (ZOOM_BG_H-ZOOM_TEXT_Y)/ZOOM_BG_H) 0.0; to: "bg_image"; }
+ rel2 { relative: (1 - (ZOOM_BG_H-ZOOM_TEXT_H-ZOOM_TEXT_Y)/ZOOM_BG_H) 1.0; to: "bg_image"; }
+ text {
+ font : FONT_NAME;
+ size : 40;
+ align: 0.5 0.5;
+ }
+ }
+ }
+ part {
+ name: "text_max";
+ type: TEXT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ rel1 { relative: (1 - (ZOOM_TEXT_Y+ZOOM_TEXT_H)/ZOOM_BG_H) 0.0; to: "bg_image"; }
+ rel2 { relative: (1 - ZOOM_TEXT_Y/ZOOM_BG_H) 1.0 ; to: "bg_image"; }
+ text {
+ font : FONT_NAME;
+ size : 40;
+ align: 0.5 0.5;
+ }
+ }
+ }
+ part {
+ name: "slider";
+ type: SWALLOW;
+ description {
+ state: "default" 0.0;
+ rel1 { relative: (1 - (ZOOM_BG_H-ZOOM_SLIDE_Y)/ZOOM_BG_H) 0.0 ; to: "bg_image"; }
+ rel2 { relative: (1 - ZOOM_SLIDE_Y/ZOOM_BG_H) 1.0; to: "bg_image"; }
+ }
+ }
+ programs {
+ program {
+ name:"set.zoom.default";
+ source: "prog";
+ signal: "set.zoom.default";
+ script: {
+ set_state(PART:"bg_image", "default", 0.0);
+ }
+ }
+ program {
+ name:"set.zoom.landscape_inverse";
+ source: "prog";
+ signal: "set.zoom.landscape_inverse";
+ script: {
+ set_state(PART:"bg_image", "landscape_inverse", 0.0);
+ }
+ }
+ program {
+ name:"set.zoom.portrait";
+ source: "prog";
+ signal: "set.zoom.portrait";
+ script: {
+ set_state(PART:"bg_image", "portrait", 0.0);
+ }
+ }
+ program {
+ name:"set.zoom.portrait_inverse";
+ source: "prog";
+ signal: "set.zoom.portrait_inverse";
+ script: {
+ set_state(PART:"bg_image", "portrait_inverse", 0.0);
+ }
+ }
+ }
+ }
+ }
+}
+//end files
diff --git a/edc/cam_zoom_layout_vertical_inverse.edc b/edc/cam_zoom_layout_vertical_inverse.edc
new file mode 100755
index 0000000..2b07bc0
--- /dev/null
+++ b/edc/cam_zoom_layout_vertical_inverse.edc
@@ -0,0 +1,146 @@
+/*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.1 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://floralicense.org/license/
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+
+#include "../include/edc_image_name.h"
+#include "../include/edc_string.h"
+
+#define ZOOM_BG_X 188
+#define ZOOM_BG_Y 89
+
+#define ZOOM_BG_W 96
+#define ZOOM_BG_H 542
+
+#define ZOOM_TEXT_X 0
+#define ZOOM_TEXT_Y 26
+#define ZOOM_TEXT_W 96
+#define ZOOM_TEXT_H 44
+
+#define ZOOM_SLIDE_X 0
+#define ZOOM_SLIDE_Y 104
+
+
+images {
+ image: ZOOM_BG_VER_IMAGE COMP;
+}
+
+collections {
+ group {
+ name: "main";
+
+ parts {
+ part {
+ name: "bg";
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ visible: 0.0;
+ min: MAIN_H MAIN_W;
+ max: MAIN_H MAIN_W;
+ fixed: 1 1;
+ rel1 { relative: 0.0 0.0;}
+ rel2 { relative: 1.0 1.0;}
+ }
+ }
+ part {
+ name: "bg_image";
+ type: IMAGE;
+ description {
+ state: "default" 0.0;
+ rel1 { relative: ZOOM_BG_Y/MAIN_H (1 - (ZOOM_BG_X+ZOOM_BG_W)/MAIN_W); offset: 0 0; to: "bg";}
+ rel2 { relative: (ZOOM_BG_Y+ZOOM_BG_H)/MAIN_H (1 - ZOOM_BG_X/MAIN_W); offset: -1 -1; to: "bg";}
+ image { normal: ZOOM_BG_VER_IMAGE; }
+
+ }
+ }
+ part {
+ name: "text_min";
+ type: TEXT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ rel1 { relative: (ZOOM_BG_H-ZOOM_TEXT_H-ZOOM_TEXT_Y)/ZOOM_BG_H 0.0 ; to: "bg_image"; }
+ rel2 { relative: (ZOOM_BG_H-ZOOM_TEXT_Y)/ZOOM_BG_H 1.0; to: "bg_image"; }
+ text {
+ font : FONT_NAME;
+ size : 40;
+ align: 0.5 0.5;
+ }
+ }
+ }
+ part {
+ name: "text_max";
+ type: TEXT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ rel1 { relative: ZOOM_TEXT_Y/ZOOM_BG_H 0.0; to: "bg_image"; }
+ rel2 { relative: (ZOOM_TEXT_Y+ZOOM_TEXT_H)/ZOOM_BG_H 1.0; to: "bg_image"; }
+ text {
+ font : FONT_NAME;
+ size : 40;
+ align: 0.5 0.5;
+ }
+ }
+ }
+ part {
+ name: "slider";
+ type: SWALLOW;
+ description {
+ state: "default" 0.0;
+ rel1 { relative: ZOOM_SLIDE_Y/ZOOM_BG_H 0.0; to: "bg_image"; }
+ rel2 { relative: (ZOOM_BG_H-ZOOM_SLIDE_Y)/ZOOM_BG_H 1.0; to: "bg_image"; }
+ }
+ }
+ programs {
+ program {
+ name:"set.zoom.default";
+ source: "prog";
+ signal: "set.zoom.default";
+ script: {
+ set_state(PART:"bg_image", "default", 0.0);
+ }
+ }
+ program {
+ name:"set.zoom.landscape_inverse";
+ source: "prog";
+ signal: "set.zoom.landscape_inverse";
+ script: {
+ set_state(PART:"bg_image", "landscape_inverse", 0.0);
+ }
+ }
+ program {
+ name:"set.zoom.portrait";
+ source: "prog";
+ signal: "set.zoom.portrait";
+ script: {
+ set_state(PART:"bg_image", "portrait", 0.0);
+ }
+ }
+ program {
+ name:"set.zoom.portrait_inverse";
+ source: "prog";
+ signal: "set.zoom.portrait_inverse";
+ script: {
+ set_state(PART:"bg_image", "portrait_inverse", 0.0);
+ }
+ }
+ }
+ }
+ }
+}
+//end files
diff --git a/edc/style_button_camera.edc b/edc/style_button_camera.edc
new file mode 100755
index 0000000..fe51a1a
--- /dev/null
+++ b/edc/style_button_camera.edc
@@ -0,0 +1,490 @@
+/*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.1 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://floralicense.org/license/
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+
+#include "style_tizen_hd_inc.edc"
+
+#define BUTTON_STATE_ENABLED 0
+#define BUTTON_STATE_DISABLED 1
+
+
+collections {
+
+//////////////////////////////////////////////////////////////////////////////////////
+ group { name: "elm/button/base/camera/default";
+ images {
+ image: "00_button_01_normal.png" COMP;
+ image: "00_button_01_normal_press.png" COMP;
+ image: "00_button_01_normal_dim.png" COMP;
+ image: "00_button_01_normal_Focus.png" COMP;
+ }
+
+ parts {
+ part { name: "button_image";
+ scale: 1;
+ description { state: "default" 0.0;
+ image {
+ normal: "00_button_01_normal.png";
+ border: BUTTON_TEXT_STYLE1_BG_BORDER_INC;
+ border_scale: 1;
+ }
+ }
+ description { state: "clicked" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "00_button_01_normal_press.png";
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "00_button_01_normal_dim.png";
+ }
+ description { state: "focused" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "00_button_01_normal_Focus.png";
+ }
+ }
+ part { name: "padding_left_top";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ align: 0.0 0.0;
+ rel2.relative: 0.0 0.0;
+ min: BUTTON_TEXT_STYLE1_PADDING_MIN_INC;
+ fixed: 1 1;
+ visible: 0;
+ }
+ }
+ part { name: "bg";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ min: BUTTON_TEXT_STYLE1_BG_MIN_INC;
+ visible: 0;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ min: BUTTON_TEXT_STYLE1_VISIBLE_BG_MIN_INC;
+ }
+ description { state: "icononly" 0.0;
+ inherit: "default" 0.0;
+ min: BUTTON_TEXT_STYLE1_ICONONLY_BG_MIN_INC;
+ }
+ }
+ part { name: "padding_right_bottom";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ align: 1.0 1.0;
+ rel1.relative: 1.0 1.0;
+ min: BUTTON_TEXT_STYLE1_PADDING_MIN_INC;
+ fixed: 1 1;
+ visible: 0;
+ }
+ }
+ part { name: "icon_rect";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ visible: 0;
+ min: 0 0;
+ fixed: 1 0;
+ rel1 {
+ relative: 1.0 1.0;
+ to: "padding_left_top";
+ }
+ rel2 {
+ relative: 1.0 0.0;
+ to_x: "padding_left_top";
+ to_y: "padding_right_bottom";
+ }
+ align: 0.0 0.5;
+ }
+ description { state: "visible" 0.0;
+ visible: 0;
+ min: BUTTON_TEXT_STYLE1_VISIBLE_ICON_RECT_MIN_MAX_INC;
+ max: BUTTON_TEXT_STYLE1_VISIBLE_ICON_RECT_MIN_MAX_INC;
+ fixed: 1 0;
+ rel1 {
+ relative: 1.0 1.0;
+ to: "padding_left_top";
+ }
+ rel2 {
+ relative: 1.0 0.0;
+ to_x: "padding_left_top";
+ to_y: "padding_right_bottom";
+ }
+ align: 0.0 0.5;
+ }
+ description { state: "icononly" 0.0;
+ inherit: "default" 0.0;
+ }
+ }
+ part { name: "padding_after_icon";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0; //when only icon or no icon is there
+ align: 0.0 0.0;
+ rel1 {
+ relative: 1.0 0.0;
+ to: "icon_rect";
+ }
+ rel2.to: "icon_rect";
+ fixed: 1 0;
+ min: 0 0;
+ visible: 0;
+ }
+ description { state: "visible" 0.0;
+ visible: 0;
+ align: 0.0 0.0;
+ rel1 {
+ relative: 1.0 0.0;
+ to: "icon_rect";
+ }
+ rel2.to: "icon_rect";
+ fixed: 1 0;
+ min: BUTTON_TEXT_STYLE1_VISIBLE_PADDING_ICON_TEXT_MIN_INC;
+ }
+ description { state: "icononly" 0.0;
+ inherit: "default" 0.0;
+ }
+ }
+ part { name: "padding_before_text";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0; //when only icon or no icon is there
+ align: 1.0 0.5;
+ rel1 {
+ relative: 0.0 1.0;
+ to_x: "elm.text";
+ to_y: "padding_left_top";
+ }
+ rel2 {
+ relative: 0.0 0.0;
+ to_x: "elm.text";
+ to_y: "padding_right_bottom";
+ }
+ fixed: 1 0;
+ min: BUTTON_TEXT_STYLE1_VISIBLE_PADDING_ICON_TEXT_MIN_INC;
+ visible: 0;
+ }
+ }
+ part { name: "elm.swallow.content";
+ type: SWALLOW;
+ scale: 1;
+ clip_to: "clipper";
+ description { state: "default" 0.0;
+ visible: 0;
+ align: 0.0 0.5;
+ rel1 {
+ relative: 1.0 1.0;
+ to: "padding_left_top";
+ }
+ rel2 {
+ relative: 1.0 0.0;
+ to_x: "padding_left_top";
+ to_y: "padding_right_bottom";
+ }
+ fixed: 1 0;
+ }
+ description { state: "visible" 0.0;
+ fixed: 1 0;
+ min: BUTTON_TEXT_STYLE1_VISIBLE_ICON_MIN_MAX_INC;
+ max: BUTTON_TEXT_STYLE1_VISIBLE_ICON_MIN_MAX_INC;
+ align: 1.0 0.5;
+ rel1 {
+ relative: 0.0 1.0;
+ to_x: "padding_before_text";
+ to_y: "padding_left_top";
+ }
+ rel2 {
+ relative: 0.0 0.0;
+ to_x: "padding_before_text";
+ to_y: "padding_right_bottom";
+ }
+ }
+ description { state: "icononly" 0.0;
+ min: BUTTON_TEXT_STYLE1_ICONONLY_ICON_MIN_MAX_INC;
+ max: BUTTON_TEXT_STYLE1_ICONONLY_ICON_MIN_MAX_INC;
+ }
+ }
+ part { name: "elm.text";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ clip_to: "clipper";
+ description { state: "default" 0.0;
+ visible: 0;
+ rel1 {
+ relative: 1.0 1.0;
+ to_x: "padding_after_icon";
+ to_y: "padding_left_top";
+ }
+ rel2 {
+ relative: 0.0 0.0;
+ to: "padding_right_bottom";
+ }
+ /*color: BUTTON_TEXT_STYLE1_NORMAL_COLOR_INC;*/
+ text {
+ font: FONT_NAME;
+ size: 30;
+ align: 0.5 0.5;
+ }
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ description { state: "clicked" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ color: BUTTON_TEXT_STYLE1_PRESSED_COLOR_INC;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ color: 0 0 0 128;
+ }
+ description { state: "disabled_visible" 0.0;
+ inherit: "default" 0.0;
+ color: BUTTON_TEXT_STYLE1_DISABLED_COLOR_INC;
+ visible: 1;
+ }
+ description { state: "focused" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ color: BUTTON_TEXT_STYLE1_FOCUSED_COLOR_INC;
+ }
+ }
+ part { name: "over2";
+ type: RECT;
+ repeat_events: 1;
+ ignore_flags: ON_HOLD;
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ }
+ }
+ part { name: "over3";
+ type: RECT;
+ repeat_events: 1;
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ }
+ }
+ part { name: "clipper";
+ type: RECT;
+ description { state: "default" 0.0;
+ color: 255 255 255 255;
+ }
+ }
+ part { name: "disabler";
+ type: RECT;
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ visible: 0;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ }
+
+ programs {
+ script {
+ public button_state = BUTTON_STATE_ENABLED;
+ }
+ program { name: "button_click";
+ signal: "mouse,down,1";
+ source: "over2";
+ action: SIGNAL_EMIT "elm,action,press" "";
+ after: "button_click_anim";
+ }
+ program { name: "button_click_anim";
+ action: STATE_SET "clicked" 0.0;
+ target: "button_image";
+ after: "text_clicked";
+ }
+ program { name: "text_clicked";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.text", st, 30, vl);
+ if (!strcmp(st, "visible"))
+ set_state(PART:"elm.text", "clicked", 0.0);
+ }
+ }
+ program { name: "button_unpress";
+ action: SIGNAL_EMIT "elm,action,unpress" "";
+ }
+ program { name: "button_mouseout_clicked";
+ signal: "mouse,up,1";
+ source: "over3";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.swallow.content", st, 30, vl);
+ if (strcmp(st, "icononly"))
+ {
+ emit("elm,action,default,text,set", "");
+ set_state(PART:"elm.text", "visible", 0.0);
+ }
+ if (get_int(button_state) != BUTTON_STATE_DISABLED)
+ set_state(PART:"button_image", "default", 0.0);
+ }
+ after: button_unpress;
+ }
+
+ program { name: "button_unclick3";
+ action: SIGNAL_EMIT "elm,action,click" "";
+ }
+ program { name: "text_show";
+ signal: "elm,state,text,visible";
+ source: "elm";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.swallow.content", st, 30, vl);
+ if (!strcmp(st, "icononly"))
+ {
+ set_state(PART:"elm.swallow.content", "visible", 0.0);
+ set_state(PART:"icon_rect", "visible", 0.0);
+ set_state(PART:"padding_after_icon", "visible", 0.0);
+ set_state(PART:"bg", "visible", 0.0);
+ }
+ if (get_int(button_state) != BUTTON_STATE_DISABLED)
+ set_state(PART:"elm.text", "visible", 0.0);
+ else
+ set_state(PART:"elm.text", "disabled_visible", 0.0);
+ }
+ }
+ program { name: "text_hide";
+ signal: "elm,state,text,hidden";
+ source: "elm";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.swallow.content", st, 30, vl);
+ if (!strcmp(st, "visible"))
+ {
+ set_state(PART:"elm.swallow.content", "icononly", 0.0);
+ set_state(PART:"icon_rect", "icononly", 0.0);
+ set_state(PART:"padding_after_icon", "icononly", 0.0);
+ set_state(PART:"bg", "icononly", 0.0);
+ }
+ set_state(PART:"elm.text", "default", 0.0);
+ }
+ }
+ program { name: "icon_show";
+ signal: "elm,state,icon,visible";
+ source: "elm";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.text", st, 30, vl);
+ if (!strcmp(st, "visible"))
+ {
+ set_state(PART:"elm.swallow.content", "visible", 0.0);
+ set_state(PART:"icon_rect", "visible", 0.0);
+ set_state(PART:"padding_after_icon", "visible", 0.0);
+ set_state(PART:"bg", "visible", 0.0);
+ }
+ else
+ {
+ set_state(PART:"elm.swallow.content", "icononly", 0.0);
+ set_state(PART:"icon_rect", "icononly", 0.0);
+ set_state(PART:"padding_after_icon", "icononly", 0.0);
+ set_state(PART:"bg", "icononly", 0.0);
+ }
+ }
+ }
+
+ program { name: "icon_hide";
+ signal: "elm,state,icon,hidden";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.swallow.content";
+ target: "padding_after_icon";
+ target: "icon_rect";
+ target: "bg";
+ }
+ program { name: "disable";
+ signal: "elm,state,disabled";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "button_image";
+ target: "disabler";
+ after: "disable_text";
+ }
+ program { name: "disable_text";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.text", st, 30, vl);
+ if (!strcmp(st, "visible"))
+ set_state(PART:"elm.text", "disabled_visible", 0.0);
+ else
+ set_state(PART:"elm.text", "disabled", 0.0);
+ set_int(button_state, BUTTON_STATE_DISABLED);
+ }
+ }
+ program { name: "enable";
+ signal: "elm,state,enabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "button_image";
+ target: "disabler";
+ after: "enable_text";
+ }
+ program { name: "enable_text";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.text", st, 30, vl);
+ if (!strcmp(st, "disabled_visible"))
+ set_state(PART:"elm.text", "visible", 0.0);
+ else
+ set_state(PART:"elm.text", "default", 0.0);
+ set_int(button_state, BUTTON_STATE_ENABLED);
+ }
+ }
+ program { name: "focused";
+ //signal: "elm,action,focus";
+ //source: "elm";
+ action: STATE_SET "focused" 0.0;
+ target: "button_image";
+ target: "elm.text";
+ }
+ program { name: "unfocused";
+ //signal: "elm,action,unfocus";
+ //source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "button_image";
+ after: "unfocus_text";
+ }
+ program { name: "unfocus_text";
+ action: STATE_SET "visible" 0.0;
+ target: "elm.text";
+ }
+ }
+
+ }
+
+}
+//end files
diff --git a/edc/style_ctxpopup_camera_with_radio.edc b/edc/style_ctxpopup_camera_with_radio.edc
new file mode 100755
index 0000000..baa3ac6
--- /dev/null
+++ b/edc/style_ctxpopup_camera_with_radio.edc
@@ -0,0 +1,1732 @@
+/*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.1 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://floralicense.org/license/
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+
+#include "../include/edc_image_name.h"
+#include "../include/edc_string.h"
+#include "cam_funcs.edc"
+#define CONTROLBAR_SMALL_H 72 //65
+//Ctxpopup Camera Shooting mode
+
+//Content Layout
+collections {
+
+ styles
+ {
+ style {
+ name: "menu_title";
+ base: "font=SLP:style=Roman font_size=30 align=0.09 color=#FFFFFF ellipise=1.0 wrap=mixed";
+ tag: "br" " \n";
+ }
+ }
+
+
+group {
+ name:"camera/layout";
+ parts {
+ part {
+ name: "elm.text";
+ type: TEXTBLOCK;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: 1 60;
+ max: 999999 60;
+ fixed: 0 1;
+ align: 0.5 0;
+ text {
+ style: "menu_title";
+ min: 1 1;
+ }
+ }
+ }
+ part {
+ name: "elm.swallow.box";
+ type: SWALLOW;
+ description {
+ rel1 { to: "elm.text"; relative: 0 1; offset: 2 1;}
+ rel2 { offset: -3 -3;}
+ }
+ }
+ }
+}
+
+group {
+ name:"camera/layout/setting";
+ parts {
+ part {
+ name: "elm.text";
+ type: TEXTBLOCK;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: 1 60;
+ max: 999999 60;
+ fixed: 0 1;
+ align: 0.5 0;
+ text {
+ style: "menu_title";
+ min: 1 1;
+ }
+ }
+ }
+ part {
+ name: "elm.swallow.box";
+ type: SWALLOW;
+ description {
+ rel1 { to: "elm.text"; relative: 0 1; offset: 2 1;}
+ rel2 { offset: -3 -3;}
+ }
+ }
+ }
+}
+
+#define MENU(part_name, relx1, rely1, relx2, rely2, to_part) \
+ part { \
+ name: "row."part_name; \
+ type: SWALLOW; \
+ scale: 1; \
+ mouse_events: 1; \
+ description { \
+ state: "default" 0.0; \
+ visible: 1; \
+ min: (180) (180); \
+ max: (180) (180); \
+ align: 0.5 0.5; \
+ aspect: 1.0 1.0; \
+ fixed: 1 1; \
+ rel1 { relative: (relx1/720) (rely1/1280); to:to_part;} \
+ rel2 { relative: (relx2/720) (rely2/1280); to:to_part;} \
+ } \
+ } \
+
+//Radio Button Style
+styles {
+ style {
+ name: "radio_label_textblock_style";
+ base: "font=SLP:style=Medium font_size=14 align=left color=#ffffff wrap=char";
+ tag: "br" "\n";
+ tag: "hilight" "+ font=SLP:style=Bold";
+ tag: "b" "+ font=SLP:style=Bold";
+ tag: "whitecolor" "+ color=#ffffff";
+ tag: "tab" "\t";
+ }
+ style {
+ name: "radio_label_textblock_disabled_style";
+ base: "font=SLP:style=Medium font_size=14 align=left color=#888888 color3=#000000 wrap=char";
+ tag: "br" "\n";
+ tag: "hilight" "+ font=SLP:style=Bold";
+ tag: "b" "+ font=SLP:style=Bold";
+ tag: "whitecolor" "+ color=#ffffff";
+ tag: "tab" "\t";
+ }
+}
+
+group {
+ name: "elm/radio/base/beat_winset_test/camera";
+ images {
+ image: SETTING_POPUP_RADIO_BUTTON_OFF_IMAGE COMP;
+ image: SETTING_POPUP_RADIO_BUTTON_ON_IMAGE COMP;
+ }
+ parts {
+ part { name: "bg";
+ mouse_events: 0;
+ scale: 1;
+ type: RECT;
+ description {
+ state: "default" 0.0;
+ rel1.offset: 0 0;
+ rel2.relative: 0.0 1.0;
+ rel2.offset: 0 0;
+ fixed: 1 0;
+ align: 0.0 0.5;
+ min: 60 60;
+ max: 60 60;
+ color: 0 0 0 0;
+ }
+ }
+ part {
+ name: "radio";
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ rel1 {
+ to: "bg";
+ offset: 0 0;
+ }
+ rel2 {
+ to: "bg";
+ offset: 0 0;
+ }
+ visible: 1;
+ color: 255 255 255 255;
+ image.normal: SETTING_POPUP_RADIO_BUTTON_OFF_IMAGE;
+ }
+ description {
+ state: "visible" 0.0;
+ inherit: "default" 0.0;
+ image.normal: SETTING_POPUP_RADIO_BUTTON_ON_IMAGE;
+
+ }
+ description {
+ state: "pressed" 0.0;
+ inherit: "default" 0.0;
+ image.normal: SETTING_POPUP_RADIO_BUTTON_ON_IMAGE;
+ }
+ description {
+ state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ image.normal: SETTING_POPUP_RADIO_BUTTON_OFF_IMAGE;
+ }
+ description {
+ state: "disabled_visible" 0.0;
+ inherit: "default" 0.0;
+ image.normal: SETTING_POPUP_RADIO_BUTTON_OFF_IMAGE;
+ }
+ }
+ part {
+ name: "elm.swallow.content";
+ type: SWALLOW;
+ description {
+ state: "default" 0.0;
+ fixed: 1 0;
+ visible: 0;
+ color: 255 255 255 255;
+ align: 0.0 0.5;
+ rel1.to_x: "bg";
+ rel1.relative: 1.0 0.0;
+ rel1.offset: 1 1;
+ rel2.to_x: "bg";
+ rel2.relative: 1.0 1.0;
+ rel2.offset: 2 -2;
+ }
+ description {
+ state: "visible" 0.0;
+ inherit: "default" 0.0;
+ fixed: 1 1;
+ visible: 1;
+ aspect: 1.0 1.0;
+ aspect_preference: VERTICAL;
+ }
+ description {
+ state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ color: 128 128 128 128;
+ }
+ description {
+ state: "disabled_visible" 0.0;
+ inherit: "default" 0.0;
+ color: 128 128 128 128;
+ fixed: 1 1;
+ visible: 1;
+ aspect: 1.0 1.0;
+ }
+ }
+ part {
+ name: "elm.text";
+ type: TEXTBLOCK;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ fixed: 0 1;
+ rel1 { relative: 1.0 0.5; offset: 1 1; to_x: "elm.swallow.content"; }
+ rel2 { relative: 1.0 0.5; offset: -2 -2; }
+ color: 255 255 255 255;
+ align: 0.0 0.5;
+ text {
+ style: "radio_label_textblock_style";
+ min: 0 0;
+ }
+ }
+ description {
+ state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ text.min: 1 1;
+ }
+ description {
+ state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ }
+ description {
+ state: "disabled_visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ text {
+ style: "radio_label_textblock_disabled_style";
+ min: 1 1;
+ }
+ }
+ }
+ part {
+ name: "events";
+ type: RECT;
+ ignore_flags: ON_HOLD;
+ description {
+ state: "default" 0.0;
+ color: 0 0 0 0;
+ }
+ }
+ part {
+ name: "disabler";
+ type: RECT;
+ description {
+ state: "default" 0.0;
+ color: 0 0 0 0;
+ visible: 0;
+ }
+ description {
+ state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ color: 0 0 0 0;
+ }
+ }
+ }
+ programs {
+ program {
+ name: "click";
+ signal: "mouse,up,1";
+ source: "events";
+ action: SIGNAL_EMIT "elm,action,radio,toggle" "";
+ }
+ program {
+ name: "bg_normal";
+ script {
+ set_state(PART:"bg", "default", 0.0);
+ }
+ }
+ program {
+ name: "mouseout";
+ signal: "mouse,out";
+ source: "events";
+ after: "bg_radio_normal";
+ }
+ program {
+ name: "bg_radio_normal";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"radio", st, 30, vl);
+ if (!strcmp(st, "pressed"))
+ set_state(PART:"radio", "default", 0.0);
+ set_state(PART:"bg", "default", 0.0);
+ }
+ }
+ program {
+ name: "pressed";
+ signal: "mouse,down,1";
+ source: "events";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"radio", st, 30, vl);
+ if (!strcmp(st, "default"))
+ set_state(PART:"radio", "pressed", 0.0);
+ }
+ }
+ program {
+ name: "radio_on";
+ signal: "elm,state,radio,on";
+ source: "elm";
+ action: STATE_SET "visible" 0.0;
+ target: "radio";
+ }
+ program {
+ name: "radio_off";
+ signal: "elm,state,radio,off";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "radio";
+ }
+ program {
+ name: "text_show";
+ signal: "elm,state,text,visible";
+ source: "elm";
+ action: STATE_SET "visible" 0.0;
+ target: "elm.text";
+ }
+ program {
+ name: "text_hide";
+ signal: "elm,state,text,hidden";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text";
+ }
+ program {
+ name: "icon_show";
+ signal: "elm,state,icon,visible";
+ source: "elm";
+ action: STATE_SET "visible" 0.0;
+ target: "elm.swallow.content";
+ }
+ program {
+ name: "icon_hide";
+ signal: "elm,state,icon,hidden";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.swallow.content";
+ }
+ program {
+ name: "disable";
+ signal: "elm,state,disabled";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "disabler";
+ after: "disable_text";
+ }
+ program {
+ name: "disable_text";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.text", st, 30, vl);
+ if (!strcmp(st, "visible"))
+ set_state(PART:"elm.text", "disabled_visible", 0.0);
+ else
+ set_state(PART:"elm.text", "disabled", 0.0);
+
+ get_state(PART:"elm.swallow.content", st, 30, vl);
+ if (!strcmp(st, "visible"))
+ set_state(PART:"elm.swallow.content", "disabled_visible", 0.0);
+ else
+ set_state(PART:"elm.swallow.content", "disabled", 0.0);
+
+ get_state(PART:"radio", st, 30, vl);
+ if (!strcmp(st, "visible"))
+ set_state(PART:"radio", "disabled_visible", 0.0);
+ else
+ set_state(PART:"radio", "disabled", 0.0);
+ }
+ }
+ program {
+ name: "enable";
+ signal: "elm,state,enabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "disabler";
+ after: "enable_text";
+ }
+ program {
+ name: "enable_text";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.text", st, 30, vl);
+ if (!strcmp(st, "disabled_visible"))
+ set_state(PART:"elm.text", "visible", 0.0);
+ else
+ set_state(PART:"elm.text", "default", 0.0);
+
+ get_state(PART:"elm.swallow.content", st, 30, vl);
+ if (!strcmp(st, "disabled_visible"))
+ set_state(PART:"elm.swallow.content", "visible", 0.0);
+ else
+ set_state(PART:"elm.swallow.content", "default", 0.0);
+
+ get_state(PART:"radio", st, 30, vl);
+ if (!strcmp(st, "disabled_visible"))
+ set_state(PART:"radio", "visible", 0.0);
+ else
+ set_state(PART:"elm.swallow.content", "default", 0.0);
+ }
+ }
+ }
+}
+
+//Ctxpopup Style
+#define CTXPOPUP_CAMERA_FRAME_WIDTH_MAX 720
+#define CTXPOPUP_CAMERA_FRAME_HEIGHT_MAX 1280
+#define CTXPOPUP_CAMERA_CONTENT_WIDTH_MAX 720
+#define CTXPOPUP_CAMERA_CONTENT_HEIGHT_MAX 1280
+/*#define CTXPOPUP_CAMERA_ARROW_SIZE 28 */
+
+group {
+ name: "elm/scroller/base/beat_winset_test/camera";
+ script {
+ public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer;
+ public timer0(val) {
+ new v;
+ v = get_int(sbvis_v);
+ if (v) {
+ v = get_int(sbalways_v);
+ if(!v) {
+ emit("do-hide-vbar", "");
+ set_int(sbvis_v, 0);
+ }
+ }
+ v = get_int(sbvis_h);
+ if (v) {
+ v = get_int(sbalways_h);
+ if(!v) {
+ emit("do-hide-hbar", "");
+ set_int(sbvis_h, 0);
+ }
+ }
+ set_int(sbvis_timer, 0);
+ return 0;
+ }
+ }
+
+ parts {
+ part {
+ name: "clipper";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ max: CTXPOPUP_CAMERA_CONTENT_WIDTH_MAX CTXPOPUP_CAMERA_CONTENT_HEIGHT_MAX;
+ }
+ }
+ part {
+ name: "elm.swallow.content";
+ clip_to: "clipper";
+ type: SWALLOW;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ max: CTXPOPUP_CAMERA_CONTENT_WIDTH_MAX CTXPOPUP_CAMERA_CONTENT_HEIGHT_MAX;
+ align: 0.5 0.5;
+ }
+ }
+ part {
+ name: "sb_vbar_clip_master";
+ type: RECT;
+ mouse_events: 0;
+ description {
+ state: "default" 0.0;
+ }
+ description {
+ state: "hidden" 0.0;
+ visible: 0;
+ color: 255 255 255 0;
+ }
+ }
+ part {
+ name: "sb_vbar_clip";
+ clip_to:"sb_vbar_clip_master";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ align: 0.0 0.0;
+ rel2{ to:"clipper"; relative: 1.0 1.0;}
+ }
+ description {
+ state: "hidden" 0.0;
+ visible: 0;
+ color: 255 255 255 0;
+ }
+ }
+ part {
+ name: "sb_vbar";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ fixed: 1 1;
+ visible: 0;
+ align: 1.0 0.0;
+ rel1{ to:"clipper"; relative: 1.0 0.0; }
+ rel2{ to:"clipper"; relative: 1.0 1.0;}
+ }
+ }
+ part {
+ name: "elm.dragable.vbar";
+ clip_to: "sb_vbar_clip";
+ mouse_events: 0;
+ scale: 1;
+ dragable {
+ x: 0 0 0;
+ y: 1 1 0;
+ confine: "sb_vbar";
+ }
+ description {
+ state: "default" 0.0;
+ fixed: 1 1;
+ min: 14 32;
+ rel1 {
+ relative: 0.5 0.5;
+ to: "sb_vbar";
+ }
+ rel2 {
+ relative: 0.5 0.5;
+ to: "sb_vbar";
+ }
+ }
+ }
+ part {
+ name: "sb_hbar_clip_master";
+ type: RECT;
+ mouse_events: 0;
+ description {
+ state: "default" 0.0;
+ }
+ description {
+ state: "hidden" 0.0;
+ visible: 0;
+ color: 255 255 255 0;
+ }
+ }
+ part {
+ name: "sb_hbar_clip";
+ clip_to: "sb_hbar_clip_master";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ align: 0.0 0.0;
+ rel2{ to:"clipper"; relative: 1.0 1.0;}
+ }
+ description {
+ state: "hidden" 0.0;
+ visible: 0;
+ color: 255 255 255 0;
+ }
+ }
+ part {
+ name: "sb_hbar";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ fixed: 1 1;
+ visible: 0;
+ align: 0.0 1.0;
+ rel1 {to:"clipper"; relative: 0.0 1.0;}
+ rel2 {to:"clipper"; relative: 1.0 1.0;}
+ }
+ }
+ }
+ programs {
+ program {
+ name: "load";
+ signal: "load";
+ source: "";
+ script {
+ set_state(PART:"sb_vbar_clip", "hidden", 0.0);
+ set_state(PART:"sb_hbar_clip", "hidden", 0.0);
+ set_int(sbvis_v, 0);
+ set_int(sbvis_h, 0);
+ set_int(sbalways_v, 0);
+ set_int(sbalways_h, 0);
+ set_int(sbvis_timer, 0);
+ }
+ }
+ program {
+ name: "vbar_show";
+ signal: "elm,action,show,vbar";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "sb_vbar_clip_master";
+ }
+ program {
+ name: "vbar_hide";
+ signal: "elm,action,hide,vbar";
+ source: "elm";
+ action: STATE_SET "hidden" 0.0;
+ target: "sb_vbar_clip_master";
+ }
+ program {
+ name: "vbar_show_always";
+ signal: "elm,action,show_always,vbar";
+ source: "elm";
+ script {
+ new v;
+ v = get_int(sbvis_v);
+ v |= get_int(sbalways_v);
+ if (!v) {
+ set_int(sbalways_v, 1);
+ emit("do-show-vbar", "");
+ set_int(sbvis_v, 1);
+ }
+ }
+ }
+ program {
+ name: "vbar_show_notalways";
+ signal: "elm,action,show_notalways,vbar";
+ source: "elm";
+ script {
+ new v;
+ v = get_int(sbalways_v);
+ if (v) {
+ set_int(sbalways_v, 0);
+ v = get_int(sbvis_v);
+ if (!v) {
+ emit("do-hide-vbar", "");
+ set_int(sbvis_v, 0);
+ }
+ }
+ }
+ }
+ program {
+ name: "sb_vbar_show";
+ signal: "do-show-vbar";
+ source: "";
+ action: STATE_SET "default" 0.0;
+ transition: LINEAR 1.0;
+ target: "sb_vbar_clip";
+ }
+ program {
+ name: "sb_vbar_hide";
+ signal: "do-hide-vbar";
+ source: "";
+ action: STATE_SET "hidden" 0.0;
+ transition: LINEAR 1.0;
+ target: "sb_vbar_clip";
+ }
+ program {
+ name: "hbar_show";
+ signal: "elm,action,show,hbar";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "sb_hbar_clip_master";
+ }
+ program {
+ name: "hbar_hide";
+ signal: "elm,action,hide,hbar";
+ source: "elm";
+ action: STATE_SET "hidden" 0.0;
+ target: "sb_hbar_clip_master";
+ }
+ program {
+ name: "hbar_show_always";
+ signal: "elm,action,show_always,hbar";
+ source: "elm";
+ script {
+ new v;
+ v = get_int(sbvis_h);
+ v |= get_int(sbalways_h);
+ if (!v) {
+ set_int(sbalways_h, 1);
+ emit("do-show-hbar", "");
+ set_int(sbvis_h, 1);
+ }
+ }
+ }
+ program {
+ name: "hbar_show_notalways";
+ signal: "elm,action,show_notalways,hbar";
+ source: "elm";
+ script {
+ new v;
+ v = get_int(sbalways_h);
+ if (v) {
+ set_int(sbalways_h, 0);
+ v = get_int(sbvis_h);
+ if (!v) {
+ emit("do-hide-hbar", "");
+ set_int(sbvis_h, 0);
+ }
+ }
+ }
+ }
+ program {
+ name: "sb_hbar_show";
+ signal: "do-show-hbar";
+ source: "";
+ action: STATE_SET "default" 0.0;
+ transition: LINEAR 1.0;
+ target: "sb_hbar_clip";
+ }
+ program {
+ name: "sb_hbar_hide";
+ signal: "do-hide-hbar";
+ source: "";
+ action: STATE_SET "hidden" 0.0;
+ transition: LINEAR 1.0;
+ target: "sb_hbar_clip";
+ }
+ program {
+ name: "scroll";
+ signal: "elm,action,scroll";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ script {
+ new v;
+ v = get_int(sbvis_v);
+ v |= get_int(sbalways_v);
+ if (!v) {
+ emit("do-show-vbar", "");
+ set_int(sbvis_v, 1);
+ }
+ v = get_int(sbvis_h);
+ v |= get_int(sbalways_h);
+ if(!v) {
+ emit("do-show-hbar", "");
+ set_int(sbvis_h, 1);
+ }
+ v = get_int(sbvis_timer);
+ if (v > 0) cancel_timer(v);
+ v = timer(2.0, "timer0", 0);
+ set_int(sbvis_timer, v);
+ }
+ }
+ }
+}
+
+group {
+ name: "elm/ctxpopup/bg/beat_winset_test/camera";
+ parts {
+ part {
+ name: "bg";
+ type: RECT;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ }
+ description {
+ state: "visible" 0.0;
+ visible: 0;
+ }
+ }
+ }
+ programs {
+ program {
+ name: "show";
+ signal: "elm,state,show";
+ source: "elm";
+ action: STATE_SET "visible" 0.0;
+ target: "bg";
+ }
+ program {
+ name: "hide";
+ signal: "elm,state,hide";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "bg";
+ }
+ }
+}
+
+//Ctxpopup Style
+#define CTXPOPUP_CAMERA_ARROW_WIDTH 28
+#define CTXPOPUP_CAMERA_ARROW_HEIGHT 42
+#define CTXPOPUP_FRAME_CORNER_SIZE 4 4
+
+///////////////////////////////////////////////////////////////////////////////
+group {
+ name: "elm/ctxpopup/base/beat_winset_test/camera";
+ images {
+ image: CTXPOPUP_BG_IMAGE COMP;
+ }
+ parts {
+ part {
+ name: "ctxpopup_frame_left_top";
+ type: RECT;
+ scale: 1;
+ description {
+ visible:0;
+ align: 0 0;
+ min: CTXPOPUP_FRAME_CORNER_SIZE;
+ max: CTXPOPUP_FRAME_CORNER_SIZE;
+ }
+ }
+
+ part {
+ name: "ctxpopup_frame_right_top";
+ type: RECT;
+ scale: 1;
+ description {
+ visible:0;
+ align: 1 0;
+ min: CTXPOPUP_FRAME_CORNER_SIZE;
+ max: CTXPOPUP_FRAME_CORNER_SIZE;
+ }
+ }
+
+ part {
+ name: "ctxpopup_frame_left_bottom";
+ type: RECT;
+ scale: 1;
+ description {
+ visible:0;
+ align: 0 1;
+ min: CTXPOPUP_FRAME_CORNER_SIZE;
+ max: CTXPOPUP_FRAME_CORNER_SIZE;
+ }
+ }
+
+ part {
+ name: "ctxpopup_frame_right_bottom";
+ type: RECT;
+ scale: 1;
+ description {
+ visible:0;
+ align: 1 1;
+ min: CTXPOPUP_FRAME_CORNER_SIZE;
+ max: CTXPOPUP_FRAME_CORNER_SIZE;
+ }
+ }
+
+ part { name: "arrow_area_left";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ clip_to: "ctxpopup_clip";
+ description { state: "default" 0.0;
+ visible: 0;
+ min: 28 42;
+ fixed: 1 1;
+ align: 1 0.5;
+ rel1 {
+ relative: 0 1;
+ to_y: "ctxpopup_frame_left_top";
+ }
+ rel2 {
+ relative: 0.5 0;
+ to:"ctxpopup_frame_left_bottom";
+ }
+ color : 255 255 255 0;
+ }
+ }
+ part { name: "arrow_area_right";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ clip_to: "ctxpopup_clip";
+ description { state: "default" 0.0;
+ visible: 0;
+ min: 28 42;
+ fixed: 1 1;
+ align: 0 0.5;
+ rel1 {
+ relative: 0.5 1;
+ to:"ctxpopup_frame_right_top";
+ }
+ rel2 {
+ relative: 1 0;
+ to_y: "ctxpopup_frame_right_bottom";
+ }
+ color : 255 255 255 0;
+ }
+ }
+ part { name: "arrow_area_up";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ clip_to: "ctxpopup_clip";
+ description { state: "default" 0.0;
+ visible: 0;
+ min: 42 28;
+ fixed: 1 1;
+ align: 0.5 1;
+ rel1 {
+ relative: 1 0;
+ to_x: "ctxpopup_frame_left_top";
+ }
+ rel2 {
+ relative: 0 0.5;
+ to:"ctxpopup_frame_right_top";
+ }
+ color : 255 255 255 0;
+ }
+ }
+ part { name: "arrow_area_down";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ clip_to: "ctxpopup_clip";
+ description { state: "default" 0.0;
+ visible: 0;
+ min: 42 28;
+ fixed: 1 1;
+ align: 0.5 0;
+ rel1 {
+ relative: 1 0.5;
+ to:"ctxpopup_frame_left_bottom";
+ }
+ rel2 {
+ relative: 0 1;
+ to_x: "ctxpopup_frame_right_bottom";
+ }
+ color : 255 255 255 0;
+ }
+ }
+
+ part { name: "elm.swallow.arrow_up";
+ type: SWALLOW;
+ mouse_events: 0;
+ scale: 1;
+ clip_to: "ctxpopup_clip";
+ dragable {
+ x: 1 1 0;
+ y: 1 1 0;
+ confine: "arrow_area_up";
+ }
+ description {
+ state: "default" 0.0;
+ min: 42 28;
+ fixed: 1 1;
+ visible: 1;
+ }
+ }
+ part { name: "elm.swallow.arrow_down";
+ type: SWALLOW;
+ mouse_events: 0;
+ scale: 1;
+ clip_to: "ctxpopup_clip";
+ dragable {
+ x: 1 1 0;
+ y: 1 1 0;
+ confine: "arrow_area_down";
+ }
+ description {
+ state: "default" 0.0;
+ min: 42 28;
+ fixed: 1 1;
+ visible: 1;
+ }
+ }
+ part { name: "elm.swallow.arrow_left";
+ type: SWALLOW;
+ mouse_events: 0;
+ scale: 1;
+ clip_to: "ctxpopup_clip";
+ dragable {
+ x: 1 1 0;
+ y: 1 1 0;
+ confine: "arrow_area_left";
+ }
+ description {
+ state: "default" 0.0;
+ min: 28 42;
+ fixed: 1 1;
+ visible: 1;
+ }
+ }
+ part { name: "elm.swallow.arrow_right";
+ type: SWALLOW;
+ mouse_events: 0;
+ scale: 1;
+ clip_to: "ctxpopup_clip";
+ dragable {
+ x: 1 1 0;
+ y: 1 1 0;
+ confine: "arrow_area_right";
+ }
+ description {
+ state: "default" 0.0;
+ min: 28 42;
+ fixed: 1 1;
+ visible: 1;
+ }
+ }
+ part {
+ name: "ctxpopup_frame";
+ type: IMAGE;
+ scale: 1;
+ clip_to: "ctxpopup_clip";
+ description {
+ align: 1 1;
+ image {
+ normal: CTXPOPUP_BG_IMAGE;
+ border: 67 67 92 42;
+ border_scale: 1;
+ }
+ rel1 {to: "ctxpopup_frame_left_top"; relative: 0.5 0.5;}
+ rel2 {to: "ctxpopup_frame_right_bottom"; relative: 0.5 0.5;}
+ }
+ }
+
+ part {
+ name: "elm.swallow.content";
+ type: SWALLOW;
+ clip_to: "ctxpopup_clip";
+ description {
+ state: "default" 0.0;
+ rel1 {to: "ctxpopup_frame_left_top"; relative: 0.5 0.5;}
+ rel2 {to: "ctxpopup_frame_right_bottom"; relative: 0.5 0.5;}
+ }
+ }
+
+ part { name: "ctxpopup_clip";
+ type: RECT;
+ description { state: "default" 0.0;
+ color: 255 255 255 0;
+ rel1 { to:"ctxpopup_frame_left_top"; relative: 0.5 0.5; }
+ rel2 { to:"ctxpopup_frame_right_bottom"; relative: 0.5 0.5; }
+ }
+ description { state: "show_up" 0.0;
+ color: 255 255 255 0;
+ rel1 { to:"arrow_area_down"; relative: 0 1; }
+ rel2 { to:"arrow_area_down"; relative: 1 1; }
+ }
+ description { state: "show_left" 0.0;
+ color: 255 255 255 0;
+ rel1 { to:"arrow_area_right"; relative: 1 0; }
+ rel2 { to:"arrow_area_right"; relative: 1 1; }
+ }
+ description { state: "show_right" 0.0;
+ color: 255 255 255 0;
+ rel1 { to:"arrow_area_left"; relative: 0 0; }
+ rel2 { to:"arrow_area_left"; relative: 0 1; }
+ }
+ description { state: "show_down" 0.0;
+ color: 255 255 255 0;
+ rel1 { to:"arrow_area_up"; relative: 0 0; }
+ rel2 { to:"arrow_area_up"; relative: 1 0; }
+ }
+ description { state: "hide_up" 0.0;
+ color: 255 255 255 255;
+ rel1 { to:"arrow_area_down"; relative: 0 1; }
+ rel2 { to:"arrow_area_down"; relative: 1 1; }
+ }
+ description { state: "hide_left" 0.0;
+ color: 255 255 255 255;
+ rel1 { to:"arrow_area_right"; relative: 1 0; }
+ rel2 { to:"arrow_area_right"; relative: 1 1; }
+ }
+ description { state: "hide_right" 0.0;
+ color: 255 255 255 255;
+ rel1 { to:"arrow_area_left"; relative: 0 0; }
+ rel2 { to:"arrow_area_left"; relative: 0 1; }
+ }
+ description { state: "hide_down" 0.0;
+ color: 255 255 255 255;
+ rel1 { to:"arrow_area_up"; relative: 0 0; }
+ rel2 { to:"arrow_area_up"; relative: 1 0; }
+ }
+ description { state: "visible" 0.0;
+ color: 255 255 255 255;
+ rel1 { to_x:"arrow_area_left"; to_y:"arrow_area_up"; }
+ rel2 { to_x:"arrow_area_right"; to_y:"arrow_area_down"; }
+ }
+ }
+ }
+ programs {
+ program { name: "show";
+ signal: "elm,state,show";
+ source: "elm";
+ action: STATE_SET "visible" 0.0;
+ transition: LINEAR 0.25;
+ target: "ctxpopup_clip";
+ }
+ program { name: "show_up";
+ signal: "elm,state,show,up";
+ source: "elm";
+ action: STATE_SET "show_up" 0.0;
+ transition: LINEAR 0.25;
+ target: "ctxpopup_clip";
+ }
+ program { name: "show_left";
+ signal: "elm,state,show,left";
+ source: "elm";
+ action: STATE_SET "show_left" 0.0;
+ transition: LINEAR 0.25;
+ target: "ctxpopup_clip";
+ }
+ program { name: "show_right";
+ signal: "elm,state,show,right";
+ source: "elm";
+ action: STATE_SET "show_right" 0.0;
+ transition: LINEAR 0.25;
+ target: "ctxpopup_clip";
+ }
+ program { name: "show_down";
+ signal: "elm,state,show,down";
+ source: "elm";
+ action: STATE_SET "show_down" 0.0;
+ transition: LINEAR 0.25;
+ target: "ctxpopup_clip";
+ }
+ program { name: "hide_up";
+ signal: "elm,state,hide,up";
+ source: "elm";
+ action: STATE_SET "hide_up" 0.0;
+ transition: LINEAR 0.25;
+ target: "ctxpopup_clip";
+ after: "hide_finished";
+ }
+ program { name: "hide_left";
+ signal: "elm,state,hide,left";
+ source: "elm";
+ action: STATE_SET "hide_left" 0.0;
+ transition: LINEAR 0.25;
+ target: "ctxpopup_clip";
+ after: "hide_finished";
+ }
+ program { name: "hide_right";
+ signal: "elm,state,hide,right";
+ source: "elm";
+ action: STATE_SET "hide_right" 0.0;
+ transition: LINEAR 0.25;
+ target: "ctxpopup_clip";
+ after: "hide_finished";
+ }
+ program { name: "hide_down";
+ signal: "elm,state,hide,down";
+ source: "elm";
+ action: STATE_SET "hide_down" 0.0;
+ transition: LINEAR 0.25;
+ target: "ctxpopup_clip";
+ after: "hide_finished";
+ }
+ program { name: "hide_finished";
+ action: SIGNAL_EMIT "elm,action,hide,finished" "";
+ }
+ }
+}
+
+group { name: "elm/ctxpopup/arrow/beat_winset_test/camera";
+ images {
+ image: CTXPOPUP_LEFT_ARROW_IMAGE COMP;
+ image: CTXPOPUP_RIGHTT_ARROW_IMAGE COMP;
+ image: CTXPOPUP_TOP_ARROW_IMAGE COMP;
+ image: CTXPOPUP_BOTTOM_ARROW_IMAGE COMP;
+ }
+ parts {
+ part {
+ name: "ctxpopup_arrow";
+ type: IMAGE;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: CTXPOPUP_CAMERA_ARROW_WIDTH CTXPOPUP_CAMERA_ARROW_HEIGHT;
+ max: CTXPOPUP_CAMERA_ARROW_WIDTH CTXPOPUP_CAMERA_ARROW_HEIGHT;
+ fixed: 1 1;
+ visible: 0;
+ align: 0.5 0.5;
+ rel1.relative: 0.0 -0.5;
+ rel2.relative: 0.0 1.0;
+
+ }
+ description {
+ state: "left" 0.0;
+ min: CTXPOPUP_CAMERA_ARROW_WIDTH CTXPOPUP_CAMERA_ARROW_HEIGHT;
+ max: CTXPOPUP_CAMERA_ARROW_WIDTH CTXPOPUP_CAMERA_ARROW_HEIGHT;
+ fixed: 1 1;
+ align: 0.0 0.5;
+ image {
+ normal: CTXPOPUP_LEFT_ARROW_IMAGE;
+ }
+ }
+ description {
+ state: "right" 0.0;
+ min: CTXPOPUP_CAMERA_ARROW_WIDTH CTXPOPUP_CAMERA_ARROW_HEIGHT;
+ max: CTXPOPUP_CAMERA_ARROW_WIDTH CTXPOPUP_CAMERA_ARROW_HEIGHT;
+ fixed: 1 1;
+ align: 1.0 0.5;
+ image {
+ normal: CTXPOPUP_RIGHTT_ARROW_IMAGE;
+ }
+ }
+ description {
+ state: "top" 0.0;
+ min: CTXPOPUP_CAMERA_ARROW_HEIGHT CTXPOPUP_CAMERA_ARROW_WIDTH;
+ max: CTXPOPUP_CAMERA_ARROW_HEIGHT CTXPOPUP_CAMERA_ARROW_WIDTH;
+ fixed: 1 1;
+ align: 0.5 0.0;
+ image {
+ normal: CTXPOPUP_TOP_ARROW_IMAGE;
+ }
+ }
+ description {
+ state: "bottom" 0.0;
+ min: CTXPOPUP_CAMERA_ARROW_HEIGHT CTXPOPUP_CAMERA_ARROW_WIDTH;
+ max: CTXPOPUP_CAMERA_ARROW_HEIGHT CTXPOPUP_CAMERA_ARROW_WIDTH;
+ fixed: 1 1;
+ align: 0.5 1.0;
+ image {
+ normal: CTXPOPUP_BOTTOM_ARROW_IMAGE;
+ }
+ }
+ }
+ }
+ programs {
+ program {
+ name: "enable_left_arrow";
+ signal: "elm,state,left";
+ source: "elm";
+ action: STATE_SET "left" 0.0;
+ target: "ctxpopup_arrow";
+ }
+ program {
+ name: "enable_right_arrow";
+ signal: "elm,state,right";
+ source: "elm";
+ action: STATE_SET "right" 0.0;
+ target: "ctxpopup_arrow";
+ }
+ program {
+ name: "enable_top_arrow";
+ signal: "elm,state,top";
+ source: "elm";
+ action: STATE_SET "top" 0.0;
+ target: "ctxpopup_arrow";
+ }
+ program {
+ name: "enable_bottom_arrow";
+ signal: "elm,state,bottom";
+ source: "elm";
+ action: STATE_SET "bottom" 0.0;
+ target: "ctxpopup_arrow";
+ }
+ }
+}
+
+group {
+ name: "elm/ctxpopup/bg/beat_winset_test/camera_no_arrow";
+ parts {
+ part {
+ name: "bg";
+ type: RECT;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ }
+ description {
+ state: "visible" 0.0;
+ visible: 0;
+ }
+ }
+ }
+ programs {
+ program {
+ name: "show";
+ signal: "elm,state,show";
+ source: "elm";
+ action: STATE_SET "visible" 0.0;
+ target: "bg";
+ }
+ program {
+ name: "hide";
+ signal: "elm,state,hide";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "bg";
+ }
+ }
+}
+
+group {
+ name: "elm/ctxpopup/base/beat_winset_test/camera_no_arrow";
+ images {
+ image: CTXPOPUP_BG_2DEPTH_IMAGE COMP;
+ }
+ parts {
+ part {
+ name: "ctxpopup_frame_left_top";
+ type: RECT;
+ scale: 1;
+ description {
+ visible:0;
+ align: 0 0;
+ min: CTXPOPUP_FRAME_CORNER_SIZE;
+ max: CTXPOPUP_FRAME_CORNER_SIZE;
+ }
+ }
+
+ part {
+ name: "ctxpopup_frame_right_top";
+ type: RECT;
+ scale: 1;
+ description {
+ visible:0;
+ align: 1 0;
+ min: CTXPOPUP_FRAME_CORNER_SIZE;
+ max: CTXPOPUP_FRAME_CORNER_SIZE;
+ }
+ }
+
+ part {
+ name: "ctxpopup_frame_left_bottom";
+ type: RECT;
+ scale: 1;
+ description {
+ visible:0;
+ align: 0 1;
+ min: CTXPOPUP_FRAME_CORNER_SIZE;
+ max: CTXPOPUP_FRAME_CORNER_SIZE;
+ }
+ }
+
+ part {
+ name: "ctxpopup_frame_right_bottom";
+ type: RECT;
+ scale: 1;
+ description {
+ visible:0;
+ align: 1 1;
+ min: CTXPOPUP_FRAME_CORNER_SIZE;
+ max: CTXPOPUP_FRAME_CORNER_SIZE;
+ }
+ }
+
+ part { name: "arrow_area_left";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ clip_to: "ctxpopup_clip";
+ description { state: "default" 0.0;
+ visible: 0;
+ min: 40 0;
+ fixed: 1 1;
+ align: 1 0.5;
+ rel1 {
+ relative: 0 1;
+ to_y: "ctxpopup_frame_left_top";
+ }
+ rel2 {
+ relative:0 0;
+ to:"ctxpopup_frame_left_bottom";
+ }
+ color : 255 255 255 0;
+ }
+ }
+ part { name: "arrow_area_right";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ clip_to: "ctxpopup_clip";
+ description { state: "default" 0.0;
+ visible: 0;
+ min: 40 0;
+ fixed: 1 1;
+ align: 0 0.5;
+ rel1 {
+ relative: 1 1;
+ to:"ctxpopup_frame_right_top";
+ }
+ rel2 {
+ relative: 1 0;
+ to_y: "ctxpopup_frame_right_bottom";
+ }
+ color : 255 255 255 0;
+ }
+ }
+ part { name: "arrow_area_up";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ clip_to: "ctxpopup_clip";
+ description { state: "default" 0.0;
+ visible: 0;
+ min: 0 40;
+ fixed: 1 1;
+ align: 0.5 1;
+ rel1 {
+ relative: 1 0;
+ to_x: "ctxpopup_frame_left_top";
+ }
+ rel2 {
+ relative: 0 0;
+ to:"ctxpopup_frame_right_top";
+ }
+ color : 255 255 255 0;
+ }
+ }
+ part { name: "arrow_area_down";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ clip_to: "ctxpopup_clip";
+ description { state: "default" 0.0;
+ visible: 0;
+ min: 0 40;
+ fixed: 1 1;
+ align: 0.5 0;
+ rel1 {
+ relative: 1 1;
+ to:"ctxpopup_frame_left_bottom";
+ }
+ rel2 {
+ relative: 0 1;
+ to_x: "ctxpopup_frame_right_bottom";
+ }
+ color : 255 255 255 0;
+ }
+ }
+
+ part { name: "elm.swallow.arrow_up";
+ type: SWALLOW;
+ mouse_events: 0;
+ scale: 1;
+ clip_to: "ctxpopup_clip";
+ dragable {
+ x: 1 1 0;
+ y: 1 1 0;
+ confine: "arrow_area_up";
+ }
+ description {
+ state: "default" 0.0;
+ min: 40 40;
+ fixed: 1 1;
+ visible: 1;
+ }
+ }
+ part { name: "elm.swallow.arrow_down";
+ type: SWALLOW;
+ mouse_events: 0;
+ scale: 1;
+ clip_to: "ctxpopup_clip";
+ dragable {
+ x: 1 1 0;
+ y: 1 1 0;
+ confine: "arrow_area_down";
+ }
+ description {
+ state: "default" 0.0;
+ min: 40 40;
+ fixed: 1 1;
+ visible: 1;
+ }
+ }
+ part { name: "elm.swallow.arrow_left";
+ type: SWALLOW;
+ mouse_events: 0;
+ scale: 1;
+ clip_to: "ctxpopup_clip";
+ dragable {
+ x: 1 1 0;
+ y: 1 1 0;
+ confine: "arrow_area_left";
+ }
+ description {
+ state: "default" 0.0;
+ min: 40 40;
+ fixed: 1 1;
+ visible: 1;
+ }
+ }
+ part { name: "elm.swallow.arrow_right";
+ type: SWALLOW;
+ mouse_events: 0;
+ scale: 1;
+ clip_to: "ctxpopup_clip";
+ dragable {
+ x: 1 1 0;
+ y: 1 1 0;
+ confine: "arrow_area_right";
+ }
+ description {
+ state: "default" 0.0;
+ min: 40 40;
+ fixed: 1 1;
+ visible: 1;
+ }
+ }
+
+ part {
+ name: "ctxpopup_frame";
+ type: IMAGE;
+ scale: 1;
+ clip_to: "ctxpopup_clip";
+ description {
+ align: 1 1;
+ /*color: 0 0 0 85;*/
+ image {
+ normal: CTXPOPUP_BG_2DEPTH_IMAGE;
+ border: 67 67 92 42;
+ border_scale: 1;
+ }
+ rel1 {to: "ctxpopup_frame_left_top"; relative: 0.5 0.5;}
+ rel2 {to: "ctxpopup_frame_right_bottom"; relative: 0.5 0.5;}
+
+ // color : 255 255 255 200;
+ }
+ }
+
+ part {
+ name: "elm.swallow.content";
+ type: SWALLOW;
+ clip_to: "ctxpopup_clip";
+ description {
+ state: "default" 0.0;
+ rel1 {to: "ctxpopup_frame_left_top"; relative: 0.5 0.5;}
+ rel2 {to: "ctxpopup_frame_right_bottom"; relative: 0.5 0.5;}
+ }
+ }
+
+ part { name: "ctxpopup_clip";
+ type: RECT;
+ description { state: "default" 0.0;
+ color: 255 255 255 0;
+ rel1 { to:"ctxpopup_frame_left_top"; relative: 0.5 0.5; }
+ rel2 { to:"ctxpopup_frame_right_bottom"; relative: 0.5 0.5; }
+ }
+ description { state: "show_up" 0.0;
+ color: 255 255 255 0;
+ rel1 { to:"arrow_area_down"; relative: 0 1; }
+ rel2 { to:"arrow_area_down"; relative: 1 1; }
+ }
+ description { state: "show_left" 0.0;
+ color: 255 255 255 0;
+ rel1 { to:"arrow_area_right"; relative: 1 0; }
+ rel2 { to:"arrow_area_right"; relative: 1 1; }
+ }
+ description { state: "show_right" 0.0;
+ color: 255 255 255 0;
+ rel1 { to:"arrow_area_left"; relative: 0 0; }
+ rel2 { to:"arrow_area_left"; relative: 0 1; }
+ }
+ description { state: "show_down" 0.0;
+ color: 255 255 255 0;
+ rel1 { to:"arrow_area_up"; relative: 0 0; }
+ rel2 { to:"arrow_area_up"; relative: 1 0; }
+ }
+ description { state: "hide_up" 0.0;
+ color: 255 255 255 255;
+ rel1 { to:"arrow_area_down"; relative: 0 1; }
+ rel2 { to:"arrow_area_down"; relative: 1 1; }
+ }
+ description { state: "hide_left" 0.0;
+ color: 255 255 255 255;
+ rel1 { to:"arrow_area_right"; relative: 1 0; }
+ rel2 { to:"arrow_area_right"; relative: 1 1; }
+ }
+ description { state: "hide_right" 0.0;
+ color: 255 255 255 255;
+ rel1 { to:"arrow_area_left"; relative: 0 0; }
+ rel2 { to:"arrow_area_left"; relative: 0 1; }
+ }
+ description { state: "hide_down" 0.0;
+ color: 255 255 255 255;
+ rel1 { to:"arrow_area_up"; relative: 0 0; }
+ rel2 { to:"arrow_area_up"; relative: 1 0; }
+ }
+ description { state: "visible" 0.0;
+ color: 255 255 255 255;
+ rel1 { to_x:"arrow_area_left"; to_y:"arrow_area_up"; }
+ rel2 { to_x:"arrow_area_right"; to_y:"arrow_area_down"; }
+ }
+ }
+ }
+ programs {
+ program { name: "show";
+ signal: "elm,state,show";
+ source: "elm";
+ action: STATE_SET "visible" 0.0;
+ transition: LINEAR 0.25;
+ target: "ctxpopup_clip";
+ }
+ program { name: "show_up";
+ signal: "elm,state,show,up";
+ source: "elm";
+ action: STATE_SET "show_up" 0.0;
+ transition: LINEAR 0.25;
+ target: "ctxpopup_clip";
+ }
+ program { name: "show_left";
+ signal: "elm,state,show,left";
+ source: "elm";
+ action: STATE_SET "show_left" 0.0;
+ transition: LINEAR 0.25;
+ target: "ctxpopup_clip";
+ }
+ program { name: "show_right";
+ signal: "elm,state,show,right";
+ source: "elm";
+ action: STATE_SET "show_right" 0.0;
+ transition: LINEAR 0.25;
+ target: "ctxpopup_clip";
+ }
+ program { name: "show_down";
+ signal: "elm,state,show,down";
+ source: "elm";
+ action: STATE_SET "show_down" 0.0;
+ transition: LINEAR 0.25;
+ target: "ctxpopup_clip";
+ }
+ program { name: "hide_up";
+ signal: "elm,state,hide,up";
+ source: "elm";
+ action: STATE_SET "hide_up" 0.0;
+ transition: LINEAR 0.25;
+ target: "ctxpopup_clip";
+ after: "hide_finished";
+ }
+ program { name: "hide_left";
+ signal: "elm,state,hide,left";
+ source: "elm";
+ action: STATE_SET "hide_left" 0.0;
+ transition: LINEAR 0.25;
+ target: "ctxpopup_clip";
+ after: "hide_finished";
+ }
+ program { name: "hide_right";
+ signal: "elm,state,hide,right";
+ source: "elm";
+ action: STATE_SET "hide_right" 0.0;
+ transition: LINEAR 0.25;
+ target: "ctxpopup_clip";
+ after: "hide_finished";
+ }
+ program { name: "hide_down";
+ signal: "elm,state,hide,down";
+ source: "elm";
+ action: STATE_SET "hide_down" 0.0;
+ transition: LINEAR 0.25;
+ target: "ctxpopup_clip";
+ after: "hide_finished";
+ }
+ program { name: "hide_finished";
+ action: SIGNAL_EMIT "elm,action,hide,finished" "";
+ }
+ }
+}
+
+group { name: "elm/ctxpopup/arrow/beat_winset_test/camera_no_arrow";
+ parts {
+ part {
+ name: "ctxpopup_arrow";
+ type: IMAGE;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ align: 0.5 0.5;
+ rel1.relative: 0.0 -0.5;
+ rel2.relative: 0.0 1.0;
+
+ }
+ description {
+ state: "left" 0.0;
+ inherit: "default" 0.0;
+ }
+ description {
+ state: "right" 0.0;
+ inherit: "default" 0.0;
+ }
+ description {
+ state: "top" 0.0;
+ inherit: "default" 0.0;
+ }
+ description {
+ state: "bottom" 0.0;
+ inherit: "default" 0.0;
+ }
+ }
+ }
+}
+
+
+#include "style_tizen_hd_inc.edc"
+#include "style_genlist_macro.edc"
+#include "style_genlist_normal.edc"
+
+}
+
diff --git a/edc/style_genlist_macro.edc b/edc/style_genlist_macro.edc
new file mode 100755
index 0000000..72b46db
--- /dev/null
+++ b/edc/style_genlist_macro.edc
@@ -0,0 +1,847 @@
+/*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.1 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://floralicense.org/license/
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+
+#define GENLIST_PART_BASE( param_item_height ) \
+ part { name: "base"; \
+ type: RECT; \
+ repeat_events: 0; \
+ scale: 1; \
+ description { state: "default" 0.0; \
+ min: 0 param_item_height; \
+ color: GENLIST_PART_BG_COLOR_INC; \
+ } \
+ }
+
+#define GENLIST_PART_BG \
+ part { name: "bg"; \
+ type: RECT; \
+ clip_to: "disclip"; \
+ mouse_events: 0; \
+ description { state: "default" 0.0; \
+ color: GENLIST_PART_BG_COLOR_INC; \
+ } \
+ description { state: "hide" 0.0; \
+ inherit: "default" 0.0; \
+ rel1 { relative: 0.025 0.0; } \
+ rel2 { relative: 1.025 1.0; } \
+ } \
+ description { state: "hide" 0.1; \
+ inherit: "default" 0.0; \
+ rel1 { relative: 0.13 0.0; } \
+ rel2 { relative: 1.13 1.0; } \
+ } \
+ description { state: "hide" 0.2; \
+ inherit: "default" 0.0; \
+ rel1 { relative: 0.5 0.0; } \
+ rel2 { relative: 1.5 1.0; } \
+ } \
+ description { state: "hide" 0.3; \
+ inherit: "default" 0.0; \
+ rel1 { relative: 1.0 0.0; } \
+ rel2 { relative: 2.0 1.0; } \
+ } \
+ }
+
+#define GENLIST_PART_BG_IMAGE \
+ part { name: "bg_image"; \
+ type: RECT; \
+ clip_to: "disclip"; \
+ mouse_events: 0; \
+ description { state: "default" 0.0; \
+ color: GENLIST_PART_LIST_BG_COLOR_INC; \
+ } \
+ description { state: "selected" 0.0; \
+ inherit: "default" 0.0; \
+ color: GENLIST_PART_LIST_PRESS_COLOR_INC; \
+ } \
+ }
+
+#define GENLIST_PART_BOTTOM_LINE \
+ part { name: "bottom_line"; \
+ type: RECT; \
+ mouse_events: 0; \
+ description { state: "default" 0.0; \
+ min: 0 1; \
+ fixed: 0 1; \
+ visible: 1; \
+ color: GENLIST_PART_LIST_LINE_COLOR_INC; \
+ rel1 { \
+ relative: 0.0 1.0; \
+ offset: 0 -1; \
+ } \
+ } \
+ }
+
+#define GENLIST_PART_BOTTOM_EFFECT_LINE \
+ part { name: "bottom_line"; \
+ type: RECT; \
+ mouse_events: 0; \
+ description { state: "default" 0.0; \
+ min: 0 1; \
+ fixed: 0 1; \
+ visible: 1; \
+ color: GENLIST_PART_LIST_LINE_COLOR_INC; \
+ rel1 { \
+ relative: 0.0 1.0; \
+ offset: 0 -1; \
+ } \
+ } \
+ GENLIST_PART_MAP_START(-90.0, 0.0, 0.0) \
+ GENLIST_PART_MAP_FINISH(0.0, 0.0, 0.0) \
+ }
+
+#define GENLIST_PART_PADDING_TOP( param_padding_size ) \
+ part { name: "elm.padding.top"; \
+ type: RECT; \
+ scale: 1; \
+ description { \
+ state: "default" 0.0; \
+ min: 0 param_padding_size; \
+ fixed: 0 1; \
+ visible: 0; \
+ rel2.relative: 1.0 0.0; \
+ align: 0.0 0.0; \
+ } \
+ }
+
+#define GENLIST_PART_PADDING_TEXT_TOP( param_padding_size ) \
+ part { name: "elm.padding.text.top"; \
+ type: RECT; \
+ scale: 1; \
+ description { \
+ state: "default" 0.0; \
+ min: 0 param_padding_size; \
+ fixed: 0 1; \
+ visible: 0; \
+ rel2.relative: 1.0 0.0; \
+ align: 0.0 0.0; \
+ } \
+ }
+
+#define GENLIST_PART_PADDING_BOTTOM( param_padding_size ) \
+ part { name: "elm.padding.bottom"; \
+ type: RECT; \
+ scale: 1; \
+ description { state: "default" 0.0; \
+ min: 0 param_padding_size; \
+ fixed: 0 1; \
+ visible: 0; \
+ rel1.relative: 0.0 1.0; \
+ align: 0.0 1.0; \
+ } \
+ }
+
+#define GENLIST_PART_PADDING_LEFT( param_padding_size ) \
+ part { name: "elm.padding.left"; \
+ type: RECT; \
+ scale: 1; \
+ description { state: "default" 0.0; \
+ min: param_padding_size 0; \
+ fixed: 1 0; \
+ visible: 0; \
+ rel2.relative: 0.0 1.0; \
+ align: 0.0 0.0; \
+ } \
+ }
+
+#define GENLIST_PART_PADDING_RIGHT( param_padding_size ) \
+ part { name: "elm.padding.right"; \
+ type: RECT; \
+ scale: 1; \
+ description { state: "default" 0.0; \
+ min: param_padding_size 0; \
+ fixed: 1 0; \
+ visible: 0; \
+ rel1.relative: 1.0 0.0; \
+ align: 1.0 0.0; \
+ } \
+ }
+
+#define GENLIST_PART_DIALOGUE_BASE( param_item_height ) \
+ part { name: "base"; \
+ type: RECT; \
+ clip_to: "disclip"; \
+ repeat_events: 1; \
+ scale: 1; \
+ description { state: "default" 0.0; \
+ min: 0 param_item_height; \
+ color: LAYOUT_GROUP_LIST_BG_COLOR_INC; \
+ } \
+ }
+
+#define GENLIST_PART_DIALOGUE_ITEM \
+ part { name: "elm.rect.dialogue"; \
+ type: RECT; \
+ scale: 1; \
+ description { state: "default" 0.0; \
+ min: GENLIST_PADDING_12_INC 0; \
+ fixed: 1 0; \
+ color: GENLIST_DIALOGUE_GROUP_LEFT_BG_COLOR_INC; \
+ rel2.relative: 0.0 1.0; \
+ align: 0.0 0.0; \
+ } \
+ }
+
+#define GENLIST_PART_DIALOGUE_EXPANDABLE_ITEM \
+ part { name: "elm.rect.dialogue"; \
+ type: RECT; \
+ scale: 1; \
+ description { state: "default" 0.0; \
+ min: GENLIST_PADDING_12_INC 0; \
+ fixed: 1 0; \
+ color: GENLIST_DIALOGUE_GROUP_LEFT_BG_COLOR_INC; \
+ rel2.relative: 0.0 1.0; \
+ align: 0.0 0.0; \
+ } \
+ GENLIST_PART_MAP_START(-90.0, 0.0, 0.0) \
+ GENLIST_PART_MAP_FINISH(0.0, 0.0, 0.0) \
+ }
+
+#define GENLIST_PART_SWALLOW_END( param_padding_size ) \
+ part { name: "elm.padding.left.swallow.end";\
+ clip_to: "disclip"; \
+ type: RECT;\
+ scale: 1;\
+ description { state: "default" 0.0;\
+ min: param_padding_size 0;\
+ fixed: 1 0;\
+ visible: 0; \
+ rel1.to_x: "elm.swallow.end";\
+ rel2 {\
+ relative: 0.0 1.0;\
+ to_x: "elm.swallow.end";\
+ }\
+ align: 1.0 0.5;\
+ }\
+ }\
+ part { name: "elm.swallow.end";\
+ clip_to: "disclip"; \
+ type: SWALLOW;\
+ scale: 1;\
+ description { state: "default" 0.0;\
+ fixed: 1 0;\
+ align: 1.0 0.5;\
+ rel1.to_x: "elm.padding.right";\
+ rel2 {\
+ relative: 0.0 1.0;\
+ to_x: "elm.padding.right";\
+ }\
+ }\
+ }
+
+#define GENLIST_PART_DISCLIP \
+ part { name: "disclip"; \
+ type: RECT; \
+ description { state: "default" 0.0; \
+ } \
+ description { state: "disabled" 0.0; \
+ inherit: "default" 0.0; \
+ color: GENLIST_PART_DISCLIP_COLOR_INC; \
+ } \
+ }
+
+#define GENLIST_EXPANDABLE_PART_PERSPECTIVE_POINT() \
+ part { name: "point"; \
+ type: RECT; \
+ scale: 1; \
+ description { \
+ state: "default" 0.0; \
+ color: 0 0 0 0; \
+ rel1 { relative: 0.0 0.0; } \
+ rel2 { relative: 1.0 0.0; } \
+ } \
+ }
+
+#define GENLIST_PART_MAP_START( param_x, param_y, param_z ) \
+ description { state: "map_transition" 0.0; \
+ inherit: "default" 0.0; \
+ color: 50 50 50 100; \
+ map { \
+ perspective: "point"; \
+ on: 1; \
+ smooth: 1; \
+ perspective_on: 1; \
+ backface_cull: 1; \
+ rotation { \
+ center: "point"; \
+ x: param_x; \
+ y: param_y; \
+ z: param_z; \
+ } \
+ } \
+ } \
+ description { \
+ state: "hide" 0.0; \
+ inherit: "default" 0.0; \
+ visible: 0; \
+ }
+
+#define GENLIST_PART_MAP_FINISH( param_x, param_y, param_z ) \
+ description { \
+ state: "map_rotate" 0.0; \
+ inherit: "default" 0.0; \
+ map { \
+ perspective: "point"; \
+ on: 1; \
+ smooth: 1; \
+ perspective_on: 1; \
+ backface_cull: 1; \
+ rotation { \
+ center: "point"; \
+ x: param_x; \
+ y: param_y; \
+ z: param_z; \
+ } \
+ } \
+ } \
+
+#define GENLIST_PART_MAP_BASE( param_item_height ) \
+ part { name: "base"; \
+ type: RECT; \
+ repeat_events: 1; \
+ scale: 1; \
+ description { state: "default" 0.0; \
+ min: 0 param_item_height; \
+ color: GENLIST_PART_BG_COLOR_INC; \
+ } \
+ GENLIST_PART_MAP_START(-90.0, 0.0, 0.0) \
+ GENLIST_PART_MAP_FINISH(0.0, 0.0, 0.0) \
+ }
+
+#define GENLIST_EXPANDABLE_PART_BASE( GE_HEIGHT , GE_COLOR ) \
+ part { name: "base"; \
+ type: RECT; \
+ repeat_events: 1; \
+ scale: 1; \
+ description { state: "default" 0.0; \
+ min: 0 GE_HEIGHT; \
+ color: GE_COLOR; \
+ } \
+ description { state: "selected" 0.0; \
+ inherit: "default" 0.0; \
+ color: GENLIST_PART_LIST_PRESS_COLOR_INC; \
+ } \
+ GENLIST_PART_MAP_START(-90.0, 0.0, 0.0) \
+ GENLIST_PART_MAP_FINISH(0.0, 0.0, 0.0) \
+ }
+
+#define GENLIST_PROGRAM_MAP_ROTATE_EXPAND_START() \
+ name: "rotaion_transition"; \
+ signal: "flip_item"; \
+ action: STATE_SET "map_transition" 0.0; \
+ after: "rotation";
+
+#define GENLIST_PROGRAM_MAP_ROTATE_EXPAND_FINISH( second ) \
+ name: "rotation"; \
+ action: STATE_SET "map_rotate" 0.0; \
+ transition: LINEAR second; \
+ after: "rotation_end";
+
+#define GENLIST_PROGRAM_MAP_EXPAND_END() \
+ name: "rotation_end"; \
+ action: STATE_SET "default" 0.0;
+
+#define GENLIST_PROGRAM_MAP_ROTATE_CONTRACT_START() \
+ name: "rotation_transition2"; \
+ signal: "elm,state,contract_flip"; \
+ action: STATE_SET "map_rotate" 0.0; \
+ after: "rotation2";
+
+#define GENLIST_PROGRAM_MAP_ROTATE_CONTRACT_FINISH( second ) \
+ name: "rotation2"; \
+ action: STATE_SET "map_transition" 0.0; \
+ transition: LINEAR second; \
+ after: "rotation3";
+
+#define GENLIST_PROGRAM_MAP_CONTRACT_END() \
+ name: "rotation3"; \
+ action: STATE_SET "hide" 0.0;
+
+#define GENLIST_PART_EXPANDABLE2_NOSHADOW_BASE( param_item_height ) \
+ part { name: "base"; \
+ type: RECT; \
+ repeat_events: 1; \
+ scale: 1; \
+ description { state: "default" 0.0; \
+ min: 0 param_item_height; \
+ color: GENLIST_PART_EXPANDABLE_2ND_DEPTH_BG_COLOR_INC; \
+ } \
+ GENLIST_PART_MAP_START(-90.0, 0.0, 0.0) \
+ GENLIST_PART_MAP_FINISH(0.0, 0.0, 0.0) \
+ }
+
+#define GENLIST_PART_EXPANDABLE_SWALLOW_PADDING \
+ part { name: "elm.swallow.pad"; \
+ type: SWALLOW; \
+ description { state: "default" 0.0; \
+ fixed: 1 0; \
+ align: 0.0 0.5; \
+ rel1 { \
+ relative: 1.0 0.0;\
+ to_x: "elm.padding.left"; \
+ } \
+ rel2.to_x: "elm.padding.left"; \
+ } \
+ GENLIST_PART_MAP_START(-90.0, 0.0, 0.0) \
+ GENLIST_PART_MAP_FINISH(0.0, 0.0, 0.0) \
+ } \
+
+#define GENLIST_PART_PADDING_LEFT_SLIDE( param_padding_size ) \
+ part { name: "elm.padding.left"; \
+ type: RECT; \
+ scale: 1; \
+ description { \
+ state: "default" 0.0; \
+ min: param_padding_size 0; \
+ fixed: 1 0; \
+ visible: 0; \
+ rel1 { relative: 0.0 0.0; to: "bg"; } \
+ rel2 { relative: 0.0 1.0; to: "bg"; } \
+ align: 0.0 0.0; \
+ } \
+ }
+
+/* only for demo */
+#define GENLIST_PART_BUTTON( param_name, param_text_name, param_text, param_left, param_right, param_top, param_bottom ) \
+ part { name: param_name; \
+ mouse_events: 1; \
+ description { state: "default" 0.0; \
+ visible: 1; \
+ rel1 { relative: param_left param_top; offset: 0 0; } \
+ rel2 { relative: param_right param_bottom; offset: -1 -1; } \
+ image { \
+ normal: "btn_normal.png"; \
+ border: 10 10 10 10; \
+ border_scale: 1; \
+ } \
+ image.middle: SOLID; \
+ fill.smooth: 0; \
+ } \
+ description { state: "selected" 0.0; \
+ inherit: "default" 0.0; \
+ image { \
+ normal: "btn_selected.png"; \
+ } \
+ } \
+ } \
+ part { name: param_text_name; \
+ type: TEXT; \
+ mouse_events: 0; \
+ scale: 1; \
+ description { \
+ align: 0.0 0.0; \
+ state: "default" 0.0; \
+ color: 0 0 0 255; \
+ rel1 { relative: 0.0 0.0; to: param_name; } \
+ rel2 { relative: 1.0 1.0; to: param_name; } \
+ text { \
+ text: param_text; \
+ font: "SLP:style=Roman"; \
+ size: 24; \
+ min: 1 1; \
+ align: 0.5 0.5; \
+ } \
+ } \
+ }
+
+/* only for demo */
+#define GENLIST_PROGRAM_BUTTON( param_name_focused, param_name_normal, param_part_name ) \
+ program { name: param_name_focused; \
+ source: param_part_name; \
+ signal: "mouse,down,1"; \
+ action: STATE_SET "selected" 0.0; \
+ target: param_part_name; \
+ } \
+ program { name: param_name_normal; \
+ source: param_part_name; \
+ signal: "mouse,up,1"; \
+ action: STATE_SET "default" 0.0; \
+ target: param_part_name; \
+ }
+
+#define GENLIST_PROGRAM_SLIDE_WITH_AFTER( param_name, param_state, param_next ) \
+ program { name: param_name; \
+ action: STATE_SET "hide" param_state; \
+ target: "bg"; \
+ transition: LINEAR 0.3; \
+ after: param_next; \
+ }
+
+#define GENLIST_PROGRAM_SLIDE( param_name, param_state_name, param_state_value ) \
+ program { name: param_name; \
+ action: STATE_SET param_state_name param_state_value; \
+ target: "bg"; \
+ transition: LINEAR 0.3; \
+ }
+
+#define DESC_FLIP_IMAGE( param_state_value, param_image_file_name ) \
+ description { state: "flipping" param_state_value; \
+ inherit: "default" 0.0; \
+ image { normal: param_image_file_name; } \
+ }
+
+#define DESC_TEXT_HIDE( param_state_value ) \
+ description { state: "hide" param_state_value; \
+ inherit: "default" 0.0; \
+ color: 0 0 0 (255*(1-param_state_value/0.20)); \
+ }
+
+#define GENLIST_EDIT_PART_BASE( param_item_height ) \
+ part { name: "base"; \
+ type: RECT; \
+ repeat_events: 0; \
+ scale: 1; \
+ description { state: "default" 0.0; \
+ min: 0 param_item_height; \
+ color: 0 0 0 0; \
+ } \
+ }
+
+#define GENLIST_PART_FLIP \
+ part { name: "elm.flip.content"; \
+ clip_to: "disclip"; \
+ type: SWALLOW; \
+ mouse_events: 1; \
+ scale: 1; \
+ description { state: "default" 0.0; \
+ visible: 0; \
+ fixed: 1 1; \
+ rel1 { \
+ relative: 1.0 0.5; \
+ to_x: "elm.padding.left"; \
+ } \
+ rel2 { \
+ relative: 0.0 0.5; \
+ to_x: "elm.padding.right"; \
+ } \
+ } \
+ description { state: "flip_enabled" 0.0; \
+ inherit: "default" 0.0; \
+ visible: 1; \
+ } \
+ }
+
+#define GENLIST_DESCRIPTION_INVISIBLE_SELECTED \
+ description { state: "selected" 1.0; \
+ inherit: "default" 0.0; \
+ visible: 0; \
+ }
+
+#define GENLIST_DESCRIPTION_FLIP_ENABLED \
+ description { state: "flip_enabled" 0.0; \
+ inherit: "default" 0.0; \
+ visible: 0; \
+ }
+
+#define GENLIST_PROGRAM_SCRIPT_FLIP_SELECT_1TEXT \
+ script { \
+ new st[31]; \
+ new Float:vl; \
+ get_state(PART:"elm.text", st, 30, vl); \
+ set_state(PART:"bg_image", "selected", 0.0); \
+ if (!strcmp(st, "flip_enabled")) \
+ set_state(PART:"elm.text", "selected", 1.0); \
+ else \
+ set_state(PART:"elm.text", "selected", 0.0); \
+ }
+
+#define GENLIST_PROGRAM_SCRIPT_FLIP_SELECT_2TEXT \
+ script { \
+ new st[31]; \
+ new Float:vl; \
+ get_state(PART:"elm.text.1", st, 30, vl); \
+ set_state(PART:"bg_image", "selected", 0.0); \
+ if (!strcmp(st, "flip_enabled")) { \
+ set_state(PART:"elm.text.1", "selected", 1.0); \
+ set_state(PART:"elm.text.2", "selected", 1.0); \
+ } \
+ else { \
+ set_state(PART:"elm.text.1", "selected", 0.0); \
+ set_state(PART:"elm.text.2", "selected", 0.0); \
+ } \
+ }
+
+#define GENLIST_PROGRAM_SCRIPT_FLIP_SELECT_3TEXT \
+ script { \
+ new st[31]; \
+ new Float:vl; \
+ get_state(PART:"elm.text.1", st, 30, vl); \
+ set_state(PART:"bg_image", "selected", 0.0); \
+ if (!strcmp(st, "flip_enabled")) { \
+ set_state(PART:"elm.text.1", "selected", 1.0); \
+ set_state(PART:"elm.text.2", "selected", 1.0); \
+ set_state(PART:"elm.text.3", "selected", 1.0); \
+ } \
+ else { \
+ set_state(PART:"elm.text.1", "selected", 0.0); \
+ set_state(PART:"elm.text.2", "selected", 0.0); \
+ set_state(PART:"elm.text.3", "selected", 0.0); \
+ } \
+ }
+
+#define GENLIST_PROGRAM_FLIP_1TEXT \
+ program { name: "flip_enabled"; \
+ signal: "elm,state,flip,enabled"; \
+ source: "elm"; \
+ action: STATE_SET "flip_enabled" 0.0; \
+ target: "elm.text"; \
+ target: "elm.flip.content"; \
+ } \
+ program { name: "flip_disabled"; \
+ signal: "elm,state,flip,disabled"; \
+ source: "elm"; \
+ action: STATE_SET "default" 0.0; \
+ target: "elm.text"; \
+ target: "elm.flip.content"; \
+ }
+
+#define GENLIST_PROGRAM_FLIP_1TEXT_1ICON \
+ program { name: "flip_enabled"; \
+ signal: "elm,state,flip,enabled"; \
+ source: "elm"; \
+ action: STATE_SET "flip_enabled" 0.0; \
+ target: "elm.text"; \
+ target: "elm.icon"; \
+ target: "elm.flip.content"; \
+ } \
+ program { name: "flip_disabled"; \
+ signal: "elm,state,flip,disabled"; \
+ source: "elm"; \
+ action: STATE_SET "default" 0.0; \
+ target: "elm.text"; \
+ target: "elm.icon"; \
+ target: "elm.flip.content"; \
+ }
+
+#define GENLIST_PROGRAM_FLIP_1TEXT_2ICON \
+ program { name: "flip_enabled"; \
+ signal: "elm,state,flip,enabled"; \
+ source: "elm"; \
+ action: STATE_SET "flip_enabled" 0.0; \
+ target: "elm.text"; \
+ target: "elm.icon.1"; \
+ target: "elm.icon.2"; \
+ target: "elm.flip.content"; \
+ } \
+ program { name: "flip_disabled"; \
+ signal: "elm,state,flip,disabled"; \
+ source: "elm"; \
+ action: STATE_SET "default" 0.0; \
+ target: "elm.text"; \
+ target: "elm.icon.1"; \
+ target: "elm.icon.2"; \
+ target: "elm.flip.content"; \
+ }
+
+#define GENLIST_PROGRAM_FLIP_1TEXT_3ICON \
+ program { name: "flip_enabled"; \
+ signal: "elm,state,flip,enabled"; \
+ source: "elm"; \
+ action: STATE_SET "flip_enabled" 0.0; \
+ target: "elm.text"; \
+ target: "elm.icon.1"; \
+ target: "elm.icon.2"; \
+ target: "elm.icon.3"; \
+ target: "elm.flip.content"; \
+ } \
+ program { name: "flip_disabled"; \
+ signal: "elm,state,flip,disabled"; \
+ source: "elm"; \
+ action: STATE_SET "default" 0.0; \
+ target: "elm.text"; \
+ target: "elm.icon.1"; \
+ target: "elm.icon.2"; \
+ target: "elm.icon.3"; \
+ target: "elm.flip.content"; \
+ }
+
+#define GENLIST_PROGRAM_FLIP_2TEXT \
+ program { name: "flip_enabled"; \
+ signal: "elm,state,flip,enabled"; \
+ source: "elm"; \
+ action: STATE_SET "flip_enabled" 0.0; \
+ target: "elm.text.1"; \
+ target: "elm.text.2"; \
+ target: "elm.flip.content"; \
+ } \
+ program { name: "flip_disabled"; \
+ signal: "elm,state,flip,disabled"; \
+ source: "elm"; \
+ action: STATE_SET "default" 0.0; \
+ target: "elm.text.1"; \
+ target: "elm.text.2"; \
+ target: "elm.flip.content"; \
+ }
+
+#define GENLIST_PROGRAM_FLIP_2TEXT_1ICON \
+ program { name: "flip_enabled"; \
+ signal: "elm,state,flip,enabled"; \
+ source: "elm"; \
+ action: STATE_SET "flip_enabled" 0.0; \
+ target: "elm.text.1"; \
+ target: "elm.text.2"; \
+ target: "elm.icon"; \
+ target: "elm.flip.content"; \
+ } \
+ program { name: "flip_disabled"; \
+ signal: "elm,state,flip,disabled"; \
+ source: "elm"; \
+ action: STATE_SET "default" 0.0; \
+ target: "elm.text.1"; \
+ target: "elm.text.2"; \
+ target: "elm.icon"; \
+ target: "elm.flip.content"; \
+ }
+
+#define GENLIST_PROGRAM_FLIP_2TEXT_2ICON \
+ program { name: "flip_enabled"; \
+ signal: "elm,state,flip,enabled"; \
+ source: "elm"; \
+ action: STATE_SET "flip_enabled" 0.0; \
+ target: "elm.text.1"; \
+ target: "elm.text.2"; \
+ target: "elm.icon.1"; \
+ target: "elm.icon.2"; \
+ target: "elm.flip.content"; \
+ } \
+ program { name: "flip_disabled"; \
+ signal: "elm,state,flip,disabled"; \
+ source: "elm"; \
+ action: STATE_SET "default" 0.0; \
+ target: "elm.text.1"; \
+ target: "elm.text.2"; \
+ target: "elm.icon.1"; \
+ target: "elm.icon.2"; \
+ target: "elm.flip.content"; \
+ }
+
+#define GENLIST_PROGRAM_FLIP_2TEXT_3ICON \
+ program { name: "flip_enabled"; \
+ signal: "elm,state,flip,enabled"; \
+ source: "elm"; \
+ action: STATE_SET "flip_enabled" 0.0; \
+ target: "elm.text.1"; \
+ target: "elm.text.2"; \
+ target: "elm.icon.1"; \
+ target: "elm.icon.2"; \
+ target: "elm.icon.3"; \
+ target: "elm.flip.content"; \
+ } \
+ program { name: "flip_disabled"; \
+ signal: "elm,state,flip,disabled"; \
+ source: "elm"; \
+ action: STATE_SET "default" 0.0; \
+ target: "elm.text.1"; \
+ target: "elm.text.2"; \
+ target: "elm.icon.1"; \
+ target: "elm.icon.2"; \
+ target: "elm.icon.3"; \
+ target: "elm.flip.content"; \
+ }
+
+#define GENLIST_PROGRAM_FLIP_3TEXT \
+ program { name: "flip_enabled"; \
+ signal: "elm,state,flip,enabled"; \
+ source: "elm"; \
+ action: STATE_SET "flip_enabled" 0.0; \
+ target: "elm.text.1"; \
+ target: "elm.text.2"; \
+ target: "elm.text.3"; \
+ target: "elm.flip.content"; \
+ } \
+ program { name: "flip_disabled"; \
+ signal: "elm,state,flip,disabled"; \
+ source: "elm"; \
+ action: STATE_SET "default" 0.0; \
+ target: "elm.text.1"; \
+ target: "elm.text.2"; \
+ target: "elm.text.3"; \
+ target: "elm.flip.content"; \
+ }
+
+#define GENLIST_PROGRAM_FLIP_3TEXT_1ICON \
+ program { name: "flip_enabled"; \
+ signal: "elm,state,flip,enabled"; \
+ source: "elm"; \
+ action: STATE_SET "flip_enabled" 0.0; \
+ target: "elm.text.1"; \
+ target: "elm.text.2"; \
+ target: "elm.text.3"; \
+ target: "elm.icon"; \
+ target: "elm.flip.content"; \
+ } \
+ program { name: "flip_disabled"; \
+ signal: "elm,state,flip,disabled"; \
+ source: "elm"; \
+ action: STATE_SET "default" 0.0; \
+ target: "elm.text.1"; \
+ target: "elm.text.2"; \
+ target: "elm.text.3"; \
+ target: "elm.icon"; \
+ target: "elm.flip.content"; \
+ }
+
+#define GENLIST_PROGRAM_FLIP_3TEXT_2ICON \
+ program { name: "flip_enabled"; \
+ signal: "elm,state,flip,enabled"; \
+ source: "elm"; \
+ action: STATE_SET "flip_enabled" 0.0; \
+ target: "elm.text.1"; \
+ target: "elm.text.2"; \
+ target: "elm.text.3"; \
+ target: "elm.icon.1"; \
+ target: "elm.icon.2"; \
+ target: "elm.flip.content"; \
+ } \
+ program { name: "flip_disabled"; \
+ signal: "elm,state,flip,disabled"; \
+ source: "elm"; \
+ action: STATE_SET "default" 0.0; \
+ target: "elm.text.1"; \
+ target: "elm.text.2"; \
+ target: "elm.text.3"; \
+ target: "elm.icon.1"; \
+ target: "elm.icon.2"; \
+ target: "elm.flip.content"; \
+ }
+
+#define GENLIST_PROGRAM_FLIP_3TEXT_3ICON \
+ program { name: "flip_enabled"; \
+ signal: "elm,state,flip,enabled"; \
+ source: "elm"; \
+ action: STATE_SET "flip_enabled" 0.0; \
+ target: "elm.text.1"; \
+ target: "elm.text.2"; \
+ target: "elm.text.3"; \
+ target: "elm.icon.1"; \
+ target: "elm.icon.2"; \
+ target: "elm.icon.3"; \
+ target: "elm.flip.content"; \
+ } \
+ program { name: "flip_disabled"; \
+ signal: "elm,state,flip,disabled"; \
+ source: "elm"; \
+ action: STATE_SET "default" 0.0; \
+ target: "elm.text.1"; \
+ target: "elm.text.2"; \
+ target: "elm.text.3"; \
+ target: "elm.icon.1"; \
+ target: "elm.icon.2"; \
+ target: "elm.icon.3"; \
+ target: "elm.flip.content"; \
+ }
+
diff --git a/edc/style_genlist_normal.edc b/edc/style_genlist_normal.edc
new file mode 100755
index 0000000..7d0eeb2
--- /dev/null
+++ b/edc/style_genlist_normal.edc
@@ -0,0 +1,866 @@
+/*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.1 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://floralicense.org/license/
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+
+ styles {
+ style {
+ name: "cam_textblock_gl_default";
+ base: "font=SLP:style=Roman font_size="GENLIST_FONT_40_INC" color=#FFFFFF ellipise=1.0 wrap=mixed";
+ tag: "br" "\n";
+ tag: "hilight" "+ font=SLP:style=Bold";
+ tag: "b" "+ font=SLP:style=Bold";
+ tag: "tab" "\t";
+ }
+ style {
+ name: "cam_textblock_gl_align_left";
+ base: "font=SLP:style=Roman font_size=30 color=#000000 ellipise=1.0 wrap=mixed";
+ tag: "br" "\n";
+ tag: "hilight" "+ font=SLP:style=Bold";
+ tag: "b" "+ font=SLP:style=Bold";
+ tag: "tab" "\t";
+ }
+}
+ group { name: "elm/genlist/item/camera/1text.1icon/default";
+ alias: "elm/genlist/item_odd/camera/1text.1icon/default";
+ alias: "elm/genlist/item_compress/camera/1text.1icon/default";
+ alias: "elm/genlist/item_compress_odd/camera/1text.1icon/default";
+ data.item: "stacking" "above";
+ data.item: "selectraise" "on";
+ data.item: "texts" "elm.text";
+ data.item: "contents" "elm.icon";
+ data.item: "flips" "elm.flip.content";
+
+ parts {
+ GENLIST_PART_BASE( GENLIST_HEIGHT_104_INC )
+ GENLIST_PART_BG_IMAGE
+ GENLIST_PART_BOTTOM_LINE
+ GENLIST_PART_PADDING_LEFT( GENLIST_PADDING_34_INC )
+ GENLIST_PART_PADDING_RIGHT( GENLIST_PADDING_14_INC )
+ part { name: "elm.icon";
+ clip_to: "disclip";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ min: 86 84;
+ max: 86 84;
+ aspect: 1.0 1.0;
+ rel1.to_x: "elm.padding.right";
+ rel2 {
+ relative: 0.0 1.0;
+ to_x: "elm.padding.right";
+ }
+ align: 1 0.5;
+ }
+ GENLIST_DESCRIPTION_FLIP_ENABLED
+ }
+ part { name: "elm.padding.icon.left";
+ clip_to: "disclip";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_PADDING_14_INC 0;
+ fixed: 1 0;
+ rel1.to_x: "elm.icon";
+ rel2 {
+ relative: 0.0 1.0;
+ to_x: "elm.icon";
+ }
+ align: 1.0 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "elm.text";
+ clip_to: "disclip";
+ type: TEXTBLOCK;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1 {
+ relative: 1.0 0.0;
+ to_x: "elm.padding.left";
+ }
+ rel2 {
+ relative: 0.0 1.0;
+ to_x: "elm.padding.icon.left";
+ }
+ align: 0.0 0.5;
+ color: GENLIST_PART_FONT_LIST_MAIN_TEXT_UNREAD_COLOR_INC;
+ text {
+ style: "cam_textblock_gl_default";
+ min: 0 0;
+ max: 0 1;
+ align: 0.0 0.5;
+ }
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ color: GENLIST_PART_TEXT_PRESS_COLOR_INC;
+ }
+ GENLIST_DESCRIPTION_FLIP_ENABLED
+ }
+ GENLIST_PART_FLIP
+ GENLIST_PART_DISCLIP
+ }
+ programs {
+ program { name: "go_active";
+ signal: "elm,state,selected";
+ source: "elm";
+ action: STATE_SET "selected" 0.0;
+ target: "bg_image";
+ target: "elm.text";
+ }
+ program { name: "go_passive";
+ signal: "elm,state,unselected";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "bg_image";
+ target: "elm.text";
+ transition: LINEAR 0.1;
+ }
+ program { name: "go_disabled";
+ signal: "elm,state,disabled";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "disclip";
+ }
+ program { name: "go_enabled";
+ signal: "elm,state,enabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "disclip";
+ }
+ GENLIST_PROGRAM_FLIP_1TEXT_1ICON
+ }
+ }
+
+group { name: "elm/genlist/item/camera/1text.2icon/default";
+ alias: "elm/genlist/item_odd/camera/1text.2icon/default";
+ alias: "elm/genlist/item_compress/camera/1text.2icon/default";
+ alias: "elm/genlist/item_compress_odd/camera/1text.2icon/default";
+ data.item: "stacking" "above";
+ data.item: "selectraise" "on";
+ data.item: "texts" "elm.text";
+ data.item: "contents" "elm.icon elm.radio";
+ data.item: "flips" "elm.flip.content";
+
+ parts {
+ GENLIST_PART_BASE( GENLIST_HEIGHT_104_INC )
+ GENLIST_PART_BG_IMAGE
+ GENLIST_PART_BOTTOM_LINE
+ GENLIST_PART_PADDING_LEFT( GENLIST_PADDING_14_INC )
+ GENLIST_PART_PADDING_RIGHT( GENLIST_PADDING_14_INC )
+ part { name: "elm.radio";
+ clip_to: "disclip";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ min: 86 70;
+ max: 86 70;
+ aspect: 1.0 1.0;
+ rel1 {
+ relative: 1.0 0.0;
+ to_x: "elm.padding.left";
+ }
+ rel2 {
+ relative: 1.0 1.0;
+ to_x: "elm.padding.left";
+ }
+ align: 0 0.5;
+ }
+ GENLIST_DESCRIPTION_FLIP_ENABLED
+ }
+ part { name: "elm.padding.radio.right";
+ clip_to: "disclip";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_PADDING_14_INC 0;
+ fixed: 1 0;
+ rel1 {
+ relative: 1.0 0.0;
+ to_x: "elm.radio";
+ }
+ rel2 {
+ relative: 1.0 1.0;
+ to_x: "elm.radio";
+ }
+ align: 0.0 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "elm.icon";
+ clip_to: "disclip";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ min: 86 84;
+ max: 86 84;
+ aspect: 1.0 1.0;
+ rel1 {
+ relative: 1.0 0.0;
+ to_x: "elm.padding.radio.right";
+ }
+ rel2 {
+ relative: 1.0 1.0;
+ to_x: "elm.padding.radio.right";
+ }
+ align: 0 0.5;
+ }
+ GENLIST_DESCRIPTION_FLIP_ENABLED
+ }
+
+ part { name: "elm.padding.icon.right";
+ clip_to: "disclip";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_PADDING_28_INC 0;
+ fixed: 1 0;
+ rel1 {
+ relative: 1.0 0.0;
+ to_x: "elm.icon";
+ }
+ rel2 {
+ relative: 1.0 1.0;
+ to_x: "elm.icon";
+ }
+ align: 0.0 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "elm.text";
+ clip_to: "disclip";
+ type: TEXTBLOCK;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1 {
+ relative: 1.0 0.0;
+ to_x: "elm.padding.icon.right";
+ }
+ rel2 {
+ relative: 0.0 1.0;
+ to_x: "elm.padding.right";
+ }
+ align: 0.0 0.5;
+ color: GENLIST_PART_FONT_LIST_MAIN_TEXT_UNREAD_COLOR_INC;
+ text {
+ style: "cam_textblock_gl_default";
+ min: 0 0;
+ max: 0 1;
+ align: 0.0 0.5;
+ }
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ color: GENLIST_PART_TEXT_PRESS_COLOR_INC;
+ }
+ GENLIST_DESCRIPTION_FLIP_ENABLED
+ }
+ GENLIST_PART_FLIP
+ GENLIST_PART_DISCLIP
+ }
+ programs {
+ program { name: "go_active";
+ signal: "elm,state,selected";
+ source: "elm";
+ action: STATE_SET "selected" 0.0;
+ target: "bg_image";
+ target: "elm.text";
+ }
+ program { name: "go_passive";
+ signal: "elm,state,unselected";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "bg_image";
+ target: "elm.text";
+ transition: LINEAR 0.1;
+ }
+ program { name: "go_disabled";
+ signal: "elm,state,disabled";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "disclip";
+ }
+ program { name: "go_enabled";
+ signal: "elm,state,enabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "disclip";
+ }
+ GENLIST_PROGRAM_FLIP_1TEXT_1ICON
+ }
+}
+
+group { name: "elm/genlist/item/camera/1text.2icon.2/default";
+ alias: "elm/genlist/item_odd/camera/1text.2icon.2/default";
+ alias: "elm/genlist/item_compress/camera/1text.2icon.2/default";
+ alias: "elm/genlist/item_compress_odd/camera/1text.2icon.2/default";
+ data.item: "stacking" "above";
+ data.item: "selectraise" "on";
+ data.item: "texts" "elm.text";
+ data.item: "contents" "elm.icon elm.radio";
+ data.item: "flips" "elm.flip.content";
+
+ parts {
+ GENLIST_PART_BASE( GENLIST_HEIGHT_86_INC )
+ GENLIST_PART_BG_IMAGE
+ GENLIST_PART_BOTTOM_LINE
+ GENLIST_PART_PADDING_LEFT( GENLIST_PADDING_14_INC )
+ GENLIST_PART_PADDING_RIGHT( GENLIST_PADDING_14_INC )
+ part { name: "elm.radio";
+ clip_to: "disclip";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ min: 86 70;
+ max: 86 70;
+ aspect: 1.0 1.0;
+ rel1 {
+ relative: 1.0 0.0;
+ to_x: "elm.padding.left";
+ }
+ rel2 {
+ relative: 1.0 1.0;
+ to_x: "elm.padding.left";
+ }
+ align: 0 0.5;
+ }
+ GENLIST_DESCRIPTION_FLIP_ENABLED
+ }
+ part { name: "elm.padding.radio.right";
+ clip_to: "disclip";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_PADDING_14_INC 0;
+ fixed: 1 0;
+ rel1 {
+ relative: 1.0 0.0;
+ to_x: "elm.radio";
+ }
+ rel2 {
+ relative: 1.0 1.0;
+ to_x: "elm.radio";
+ }
+ align: 0.0 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "elm.icon";
+ clip_to: "disclip";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ min: 86 84;
+ max: 86 84;
+ aspect: 1.0 1.0;
+ rel1 {
+ relative: 1.0 0.0;
+ to_x: "elm.padding.radio.right";
+ }
+ rel2 {
+ relative: 1.0 1.0;
+ to_x: "elm.padding.radio.right";
+ }
+ align: 0 0.5;
+ }
+ GENLIST_DESCRIPTION_FLIP_ENABLED
+ }
+
+ part { name: "elm.padding.icon.right";
+ clip_to: "disclip";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_PADDING_28_INC 0;
+ fixed: 1 0;
+ rel1 {
+ relative: 1.0 0.0;
+ to_x: "elm.icon";
+ }
+ rel2 {
+ relative: 1.0 1.0;
+ to_x: "elm.icon";
+ }
+ align: 0.0 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "elm.text";
+ clip_to: "disclip";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1 {
+ relative: 1.0 0.0;
+ to_x: "elm.padding.icon.right";
+ }
+ rel2 {
+ relative: 0.0 1.0;
+ to_x: "elm.padding.right";
+ }
+ align: 0.0 0.5;
+ color: GENLIST_PART_FONT_LIST_MAIN_TEXT_UNREAD_COLOR_INC;
+ text {
+ style: "btn_multiline_naviframe_controlbar_style";
+ min: 0 0;
+ max: 0 1;
+ align: 0.0 0.5;
+ }
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ color: GENLIST_PART_TEXT_PRESS_COLOR_INC;
+ }
+ GENLIST_DESCRIPTION_FLIP_ENABLED
+ }
+ GENLIST_PART_FLIP
+ GENLIST_PART_DISCLIP
+ }
+ programs {
+ program { name: "go_active";
+ signal: "elm,state,selected";
+ source: "elm";
+ action: STATE_SET "selected" 0.0;
+ target: "bg_image";
+ target: "elm.text";
+ }
+ program { name: "go_passive";
+ signal: "elm,state,unselected";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "bg_image";
+ target: "elm.text";
+ transition: LINEAR 0.1;
+ }
+ program { name: "go_disabled";
+ signal: "elm,state,disabled";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "disclip";
+ }
+ program { name: "go_enabled";
+ signal: "elm,state,enabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "disclip";
+ }
+ GENLIST_PROGRAM_FLIP_1TEXT_1ICON
+ }
+}
+
+
+////////////////////////////////////////////////////////////////////////////////
+ group { name: "elm/check/base/genlist/on&off";
+ data {
+ item: "label_1" "text.on On";
+ item: "label_2" "text.off Off";
+ }
+ images {
+ image: SETTING_POPUP_CHECK_BUTTON_ON_IMAGE COMP;
+ image: SETTING_POPUP_CHECK_BUTTON_OFF_IMAGE COMP;
+ }
+ parts {
+ part { name: "bg";
+ scale: 1;
+ type: RECT;
+ clip_to: "disclip";
+ description { state: "default" 0.0;
+ rel2.relative: 0.0 1.0;
+ fixed: 1 0;
+ align: 0.0 0.5;
+ min: 86 84;
+ max: 86 84;
+
+ color: 0 0 0 0;
+ }
+ }
+ part { name: "check";
+ mouse_events: 0;
+ scale: 1;
+ clip_to: "disclip";
+ description { state: "default" 0.0;
+ rel1.to: "bg";
+ rel2.to: "bg";
+ fixed: 1 0;
+ min: CHECK_ONOFF_BG_NORMAL_MIN_MAX_INC;
+ max: CHECK_ONOFF_BG_NORMAL_MIN_MAX_INC;
+ align: 0.5 0.5;
+ image {
+ normal: SETTING_POPUP_CHECK_BUTTON_OFF_IMAGE ;
+ border: CHECK_ONOFF_CHECK_IMAGE_BORDER_INC;
+ border_scale: 1;
+ }
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ image.normal: SETTING_POPUP_CHECK_BUTTON_ON_IMAGE ;
+ }
+ description { state: "pressed" 0.0;
+ inherit: "default" 0.0;
+ image.normal: SETTING_POPUP_CHECK_BUTTON_OFF_IMAGE ;
+ }
+ description { state: "visible_pressed" 0.0;
+ inherit: "default" 0.0;
+ image.normal: SETTING_POPUP_CHECK_BUTTON_ON_IMAGE ;
+ }
+ }
+ part { name: "text.on";
+ type: TEXT;
+ mouse_events: 0;
+ clip_to: "disclip";
+ scale:1;
+ description { state: "default" 0.0;
+ visible: 0;
+ rel1 {
+ relative: 0.0 0.0;
+ to: "check";
+ }
+ rel2 {
+ relative: 1.0 0.5;
+ to: "check";
+ }
+ text {
+ font: "SLP:style=Medium";
+ size: CHECK_ONOFF_ON_FONT_SIZE_INC;
+ fit: 1 1;
+ align: 0.2 0.5;
+ size_range: 12 CHECK_ONOFF_ON_FONT_SIZE_INC;
+ min: 0 0;
+ text_class: "slp_medium";
+ }
+ }
+ description { state: "on" 0.0;
+ inherit: "default" 0.0;
+ visible:1;
+ color: 255 255 255 255;
+ rel1 {
+ relative: 0.0 0.5;
+ to: "check";
+ }
+ rel2 {
+ relative: 1.0 1.0;
+ to: "check";
+ }
+ text {
+ font: "SLP:style=Medium";
+ size: CHECK_ONOFF_ON_FONT_SIZE_INC;
+ align: 0.2 0.5;
+ fit: 1 1;
+ size_range: 12 CHECK_ONOFF_ON_FONT_SIZE_INC;
+ min: 0 0;
+ }
+ }
+ }
+ part { name: "text.off";
+ type: TEXT;
+ mouse_events: 0;
+ clip_to: "disclip";
+ scale:1;
+ description { state: "default" 0.0;
+ color: 107 107 81 255;
+ rel1.to: "check";
+ rel2 {
+ relative: 1.0 0.5;
+ to: "check";
+ }
+ text {
+ font: "SLP:style=Medium";
+ size: CHECK_ONOFF_OFF_FONT_SIZE_INC;
+ fit: 1 1;
+ align: 0.2 0.5;
+ size_range: 12 CHECK_ONOFF_OFF_FONT_SIZE_INC;
+ min: 0 0;
+ text_class: "slp_medium";
+ }
+ }
+ description { state: "off" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ rel1 {
+ relative: 0.0 0.5;
+ to: "check";
+ }
+ rel2.to: "check";
+ text {
+ font: "SLP:style=Medium";
+ size: CHECK_ONOFF_OFF_FONT_SIZE_INC;
+ align: 0.2 0.5;
+ fit: 1 1;
+ size_range: 12 CHECK_ONOFF_OFF_FONT_SIZE_INC;
+ min: 0 0;
+ }
+ }
+ }
+ part { name: "elm.swallow.content";
+ type: SWALLOW;
+ clip_to: "disclip";
+ description { state: "default" 0.0;
+ fixed: 1 0;
+ visible: 0;
+ color: 255 255 255 255;
+ align: 0.0 0.5;
+ rel1 {
+ to_x: "bg";
+ relative: 1.0 0.0;
+ offset: 1 1;
+ }
+ rel2 {
+ to_x: "bg";
+ relative: 1.0 1.0;
+ offset: 2 -2;
+ }
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ fixed: 1 1;
+ visible: 1;
+ aspect: 1.0 1.0;
+ aspect_preference: VERTICAL;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ }
+ description { state: "disabled_visible" 0.0;
+ inherit: "default" 0.0;
+ fixed: 1 1;
+ visible: 1;
+ aspect: 1.0 1.0;
+ }
+ }
+ part { name: "elm.text";
+ type: TEXTBLOCK;
+ mouse_events: 0;
+ scale: 1;
+ clip_to: "disclip";
+ description { state: "default" 0.0;
+ visible: 0;
+ fixed: 0 1;
+ rel1 {
+ relative: 1.0 0.5;
+ offset: 1 1;
+ to_x: "elm.swallow.content";
+ }
+ rel2 {
+ relative: 1.0 0.5;
+ offset: -2 -2;
+ }
+ align: 0.0 0.5;
+ text {
+ style: "cam_textblock_gl_default";
+ min: 0 0;
+ max: 0 1;
+ align: 0.0 0.5;
+ }
+ color: CHECK_DEFAULT_TEXT_NORMAL_COLOR_INC;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ text.min: 1 1;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ }
+ description { state: "disabled_visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ text.min: 1 1;
+ }
+ }
+ part { name: "events";
+ type: RECT;
+ ignore_flags: ON_HOLD;
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ }
+ }
+ part { name: "disclip";
+ type: RECT;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ color: 255 255 255 255;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ color: 255 255 255 64;
+ }
+ }
+ part { name: "disabler";
+ type: RECT;
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ visible: 0;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ }
+ programs {
+ program { name: "click";
+ signal: "mouse,up,1";
+ source: "events";
+ action: SIGNAL_EMIT "elm,action,check,toggle" "";
+ }
+ program { name: "pressed";
+ signal: "mouse,down,1";
+ source: "events";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"check", st, 30, vl);
+ if (!strcmp(st, "visible"))
+ set_state(PART:"check", "visible_pressed", 0.0);
+ else if (!strcmp(st, "default"))
+ set_state(PART:"check", "pressed", 0.0);
+ }
+ }
+ program { name: "mouseout";
+ signal: "mouse,out";
+ source: "events";
+ after: "bg_check_normal";
+ }
+ program { name: "bg_check_normal";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"check", st, 30, vl);
+ if (!strcmp(st, "pressed"))
+ set_state(PART:"check", "default", 0.0);
+ else if (!strcmp(st, "visible_pressed"))
+ set_state(PART:"check", "visible", 0.0);
+ }
+ }
+ program { name: "check_on";
+ signal: "elm,state,check,on";
+ source: "elm";
+ action: STATE_SET "visible" 0.0;
+ target: "check";
+ after:"text_off_off" ;
+ }
+ program { name: "text_off_off";
+ action: STATE_SET "off" 0.0;
+ target: "text.off";
+ after: "text_on";
+ }
+ program { name: "text_on";
+ action: STATE_SET "on" 0.0;
+ target: "text.on";
+ }
+ program { name: "check_off";
+ signal: "elm,state,check,off";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "check";
+ after: "text_on_off";
+ }
+ program { name: "text_on_off";
+ action: STATE_SET "default" 0.0;
+ target: "text.on";
+ after: "text_off";
+ }
+ program { name: "text_off";
+ action: STATE_SET "default" 0.0;
+ target: "text.off";
+ }
+ program { name: "text_show";
+ signal: "elm,state,text,visible";
+ source: "elm";
+ action: STATE_SET "visible" 0.0;
+ target: "elm.text";
+ }
+ program { name: "text_hide";
+ signal: "elm,state,text,hidden";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text";
+ }
+ program { name: "icon_show";
+ signal: "elm,state,icon,visible";
+ source: "elm";
+ action: STATE_SET "visible" 0.0;
+ target: "elm.swallow.content";
+ }
+ program { name: "icon_hide";
+ signal: "elm,state,icon,hidden";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.swallow.content";
+ }
+ program { name: "disable";
+ signal: "elm,state,disabled";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "disabler";
+ target: "disclip";
+ after: "disable_text";
+ }
+ program { name: "disable_text";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.text", st, 30, vl);
+ if (!strcmp(st, "visible"))
+ set_state(PART:"elm.text", "disabled_visible", 0.0);
+ else
+ set_state(PART:"elm.text", "disabled", 0.0);
+ get_state(PART:"elm.swallow.content", st, 30, vl);
+ if (!strcmp(st, "visible"))
+ set_state(PART:"elm.swallow.content", "disabled_visible", 0.0);
+ else
+ set_state(PART:"elm.swallow.content", "disabled", 0.0);
+ }
+ }
+ program { name: "enable";
+ signal: "elm,state,enabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "disabler";
+ target: "disclip";
+ after: "enable_text";
+ }
+ program { name: "enable_text";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.text", st, 30, vl);
+ if (!strcmp(st, "disabled_visible"))
+ set_state(PART:"elm.text", "visible", 0.0);
+ else
+ set_state(PART:"elm.text", "default", 0.0);
+ get_state(PART:"elm.swallow.content", st, 30, vl);
+ if (!strcmp(st, "visible"))
+ set_state(PART:"elm.swallow.content", "visible", 0.0);
+ else
+ set_state(PART:"elm.swallow.content", "default", 0.0);
+ }
+ }
+ }
+ }
+
+///////////////////////////////////////////////////////////////////////////////////////
+
+
+//end file
diff --git a/edc/style_label_camera.edc b/edc/style_label_camera.edc
new file mode 100755
index 0000000..c7fb7be
--- /dev/null
+++ b/edc/style_label_camera.edc
@@ -0,0 +1,634 @@
+/*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.1 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://floralicense.org/license/
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+
+
+#define TEXT_SLIDE_DURATION 10
+
+ styles {
+ style { name: "textblock_style";
+ base: "font=SLP:style=Medium font_size="LABEL_FONT_SIZE_INC" color="LABEL_TEXT_BLOCK_STYLE_COLOR_INC" text_class=slp_medium";
+ tag: "br" "\n";
+ tag: "ps" "ps";
+ tag: "hilight" "+ font=SLP:style=Bold";
+ tag: "b" "+ font=SLP:style=Bold";
+ tag: "tab" "\t";
+ }
+ }
+
+ /* label doesn't use it */
+ styles {
+ style { name: "textblock_charwrap_style";
+base: "font=SLP:style=Medium font_size="LABEL_FONT_SIZE_INC" color="LABEL_TEXT_BLOCK_STYLE_COLOR_INC" text_class=slp_medium";
+ tag: "br" "\n";
+ tag: "ps" "ps";
+ tag: "hilight" "+ font=SLP:style=Bold";
+ tag: "b" "+ font=SLP:style=Bold";
+ tag: "tab" "\t";
+ }
+ }
+
+collections {
+
+ group { name: "elm/label/base/default";
+ data.item: "default_font_size" LABEL_FONT_SIZE_INC;
+ data.item: "min_font_size" LABEL_MIN_FONT_SIZE_INC;
+ data.item: "max_font_size" LABEL_MAX_FONT_SIZE_INC;
+ parts {
+ part { name: "label.text.clip";
+ type: RECT;
+ description { state: "default" 0.0;
+ }
+ }
+ part { name: "elm.text";
+ type: TEXTBLOCK;
+ scale: 1;
+ clip_to: "label.text.clip";
+ description { state: "default" 0.0;
+ text {
+ style: "textblock_style";
+ min: 0 1;
+ align: 0.0 0.0;
+ }
+ }
+ }
+ }
+ }
+
+ /* default label doesn't use it */
+ group { name: "elm/label/base_wrap/default";
+ data.item: "default_font_size" LABEL_FONT_SIZE_INC;
+ data.item: "min_font_size" LABEL_MIN_FONT_SIZE_INC;
+ data.item: "max_font_size" LABEL_MAX_FONT_SIZE_INC;
+ parts {
+ part { name: "elm.text";
+ type: TEXTBLOCK;
+ mouse_events: 1;
+ scale: 1;
+ multiline: 1;
+ description { state: "default" 0.0;
+ text {
+ style: "textblock_style";
+ min: 0 1;
+ align: 0.0 0.0;
+ }
+ }
+ description { state: "charwrap_mode" 0.0;
+ text {
+ style: "textblock_charwrap_style";
+ min: 0 1;
+ align: 0.0 0.0;
+ }
+ }
+ }
+ }
+ programs {
+ program { name: "default_on";
+ signal: "elm,state,default";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text";
+ }
+ program { name: "charwrap_on";
+ signal: "elm,state,charwrap";
+ source: "elm";
+ action: STATE_SET "charwrap_mode" 0.0;
+ target: "elm.text";
+ }
+ } // end programs
+ } // end group
+
+ /* default label doesn't use it */
+ group { name: "elm/label/base_wrap_ellipsis/default";
+ data.item: "default_font_size" LABEL_FONT_SIZE_INC;
+ data.item: "min_font_size" LABEL_MIN_FONT_SIZE_INC;
+ data.item: "max_font_size" LABEL_MAX_FONT_SIZE_INC;
+ parts {
+ part { name: "elm.text";
+ type: TEXTBLOCK;
+ mouse_events: 0;
+ scale: 1;
+ multiline: 1;
+ description { state: "default" 0.0;
+ // FIXME : fixed for multiline ellipsis.
+ // does it need to make another ellipsis style?
+ fixed: 0 1;
+ text {
+ style: "textblock_style";
+ min: 0 1;
+ align: 0.0 0.0;
+ }
+ }
+ description { state: "charwrap_mode" 0.0;
+ // FIXME : fixed for multiline ellipsis.
+ // does it need to make another ellipsis style?
+ fixed: 0 1;
+ text {
+ style: "textblock_charwrap_style";
+ min: 0 1;
+ align: 0.0 0.0;
+ }
+ }
+ }
+ }
+ programs {
+ program { name: "default_on";
+ signal: "elm,state,default";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text";
+ }
+ program { name: "charwrap_on";
+ signal: "elm,state,charwrap";
+ source: "elm";
+ action: STATE_SET "charwrap_mode" 0.0;
+ target: "elm.text";
+ }
+ } // end programs
+ } // end group
+
+ group { name: "elm/label/base/marker";
+ data.item: "default_font_size" LABEL_FONT_SIZE_INC;
+ data.item: "min_font_size" LABEL_MIN_FONT_SIZE_INC;
+ data.item: "max_font_size" LABEL_MAX_FONT_SIZE_INC;
+ styles {
+ style { name: "textblock_style2";
+ base: "font=SLP:style=Bold font_size=14 align=center color=#fff wrap=word text_class=slp_bold";
+ tag: "br" "\n";
+ tag: "ps" "ps";
+ tag: "hilight" "+ color=#ffff";
+ tag: "b" "+ color=#ffff";
+ tag: "tab" "\t";
+ }
+ }
+ parts {
+ part { name: "elm.text";
+ type: TEXTBLOCK;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ text {
+ style: "textblock_style2";
+ min: 1 1;
+ align: 0.0 0.0;
+ }
+ }
+ }
+ }
+ }
+
+ /* default label doesn't use it */
+ group { name: "elm/label/base_wrap/marker";
+ data.item: "default_font_size" LABEL_FONT_SIZE_INC;
+ data.item: "min_font_size" LABEL_MIN_FONT_SIZE_INC;
+ data.item: "max_font_size" LABEL_MAX_FONT_SIZE_INC;
+ parts {
+ part { name: "elm.text";
+ type: TEXTBLOCK;
+ mouse_events: 0;
+ scale: 1;
+ multiline: 1;
+ description { state: "default" 0.0;
+ text {
+ style: "textblock_style2";
+ min: 1 1;
+ align: 0.0 0.0;
+ }
+ }
+ }
+ }
+ }
+
+ group { name: "elm/label/base/titlebar/default";
+ data.item: "default_font_size" LABEL_FONT_SIZE_INC;
+ data.item: "min_font_size" LABEL_MIN_FONT_SIZE_INC;
+ data.item: "max_font_size" LABEL_MAX_FONT_SIZE_INC;
+ parts {
+ part { name: "elm.text";
+ type: TEXT;
+ effect: SHADOW;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ text {
+ font: "SLP:style=Bold";
+ size: 28;
+ min: 0 0;
+ align: 0.0 0.5;
+ text: "slp";
+ }
+ color2: 0 0 0 255;
+ }
+ }
+ }
+ }
+
+ group { name: "elm/label/base/titlebar/header";
+ data.item: "default_font_size" LABEL_FONT_SIZE_INC;
+ data.item: "min_font_size" LABEL_MIN_FONT_SIZE_INC;
+ data.item: "max_font_size" LABEL_MAX_FONT_SIZE_INC;
+ styles {
+ style { name: "header_textblock_style";
+ base: "font=SLP:style=Medium font_size=34 color=#ffffff wrap=mixed";
+ tag: "br" "\n";
+ tag: "ps" "ps";
+ tag: "tab" "\t";
+ tag: "em" "+ font=SLP:style=Oblique";
+ tag: "b" "+ font=SLP:style=Bold";
+ tag: "link" "+ color=#800 underline=on underline_color=#8008";
+ tag: "hilight" "+ font=SLP:style=Bold";
+ }
+ }
+
+ parts {
+ part { name: "elm.text";
+ type: TEXT;
+ effect: SHADOW;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ text {
+ font: "SLP:style=Medium";
+ size: 34;
+ min: 0 0;
+ align: 0.0 0.5;
+ text: "slp";
+ }
+ color2: 0 0 0 255;
+ }
+ }
+ }
+ }
+
+
+ group { name: "elm/label/base/slide_long";
+ data.item: "default_font_size" LABEL_FONT_SIZE_INC;
+ data.item: "min_font_size" LABEL_MIN_FONT_SIZE_INC;
+ data.item: "max_font_size" LABEL_MAX_FONT_SIZE_INC;
+
+ script {
+ public g_duration, g_stopslide, g_timer_id, g_anim_id;
+
+ public message(Msg_Type:type, id, ...) {
+ if ((type == MSG_FLOAT_SET) && (id == 0)) {
+ new Float:duration;
+ duration = getfarg(2);
+ set_float(g_duration, duration);
+ }
+ }
+ public slide_to_end_anim(val, Float:pos) {
+ new stopflag;
+ new id;
+ stopflag = get_int(g_stopslide);
+ if (stopflag == 1) return;
+ set_tween_state(PART:"elm.text", pos, "slide_begin", 0.0, "slide_end", 0.0);
+ if (pos >= 1.0) {
+ id = timer(0.5, "slide_to_begin", 1);
+ set_int(g_timer_id, id);
+ }
+ }
+ public slide_to_end() {
+ new stopflag;
+ new id;
+ new Float:duration;
+ stopflag = get_int(g_stopslide);
+ if (stopflag == 1) return;
+ duration = get_float(g_duration);
+ id = anim(duration, "slide_to_end_anim", 1);
+ set_int(g_anim_id, id);
+ }
+ public slide_to_begin() {
+ new stopflag;
+ new id;
+ stopflag = get_int(g_stopslide);
+ if (stopflag == 1) return;
+ set_state(PART:"elm.text", "slide_begin", 0.0);
+ id = timer(0.5, "slide_to_end", 1);
+ set_int(g_timer_id, id);
+ }
+ public start_slide() {
+ set_int(g_stopslide, 0);
+ set_state(PART:"elm.text", "slide_begin", 0.0);
+ slide_to_end();
+ }
+ public stop_slide() {
+ new id;
+ set_int(g_stopslide, 1);
+ id = get_int(g_anim_id);
+ cancel_anim(id);
+ id = get_int(g_timer_id);
+ cancel_timer(id);
+ set_state(PART:"elm.text", "default", 0.0);
+ }
+ }
+
+ parts {
+ part { name: "label.text.clip";
+ type: RECT;
+ description { state: "default" 0.0;
+ }
+ }
+ part { name: "elm.text";
+ type: TEXTBLOCK;
+ mouse_events: 0;
+ scale: 1;
+ clip_to: "label.text.clip";
+ description { state: "default" 0.0;
+ rel1.relative: 0.0 0.0;
+ rel2.relative: 1.0 1.0;
+ align: 0.0 0.0;
+ text {
+ style: "textblock_style";
+ min: 1 1;
+ align: 0.0 0.0;
+ }
+ }
+ description { state: "slide_end" 0.0;
+ inherit: "default" 0.0;
+ rel1.relative: 0.0 0.0;
+ rel2.relative: 0.0 1.0;
+ align: 1.0 0.0;
+ }
+ description { state: "slide_begin" 0.0;
+ inherit: "default" 0.0;
+ rel1.relative: 1.0 0.0;
+ rel2.relative: 1.0 1.0;
+ align: 0.0 0.0;
+ }
+ }
+ }
+ programs {
+ program { name: "start_slide";
+ source: "elm";
+ signal: "elm,state,slide,start";
+ script {
+ start_slide();
+ }
+ }
+ program { name: "stop_slide";
+ source: "elm";
+ signal: "elm,state,slide,stop";
+ script {
+ stop_slide();
+ }
+ }
+ }
+ }
+
+
+ group { name: "elm/label/base/slide_short";
+ data.item: "default_font_size" LABEL_FONT_SIZE_INC;
+ data.item: "min_font_size" LABEL_MIN_FONT_SIZE_INC;
+ data.item: "max_font_size" LABEL_MAX_FONT_SIZE_INC;
+
+ script {
+ public g_duration, g_stopslide, g_timer_id, g_anim_id;
+
+ public message(Msg_Type:type, id, ...) {
+ if ((type == MSG_FLOAT_SET) && (id == 0)) {
+ new Float:duration;
+ duration = getfarg(2);
+ set_float(g_duration, duration);
+ }
+ }
+ public slide_to_end_anim(val, Float:pos) {
+ new stopflag;
+ new id;
+ stopflag = get_int(g_stopslide);
+ if (stopflag == 1) return;
+ set_tween_state(PART:"elm.text", pos, "slide_begin", 0.0, "slide_end", 0.0);
+ if (pos >= 1.0) {
+ id = timer(0.5, "slide_to_begin", 1);
+ set_int(g_timer_id, id);
+ }
+ }
+ public slide_to_end() {
+ new stopflag;
+ new id;
+ new Float:duration;
+ stopflag = get_int(g_stopslide);
+ if (stopflag == 1) return;
+ duration = get_float(g_duration);
+ id = anim(duration, "slide_to_end_anim", 1);
+ set_int(g_anim_id, id);
+ }
+ public slide_to_begin() {
+ new stopflag;
+ new id;
+ stopflag = get_int(g_stopslide);
+ if (stopflag == 1) return;
+ set_state(PART:"elm.text", "slide_begin", 0.0);
+ id = timer(0.5, "slide_to_end", 1);
+ set_int(g_timer_id, id);
+ }
+ public start_slide() {
+ set_int(g_stopslide, 0);
+ set_state(PART:"elm.text", "slide_begin", 0.0);
+ slide_to_end();
+ }
+ public stop_slide() {
+ new id;
+ set_int(g_stopslide, 1);
+ id = get_int(g_anim_id);
+ cancel_anim(id);
+ id = get_int(g_timer_id);
+ cancel_timer(id);
+ set_state(PART:"elm.text", "default", 0.0);
+ }
+ }
+
+ parts {
+ part { name: "label.text.clip";
+ type: RECT;
+ description { state: "default" 0.0;
+ }
+ }
+ part { name: "elm.text";
+ type: TEXTBLOCK;
+ mouse_events: 0;
+ scale: 1;
+ clip_to: "label.text.clip";
+ description { state: "default" 0.0;
+ rel1.relative: 0.0 0.0;
+ rel2.relative: 1.0 1.0;
+ align: 0.0 0.0;
+ text {
+ style: "textblock_style";
+ min: 1 1;
+ align: 0.0 0.0;
+ }
+ }
+ description { state: "slide_end" 0.0;
+ inherit: "default" 0.0;
+ rel1.relative: 1.0 0.0;
+ rel2.relative: 1.0 1.0;
+ align: 1.0 0.0;
+ }
+ description { state: "slide_begin" 0.0;
+ inherit: "default" 0.0;
+ rel1.relative: 0.0 0.0;
+ rel2.relative: 0.0 1.0;
+ align: 0.0 0.0;
+ }
+ }
+ }
+ programs {
+ program { name: "start_slide";
+ source: "elm";
+ signal: "elm,state,slide,start";
+ script {
+ start_slide();
+ }
+ }
+ program { name: "stop_slide";
+ source: "elm";
+ signal: "elm,state,slide,stop";
+ script {
+ stop_slide();
+ }
+ }
+ }
+ }
+
+ group { name: "elm/label/base/slide_bounce";
+ data.item: "default_font_size" LABEL_FONT_SIZE_INC;
+ data.item: "min_font_size" LABEL_MIN_FONT_SIZE_INC;
+ data.item: "max_font_size" LABEL_MAX_FONT_SIZE_INC;
+
+ script {
+ public g_duration, g_stopslide, g_timer_id, g_anim_id;
+
+ public message(Msg_Type:type, id, ...) {
+ if ((type == MSG_FLOAT_SET) && (id == 0)) {
+ new Float:duration;
+ duration = getfarg(2);
+ set_float(g_duration, duration);
+ }
+ }
+ public slide_to_end_anim(val, Float:pos) {
+ new stopflag;
+ new id;
+ stopflag = get_int(g_stopslide);
+ if (stopflag == 1) return;
+ set_tween_state(PART:"elm.text", pos, "slide_begin", 0.0, "slide_end", 0.0);
+ if (pos >= 1.0) {
+ id = timer(0.5, "slide_to_begin", 1);
+ set_int(g_timer_id, id);
+ }
+ }
+ public slide_to_end() {
+ new stopflag;
+ new id;
+ new Float:duration;
+ stopflag = get_int(g_stopslide);
+ if (stopflag == 1) return;
+ duration = get_float(g_duration);
+ id = anim(duration, "slide_to_end_anim", 1);
+ set_int(g_anim_id, id);
+ }
+ public slide_to_begin_anim(val, Float:pos) {
+ new stopflag;
+ new id;
+ stopflag = get_int(g_stopslide);
+ if (stopflag == 1) return;
+ set_tween_state(PART:"elm.text", pos, "slide_end", 0.0, "slide_begin", 0.0);
+ if (pos >= 1.0) {
+ id = timer(0.5, "slide_to_end", 1);
+ set_int(g_timer_id, id);
+ }
+ }
+ public slide_to_begin() {
+ new stopflag;
+ new id;
+ new Float:duration;
+ stopflag = get_int(g_stopslide);
+ if (stopflag == 1) return;
+ duration = get_float(g_duration);
+ id = anim(duration, "slide_to_begin_anim", 1);
+ set_int(g_anim_id, id);
+ }
+ public start_slide() {
+ set_int(g_stopslide, 0);
+ set_state(PART:"elm.text", "slide_begin", 0.0);
+ slide_to_end();
+ }
+ public stop_slide() {
+ new id;
+ set_int(g_stopslide, 1);
+ id = get_int(g_anim_id);
+ cancel_anim(id);
+ id = get_int(g_timer_id);
+ cancel_timer(id);
+ set_state(PART:"elm.text", "default", 0.0);
+ }
+ }
+
+ parts {
+ part { name: "label.text.clip";
+ type: RECT;
+ description { state: "default" 0.0;
+ }
+ }
+ part { name: "elm.text";
+ type: TEXTBLOCK;
+ mouse_events: 0;
+ scale: 1;
+ clip_to: "label.text.clip";
+ description { state: "default" 0.0;
+ rel1.relative: 0.0 0.0;
+ rel2.relative: 1.0 1.0;
+ align: 0.0 0.0;
+ text {
+ style: "textblock_style";
+ min: 1 1;
+ align: 0.0 0.0;
+ }
+ }
+ description { state: "slide_end" 0.0;
+ inherit: "default" 0.0;
+ rel1.relative: 1.0 0.0;
+ rel2.relative: 1.0 1.0;
+ align: 1.0 0.0;
+ }
+ description { state: "slide_begin" 0.0;
+ inherit: "default" 0.0;
+ rel1.relative: 0.0 0.0;
+ rel2.relative: 0.0 1.0;
+ align: 0.0 0.0;
+ }
+ }
+ }
+ programs {
+ program { name: "start_slide";
+ source: "elm";
+ signal: "elm,state,slide,start";
+ script {
+ start_slide();
+ }
+ }
+ program { name: "stop_slide";
+ source: "elm";
+ signal: "elm,state,slide,stop";
+ script {
+ stop_slide();
+ }
+ }
+ }
+ }
+ /*note:button*/
+
+}
+//end file
diff --git a/edc/style_slider_camera.edc b/edc/style_slider_camera.edc
new file mode 100755
index 0000000..0d2bd99
--- /dev/null
+++ b/edc/style_slider_camera.edc
@@ -0,0 +1,488 @@
+/*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.1 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://floralicense.org/license/
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+
+#include "../include/edc_image_name.h"
+#include "style_tizen_hd_inc.edc"
+
+images {
+ image: SLIDER_BAR_IMAGE COMP;
+ image: SLIDER_BAR_VER_IMAGE COMP;
+ image: SLIDER_HANDLER_IMAGE COMP;
+}
+
+collections {
+
+ group {
+ name: "elm/slider/vertical/camera";
+
+ parts {
+ part {
+ name: "base";
+ mouse_events: 0;
+ description {
+ state: "default" 0.0;
+ max: 20 99999;
+ min: 6 0;
+ rel1 { to: "bg"; offset: 0 0; }
+ rel2 { to: "bg"; offset: -1 -1; }
+ image.normal: SLIDER_BAR_IMAGE;
+ fill.smooth: 0;
+ }
+ }
+ part {
+ name: "bg";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ rel1.to: "elm.swallow.bar";
+ rel2.to: "elm.swallow.bar";
+ color: 0 0 0 0;
+ }
+ }
+ part {
+ name: "elm.swallow.bar";
+ type: SWALLOW;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: 20 58;
+ max: 20 9999;
+ align: 0.5 1.0;
+ }
+ }
+ part {
+ name: "elm.swallow.icon";
+ type: SWALLOW;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ align: 0.5 0.0;
+ rel1 { offset: 0 4; to_x: "elm.swallow.bar"; }
+ rel2 { offset: -1 3; relative: 1.0 0.0; to_x: "elm.swallow.bar"; }
+ }
+ description {
+ state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ aspect: 1.0 1.0;
+ aspect_preference: HORIZONTAL;
+ rel2.offset: -1 4;
+ }
+ }
+ part {
+ name: "elm.swallow.end";
+ type: SWALLOW;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ align: 0.5 1.0;
+ rel1 { offset: 0 -4; relative: 0.0 1.0; to_x: "elm.swallow.bar"; }
+ rel2 { offset: -1 -3; to_x: "elm.swallow.bar"; }
+ }
+ description {
+ state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ aspect: 1.0 1.0;
+ aspect_preference: HORIZONTAL;
+ rel2.offset: -1 -4;
+ }
+ }
+ part {
+ name: "elm.dragable.slider";
+ type: GROUP;
+ source: "elm/slider/vertical/indicator/camera";
+ mouse_events: 1;
+ repeat_events: 1;
+ scale: 1;
+ dragable {
+ x: 0 0 0;
+ y: 1 1 0;
+ confine: "bg";
+ }
+ description {
+ state: "default" 0.0;
+ min: 20 20;
+ fixed: 1 1;
+ align: 0.5 0.5;
+ color: 0 0 0 0;
+ }
+ }
+ part {
+ name: "disabler";
+ type: RECT;
+ description {
+ state: "default" 0.0;
+ color: SLIDER_DISABLER_PART_COLOR_INC;
+ visible: 0;
+ }
+ description {
+ state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ }
+
+ programs {
+ program {
+ name: "icon_show";
+ signal: "elm,state,icon,visible";
+ source: "elm";
+ action: STATE_SET "visible" 0.0;
+ target: "elm.swallow.icon";
+ }
+ program {
+ name: "icon_hide";
+ signal: "elm,state,icon,hidden";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.swallow.icon";
+ }
+ program {
+ name: "end_show";
+ signal: "elm,state,end,visible";
+ source: "elm";
+ action: STATE_SET "visible" 0.0;
+ target: "elm.swallow.end";
+ }
+ program {
+ name: "end_hide";
+ signal: "elm,state,end,hidden";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.swallow.end";
+ }
+ program {
+ name: "slider_disable";
+ signal: "elm,state,disabled";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "disabler";
+ after: "disable_ind";
+ }
+ program {
+ name: "disable_ind";
+ action: SIGNAL_EMIT "elm.dragable.slider:elm,state,disabled" "elm";
+ }
+ program {
+ name: "slider_enable";
+ signal: "elm,state,enabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "disabler";
+ after: "enable_ind";
+ }
+ program {
+ name: "enable_ind";
+ action: SIGNAL_EMIT "elm.dragable.slider:elm,state,enabled" "elm";
+ }
+ }
+ }
+
+ group {
+ name: "elm/slider/vertical/indicator/camera";
+
+ parts {
+ part {
+ name: "button_events";
+ type: RECT;
+ mouse_events: 1;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ fixed: 1 1;
+ min: 60 60;
+ aspect: 1.0 1.0;
+ aspect_preference: VERTICAL;
+ color: 0 0 0 0;
+ }
+ }
+ part {
+ name: "button0";
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ fixed: 1 1;
+ min: 60 60;
+ image {
+ normal: SLIDER_HANDLER_IMAGE;
+ }
+ fill.smooth: 0;
+ }
+ description {
+ state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ }
+ }
+ }
+
+ programs {
+ program {
+ name: "slider_disable";
+ signal: "elm,state,disabled";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "button0";
+ }
+ program {
+ name: "slider_enable";
+ signal: "elm,state,enabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "button0";
+ }
+ }
+ }
+
+/*hor edc*/
+/////////////////////////////////////////////////////////////////
+ group {
+ name: "elm/slider/horizontal/camera";
+
+ parts {
+ part {
+ name: "base";
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: 0 6;
+ max: 99999 20;
+ rel1 { to: "bg"; offset: 0 0; }
+ rel2 { to: "bg"; offset: -1 -1; }
+ image.normal: SLIDER_BAR_VER_IMAGE;
+ fill.smooth: 0;
+ }
+ }
+ part {
+ name: "bg";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ rel1.to: "elm.swallow.bar";
+ rel2.to: "elm.swallow.bar";
+ color: 0 0 0 0;
+ }
+ }
+ part {
+ name: "elm.swallow.bar";
+ type: SWALLOW;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: 58 20;
+ max: 99999 20;
+ align: 1.0 0.5;
+ }
+ }
+ part {
+ name: "elm.swallow.icon";
+ type: SWALLOW;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ align: 0.0 0.5;
+ rel1 { to_y: "elm.swallow.bar"; }
+ rel2 { relative: 0.0 1.0; to_y: "elm.swallow.bar"; }
+ }
+ description {
+ state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ aspect: 1.0 1.0;
+ aspect_preference: VERTICAL;
+ }
+ }
+ part {
+ name: "elm.swallow.end";
+ type: SWALLOW;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ align: 1.0 0.5;
+ rel1 { relative: 1.0 0.0; to_y: "elm.swallow.bar"; }
+ rel2 { relative: 1.0 1.0; to_y: "elm.swallow.bar"; }
+ }
+ description {
+ state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ aspect: 1.0 1.0;
+ aspect_preference: VERTICAL;
+ }
+ }
+
+ part {
+ name: "elm.dragable.slider";
+ type: GROUP;
+ source: "elm/slider/horizontal/indicator/camera";
+ mouse_events: 1;
+ repeat_events: 1;
+ scale: 1;
+ dragable {
+ x: 1 1 0;
+ y: 0 0 0;
+ confine: "bg";
+ }
+ description {
+ state: "default" 0.0;
+ min: 20 20;
+ fixed: 1 1;
+ align: 0.5 0.5;
+ color: 0 0 0 0;
+ }
+ }
+ part {
+ name: "disabler";
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ color: SLIDER_DISABLER_PART_COLOR_INC;
+ }
+ description {
+ state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ }
+
+ programs {
+ program {
+ name: "icon_show";
+ signal: "elm,state,icon,visible";
+ source: "elm";
+ action: STATE_SET "visible" 0.0;
+ target: "elm.swallow.icon";
+ }
+ program {
+ name: "icon_hide";
+ signal: "elm,state,icon,hidden";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.swallow.icon";
+ }
+ program {
+ name: "end_show";
+ signal: "elm,state,end,visible";
+ source: "elm";
+ action: STATE_SET "visible" 0.0;
+ target: "elm.swallow.end";
+ }
+ program {
+ name: "end_hide";
+ signal: "elm,state,end,hidden";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.swallow.end";
+ }
+ program {
+ name: "slider_disable";
+ signal: "elm,state,disabled";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "disabler";
+ after: "disable_ind";
+ }
+ program {
+ name: "disable_ind";
+ action: SIGNAL_EMIT "elm.dragable.slider:elm,state,disabled" "elm";
+ }
+ program {
+ name: "slider_enable";
+ signal: "elm,state,enabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "disabler";
+ after: "enable_ind";
+ }
+ program {
+ name: "enable_ind";
+ action: SIGNAL_EMIT "elm.dragable.slider:elm,state,enabled" "elm";
+ }
+ }
+ }
+
+ group {
+ name: "elm/slider/horizontal/indicator/camera";
+
+ parts {
+ part {
+ name: "button_events";
+ type: RECT;
+ mouse_events: 1;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ fixed: 1 1;
+ min: 60 60;
+ aspect: 1.0 1.0;
+ aspect_preference: VERTICAL;
+ color: 0 0 0 0;
+ }
+ }
+ part {
+ name: "button0";
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ fixed: 1 1;
+ min: 60 60;
+ image {
+ normal: SLIDER_HANDLER_IMAGE;
+ }
+ fill.smooth: 0;
+ }
+ description {
+ state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ }
+ }
+ }
+ programs {
+ program { name: "slider_disable";
+ signal: "elm,state,disabled";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "button0";
+ }
+ program { name: "slider_enable";
+ signal: "elm,state,enabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "button0";
+ }
+ }
+ }
+}
+
+//end file
+
diff --git a/edc/style_tizen_hd_inc.edc b/edc/style_tizen_hd_inc.edc
new file mode 100755
index 0000000..a1c2d57
--- /dev/null
+++ b/edc/style_tizen_hd_inc.edc
@@ -0,0 +1,1155 @@
+/*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.1 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://floralicense.org/license/
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+
+#define BG_DEFAULT_COLOR_INC 249 249 249 255
+#define BG_EDIT_MODE_COLOR_INC 218 210 201 255
+#define BG_GROUP_LIST_COLOR_INC 242 238 233 255
+#define BG_TRANSPARENT_COLOR_INC 0 0 0 0
+
+#define LAYOUT_BG_COLOR_INC 249 249 249 255
+#define LAYOUT_EDIT_MODE_BG_COLOR_INC 218 210 201 255
+#define LAYOUT_GROUP_LIST_BG_COLOR_INC 242 238 233 255
+#define LAYOUT_INDICATOR_HEIGHT_INC 50
+#define LAYOUT_INDICATOR_COLOR_INC 0 0 0 255
+
+#define NAVIFRAME_TITLE_H_INC 108
+#define NAVIFRAME_SEGMENT_TITLE_H_INC 124
+#define NAVIFRAME_OH_OPENED_H_INC 106
+#define NAVIFRAME_OH_CONTENT_H_INC 74
+#define NAVIFRAME_OH_PADDING_INC 16
+#define NAVIFRAME_OH_ARROW_SIZE_INC 19 12
+#define NAVIFRAME_OH_OPENED_DOUBLE_H_INC 196
+#define NAVIFRAME_PREV_BTN_W_INC 124
+#define NAVIFRAME_TITLE_FUNC_BTN_SIZE_INC 124 80
+#define NAVIFRAME_TITLE_PREV_BTN_BG_SIZE_INC 144
+#define NAVIFRAME_TEXT_PADDING_INC 144
+#define NAVIFRAME_NO_BUTTON_ICON_PADDING_INC 52
+#define NAVIFRAME_TEXT_PADDING_ICON_VISIBLE_INC 186
+#define NAVIFRAME_TITLE_SEGMENT_H_INC 64
+#define NAVIFRAME_TITLE_SEGMENT_FONT_SIZE_INC 32
+#define NAVIFRAME_TITLE_SEGMENT_TEXT_H_INC 50
+#define NAVIFRAME_TITLE_FONT_SIZE_INC 40
+#define NAVIFRAME_SUBTITLE_FONT_SIZE_INC 32
+#define NAVIFRAME_ICON_SIZE_INC 32 32
+#define NAVIFRAME_ICON_PADDING_INC 16 0
+#define NAVIFRAME_CONTROLBAR_BG_COLOR_INC 100 85 66 255
+#define NAVIFRAME_TITLE_TEXT_COLOR_INC 73 44 7 255
+#define NAVIFRAME_SUBTITLE_TEXT_COLOR_INC 73 44 7 255
+#define NAVIFRAME_TITLE_BG_COLOR_INC 219 201 174 255
+#define NAVIFRAME_OH_BORDER_INC 0 0 4 0
+
+#define PROGRESSBAR_TITLE_FONT_SIZE_INC 28
+#define PROGRESSBAR_STATUS_TEXT_FONT_SIZE_INC 20
+
+#define POPUP_DEFAULT_TITLE_TEXT_COLOR_INC 255 255 255 255
+#define POPUP_DEFAULT_DESCRIPTION_TEXT_COLOR_INC "#000000"
+#define POPUP_DIM_BG_COLOR_INC 61 59 56 204
+#define POPUP_DIM_BG_CLICKED_COLOR_INC 61 59 56 250
+#define POPUP_DIM_BG_TRANS_COLOR_INC 0 0 0 0
+#define POPUP_DIM_BG_CLICKED_TRANS_COLOR_INC 0 0 0 50
+#define POPUP_CUSTOMSTYLE_TITLE_BOTTOM_LINE_COLOR_INC 199 199 199 255
+#define POPUP_CUSTOMSTYLE_TITLE_TEXT_COLOR_INC 0 0 0 255
+
+#define CTXPOPUP_SEPARATOR_COLOR_INC 199 199 199 255
+#define CTXPOPUP_TP_BG_COLOR_INC 221 134 21 255
+#define CTXPOPUP_ITEM_TEXT_SIZE_INC 44
+#define CTXPOPUP_ITEM_HEIGHT_INC 110
+#define CTXPOPUP_ITEM_ICON_INC 160 110
+#define CTXPOPUP_ICON_WIDTH_INC 80
+#define CTXPOPUP_ICON_HEIGHT_INC 80
+#define CTXPOPUP_ARROW_SIZE_INC 48 48
+#define CTXPOPUP_CONTENT_WIDTH_MAX_INC 630
+#define CTXPOPUP_ITEM_PADDING_INC 25
+#define CTXPOPUP_IE_ARROW_SIZE_INC 52
+#define CTXPOPUP_IE_FONT_SIZE_INC 40
+#define CTXPOPUP_IE_ITEM_PADDING_INC 22
+#define CTXPOPUP_IE_ITEM_HEIGHT_INC 75
+#define CTXPOPUP_IE_CONTENT_WIDTH_MAX_INC 720
+#define CTXPOPUP_IE_ICON_WIDTH_INC 60
+#define CTXPOPUP_IE_ICON_HEIGHT_INC 60
+#define CTXPOPUP_TP_ARROW_SIZE_INC 30
+#define CTXPOPUP_TP_HEIGHT_INC 106
+
+#define DISKSELECTOR_DF_FONT_COLOR_INC 231 171 92 255
+#define DISKSELECTOR_DF_FONT_MOUSE_DOWN_COLOR_INC 255 201 122 255
+#define DISKSELECTOR_DF_ITEM_MIN_SIZE_INC 70 106;
+#define DISKSELECTOR_DF_FONT_SIZE_INC 44
+#define DISKSELECTOR_DF_DATA_MIN_HEIGHT_INC "106"
+
+#define LABEL_TEXT_BLOCK_STYLE_COLOR_INC "#000000"
+#define LABEL_FONT_SIZE_INC 36
+#define LABEL_MIN_FONT_SIZE_INC 27
+#define LABEL_MAX_FONT_SIZE_INC 90
+
+#define GENGRID_FONT_STYLE_18_INC "26"
+#define GENGRID_PART_BG_COLOR_INC 0 0 0 0
+#define GENGRID_PART_ITEM_BG_COLOR_INC 239 239 239 255
+#define GENGRID_PART_REORDER_BG_COLOR_INC 0 0 0 128
+#define GENGRID_PART_TEXTBLOCK_STYLE_COLOR_INC "#F9F9F9"
+
+#define GENLIST_HEIGHT_1_INC 1
+#define GENLIST_HEIGHT_16_INC 16
+#define GENLIST_HEIGHT_33_INC 33
+#define GENLIST_HEIGHT_49_INC 49
+#define GENLIST_HEIGHT_62_INC 62
+#define GENLIST_HEIGHT_65_INC 65
+#define GENLIST_HEIGHT_73_INC 73
+#define GENLIST_HEIGHT_77_INC 77
+#define GENLIST_HEIGHT_86_INC 86
+#define GENLIST_HEIGHT_89_INC 89
+#define GENLIST_HEIGHT_93_INC 93
+#define GENLIST_HEIGHT_97_INC 97
+#define GENLIST_HEIGHT_103_INC 103
+#define GENLIST_HEIGHT_104_INC 104
+#define GENLIST_HEIGHT_113_INC 113
+#define GENLIST_HEIGHT_129_INC 129
+#define GENLIST_HEIGHT_177_INC 177
+#define GENLIST_HEIGHT_182_INC 182
+#define GENLIST_HEIGHT_190_INC 190
+#define GENLIST_HEIGHT_207_INC 207
+#define GENLIST_HEIGHT_260_INC 260
+#define GENLIST_HEIGHT_291_INC 291
+#define GENLIST_HEIGHT_454_INC 454
+#define GENLIST_HEIGHT_566_INC 566
+
+#define GENLIST_PADDING_4_INC 4
+#define GENLIST_PADDING_5_INC 5
+#define GENLIST_PADDING_6_INC 6
+#define GENLIST_PADDING_8_INC 8
+#define GENLIST_PADDING_10_INC 10
+#define GENLIST_PADDING_11_INC 11
+#define GENLIST_PADDING_12_INC 12
+#define GENLIST_PADDING_13_INC 13
+#define GENLIST_PADDING_14_INC 14
+#define GENLIST_PADDING_16_INC 16
+#define GENLIST_PADDING_18_INC 18
+#define GENLIST_PADDING_21_INC 21
+#define GENLIST_PADDING_22_INC 22
+#define GENLIST_PADDING_24_INC 24
+#define GENLIST_PADDING_27_INC 27
+#define GENLIST_PADDING_28_INC 28
+#define GENLIST_PADDING_32_INC 32
+#define GENLIST_PADDING_34_INC 34
+#define GENLIST_PADDING_46_INC 46
+#define GENLIST_PADDING_48_INC 48
+#define GENLIST_PADDING_64_INC 64
+#define GENLIST_PADDING_74_INC 74
+#define GENLIST_PADDING_88_INC 88
+#define GENLIST_PADDING_124_INC 124
+
+#define GENLIST_FONT_27_INC 27
+#define GENLIST_FONT_28_INC 28
+#define GENLIST_FONT_30_INC 30
+#define GENLIST_FONT_32_INC 32
+#define GENLIST_FONT_STYLE_32_INC "32"
+#define GENLIST_FONT_36_INC 36
+#define GENLIST_FONT_STYLE_36_INC "36"
+#define GENLIST_FONT_40_INC 40
+#define GENLIST_FONT_STYLE_40_INC "40"
+#define GENLIST_FONT_42_INC 42
+#define GENLIST_FONT_STYLE_42_INC "42"
+#define GENLIST_FONT_44_INC 44
+#define GENLIST_FONT_STYLE_44_INC "44"
+#define GENLIST_FONT_48_INC 48
+#define GENLIST_FONT_STYLE_48_INC "48"
+
+#define GENLIST_SIZE_6_INC 6
+#define GENLIST_SIZE_8_INC 8
+#define GENLIST_SIZE_10_INC 10
+#define GENLIST_SIZE_13_INC 13
+#define GENLIST_SIZE_16_INC 16
+#define GENLIST_SIZE_18_INC 18
+#define GENLIST_SIZE_21_INC 21
+#define GENLIST_SIZE_32_INC 32
+#define GENLIST_SIZE_35_INC 35
+#define GENLIST_SIZE_38_INC 38
+#define GENLIST_SIZE_40_INC 40
+#define GENLIST_SIZE_42_INC 42
+#define GENLIST_SIZE_44_INC 44
+#define GENLIST_SIZE_45_INC 45
+#define GENLIST_SIZE_46_INC 46
+#define GENLIST_SIZE_48_INC 48
+#define GENLIST_SIZE_54_INC 54
+#define GENLIST_SIZE_56_INC 56
+#define GENLIST_SIZE_57_INC 57
+#define GENLIST_SIZE_61_INC 61
+#define GENLIST_SIZE_SLIDE_60_INC 60
+#define GENLIST_SIZE_64_INC 64
+#define GENLIST_SIZE_80_INC 80
+#define GENLIST_SIZE_90_INC 90
+#define GENLIST_SIZE_96_INC 96
+#define GENLIST_SIZE_112_INC 112
+#define GENLIST_SIZE_116_INC 116
+#define GENLIST_SIZE_128_INC 128
+#define GENLIST_SIZE_133_INC 133
+#define GENLIST_SIZE_141_INC 141
+#define GENLIST_SIZE_144_INC 144
+#define GENLIST_SIZE_154_INC 154
+#define GENLIST_SIZE_160_INC 160
+#define GENLIST_SIZE_163_INC 163
+#define GENLIST_SIZE_168_INC 168
+#define GENLIST_SIZE_174_INC 174
+#define GENLIST_SIZE_SLIDE_165_INC 165
+#define GENLIST_SIZE_176_INC 176
+#define GENLIST_SIZE_177_INC 177
+#define GENLIST_SIZE_192_INC 192
+#define GENLIST_SIZE_195_INC 195
+#define GENLIST_SIZE_206_INC 206
+#define GENLIST_SIZE_234_INC 234
+#define GENLIST_SIZE_235_INC 235
+#define GENLIST_SIZE_SLIDE_220_INC 220
+#define GENLIST_SIZE_390_INC 390
+#define GENLIST_SIZE_448_INC 448
+#define GENLIST_SIZE_560_INC 560
+#define GENLIST_SIZE_576_INC 576
+#define GENLIST_SIZE_672_INC 672
+
+#define GENLIST_TREESIZE_16_INC 16
+#define GENLIST_TREESIZE_32_INC 32
+
+//new
+#define GENLIST_PART_FONT_LIST_MAIN_TEXT_READ_COLOR_INC 158 158 158 255
+#define GENLIST_PART_FONT_LIST_MAIN_TEXT_UNREAD_COLOR_INC 249 249 249 255
+#define GENLIST_PART_FONT_LIST_MAIN_TEXT_FOCUS_COLOR_INC 249 249 249 255
+#define GENLIST_PART_FONT_LIST_SUB_TEXT_COLOR_INC 129 129 129 255
+#define GENLIST_PART_FONT_LIST_SUB_TEXT_SETTINGS_COLOR_INC 0 140 210 255
+#define GENLIST_PART_FONT_LIST_SUB_TEXT_FOCUS_COLOR_INC 249 249 249 255
+#define GENLIST_PART_FONT_FLEXIBLE_TEXT_MAIN_COLOR_INC 249 249 249 255
+#define GENLIST_PART_FONT_FLEXIBLE_TEXT_SUB_COLOR_INC 149 149 149 255
+#define GENLIST_PART_FONT_INDEX_LIST_COLOR_INC 164 164 164 255
+#define GENLIST_PART_FONT_EDITFIELD_TEXT_COLOR_INC 70 70 70 255
+#define GENLIST_PART_FONT_EDITFIELD_TEXT_CURSOR_COLOR_INC 0 140 210 255
+#define GENLIST_PART_FONT_MULTILINE_TEXT_COLOR_INC 149 149 149 255
+#define GENLIST_PART_FONT_3LINE_MAIN_TEXT_READ_COLOR_INC 249 249 249 255
+#define GENLIST_PART_FONT_3LINE_MAIN_TEXT_UNREAD_COLOR_INC 249 249 249 255
+#define GENLIST_PART_FONT_3LINE_MAIN_TEXT_FOCUS_COLOR_INC 249 249 249 255
+#define GENLIST_PART_FONT_3LINE_MAIN_TEXT_2_COLOR_INC 104 137 152 255
+#define GENLIST_PART_FONT_3LINE_MAIN_TEXT_2_FOCUS_COLOR_INC 249 249 249 255
+#define GENLIST_PART_FONT_CONVERTOR_STYLE_COLOR_INC 249 249 249 255
+#define GENLIST_PART_FONT_CONVERTOR_STYLE_FOCUS_COLOR_INC 249 249 249 255
+#define GENLIST_PART_FONT_UNREAD_EMAIL_COLOR_INC 249 249 249 255
+#define GENLIST_PART_FONT_CONTENTS_TEXT_COLOR_INC 210 210 210 255
+#define GENLIST_PART_FONT_NAME_TEXT_COLOR_INC 129 129 129 255
+#define GENLIST_PART_FONT_NAME_TEXT_DIM_COLOR_INC 0 140 210 255
+#define GENLIST_PART_FONT_BUBBLE_READ_MESSAGE_COLOR_INC 0 0 0 255
+#define GENLIST_PART_FONT_BUBBLE_MESSAGE_TIME_COLOR_INC 96 96 96 255
+#define GENLIST_PART_FONT_BUBBLE_SENT_MESSAGE_COLOR_INC 0 0 0 255
+#define GENLIST_PART_FONT_BUBBLE_SOS_MESSAGE_COLOR_INC 211 0 0 255
+#define GENLIST_PART_FONT_BUBBLE_MESSAGE_DATE_COLOR_INC 164 164 164 255
+#define GENLIST_PART_FONT_BUBBLE_LINK_MESSAGE_COLOR_INC 34 129 157 255
+#define GENLIST_PART_FONT_BUBBLE_MESSAGE_FAILED_COLOR_INC 211 0 0 255
+#define GENLIST_PART_FONT_BUBBLE_READ_MESSAGE_NAME_COLOR_INC 57 166 215 255
+#define GENLIST_PART_FONT_BUBBLE_MESSAGE_HELP_COLOR_INC 146 146 146 255
+#define GENLIST_PART_FONT_SWEEP_STYLE_COLOR_INC 118 118 118 255
+
+#define GENLIST_PART_FONT_LIST_MAIN_TEXT_UNREAD_STYLE_COLOR_INC "#F9F9F9FF"
+#define GENLIST_PART_FONT_LIST_SUB_TEXT_STYLE_COLOR_INC "#646464FF"
+#define GENLIST_PART_FONT_FLEXIBLE_TEXT_MAIN_STYLE_COLOR_INC "#F9F9F9FF"
+#define GENLIST_PART_FONT_FLEXIBLE_TEXT_SUB_STYLE_COLOR_INC "#646464FF"
+#define GENLIST_PART_FONT_MULTILINE_TEXT_STYLE_COLOR_INC "#646464FF"
+#define GENLIST_PART_FONT_3LINE_MAIN_TEXT_READ_STYLE_COLOR_INC "#9E9E9EFF"
+#define GENLIST_PART_FONT_3LINE_MAIN_TEXT_UNREAD_STYLE_COLOR_INC "#F9F9F9FF"
+#define GENLIST_PART_FONT_3LINE_MAIN_TEXT_FOCUS_STYLE_COLOR_INC "#F9F9F9FF"
+#define GENLIST_PART_FONT_3LINE_MAIN_TEXT_2_STYLE_COLOR_INC "#688998FF"
+#define GENLIST_PART_FONT_3LINE_MAIN_TEXT_2_FOCUS_STYLE_COLOR_INC "#F9F9F9FF"
+#define GENLIST_PART_FONT_HELP_TEXT_STYLE_COLOR_INC "#929292FF"
+
+#define GENLIST_PART_DISCLIP_COLOR_INC 255 255 255 64
+#define GENLIST_PART_BG_COLOR_INC 0 0 0 0
+#define GENLIST_PART_LIST_BG_COLOR_INC 0 0 0 0
+#define GENLIST_PART_LIST_LINE_COLOR_INC 68 68 68 255
+#define GENLIST_PART_LIST_PRESS_COLOR_INC 0 140 210 255
+#define GENLIST_PART_TEXT_PRESS_COLOR_INC 249 249 249 255
+#define GENLIST_PART_EXPANDABLE_2ND_DEPTH_BG_COLOR_INC 31 31 31 255
+#define GENLIST_PART_EXPANDABLE_3ND_DEPTH_BG_COLOR_INC 46 46 46 255
+#define GENLIST_PART_EDIT_SELECT_ALL_BG_COLOR_INC 36 36 36 255
+#define GENLIST_PART_EDIT_REORDER_BG_COLOR_INC 36 36 36 255
+#define GENLIST_PART_EDIT_1PIXEL_LINE_COLOR_INC 68 68 68 255
+#define GENLIST_PART_BUBBLE_DATE_BG_COLOR_INC 66 66 66 255
+#define GENLIST_PART_BUBBLE_1PIXEL_LINE_COLOR_INC 153 153 153 255
+#define GENLIST_PART_INDEX_LIST_BASE_EVENT_INC \
+ part { name: "base_event";\
+ type: RECT;\
+ repeat_events: 0;\
+ description { state: "default" 0.0;\
+ color: 0 0 0 0;\
+ }\
+ }
+#define GENLIST_PART_INDEX_LIST_BASE_IMAGE_INC \
+ part { name: "base_image";\
+ repeat_events: 1;\
+ description { state: "default" 0.0;\
+ rel1.to: "rect";\
+ rel2.to: "rect";\
+ image {\
+ normal: "00_index list_bg.png";\
+ }\
+ }\
+ }
+
+#define GENLIST_PART_TEXT_PRESS_STYLE_COLOR_INC "#F9F9F9FF"
+#define GENLIST_PART_MATCH_TAG_COLOR_INC "+ color=#31A1FF"
+
+#define GENLIST_DIALOGUE_FONT_SUB_TITLE_COLOR_INC 102 102 102 255
+#define GENLIST_DIALOGUE_FONT_EDIT_MODE_TEXT_01_COLOR_INC 153 153 153 255
+#define GENLIST_DIALOGUE_FONT_EDIT_MODE_TEXT_01_FOCUS_COLOR_INC 249 249 249 255
+#define GENLIST_DIALOGUE_FONT_EDIT_MODE_TEXT_02_COLOR_INC 63 141 173 255
+#define GENLIST_DIALOGUE_FONT_EDIT_MODE_TEXT_02_DIM_COLOR_INC 63 141 173 255
+#define GENLIST_DIALOGUE_FONT_EDIT_MODE_TEXT_02_FOCUS_COLOR_INC 249 249 249 255
+#define GENLIST_DIALOGUE_FONT_DETAIL_TEXT_MAIN_COLOR_INC 249 249 249 255
+#define GENLIST_DIALOGUE_FONT_DETAIL_TEXT_SUB_COLOR_INC 146 146 146 255
+#define GENLIST_DIALOGUE_FONT_APPS_NAME_COLOR_INC 249 249 249 255
+#define GENLIST_DIALOGUE_FONT_APPS_INC_COLOR_INC 146 146 146 255
+#define GENLIST_DIALOGUE_FONT_APPS_RATING_COLOR_INC 146 146 146 255
+#define GENLIST_DIALOGUE_FONT_APPS_PRICE_ORIGINAL_COLOR_INC 0 140 210 255
+#define GENLIST_DIALOGUE_FONT_APPS_PRICE_SALE_COLOR_INC 221 134 21 255
+#define GENLIST_DIALOGUE_FONT_APPS_PRICE_FREE_COLOR_INC 0 140 210 255
+#define GENLIST_DIALOGUE_FONT_PASSWORD_TITLE_COLOR_INC 153 153 153 255
+#define GENLIST_DIALOGUE_FONT_PASSWORD_INPUT_TEXT_COLOR_INC 249 249 249 255
+#define GENLIST_DIALOGUE_FONT_DETAIL_WORD_COLOR_INC 249 249 249 255
+#define GENLIST_DIALOGUE_FONT_DETAIL_PRONUNCIATION_COLOR_INC 152 89 0 255
+#define GENLIST_DIALOGUE_FONT_DETAIL_NATION_COLOR_INC 146 146 146 255
+#define GENLIST_DIALOGUE_FONT_DETAIL_INFO_01_COLOR_INC 249 249 249 255
+#define GENLIST_DIALOGUE_FONT_DETAIL_INFO_02_COLOR_INC 146 146 146 255
+
+#define GENLIST_DIALOGUE_GROUP_BG_COLOR_INC 36 36 36 255
+#define GENLIST_DIALOGUE_GROUP_LIST_BG_COLOR_INC 36 36 36 255
+#define GENLIST_DIALOGUE_GROUP_LEFT_BG_COLOR_INC 68 68 68 255
+#define GENLIST_DIALOGUE_1PIXEL_LINE_COLOR_INC 68 68 68 255
+#define GENLIST_DIALOGUE_ICON_1PIXEL_LINE_COLOR_INC 68 68 68 255
+#define GENLIST_DIALOGUE_PHOTO_ID_1PIXEL_LINE_COLOR_INC 68 68 68 255
+
+//old
+#if 0
+#define GENLIST_PART_DISCLIP_COLOR_INC 255 255 255 64
+#define GENLIST_PART_BG_COLOR_INC 249 249 249 255
+#define GENLIST_PART_BG_SELECTED_COLOR_INC 199 185 164 255
+#define GENLIST_PART_BG_UNSELECTED_COLOR_INC 199 185 164 0
+#define GENLIST_PART_DIALOGUE_BG_COLOR_INC 242 238 233 255
+#define GENLIST_PART_SELECT_ALL_BG_COLOR_INC 239 237 230 255
+#define GENLIST_PART_TEXT_COLOR_INC 0 0 0 255
+#define GENLIST_PART_TEXT_SELECTED_COLOR_INC 255 255 255 255
+#define GENLIST_PART_SUB_TEXT_COLOR_INC 108 108 108 255
+#define GENLIST_PART_SUB_TEXT_SETTINGS_COLOR_INC 226 144 1 255
+#define GENLIST_PART_MULTILINE_TEXT_COLOR_INC GENLIST_PART_TEXT_COLOR_INC
+#define GENLIST_PART_MULTILINE_TITLE_COLOR_INC 78 73 69 255
+#define GENLIST_PART_MULTILINE_TITLE_STYLE_COLOR_INC "#4E4E4EFF"
+#define GENLIST_PART_MULTILINE_TITLE_STYLE_SELECTED_COLOR_INC "#4E4E4EFF"
+#define GENLIST_PART_MULTILINE_TEXT_STYLE_COLOR_INC "#000000"
+#define GENLIST_PART_MULTILINE_SUB_TEXT_STYLE_COLOR_INC "#6C6C6C"
+#define GENLIST_PART_MULTILINE_TEXT_STYLE_SELECTED_COLOR_INC "#FFFFFF"
+#define GENLIST_PART_MULTILINE_HELP_STYLE_COLOR_INC "#9c8e7d"
+#define GENLIST_PART_MATCH_TAG_COLOR_INC "+ color=#31A1FF"
+#define GENLIST_PART_SLIDE_TEXT_COLOR_INC 255 255 255 255
+#define GENLIST_PART_BOTTOM_LINE_INC 199 199 199 255
+#define GENLIST_PART_DIALOGUE_SUBTITLE_TEXT_COLOR_INC 156 156 156 255
+#define GENLIST_PART_DIALOGUE_INDICATOR_BG_COLOR_INC 199 199 199 255
+#define GENLIST_PART_EMAIL_READ_TEXT_COLOR_INC 108 108 108 255
+#define GENLIST_PART_EMAIL_UNREAD_TEXT_COLOR_INC 0 0 0 255
+#define GENLIST_PART_EMAIL_URGENCY_UNREAD_TEXT_COLOR_INC 207 37 37 255
+#define GENLIST_PART_EMAIL_URGENCY_READ_TEXT_COLOR_INC 171 82 82 255
+#endif
+#define GENLIST_PART_EMAIL_MSGCOUNT_TEXT_COLOR_INC 255 255 255 255
+#define GENLIST_PART_TEXTBLOCK_STYLE_COLOR_INC "#000000FF"
+#define GENLIST_PART_TEXTBLOCK_STYLE_SELECTED_COLOR_INC "#FFFFFF"
+#define GENLIST_PART_TEXTBLOCK_READ_STYLE_COLOR_INC "#989898FF"
+#define GENLIST_PART_TEXTBLOCK_UNREAD_STYLE_COLOR_INC "#000000FF"
+#define GENLIST_PART_TEXTBLOCK_SUB_STYLE_COLOR_INC "#6C6C6C"
+#define GENLIST_PART_TEXTBLOCK_URGENCY_READ_STYLE_COLOR_INC "#AB5252"
+#define GENLIST_PART_TEXTBLOCK_URGENCY_UNREAD_STYLE_COLOR_INC "#CF2525"
+#if 0
+#define GENLIST_GROUP_PART_TEXT_COLOR_INC 108 108 108 255
+#define GENLIST_GROUP_PART_BASE_EVENT_INC \
+ part { name: "base_event";\
+ type: RECT;\
+ repeat_events: 0;\
+ description { state: "default" 0.0;\
+ color: 0 0 0 0;\
+ }\
+ }
+#define GENLIST_GROUP_PART_BASE_IMAGE_INC \
+ part { name: "base_image";\
+ repeat_events: 1;\
+ description { state: "default" 0.0;\
+ rel1.to: "rect";\
+ rel2.to: "rect";\
+ image {\
+ normal: "00_index list_bg.png";\
+ }\
+ }\
+ }
+#define GENLIST_GROUP_BG_COLOR_DEFAULT_INC 0 0 0 0
+#define GENLIST_GROUP_BG_COLOR_ALPHA_OFF_INC 0 0 0 0
+#define GENLIST_GROUP_LEFT_BG_COLOR_INC 210 206 191 255
+#define GENLIST_EDIT_PART_LINE_INC 187 187 187 150
+#define GENLIST_EDIT_PART_BOTTOM_LINE_INC 82 82 82 255
+#define GENLIST_EDIT_BG_COLOR_INC 234 230 217 255
+#define GENLIST_EDIT_SELECT_ALL_BG_COLOR_INC 239 237 230 255
+#define GENLIST_EXPANDABLE_PART_BG_COLOR_INC GENLIST_PART_BG_COLOR_INC
+#define GENLIST_EXPANDABLE2_PART_BG_COLOR_INC 242 238 233 255
+#define GENLIST_EXPANDABLE3_PART_BG_COLOR_INC 218 212 205 255
+#define GENLIST_EXPANDABLE2_NOSHADOW_BG_COLOR_INC 242 238 233 255
+#define GENLIST_EXPANDABLE_PART_BG_IMAGE_INC \
+ part { name: "bg_image"; \
+ clip_to: "disclip"; \
+ mouse_events: 0; \
+ description { state: "default" 0.0; \
+ image { \
+ normal: "00_list_expandable_bg.png"; \
+ border: 0 0 12 6; \
+ border_scale: 1; \
+ } \
+ } \
+ description { state: "selected" 0.0; \
+ inherit: "default" 0.0; \
+ image.normal: "00_list_bar_press_1x80.png"; \
+ } \
+ GENLIST_PART_MAP_START(-90.0, 0.0, 0.0) \
+ GENLIST_PART_MAP_FINISH(0.0, 0.0, 0.0) \
+ }
+#define GENLIST_PART_BG_EXPANDABLE3_IMAGE_INC \
+ part { name: "bg_image"; \
+ clip_to: "disclip"; \
+ mouse_events: 0; \
+ description { state: "default" 0.0; \
+ image { \
+ normal: "00_list_expandable_2_bg.png"; \
+ border: 0 0 12 6; \
+ border_scale: 1; \
+ } \
+ } \
+ description { state: "selected" 0.0; \
+ inherit: "default" 0.0; \
+ image.normal: "00_list_bar_press_1x80.png"; \
+ } \
+ GENLIST_PART_MAP_START(-90.0, 0.0, 0.0) \
+ GENLIST_PART_MAP_FINISH(0.0, 0.0, 0.0) \
+ }
+#define GENLIST_EXPANDABLE3_PART_BG_IMAGE_INC \
+ part { name: "bg_image"; \
+ clip_to: "disclip"; \
+ mouse_events: 0; \
+ description { state: "default" 0.0; \
+ image { \
+ normal: "00_list_expandable_2_bg.png"; \
+ border: 0 0 12 6; \
+ border_scale: 1; \
+ } \
+ } \
+ description { state: "selected" 0.0; \
+ inherit: "default" 0.0; \
+ image.normal: "00_list_bar_press_1x80.png"; \
+ } \
+ GENLIST_PART_MAP_START(-90.0, 0.0, 0.0) \
+ GENLIST_PART_MAP_FINISH(0.0, 0.0, 0.0) \
+ }
+#define GENLIST_EXPANDABLE3_NOSHADOW_PART_BG_IMAGE_INC \
+ part { name: "bg_image"; \
+ clip_to: "disclip"; \
+ mouse_events: 0; \
+ description { state: "default" 0.0; \
+ image { \
+ normal: "00_list_expandable_2_noshadow_bg.png"; \
+ border: 0 0 0 6; \
+ border_scale: 1; \
+ } \
+ } \
+ description { state: "selected" 0.0; \
+ inherit: "default" 0.0; \
+ image.normal: "00_list_bar_press_1x80.png"; \
+ } \
+ GENLIST_PART_MAP_START(-90.0, 0.0, 0.0) \
+ GENLIST_PART_MAP_FINISH(0.0, 0.0, 0.0) \
+ }
+#define GENLIST_DIALOGUE_EXPANDABLE2_PART_BG_COLOR_INC 242 238 233 255
+#define GENLIST_DIALOGUE_EXPANDABLE3_PART_BG_COLOR_INC 218 212 205 255
+#define GENLIST_GROUP_PART_BUBBLE_TEXT_COLOR_INC 76 75 73 255
+#define GENLIST_GROUP_PART_BUBBLE_BG_COLOR_INC 220 211 198 255
+#define GENLIST_BUBBLE_BG_COLOR_INC 192 192 192 255
+#endif
+
+#define CONTACT_DISPLAY_NAME_FONT_COLOR_INC 0 0 0 255
+#define CONTACT_DISPLAY_NAME_FONT_GRAY_COLOR_INC 167 167 167 255
+
+#define BUTTON_TEXT_STYLE1_NORMAL_COLOR_INC 78 73 69 255
+#define BUTTON_TEXT_STYLE1_PRESSED_COLOR_INC 255 255 255 255
+#define BUTTON_TEXT_STYLE1_FOCUSED_COLOR_INC 255 255 255 255
+#define BUTTON_TEXT_STYLE1_DISABLED_COLOR_INC 185 185 185 255
+#define BUTTON_TEXT_STYLE1_TEXT_DISABLED_COLOR_INC 160 151 1 255
+
+#define BUTTON_TEXT_NAVIFRAME_NORMAL_COLOR_INC 78 73 69 255
+#define BUTTON_TEXT_NAVIFRAME_PRESSED_COLOR_INC 255 255 255 255
+#define BUTTON_TEXT_NAVIFRAME_FOCUSED_COLOR_INC 255 255 255 255
+#define BUTTON_TEXT_NAVIFRAME_DISABLED_COLOR_INC 185 185 185 255
+
+#define BUTTON_ICON_TEXT_NORMAL_COLOR_INC 90 73 40 255
+#define BUTTON_ICON_TEXT_PRESSED_COLOR_INC 255 255 255 255
+#define BUTTON_ICON_TEXT_FOCUSED_COLOR_INC 255 255 255 255
+#define BUTTON_ICON_TEXT_DISABLED_COLOR_INC 154 144 123 255
+
+#define BUTTON_POPUP_BUTTON_TEXT_NORMAL_COLOR_INC 53 45 39 255
+#define BUTTON_POPUP_BUTTON_TEXT_PRESSED_COLOR_INC 255 255 255 255
+#define BUTTON_POPUP_BUTTON_TEXT_FOCUSED_COLOR_INC 255 255 255 255
+#define BUTTON_POPUP_BUTTON_TEXT_DISABLED_COLOR_INC 87 87 87 255
+
+#define BUTTON_SWEEP_BUTTON_TEXT_NORMAL_COLOR_INC 78 73 69 255
+#define BUTTON_SWEEP_BUTTON_TEXT_PRESSED_COLOR_INC 255 255 255 255
+#define BUTTON_SWEEP_BUTTON_TEXT_FOCUSED_COLOR_INC 255 255 255 255
+#define BUTTON_SWEEP_BUTTON_TEXT_DISABLED_COLOR_INC 185 185 185 255
+
+#define BUTTON_DEFAULT_STYLE_BUTTON_TEXT_NORMAL_COLOR_INC 78 73 69 255
+#define BUTTON_DEFAULT_STYLE_BUTTON_TEXT_PRESSED_COLOR_INC 255 255 255 255
+#define BUTTON_DEFAULT_STYLE_BUTTON_TEXT_FOCUSED_COLOR_INC 255 255 255 255
+#define BUTTON_DEFAULT_STYLE_BUTTON_TEXT_DISABLED_COLOR_INC 185 185 185 255
+
+#define BUTTON_CONTACT_BUTTON_BG_NORMAL_COLOR_INC 195 160 107 255
+#define BUTTON_CONTACT_BUTTON_BG_PRESSED_COLOR_INC 103 79 43 255
+
+#define BUTTON_CONTACT_BUTTON_TEXT_NORMAL_COLOR_INC 255 255 255 255
+#define BUTTON_CONTACT_BUTTON_TEXT_PRESSED_COLOR_INC 255 255 255 255
+#define BUTTON_CONTACT_BUTTON_TEXT_FOCUSED_COLOR_INC 255 255 255 255
+#define BUTTON_CONTACT_BUTTON_TEXT_DISABLED_COLOR_INC 255 255 255 255
+
+#define BUTTON_HIDDEN_BUTTON_TEXT_NORMAL_COLOR_INC 0 0 0 255
+#define BUTTON_HIDDEN_BUTTON_TEXT_PRESSED_COLOR_INC 255 255 255 255
+#define BUTTON_HIDDEN_BUTTON_TEXT_FOCUSED_COLOR_INC 255 255 255 255
+#define BUTTON_HIDDEN_BUTTON_TEXT_DISABLED_COLOR_INC 154 144 123 255
+
+#define BUTTON_TEXT_CONTACTS_DELETE_NORMAL_COLOR_INC 207 41 41 255
+#define BUTTON_TEXT_CONTACTS_DELETE_PRESSED_COLOR_INC 255 255 255 255
+#define BUTTON_TEXT_CONTACTS_DELETE_DISABLED_COLOR_INC 0 0 0 128
+
+#define BUTTON_NUMBERED_TEXT_NORMAL_COLOR_INC 78 73 69 255
+
+#define BUTTON_CONTROLBAR_ITEM_BUTTON_TEXT_SIZE_INC 28
+#define BUTTON_CONTROLBAR_ITEM_BUTTON_TEXTBLOCK_COLOR_INC "#f9f9f9"
+#define BUTTON_CONTROLBAR_ITEM_BUTTON_ICON_SIZE_INC 56 56
+
+#define BUTTON_TEXT_STYLE1_BG_MIN_INC 100 74
+#define BUTTON_TEXT_STYLE1_VISIBLE_BG_MIN_INC 148 74
+#define BUTTON_TEXT_STYLE1_ICONONLY_BG_MIN_INC 74 74
+#define BUTTON_TEXT_STYLE1_BG_BORDER_INC 5 5 5 5
+#define BUTTON_TEXT_STYLE1_PADDING_MIN_INC 20 5
+#define BUTTON_TEXT_STYLE1_VISIBLE_ICON_RECT_MIN_MAX_INC 38 38
+#define BUTTON_TEXT_STYLE1_VISIBLE_PADDING_ICON_TEXT_MIN_INC 10 0
+#define BUTTON_TEXT_STYLE1_VISIBLE_ICON_MIN_MAX_INC 38 38
+#define BUTTON_TEXT_STYLE1_ICONONLY_ICON_MIN_MAX_INC 38 38
+#define BUTTON_TEXT_STYLE1_FONT_SIZE_INC 32
+
+#define BUTTON_TEXT_STYLE2_BG_MIN_INC 100 74
+#define BUTTON_TEXT_STYLE2_VISIBLE_BG_MIN_INC 148 74
+#define BUTTON_TEXT_STYLE2_ICONONLY_BG_MIN_INC 74 74
+#define BUTTON_TEXT_STYLE2_BG_BORDER_INC 5 5 5 5
+#define BUTTON_TEXT_STYLE2_PADDING_MIN_INC 5 5
+#define BUTTON_TEXT_STYLE2_VISIBLE_ICON_RECT_MIN_MAX_INC 38 38
+#define BUTTON_TEXT_STYLE2_VISIBLE_PADDING_ICON_TEXT_MIN_INC 10 0
+#define BUTTON_TEXT_STYLE2_VISIBLE_ICON_MIN_MAX_INC 38 38
+#define BUTTON_TEXT_STYLE2_ICONONLY_ICON_MIN_MAX_INC 38 38
+#define BUTTON_TEXT_STYLE2_FONT_SIZE_INC 32
+
+#define BUTTON_CIRCLE_STYLE_BG_MIN_MAX_INC 64 64
+#define BUTTON_CIRCLE_STYLE_IMAGE_MIN_MAX_INC 64 64
+#define BUTTON_CIRCLE_STYLE_CONTENT_MIN_MAX_INC 35 35
+
+#define BUTTON_POPUP_BG_NORMAL_MIN_INC 30 74
+#define BUTTON_POPUP_BG_BORDER_INC 5 5 5 5
+#define BUTTON_POPUP_PADDING_MIN_INC 8 5
+#define BUTTON_POPUP_PADDING_ICON_TEXT_VISIBLE_MIN_INC 8 0
+#define BUTTON_POPUP_ICON_ICONONLY_MIN_INC 38 38
+#define BUTTON_POPUP_TEXT_MIN_INC 64 20
+#define BUTTON_POPUP_TEXT_FONT_SIZE_INC 32
+
+#define BUTTON_EDIT_STYLE_BG_NORMAL_MIN_MAX_INC 74 74
+#define BUTTON_EDIT_STYLE_IMAGE_NORMAL_MIN_MAX_INC 74 74
+#define BUTTON_EDIT_STYLE_BORDER_INC 8 0 5 5
+
+#define BUTTON_EDIT_NORMAL_MIN_WIDTH_INC 54
+#define BUTTON_EDIT_NORMAL_MIN_HEIGHT_INC 54
+#define BUTTON_EDIT_EXTENDED_MIN_WIDTH_INC 64
+#define BUTTON_EDIT_EXTENDED_MIN_HEIGHT_INC 80
+
+#define BUTTON_SWEEP_BG_NORMAL_MIN_INC 12 60
+#define BUTTON_SWEEP_BG_BORDER_INC 5 5 5 5
+#define BUTTON_SWEEP_PADDING_MIN_INC 5 5
+#define BUTTON_SWEEP_ICON_RECT_MIN_INC 0 28
+#define BUTTON_SWEEP_PADDING_ICON_TEXT_VISIBLE_MIN_INC 5 0
+#define BUTTON_SWEEP_ICONONLY_ICON_MIN_INC 28 28
+#define BUTTON_SWEEP_TEXT_MIN_INC 90 28
+#define BUTTON_SWEEP_FONT_SIZE_INC 32
+
+#define BUTTON_SEARCHBAR_BG_NORMAL_MIN_INC 12 74
+#define BUTTON_SEARCHBAR_BG_BORDER_INC 6 6 6 6
+#define BUTTON_SEARCHBAR_PADDING_MIN_INC 5 5
+#define BUTTON_SEARCHBAR_ICON_RECT_MIN_INC 0 28
+#define BUTTON_SEARCHBAR_PADDING_ICON_TEXT_VISIBLE_MIN_INC 5 0
+#define BUTTON_SEARCHBAR_ICONONLY_ICON_MIN_INC 28 28
+#define BUTTON_SEARCHBAR_TEXT_MIN_INC 90 28
+#define BUTTON_SEARCHBAR_FONT_SIZE_INC 32
+
+#define BUTTON_HIDDEN_BG_NORMAL_MIN_INC 12 60
+#define BUTTON_HIDDEN_BG_BORDER_INC 5 5 5 5
+#define BUTTON_HIDDEN_PADDING_MIN_INC 5 5
+#define BUTTON_HIDDEN_ICON_RECT_MIN_INC 0 28
+#define BUTTON_HIDDEN_PADDING_ICON_TEXT_VISIBLE_MIN_INC 5 0
+#define BUTTON_HIDDEN_ICON_ICONONLY_MIN_INC 28 28
+#define BUTTON_HIDDEN_TEXT_MIN_INC 90 28
+#define BUTTON_HIDDEN_FONT_SIZE_INC 38
+
+#define BUTTON_EXPANDABLE_NUMBER_BG_NORMAL_MIN_MAX_INC 108 44
+#define BUTTON_EXPANDABLE_NUMBER_BG_BORDER_INC 5 5 5 5
+#define BUTTON_EXPANDABLE_NUMBER_PADDING_MIN_INC 16 1
+#define BUTTON_EXPANDABLE_NUMBER_ICON_RECT_EXPAND__MIN_MAX_INC 16 22
+#define BUTTON_EXPANDABLE_NUMBER_TEXT_MIN_MAX_INC 44 44
+#define BUTTON_EXPANDABLE_NUMBER_FONT_SIZE_INC 32
+
+#define BUTTON_CONTACT_DELETE_BG_NORMAL_MIN_INC 50 74
+#define BUTTON_CONTACT_DELETE_BG_BORDER_INC 8 0 5 5
+#define BUTTON_CONTACT_DELETE_PADDING_LEFT_TOP_MIN_INC 36 2
+#define BUTTON_CONTACT_DELETE_PADDING_RIGHT_BOTTOM_MIN_INC 14 2
+#define BUTTON_CONTACT_DELETE_PADDING_ICON_TEXT_VISIBLE_MIN_INC 5 0
+#define BUTTON_CONTACT_DELETE_ICON_ICONONLY_MIN_INC 42 42
+#define BUTTON_CONTACT_DELETE_FONT_SIZE_INC 32
+
+#define BUTTON_CONTACT_BG_NORMAL_MIN_INC 66 44
+#define BUTTON_CONTACT_PADDING_MIN_INC 16 1
+#define BUTTON_CONTACT_FONT_SIZE_INC 38
+
+#define BUTTON_NAVIFRAME_BACK_BUTTON_BG_MIN_MAX_INC 106 74
+#define BUTTON_NAVIFRAME_BACK_BUTTON_BG_BORDER_INC 5 5 5 5
+#define BUTTON_NAVIFRAME_BACK_BUTTON_MIN_MAX_INC 56 56
+
+#define BUTTON_NAVIFRAME_DEFAULT_TEXT_COLOR_INC 249 249 249 255
+#define BUTTON_NAVIFRAME_FOCUSED_TEXT_COLOR_INC 249 249 249 255
+
+#define BUTTON_NAVIFRAME_CENTER_BG_NORMAL_MIN_INC 22 46
+#define BUTTON_NAVIFRAME_CENTER_BG_NORMAL_BORDER_INC 4 4 4 4
+#define BUTTON_NAVIFRAME_CENTER_PADDING_MIN_MAX_INC 16 2
+#define BUTTON_NAVIFRAME_CENTER_ICON_RECT_VISIBLE_MIN_SIZE 36 36
+#define BUTTON_NAVIFRAME_CENTER_PADDING_AFTER_ICON_VISIBLE_MIN_INC 6 0
+#define BUTTON_NAVIFRAME_CENTER_PADDING_BEFORE_TEXT_DEFAULT_MIN_INC 6 0
+#define BUTTON_NAVIFRAME_CENTER_SWALLOW_VISIBLE_MIN_MAX_INC 36 36
+#define BUTTON_NAVIFRAME_CENTER_SWALLOW_ICONONLY_MIN_MAX_INC 38 38
+#define BUTTON_NAVIFRAME_CENTER_TEXT_FONT_SIZE_INC 32
+#define BUTTON_NAVIFRAME_MULTILINE_TEXT_FONT_SIZE_INC 24
+
+#define BUTTON_NAVIFRAME_BG_MIN_INC 124 74
+#define BUTTON_NAVIFRAME_VISIBLE_BG_MIN_INC 124 74
+#define BUTTON_NAVIFRAME_ICONONLY_BG_MIN_INC 74 74
+#define BUTTON_NAVIFRAME_BG_BORDER_INC 5 5 5 5
+#define BUTTON_NAVIFRAME_PADDING_MIN_INC 5 5
+#define BUTTON_NAVIFRAME_VISIBLE_ICON_RECT_MIN_MAX_INC 38 38
+#define BUTTON_NAVIFRAME_VISIBLE_PADDING_ICON_TEXT_MIN_INC 10 0
+#define BUTTON_NAVIFRAME_VISIBLE_ICON_MIN_MAX_INC 38 38
+#define BUTTON_NAVIFRAME_ICONONLY_ICON_MIN_MAX_INC 38 38
+#define BUTTON_TEXT_NAVIFRAME_FONT_SIZE_INC 28
+#define BUTTON_NAVIFRAME_TITLE_BUTTON_MIN_INC 124 74
+
+#define BUTTON_NAVIFRAME_MORE_BG_MIN_MAX_INC 82 64
+#define BUTTON_NAVIFRAME_MORE_BG_BORDER_INC 5 5 5 5
+#define BUTTON_NAVIFRAME_MORE_DEFAULT_IMAGE_MIN_MAX_INC 50 50
+
+#define BUTTON_TICKERNOTI_BG_MIN_INC 54 54
+#define BUTTON_TICKERNOTI_VISIBLE_BG_MIN_INC 62 34
+#define BUTTON_TICKERNOTI_ICONONLY_BG_MIN_INC 54 54
+#define BUTTON_TICKERNOTI_BG_BORDER_INC 5 5 5 5
+#define BUTTON_TICKERNOTI_PADDING_MIN_INC 5 5
+#define BUTTON_TICKERNOTI_VISIBLE_ICON_RECT_MIN_MAX_INC 44 44
+#define BUTTON_TICKERNOTI_VISIBLE_PADDING_ICON_TEXT_MIN_INC 8 0
+#define BUTTON_TICKERNOTI_VISIBLE_ICON_MIN_MAX_INC 44 44
+#define BUTTON_TICKERNOTI_ICONONLY_ICON_MIN_MAX_INC 44 44
+#define BUTTON_TICKERNOTI_FONT_SIZE_INC 28
+
+#define BUTTON_PICKER_TEXT_DEFAULT_COLOR_INC 78 73 69 255
+#define BUTTON_PICKER_TEXT_CLICKED_COLOR_INC 255 255 255 255
+#define BUTTON_PICKER_TEXT_DISABLED_COLOR_INC 0 0 0 128
+#define BUTTON_PICKER_TEXT_FOCUSED_COLOR_INC 255 255 255 255
+
+#define BUTTON_PICKER_PREV_TEXT_DEFAULT_BG_DEFAULT_MIN_INC 74 66
+#define BUTTON_PICKER_PREV_TEXT_DEFAULT_BG_DEFAULT_BORDER_INC 5 5 5 5
+#define BUTTON_PICKER_PREV_TEXT_DEFAULT_PADDING_MIN_INC 16 5
+#define BUTTON_PICKER_PREV_TEXT_DEFAULT_ICON_RECT_MIN_INC 0 56
+#define BUTTON_PICKER_PREV_TEXT_DEFAULT_PADDING_ICON_RECT_TEXT_MIN_INC 5 0
+#define BUTTON_PICKER_PREV_TEXT_DEFAULT_CONTENT_ICON_ONLY_MIN_INC 56 56
+#define BUTTON_PICKER_PREV_TEXT_DEFAULT_TEXT_FONT_SIZE_INC 32
+#define BUTTON_PICKER_PREV_TEXT_DEFAULT_TEXT_VISIBLE_MIN_INC 96 56
+
+#define BUTTON_PICKER_PREV_ICON_DEFAULT_BG_DEFAULT_MIN_MAX_INC 74 66
+#define BUTTON_PICKER_PREV_ICON_DEFAULT_BG_DEFAULT_BORDER_INC 5 5 5 5
+#define BUTTON_PICKER_PREV_ICON_DEFAULT_PADDING_MIN_INC 5 5
+#define BUTTON_PICKER_PREV_ICON_DEFAULT_IMAGE_MIN_MAX_INC 32 32
+
+#define BUTTON_PICKER_BAR_DEFAULT_BG_DEFAULT_MIN_INC 74 66
+#define BUTTON_PICKER_BAR_DEFAULT_BG_DEFAULT_IMAGE_BORDER_INC 5 5 5 5
+#define BUTTON_PICKER_BAR_DEFAULT_PADDING_MIN_INC 5 5
+#define BUTTON_PICKER_BAR_DEFAULT_ICON_RECT_DEFAULT_MIN_INC 0 56
+#define BUTTON_PICKER_BAR_DEFAULT_PADDING_ICON_RECT_TEXT_MIN_INC 5 0
+#define BUTTON_PICKER_BAR_DEFAULT_CONTENT_ICONONLY_MIN_INC 56 56
+#define BUTTON_PICKER_BAR_DEFAULT_TEXT_FONT_SIZE_INC 32
+#define BUTTON_PICKER_BAR_DEFAULT_TEXT_VISIBLE_MIN_INC 128 56
+
+#define BUTTON_COLORSELECTOR_BG_DEFAULT_MIN_INC 74 60
+
+#define BUTTON_DEFAULT_STYLE_BG_MIN_INC 28 74
+#define BUTTON_DEFAULT_STYLE_BG_BORDER_INC 5 5 5 5
+#define BUTTON_DEFAULT_STYLE_PADDING_MIN_INC 5 5
+#define BUTTON_DEFAULT_STYLE_PADDING_ICON_TEXT_VISIBLE_MIN_INC 5 0
+#define BUTTON_DEFAULT_STYLE_ICONONLY_ICON_MIN_INC 38 38
+#define BUTTON_DEFAULT_STYLE_TEXT_MIN_INC 135 38
+#define BUTTON_DEFAULT_STYLE_FONT_SIZE_INC 32
+
+#define CHECK_DELETE_TEXT_DELETE_NORMAL_COLOR_INC 207 41 41 255
+#define CHECK_DELETE_TEXT_DELETE_PRESS_COLOR_INC 255 255 255 255
+
+#define CHECK_DEFAULT_TEXT_FONT_SIZE_INC 32
+
+#define CHECK_ONOFF_BG_NORMAL_MIN_MAX_INC 60 80
+#define CHECK_ONOFF_CHECK_IMAGE_BORDER_INC 5 5 5 5
+#define CHECK_ONOFF_ON_FONT_SIZE_INC 24
+#define CHECK_ONOFF_OFF_FONT_SIZE_INC 24
+
+#define CHECK_STYLE_FAVORITE_DEFAULT_BG_IMAGE_MIN_WIDTH_INC 64
+#define CHECK_STYLE_FAVORITE_DEFAULT_BG_IMAGE_MIN_HEIGHT_INC 64
+#define CHECK_STYLE_FAVORITE_EXTENDED_BG_IMAGE_MIN_WIDTH_INC 64
+#define CHECK_STYLE_FAVORITE_EXTENDED_BG_IMAGE_MIN_HEIGHT_INC 75
+#define CHECK_STYLE_FAVORITE_BG_NORMAL_MIN_MAX_INC 64 64
+
+#define CHECK_STYLE_DEFAULT_DEFAULT_BG_IMAGE_MIN_WIDTH_INC 42
+#define CHECK_STYLE_DEFAULT_DEFAULT_BG_IMAGE_MIN_HEIGHT_INC 42
+#define CHECK_STYLE_DEFAULT_EXTENDED_BG_IMAGE_MIN_WIDTH_INC 60
+#define CHECK_STYLE_DEFAULT_EXTENDED_BG_IMAGE_MIN_HEIGHT_INC 75
+#define CHECK_STYLE_DEFAULT_BG_NORMAL_MIN_MAX_INC 42 42
+
+#define CHECK_STYLE_DELETE_BUTTON_BG_IMAGE_MIN_MAX_WIDTH_INC 74 74
+#define CHECK_STYLE_DELETE_BUTTON_BG_EXPAND_IMAGE_MIN_MAX_WIDTH_INC 124 74
+#define CHECK_STYLE_DELETE_BUTTON_BG_EXPAND_BORDER_INC 8 0 5 5
+#define CHECK_STYLE_DELETE_BUTTON_TEXT_FONT_SIZE_INC 32
+
+#define INDEX_BG_NINEPATCH_INC 3 3 3 3
+#define INDEX_ITEM_WIDTH_INC 30
+#define INDEX_ITEM_HEIGHT_INC 30
+#define INDEX_LEVEL_PADDING_INC 70
+#define INDEX_1ST_LEVEL_POPUP_WIDTH_INC 138
+#define INDEX_2ND_LEVEL_POPUP_WIDTH_INC 168
+#define INDEX_POPUP_HEIGHT_INC 140
+#define INDEX_ROLLOVER_TEXT_SIZE_INC 22
+#define INDEX_POPUP_TEXT_SIZE_INC 78
+#define INDEX_POPUP_BG_NINEPATCH_INC 12 16 12 22
+#define INDEX_ROLLOVER_TEXT_COLOR_INC 93 93 93 255
+#define INDEX_ROLLOVER_ACTIVE_TEXT_COLOR_INC 58 60 9 255
+#define INDEX_POPUP_TEXT_COLOR_INC 88 83 79 255
+
+#define INDEX_PAGECONTROL_IND_INC 52 52
+#define INDEX_PAGECONTROL_IND_MIN_INC 24 24
+#define INDEX_PAGECONTROL_FONT_SIZE_INC 28
+#define INDEX_PAGECONTROL_FONT_COLOR_INC 120 120 120
+
+#define RADIO_STYLE_DEFAULT_BG_IMAGE_MIN_WIDTH_INC 42
+#define RADIO_STYLE_DEFAULT_BG_IMAGE_MIN_HEIGHT_INC 42
+#define RADIO_STYLE_DEFAULT_EXTENDED_BG_IMAGE_MIN_WIDTH_INC 50
+#define RADIO_STYLE_DEFAULT_EXTENDED_BG_IMAGE_MIN_WIDTH_INC 50
+#define RADIO_STYLE_DEFAULT_BG_MIN_MAX_INC 42 42
+#define RADIO_STYLE_DEFAULT_FONT_SIZE_INC 32
+
+#define PANES_STYLE_DEFAULT_MOVABLE_SIZE_INC 48
+#define PANES_STYLE_DEFAULT_MIDDLE_SIZE_INC 44
+#define PANES_STYLE_DEFAULT_FIXED_SIZE_INC 6
+#define PANES_STYLE_DEFAULT_ARROW_SIZE_INC 55
+#define PANES_STYLE_DEFAULT_ARROW_FROM_INC 15
+#define PANES_STYLE_DEFAULT_ARROW_TO_INC 30
+
+#define SEGMENT_CONTROL_ITEM_TITLE_TEXT_COLOR_NORMAL_INC 244 212 174 255
+#define SEGMENT_CONTROL_ITEM_TITLE_TEXT_COLOR_PRESSED_INC 0 0 0 255
+#define SEGMENT_CONTROL_ITEM_TITLE_TEXT_COLOR_SELECTED_INC 0 0 0 255
+#define SEGMENT_CONTROL_ITEM_TITLE_TEXT_COLOR_DISABLED_INC 244 212 174 255
+#define SEGMENT_CONTROL_ITEM_1PX_LEFT_PADDING_COLOR_INC 172 112 16 255
+#define SEGMENT_CONTROL_ITEM_1PX_RIGHT_PADDING_COLOR_INC 201 114 54 255
+
+#define SEGMENT_CONTROL_BODY_STYLE_ITEM_TITLE_TEXT_COLOR_NORMAL_INC 149 145 136 255
+#define SEGMENT_CONTROL_BODY_STYLE_ITEM_TITLE_TEXT_COLOR_PRESSED_INC 255 255 255 255
+#define SEGMENT_CONTROL_BODY_STYLE_ITEM_TITLE_TEXT_COLOR_SELECTED_INC 255 255 255 255
+#define SEGMENT_CONTROL_BODY_STYLE_ITEM_TITLE_TEXT_COLOR_DISABLED_INC 149 145 136 255
+#define SEGMENT_CONTROL_BODY_ITEM_1PX_LEFT_PADDING_COLOR_INC 203 193 182 255
+#define SEGMENT_CONTROL_BODY_ITEM_1PX_RIGHT_PADDING_COLOR_INC 255 250 239 255
+
+#define SEGMENT_CONTROL_MULTILINE_TEXT_SIZE_INC 26
+#define SEGMENT_CONTROL_TEXT_SIZE_INC 28
+#define SEGMENT_CONTROL_TEXT_SIZE_RANGE_MIN_INC 12
+#define SEGMENT_CONTROL_TEXT_SIZE_RANGE_MAX_INC 28
+
+#define EDITFIELD_TITLE_SIZE_INC 32
+#define EDITFIELD_TITLE_COLOR_INC 73 73 73 255
+#define EDITFIELD_GUIDE_TEXT_COLOR_INC 189 189 189 255
+#define EDITFIELD_DEFAULT_ERASER_MINW_INC 48
+#define EDITFIELD_DEFAULT_ERASER_MINH_INC 48
+#define EDITFIELD_SEARCHBAR_ERASER_MINW_INC 38
+#define EDITFIELD_SEARCHBAR_ERASER_MINH_INC 38
+#define EDITFIELD_DEFAULT_MINH_INC 112
+#define EDITFIELD_SEARCHBAR_MINH_INC 50
+#define EDITFIELD_DEFAULT_TOP1_SINGLE_INC 20
+#define EDITFIELD_DEFAULT_TOP1_MULTI_INC 45
+#define EDITFIELD_DEFAULT_TOP2_INC 6
+#define EDITFIELD_DEFAULT_LEFT1_INC 0
+#define EDITFIELD_DEFAULT_LEFT2_INC 0
+#define EDITFIELD_DEFAULT_LEFT3_INC 1
+#define EDITFIELD_DEFAULT_RIGHT1_ERASER_SHOW_INC 56
+#define EDITFIELD_DEFAULT_RIGHT2_INC 0
+#define EDITFIELD_DEFAULT_BOTTOM1_SINGLE_INC 20
+#define EDITFIELD_DEFAULT_BOTTOM1_MULTI_INC 5
+#define EDITFIELD_DEFAULT_BOTTOM2_SINGLE_INC 32
+#define EDITFIELD_DEFAULT_BOTTOM2_MULTI_INC 12
+#define EDITFIELD_DEFAULT_BOTTOM3_SINGLE_INC 85
+#define EDITFIELD_DEFAULT_BOTTOM3_MULTI_INC 60
+#define EDITFIELD_SEARCHBAR_TOP1_SINGLE_INC 6
+#define EDITFIELD_SEARCHBAR_TOP1_MULTI_INC 10
+#define EDITFIELD_SEARCHBAR_TOP2_INC 10
+#define EDITFIELD_SEARCHBAR_LEFT1_INC 0
+#define EDITFIELD_SEARCHBAR_LEFT2_INC 0
+#define EDITFIELD_SEARCHBAR_LEFT3_INC 1
+#define EDITFIELD_SEARCHBAR_RIGHT1_ERASER_SHOW_INC 56
+#define EDITFIELD_SEARCHBAR_RIGHT2_INC 5
+#define EDITFIELD_SEARCHBAR_BOTTOM1_SINGLE_INC 8
+#define EDITFIELD_SEARCHBAR_BOTTOM1_MULTI_INC 2
+#define EDITFIELD_SEARCHBAR_BOTTOM2_SINGLE_INC 16
+#define EDITFIELD_SEARCHBAR_BOTTOM2_MULTI_INC 2
+#define EDITFIELD_SEARCHBAR_BOTTOM3_SINGLE_INC 50
+#define EDITFIELD_SEARCHBAR_BOTTOM3_MULTI_INC 50
+
+#define BUTTON_TICKERNOTI_NORMAL_COLOR_INC 255 255 255 255
+#define BUTTON_TICKERNOTI_PRESSED_COLOR_INC 255 255 255 255
+#define BUTTON_TICKERNOTI_DISABLED_COLOR_INC 185 185 185 255
+
+#define CHECK_DEFAULT_TEXT_NORMAL_COLOR_INC 0 0 0 255
+#define CHECK_DEFAULT_TEXT_PRESSED_COLOR_INC 255 255 255 255
+#define CHECK_DEFAULT_TEXT_DISABLED_COLOR_INC 136 136 136 136
+
+#define RADIO_DEFAULT_TEXT_NORMAL_COLOR_INC 0 0 0 255
+#define RADIO_DEFAULT_TEXT_PRESSED_COLOR_INC 255 255 255 255
+#define RADIO_DEFAULT_TEXT_DISABLED_COLOR_INC 136 136 136 136
+
+#define CONTROLBAR_LARGE_HEIGHT_INC 122
+#define CONTROLBAR_SMALL_HEIGHT_INC 102
+#define CONTROLBAR_WIDTH_INC 122
+#define CONTROLBAR_SEPARATEBAR_DARK_COLOR_INC 73 62 47 255
+#define CONTROLBAR_SEPARATEBAR_BRIGHT_COLOR_INC 136 121 100 255
+
+#define MULTIBUTTONENTRY_NORMAL_BUTTON_COLOR_INC 195 160 107 255
+#define MULTIBUTTONENTRY_PRESSED_BUTTON_COLOR_INC 103 79 43 255
+#define MULTIBUTTONENTRY_LABEL_TEXT_COLOR_INC 0 0 0 255
+#define MULTIBUTTONENTRY_GUIDETEXT_COLOR_INC 189 189 189 255
+#define MULTIBUTTONENTRY_BUTTON_TEXT_COLOR_INC "#FFFFFF"
+#define MULTIBUTTONENTRY_WIDTH_PAD_INC 15
+#define MULTIBUTTONENTRY_HEIGHT_PAD_INC 20
+#define MULTIBUTTONENTRY_BUTTON_MAX_SIZE_INC 300
+#define MULTIBUTTONENTRY_BUTTON_BASE_SIZE_INC 66
+#define MULTIBUTTONENTRY_BUTTON_NINEPATCH_INC 5 5 0 0
+#define MULTIBUTTONENTRY_BUTTON_TOP_BUTTOM_PAD_INC 12
+#define MULTIBUTTONENTRY_BUTTON_LEFT_INNER_PAD_INC 15
+#define MULTIBUTTONENTRY_BUTTON_RIGHT_INNER_PAD_INC 15
+#define MULTIBUTTONENTRY_BUTTON_RIGHT_PAD_INC 15
+#define MULTIBUTTONENTRY_BUTTON_TEXT_SIZE_INC 38
+#define MULTIBUTTONENTRY_GUIDETEXT_SIZE_INC 44
+#define MULTIBUTTONENTRY_CLOSEDBUTTON_SIZE_INC 60
+#define MULTIBUTTONENTRY_CLOSEDBUTTON_AREA_HEIGHT_INC 60
+#define MULTIBUTTONENTRY_LABEL_RIGHT_PAD_INC 27
+#define MULTIBUTTONENTRY_LABEL_TEXT_SIZE_INC 42
+#define MULTIBUTTONENTRY_LABEL_MIN_HEIGHT_INC 75
+
+#define SEARCHBAR_BACKGROUND_COLOR_INC 242 238 233 255
+#define SEARCHBAR_CANCEL_BUTTON_W_INC 134
+#define SEARCHBAR_CANCEL_BUTTON_WITH_PADDING_W_INC 150
+#define SEARCHBAR_CANCEL_BUTTON_WITH_DOUBLE_PADDING_W_INC 166
+#define SEARCHBAR_TOP_PADDING_INC 18
+#define SEARCHBAR_BOTTOM_PADDING_INC 18
+#define SEARCHBAR_HEIGHT_INC 74
+#define SEARCHBAR_LEFT_PADDING_INC 16
+#define SEARCHBAR_RIGHT_PADDING_INC 16
+#define SEARCHBAR_INPUTFIELD_BORDER_INC 6 6 6 6
+#define SEARCHBAR_LEFT_ICON_PADDING_INC 16
+#define SEARCHBAR_ICON_MIN_W_INC 42
+#define SEARCHBAR_ICON_MIN_H_INC 42
+#define SEARCHBAR_LEFT_PADDING_SEARCHFIELD_INC 16
+#define SEARCHBAR_RIGHT_PADDING_SEARCHFIELD_INC 8
+#define SEARCHBAR_SEARCH_TEXTFIELD_H_INC 60
+#define SEARCHBAR_H_INC 107
+
+#define SELECTION_INFO_BACKGROUND_COLOR_INC 217 147 26 255
+#define SELECTION_INFO_TEXT_COLOR_INC 255 255 255 255
+
+#define SELECTION_INFO_MIN_VER_W_INC 720
+#define SELECTION_INFO_MIN_HORZ_W_INC 1280
+#define SELECTION_INFO_VER_PADDING_INC 48
+#define SELECTION_INFO_LEFT_PADDING_INC 16
+#define SELECTION_INFO_TEXT_FONT_SIZE_INC 32
+#define SELECTION_INFO_MIN_VER_BOTTOM_64_H_INC 150
+#define SELECTION_INFO_MIN_VER_BOTTOM_86_H_INC 186
+
+#define POPUP_DESCRIPTION_DEFAULT_TEXT_MIN_INC 588 0
+#define POPUP_DESCRIPTION_DEFAULT_TEXT_FONT_SIZE_INC 42
+
+#define POPUP_BASE_DEFAULT_BASE_DEFAULT_MIN_INC 620 0
+#define POPUP_BASE_DEFAULT_BASE_DEFAULT_MAX_INC 620 1120
+#define POPUP_BASE_DEFAULT_BG_DEFAULT_IMAGE_BORDER_INC 3 3 3 3
+#define POPUP_BASE_DEFAULT_TITLE_DEFAULT_MIN_INC 620 64
+#define POPUP_BASE_DEFAULT_TITLE_DEFAULT_IMAGE_BORDER_INC 3 3 3 3
+#define POPUP_BASE_DEFAULT_PADDING_MIN_MAX_INC 16 0
+#define POPUP_BASE_DEFAULT_TITLE_ICON_DEFAULT_MIN_MAX_INC 62 62
+#define POPUP_BASE_DEFAULT_CONTENT_DEFAULT_MIN_MAX_INC 620 0
+#define POPUP_BASE_DEFAULT_BUTTON_BG_DEFAULT_MIN_INC 620 96
+#define POPUP_BASE_DEFAULT_BUTTON_BG_IMAGE_BORDER_INC 3 3 3 3
+#define POPUP_BASE_DEFAULT_TEXT_FONT_SIZE_INC 38
+
+#define POPUP_CONTENT_DEFAULT_PADDING_TOP_MIN_INC 0 22
+#define POPUP_CONTENT_DEFAULT_PADDING_LEFT_MIN_INC 16 0
+#define POPUP_CONTENT_DEFAULT_PADDING_RIGHT_MIN_INC 16 0
+#define POPUP_CONTENT_DEFAULT_PADDING_BOTTOM_MIN_INC 0 22
+#define POPUP_CONTENT_DEFAULT_CONTENT_DEFAULT_MIN_INC 588 0
+
+#define POPUP_BASE_VERTICAL_BUTTON_BASE_MIN_INC 620 0
+#define POPUP_BASE_VERTICAL_BUTTON_BASE_MAX_INC 620 1120
+#define POPUP_BASE_VERTICAL_BUTTON_BG_IMAGE_BORDER_INC 3 3 3 3
+#define POPUP_BASE_VERTICAL_BUTTON_TITLE_DEFAULT_MIN_INC 620 64
+#define POPUP_BASE_VERTICAL_BUTTON_TITLE_IMAGE_BORDER_MIN_INC 3 3 3 3
+#define POPUP_BASE_VERTICAL_BUTTON_TITLE_ICON_MIN_MAX_INC 62 62
+#define POPUP_BASE_VERTICAL_BUTTON_CONTENT_DEFAULT_MIN_INC 620 0
+#define POPUP_BASE_VERTICAL_BUTTON_BUTTONAREA_DEFAULT_MIN_INC 620 286
+
+#define POPUP_BUTTON3_VERTICAL_BUTTON_BG_IMAGE_BORDER_INC 3 3 3 3
+#define POPUP_BUTTON3_VERTICAL_BUTTON_PADDING_TOP_MIN_INC 0 16
+#define POPUP_BUTTON_VERTICAL_ACTION_AREA_HEIGHT "286"
+#define POPUP_BUTTON3_VERTICAL_BUTTON_BUTTON_MIN_MAX_INC 356 74
+#define POPUP_BUTTON3_VERTICAL_BUTTON_PADDING_BUTTON_MIN_INC 0 16
+#define POPUP_BUTTON3_VERTICAL_BUTTON_PADDING_BUTTON_MAX_INC 9999 16
+
+#define POPUP_CONTENT_LISTSTYLE_PADDING_TOP_MIN_MAX_INC 3 3
+#define POPUP_CONTENT_LISTSTYLE_CONTENT_DEFAULT_MIN_INC 614 408
+#define POPUP_CONTENT_LISTSTYLE_PADDING_RIGHT_MIN_INC 3 0
+
+#define POPUP_CONTENT_MINSTYLE_CONTENT_DEFAULT_MIN_INC 614 0
+
+#define POPUP_BASE_CUSTOMSTYLE_BASE_DEFAULT_MIN_INC 620 0
+#define POPUP_BASE_CUSTOMSTYLE_BASE_DEFAULT_MAX_INC 620 1120
+#define POPUP_BASE_CUSTOMSTYLE_BG_DEFAULT_IMAGE_BORDER_INC 3 3 3 3
+#define POPUP_BASE_CUSTOMSTYLE_TITLE_DEFAULT_MIN_INC 620 64
+#define POPUP_BASE_CUSTOMSTYLE_TITLE_BOTTOM_LINE_MIN_INC 0 1
+#define POPUP_BASE_CUSTOMSTYLE_TITLE_ICON_DEFAULT_MIN_MAX_INC 62 62
+#define POPUP_BASE_CUSTOMSTYLE_CONTENT_DEFAULT_MIN_INC 620 0
+#define POPUP_BASE_CUSTOMSTYLE_BUTTONAREA_BG_DEFAULT_MIN_INC 620 96
+#define POPUP_BASE_CUSTOMSTYLE_BUTTONAREA_BG_IMAGE_BORDER_INC 3 3 3 3
+#define POPUP_BASE_CUSTOMSTYLE_TEXT_FONT_SIZE_INC 38
+#define POPUP_BASE_CUSTOMSTYLE_CONTENT_WIDTH_INC 620
+#define POPUP_BASE_CUSTOMSTYLE_CONTENT_HEIGHT_INC 146
+#define POPUP_BASE_CUSTOMSTYLE_CONTENT_SIDE_PADDING_INC 70
+#define POPUP_BASE_CUSTOMSTYLE_CONTENT_ENTRY_MIN_INC 90 90
+#define POPUP_BASE_CUSTOMSTYLE_CONTENT_CENTER_PADDING_MIN_INC 40
+
+#define POPUP_CONTENT_CUSTOMSTYLE_DEFAULT_MIN_INC 620 0
+#define POPUP_BUTTON_DEFAULT_ACTION_AREA_HEIGHT "96"
+#define POPUP_BUTTON1_DEFAULT_BUTTON1_DEFAULT_MIN_MAX_INC 402 74
+#define POPUP_BUTTON2_DEFAULT_BUTTON_DEFAULT_MIN_MAX_INC 274 74
+#define POPUP_BUTTON2_DEFAULT_PADDING_BUTTON_MIN_MAX_INC 10 74
+#define POPUP_BUTTON3_DEFAULT_BUTTON_DEFAULT_MIN_MAX_INC 186 74
+#define POPUP_BUTTON3_DEFAULT_PADDING_BUTTON_MIN_MAX_INC 10 74
+
+#define POPUP_BASE_VOLUMEBAR_STYLE_BASE_DEFAULT_MIN_INC 624 0
+#define POPUP_BASE_VOLUMEBAR_STYLE_BASE_DEFAULT_MAX_INC 624 1120
+#define POPUP_BASE_VOLUMEBAR_STYLE_TITLE_DEFAULT_IMAGE_BORDER_INC 3 3 6 0
+#define POPUP_BASE_VOLUMEBAR_STYLE_CONTENT_DEFAULT_MIN_INC 624 0
+#define POPUP_BASE_VOLUMEBAR_STYLE_BUTTONAREA_BG_DEFAULT_MIN_INC 624 96
+
+#define POPUP_CONTENT_VOLUMEBAR_STYLE_PADDING_TOP_MIN_INC 0 31
+#define POPUP_CONTENT_VOLUMEBAR_STYLE_PADDING_LEFT_MIN_INC 40 0
+#define POPUP_CONTENT_VOLUMEBAR_STYLE_PADDING_RIGHT_MIN_INC 40 0
+#define POPUP_CONTENT_VOLUMEBAR_STYLE_CONTENT_DEFAULT_MIN_INC 544 64
+#define POPUP_CONTENT_VOLUMEBAR_STYLE_PADDING_BOTTOM_MIN_INC 0 31
+
+#define PROGRESSBAR_DEFAULT_STYLE_TEXT_COLOR_INC 224 224 224 255
+#define PROGRESSBAR_DEFAULT_STYLE_STATUS_TEXT_COLOR_INC 255 255 255 255
+#define PROGRESSBAR_LIST_PROGRESS_STYLE_TEXT_COLOR_INC 0 0 0 255
+#define PROGRESSBAR_LIST_PROGRESS_STYLE_STATUS_TEXT_COLOR_INC 224 224 224 255
+#define PROGRESSBAR_LIST_TITLE_PROGRESS_STYLE_STATUS_TEXT_COLOR_INC 108 108 108 255
+#define PROGRESSBAR_LIST_PROCESS_WIDTH_INC 66
+#define PROGRESSBAR_LIST_PROCESS_HEIGHT_INC 66
+#define PROGRESSBAR_LIST_PROCESS_SMALL_INC 35
+#define PROGRESSBAR_LIST_PROCESS_SMALL_IMAGE "32x32"
+#define PROGRESSBAR_LIST_PROGRESS_HEIGHT_INC 16
+#define PROGRESSBAR_LIST_PENDING_HEIGHT_INC 16
+
+#define NOCONTENT_TEXT_BLOCK_STYLE_COLOR_INC 173 170 165 255
+#define NOCONTENT_TEXT_BLOCK_TEXT_SIZE_INC 42
+#define NOCONTENT_MIDDLE_PADDING_INC 54
+#define NOCONTENT_BASE_SEARCH_PADDING_INC 40
+#define NOCONTENT_IMAGE_REL1_WIDTH_HEIGHT_INC 0.282 0.294
+#define NOCONTENT_IMAGE_REL2_WIDTH_HEIGHT_INC 0.718 0.54
+#define NOCONTENT_BG_COLOR_INC 249 249 249 255
+#define NOCONTENT_TEXT_STYLE_BG_MIN_INC 0 120
+
+#define ENTRY_TEXT_SIZE_INC 44
+#define ENTRY_TEXT_COLOR_INC "#000000"
+#define ENTRY_CURSOR_COLOR_INC 217 147 26 255
+#define ENTRY_PREEDIT_BACKGROUND_COLOR_INC "#000000"
+#define ENTRY_PREEDIT_TEXT_COLOR_INC "#FFFFFF"
+#define ENTRY_SELECTION_BG_COLOR 204 230 224 127
+#define ENTRY_SELECTION_BLOCK_HANDLE_MIN_SIZE 48 67
+#define MAGNIFIER_HEIGHT_FILL 182
+#define MAGNIFIER_HEIGHT_FIXED 108
+#define MAGNIFIER_WIDTH_FIXED 358
+
+#define ENTRY_BUBBLE_EX_PAD 15
+#define ENTRY_BUBBLE_IX_PAD 22
+#define ENTRY_BUBBLE_Y_PAD 15
+#define ENTRY_BUBBLE_BOTTOM_PAD 22
+#define ENTRY_BUBBLE_CALLERID_PAD 16
+#define ENTRY_BUBBLE_CALLERID_WIDTH 60
+#define ENTRY_BUBBLE_CALLERID_HEIGHT 60
+#define ENTRY_BUBBLE_DATE_AREA_TEXT_SIZE_INC 26
+
+#define PANES_DEFAULT_FIXED_SEPERATOR_NORMAL_COLOR_INC 219 219 219 255
+
+#define DAYSELECTOR_BACKGROUND_COLOR_INC 199 199 199 255
+#define DAYSELECTOR_WEEKDAY_COLOR_INC 78 73 69 255
+#define DAYSELECTOR_SATURDAY_COLOR_INC 8 96 170 255
+#define DAYSELECTOR_SUNDAY_COLOR_INC 225 49 8 255
+#define DAYSELECTOR_DAY_PRESSED_COLOR_INC 255 255 255 255
+#define DAYSELECTOR_DAY_FONT_SIZE_INC 32
+#define DAYSELECTOR_CHECK_WIDTH_INC 94
+#define DAYSELECTOR_CHECK_HEIGHT_INC 90
+
+#define SLIDER_INDICATOR_TEXT_COLOR_INC 217 147 26 255
+#define SLIDER_UNITS_TEXT_COLOR_INC 122 122 122 255
+#define SLIDER_UNITS_TEXT_SIZE_INC 30
+#define SLIDER_INDICATOR_TEXT_SIZE_INC 40
+#define SLIDER_BASE_HEIGHT_INC 16
+#define SLIDER_BASE_MIN_WIDTH_INC 375
+#define SLIDER_BASE_HEIGHT_INC 16
+#define SLIDER_SWALLOW_BAR_MIN_WIDTH_INC 58
+#define SLIDER_SWALLOW_BAR_HEIGHT_INC 58
+#define SLIDER_INDICATOR_WIDTH_INC 58
+#define SLIDER_INDICATOR_HEIGHT_INC 58
+#define SLIDER_EBOOK_HEIGHT_INC 23
+#define SLIDER_EBOOK_UNITS_TEXT_COLOR_INC 164 160 149 255
+#define SLIDER_EBOOK_UNITS_TEXT_SIZE_INC 48
+#define SLIDER_EBOOK_INDICATOR_TEXT_COLOR_INC 241 150 27 255
+#define SLIDER_EBOOK_INDICATOR_DEFAULT_TEXT_SIZE_INC 36
+#define SLIDER_EBOOK_INDICATOR_DRAG_TEXT_SIZE_INC 48
+#define SLIDER_EBOOK_INDICATOR_WIDTH_INC 54
+#define SLIDER_EBOOK_INDICATOR_HEIGHT_INC 54
+#define SLIDER_DISABLER_PART_COLOR_INC 185 185 185 100
+
+#define TICKER_NOTI_DEFAULT_TEXT_COLOR_INC "#f4f4f4"
+
+#define DATETIME_FIELD_MIN_SIZE_INC 60 60
+#define DATETIME_SEPARATOR_MIN_SIZE_INC 40 60
+#define DATETIME_TEXT_FONT_SIZE_INC 36
+#define DATETIME_TEXT_NORMAL_COLOR_INC 0 0 0 255
+#define DATETIME_SEPARATOR_TEXT_COLOR_INC 100 100 100 255
+#define DATETIME_TEXT_SELECTED_COLOR_INC 224 134 21 255
+
+#define COLORSELECTOR_MIN_W_INC 624
+#define COLORSELECTOR_MIN_H_INC 336
+#define COLORSELECTOR_MAX_W_INC 1014
+#define COLORSELECTOR_COLORBAR_IMAGE0_BORDER 13 13 10 3
+#define COLORSELECTOR_COLORBAR_IMAGE1_BORDER 4 4 3 3
+#define COLORSELECTOR_COLORBAR_IMAGE2_BORDER 13 13 3 15
+#define COLORSELECTOR_COLORBAR_HEIGHT 112
+#define COLORSELECTOR_COLORBAR_LEFT_PADDING 136
+#define COLORSELECTOR_COLORBAR_RIGHT_PADDING 136
+#define COLORSELECTOR_BUTTON_TOP_PADDING 19
+#define COLORSELECTOR_ARROW_BG_LEFT_PADDING 133
+#define COLORSELECTOR_ARROW_BG_RIGHT_PADDING 133
+#define COLORSELECTOR_ARROW_MIN_WIDTH 16
+#define COLORSELECTOR_ARROW_MIN_HEIGHT 80
+#define COLORSELECTOR_DRAGGABLE_EVENT_AREA 80 80
+#define COLORSELECTOR_BUTTON_LEFT_PADDING 42
+#define COLORSELECTOR_BUTTON_RIGHT_PADDING 42
+#define COLORSELECTOR_BUTTON_WIDTH 74
+#define COLORSELECTOR_BUTTON_HEIGHT 74
+#define COLORSELECTOR_BUTTON_BORDER 6 6 6 6
+#define COLORSELECTOR_PADDING_COLOR_INC 199 199 199 255
+
+#define COLORSELECTOR_PALETTE_COLORBG_MIN_WIDTH_INC 86
+#define COLORSELECTOR_PALETTE_COLORBG_MIN_HEIGHT_INC 86
+#define COLORSELECTOR_PALETTE_COLORBG_FOCUS_MIN_WIDTH_INC 84
+#define COLORSELECTOR_PALETTE_COLORBG_FOCUS_MIN_HEIGHT_INC 84
+#define COLORSELECTOR_PORTRAIT_HOR_PAD_INC "50"
+#define COLORSELECTOR_PORTRAIT_VER_PAD_INC "26"
+#define COLORSELECTOR_LANDSCAPE_HOR_PAD_INC "36"
+#define COLORSELECTOR_LANDSCAPE_VER_PAD_INC "0"
+#define COLORSELECTOR_PALETTE_BORDER_INC 14 14 14 14
+
+#define CALENDAR_DAY_FONT_SIZE_INC 24
+#define CALENDAR_DATE_FONT_SIZE_INC 32
+#define CALENDAR_MONTH_FONT_SIZE_INC 38
+#define CALENDAR_MONTH_FONT_COLOR_INC 0 0 0 255
+#define CALENDAR_SATURDAY_FONT_COLOR_INC 47 120 220 255
+#define CALENDAR_SUNDAY_FONT_COLOR_INC 226 20 20 255
+#define CALENDAR_WEEKDAY_FONT_COLOR_INC 0 0 0 255
+#define CALENDAR_SELECTED_DATE_FONT_COLOR_INC 255 255 255 255
+#define CALENDAR_SEPERATOR_FONT_COLOR_INC 176 176 176 255
+#define CALENDAR_BACKGROUND_COLOR_INC 230 230 230 255
+#define CALENDAR_BUTTON_HEIGHT_INC 66
+#define CALENDAR_BUTTON_WIDTH_INC 74
+#define CALENDAR_ARROW_WIDTH_INC 30
+#define CALENDAR_ARROW_HEIGHT_INC 36
+#define CALENDAR_BASE_MIN_WIDTH_INC 692
+#define CALENDAR_BASE_MIN_HEIGHT_INC 420
+#define CALENDAR_HEADER_MIN_WIDTH_INC 98
+#define CALENDAR_HEADER_MIN_HEIGHT_INC 90
+
+#define CTXPOPUP_ENTRY_CENTER_IMAGE_BORDER 5 5 5 5
+#define CTXPOPUP_ENTRY_IMAGE_BORDER_WIDTH 6
+#define CTXPOPUP_ENTRY_ITEM_TEXT_COLOR 249 249 249 255
+#define CTXPOPUP_ENTRY_ITEM_LEFT_SEPARATOR_COLOR 61 61 61 255
+#define CTXPOPUP_ENTRY_ITEM_RIGHT_SEPARATOR_COLOR 148 148 148 255
+#define CTXPOPUP_ENTRY_SEPARA