summaryrefslogtreecommitdiff
path: root/src/lib/evas/Evas.h
diff options
context:
space:
mode:
authorDaniel Juyung Seo <seojuyung2@gmail.com>2013-04-02 21:58:32 +0900
committerDaniel Juyung Seo <seojuyung2@gmail.com>2013-04-02 22:00:55 +0900
commit20ff3f1bd209bb282a97f2aa3f87c0936cfa021c (patch)
tree9b5e1c9741f595e316ffe6c7eb8823787213898c /src/lib/evas/Evas.h
parent8027d5f5d7bcdbe14674f36fc4b7503a0e1c5d6b (diff)
evas_object_image.c/Evas.h: Added Eo apis for image preload.
1. Added evas_obj_image_preload_begin/cancel APIs. 2. Removed evas_obj_image_preload. This accepts 'cancel' as a parameter and it's so confusing to developers. 3. No ChangeLog/NEWS for this change because Eo APIs were not released yet. 4. Discussed with Raster. 5. It's encouraged to use elm_image however. elm_image has elm_image_preload_disabled_set() API.
Diffstat (limited to 'src/lib/evas/Evas.h')
-rw-r--r--src/lib/evas/Evas.h19
1 files changed, 14 insertions, 5 deletions
diff --git a/src/lib/evas/Evas.h b/src/lib/evas/Evas.h
index cfd1e00..21d6be1 100644
--- a/src/lib/evas/Evas.h
+++ b/src/lib/evas/Evas.h
@@ -18471,7 +18471,8 @@ enum
18471 EVAS_OBJ_IMAGE_SUB_ID_DATA_CONVERT, 18471 EVAS_OBJ_IMAGE_SUB_ID_DATA_CONVERT,
18472 EVAS_OBJ_IMAGE_SUB_ID_DATA_SET, 18472 EVAS_OBJ_IMAGE_SUB_ID_DATA_SET,
18473 EVAS_OBJ_IMAGE_SUB_ID_DATA_GET, 18473 EVAS_OBJ_IMAGE_SUB_ID_DATA_GET,
18474 EVAS_OBJ_IMAGE_SUB_ID_PRELOAD, 18474 EVAS_OBJ_IMAGE_SUB_ID_PRELOAD_BEGIN,
18475 EVAS_OBJ_IMAGE_SUB_ID_PRELOAD_CANCEL,
18475 EVAS_OBJ_IMAGE_SUB_ID_DATA_COPY_SET, 18476 EVAS_OBJ_IMAGE_SUB_ID_DATA_COPY_SET,
18476 EVAS_OBJ_IMAGE_SUB_ID_DATA_UPDATE_ADD, 18477 EVAS_OBJ_IMAGE_SUB_ID_DATA_UPDATE_ADD,
18477 EVAS_OBJ_IMAGE_SUB_ID_ALPHA_SET, 18478 EVAS_OBJ_IMAGE_SUB_ID_ALPHA_SET,
@@ -18978,16 +18979,24 @@ enum
18978#define evas_obj_image_smooth_scale_get(smooth_scale) EVAS_OBJ_IMAGE_ID(EVAS_OBJ_IMAGE_SUB_ID_SMOOTH_SCALE_GET), EO_TYPECHECK(Eina_Bool *, smooth_scale) 18979#define evas_obj_image_smooth_scale_get(smooth_scale) EVAS_OBJ_IMAGE_ID(EVAS_OBJ_IMAGE_SUB_ID_SMOOTH_SCALE_GET), EO_TYPECHECK(Eina_Bool *, smooth_scale)
18979 18980
18980/** 18981/**
18981 * @def evas_obj_image_preload 18982 * @def evas_obj_image_preload_begin
18982 * @since 1.8 18983 * @since 1.8
18983 * 18984 *
18984 * Preload an image object's image data in the background 18985 * Begin preloading an image object's image data in the background
18986 *
18987 * @see evas_object_image_preload
18988 */
18989#define evas_obj_image_preload_begin() EVAS_OBJ_IMAGE_ID(EVAS_OBJ_IMAGE_SUB_ID_PRELOAD_BEGIN)
18990
18991/**
18992 * @def evas_obj_image_preload_cancel
18993 * @since 1.8
18985 * 18994 *
18986 * @param[in] cancel in 18995 * Cancel preloading an image object's image data in the background
18987 * 18996 *
18988 * @see evas_object_image_preload 18997 * @see evas_object_image_preload
18989 */ 18998 */
18990#define evas_obj_image_preload(cancel) EVAS_OBJ_IMAGE_ID(EVAS_OBJ_IMAGE_SUB_ID_PRELOAD), EO_TYPECHECK(Eina_Bool, cancel) 18999#define evas_obj_image_preload_cancel() EVAS_OBJ_IMAGE_ID(EVAS_OBJ_IMAGE_SUB_ID_PRELOAD_CANCEL)
18991 19000
18992/** 19001/**
18993 * @def evas_obj_image_reload 19002 * @def evas_obj_image_reload