#define IVUG_SLIDER_EDJ EDJ_PATH"/ivug-slider.edj"
-#define USE_IMAGE_THUMBNAIL
#define USE_VIDEO_THUMBNAIL
si->mitem = item;
-#ifdef USE_IMAGE_THUMBNAIL
-// Set thumbnail
- _show_thumbnail(si, mdata->thumbnail_path);
-#endif
-
si->type = _get_sitem_type(mdata->slide_type);
if ( si->type == SITEM_TYPE_IMAGE )
evas_object_show(obj); //photocam show.
-#ifdef USE_IMAGE_THUMBNAIL
- _hide_thumbnail(si);
-#endif
-
_call_user_callback(si);
MSG_SITEM_HIGH("Photocam Pre-loaded. File=%s", ivug_get_filename(mdata->filepath));
MSG_SITEM_ERROR("Failed photocam to set file file=%s", path);
si->state = SLIDE_STATE_ERROR;
+ _show_thumbnail(si, DEFAULT_THUMBNAIL_PATH);
+
_call_user_callback(si);
return false;
}
ecore_timer_del(pCropView->box_timer);
pCropView->box_timer = ecore_timer_add(0.3, _on_box_timer_expired, data);
- Evas_Object *object = elm_object_part_content_unset(pCropView->layout, "thumbnail");
- if(object != NULL)
- {
- evas_object_del(object);
- }
-
pCropView->notify_area = const_cast<Evas_Object *>(edje_object_part_object_get(_EDJ(pCropView->layout),
"crop.contents.swallow.notify"));
MSG_MAIN_HIGH("Removing current slide.");
-// First, remove thumbnail and delete item
-
ivug_main_view_set_hide_timer(pMainView);
_ivug_selectioninfo_create(pMainView, IDS_DELETED);
return;
}
-// Remove thumbnail
- Evas_Object *object = elm_object_part_content_unset(pSetAsData->layout, "setasview.thumbnail");
- if(object != NULL)
- {
- evas_object_del(object);
- }
-
MSG_SETAS_HIGH("Photocam loaded.");
pSetAsData->box_timer = ecore_timer_add(CROP_BOX_INTERVAL_TIME, _put_scissorbox_timer_cb, (void *)pSetAsData->layout);
return;
}
-// Remove thumbnail
- Evas_Object *object = elm_object_part_content_unset(pSetAsData->layout, "setasview.thumbnail");
- if(object != NULL)
- {
- evas_object_del(object);
- }
-
MSG_SETAS_HIGH("Photocam loaded.");
elm_object_disabled_set(pSetAsData->btn_ok, EINA_FALSE);