forked from enlightenment/efl
parent
3a80bee71c
commit
6afb683626
|
@ -834,3 +834,8 @@
|
||||||
2012-12-18 Chueon Park (Hermet)
|
2012-12-18 Chueon Park (Hermet)
|
||||||
|
|
||||||
* Let image update right now if the image preloading is disabled.
|
* Let image update right now if the image preloading is disabled.
|
||||||
|
|
||||||
|
2012-12-18 Gustavo Sverzut Barbieri (k-s)
|
||||||
|
|
||||||
|
* elm_plug now emits "image,resized" on server-side changes.
|
||||||
|
* elm_plug typo fixed "image.deleted" to "image,deleted" ('.' -> ',')
|
||||||
|
|
|
@ -22,6 +22,7 @@ Additions:
|
||||||
* Add window profile set/get API in elm_win
|
* Add window profile set/get API in elm_win
|
||||||
* Add elm_sys_notify.[ch]
|
* Add elm_sys_notify.[ch]
|
||||||
* Add elm_need_elocation() and Elocation.h support with ELM_ELOCATION macro to integrate elocation.
|
* Add elm_need_elocation() and Elocation.h support with ELM_ELOCATION macro to integrate elocation.
|
||||||
|
* Add elm_plug signals "image,deleted" (fixed typo) and "image,resized".
|
||||||
|
|
||||||
Improvements:
|
Improvements:
|
||||||
|
|
||||||
|
@ -98,6 +99,7 @@ Fixes:
|
||||||
* Fix the naviframe to not have crash even if user deletes the naviframe in the transition finished cb.
|
* Fix the naviframe to not have crash even if user deletes the naviframe in the transition finished cb.
|
||||||
* Fix Don't elm_transit image animation use the image preloading to avoid image flickering.
|
* Fix Don't elm_transit image animation use the image preloading to avoid image flickering.
|
||||||
* Fix the image to show the image right now if the image preloading is disabled.
|
* Fix the image to show the image right now if the image preloading is disabled.
|
||||||
|
* Fix typo from elm_plug signal "image.deleted", should be "image,deleted".
|
||||||
|
|
||||||
Removals:
|
Removals:
|
||||||
|
|
||||||
|
|
|
@ -169,7 +169,7 @@ test_win_plug(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_in
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
evas_object_smart_callback_add(plug, "image.deleted", cb_plug_disconnected, NULL);
|
evas_object_smart_callback_add(plug, "image,deleted", cb_plug_disconnected, NULL);
|
||||||
evas_object_smart_callback_add(plug, "image,resized", cb_plug_resized, NULL);
|
evas_object_smart_callback_add(plug, "image,resized", cb_plug_resized, NULL);
|
||||||
|
|
||||||
evas_object_resize(plug, 380, 500);
|
evas_object_resize(plug, 380, 500);
|
||||||
|
|
|
@ -11,7 +11,7 @@ EAPI Eo_Op ELM_OBJ_PLUG_BASE_ID = EO_NOOP;
|
||||||
static const char PLUG_KEY[] = "__Plug_Ecore_Evas";
|
static const char PLUG_KEY[] = "__Plug_Ecore_Evas";
|
||||||
|
|
||||||
static const char SIG_CLICKED[] = "clicked";
|
static const char SIG_CLICKED[] = "clicked";
|
||||||
static const char SIG_IMAGE_DELETED[] = "image.deleted";
|
static const char SIG_IMAGE_DELETED[] = "image,deleted";
|
||||||
static const char SIG_IMAGE_RESIZED[] = "image,resized";
|
static const char SIG_IMAGE_RESIZED[] = "image,resized";
|
||||||
static const Evas_Smart_Cb_Description _smart_callbacks[] = {
|
static const Evas_Smart_Cb_Description _smart_callbacks[] = {
|
||||||
{SIG_CLICKED, ""},
|
{SIG_CLICKED, ""},
|
||||||
|
@ -34,12 +34,11 @@ _sizing_eval(Evas_Object *obj __UNUSED__)
|
||||||
static void
|
static void
|
||||||
_elm_plug_disconnected(Ecore_Evas *ee)
|
_elm_plug_disconnected(Ecore_Evas *ee)
|
||||||
{
|
{
|
||||||
Evas_Object *plug = NULL;
|
Evas_Object *plug = ecore_evas_data_get(ee, PLUG_KEY);
|
||||||
|
EINA_SAFETY_ON_NULL_RETURN(plug);
|
||||||
if (!ee) return;
|
|
||||||
plug = ecore_evas_data_get(ee, PLUG_KEY);
|
|
||||||
if (!plug) return;
|
|
||||||
evas_object_smart_callback_call(plug, SIG_IMAGE_DELETED, NULL);
|
evas_object_smart_callback_call(plug, SIG_IMAGE_DELETED, NULL);
|
||||||
|
/* TODO: was a typo. Deprecated, remove in future releases: */
|
||||||
|
evas_object_smart_callback_call(plug, "image.deleted", NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
* This widget emits the following signals:
|
* This widget emits the following signals:
|
||||||
* @li "clicked": the user clicked the image (press/release). The @c
|
* @li "clicked": the user clicked the image (press/release). The @c
|
||||||
* event parameter of the callback will be @c NULL.
|
* event parameter of the callback will be @c NULL.
|
||||||
* @li "image.deleted": the server side was deleted. The @c event
|
* @li "image,deleted": the server side was deleted. The @c event
|
||||||
* parameter of the callback will be @c NULL.
|
* parameter of the callback will be @c NULL.
|
||||||
* @li "image,resized": the server side was resized. The @c event parameter of
|
* @li "image,resized": the server side was resized. The @c event parameter of
|
||||||
* the callback will be @c Evas_Coord_Size (two integers).
|
* the callback will be @c Evas_Coord_Size (two integers).
|
||||||
|
|
Loading…
Reference in New Issue