forked from enlightenment/efl
elementary/Mapbuf - Ensure that content size calculation is correctly finished because the mapbuf is willing to block the size calculation forcely.
This commit is contained in:
parent
90d7174eb8
commit
a4cb3c27e0
|
@ -1536,8 +1536,9 @@
|
||||||
|
|
||||||
2013-08-09 Cedric Bail
|
2013-08-09 Cedric Bail
|
||||||
|
|
||||||
* Add support for URL in Elm_Image with the following new smart callback :
|
* Add support for URL in Elm_Image with the following new smart
|
||||||
"download,start", "download,progress", "download,done", "download,error".
|
callback : "download,start", "download,progress", "download,done",
|
||||||
|
"download,error".
|
||||||
|
|
||||||
2013-08-10 ChunEon Park (Hermet)
|
2013-08-10 ChunEon Park (Hermet)
|
||||||
|
|
||||||
|
@ -1550,4 +1551,10 @@
|
||||||
|
|
||||||
2013-08-12 Cedric Bail
|
2013-08-12 Cedric Bail
|
||||||
|
|
||||||
* Add URL support to Elm_Photocam with the same callback as URL suport in Elm_Image.
|
* Add URL support to Elm_Photocam with the same callback as URL suport
|
||||||
|
in Elm_Image.
|
||||||
|
|
||||||
|
2013-08-12 ChunEon Park (Hermet)
|
||||||
|
|
||||||
|
* Mapbuf: Ensure that content size calculation is correctly finished
|
||||||
|
because the mapbuf is willing to block the size calculation forcely.
|
||||||
|
|
|
@ -281,6 +281,7 @@ Removals:
|
||||||
* Naviframe: Dont' be popped if the event is freezed and popping is going on.
|
* Naviframe: Dont' be popped if the event is freezed and popping is going on.
|
||||||
* Ctxpopup: Apply current ctxpopup style to the list.
|
* Ctxpopup: Apply current ctxpopup style to the list.
|
||||||
* Popup: Fix the corrupted internal widget tree that caused elm_theme_set() doesn't work correctly.
|
* Popup: Fix the corrupted internal widget tree that caused elm_theme_set() doesn't work correctly.
|
||||||
|
* Mapbuf: Ensure that content size calculation is correctly finished because the mapbuf is willing to block the size calculation forcely.
|
||||||
|
|
||||||
Changes since Elementary 1.0.0:
|
Changes since Elementary 1.0.0:
|
||||||
-------------------------
|
-------------------------
|
||||||
|
|
|
@ -51,6 +51,7 @@ _changed_size_hints_cb(void *data,
|
||||||
Evas_Object *obj __UNUSED__,
|
Evas_Object *obj __UNUSED__,
|
||||||
void *event_info __UNUSED__)
|
void *event_info __UNUSED__)
|
||||||
{
|
{
|
||||||
|
evas_smart_objects_calculate(e);
|
||||||
_sizing_eval(data);
|
_sizing_eval(data);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -74,6 +75,10 @@ _elm_mapbuf_smart_sub_object_del(Eo *obj, void *_pd, va_list *list)
|
||||||
evas_object_event_callback_del_full
|
evas_object_event_callback_del_full
|
||||||
(sobj, EVAS_CALLBACK_CHANGED_SIZE_HINTS, _changed_size_hints_cb,
|
(sobj, EVAS_CALLBACK_CHANGED_SIZE_HINTS, _changed_size_hints_cb,
|
||||||
obj);
|
obj);
|
||||||
|
evas_object_event_callback_del_full(sobj, EVAS_CALLBACK_MOVE,
|
||||||
|
_changed_size_hints_cb, obj);
|
||||||
|
evas_object_event_callback_del_full(sobj, EVAS_CALLBACK_RESIZE,
|
||||||
|
_changed_size_hints_cb, obj);
|
||||||
sd->content = NULL;
|
sd->content = NULL;
|
||||||
_sizing_eval(obj);
|
_sizing_eval(obj);
|
||||||
}
|
}
|
||||||
|
@ -281,6 +286,10 @@ _elm_mapbuf_smart_content_set(Eo *obj, void *_pd, va_list *list)
|
||||||
evas_object_event_callback_add
|
evas_object_event_callback_add
|
||||||
(content, EVAS_CALLBACK_CHANGED_SIZE_HINTS,
|
(content, EVAS_CALLBACK_CHANGED_SIZE_HINTS,
|
||||||
_changed_size_hints_cb, obj);
|
_changed_size_hints_cb, obj);
|
||||||
|
evas_object_event_callback_add(content, EVAS_CALLBACK_MOVE,
|
||||||
|
_changed_size_hints_cb, obj);
|
||||||
|
evas_object_event_callback_add(content, EVAS_CALLBACK_RESIZE,
|
||||||
|
_changed_size_hints_cb, obj);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
evas_object_color_set(wd->resize_obj, 0, 0, 0, 0);
|
evas_object_color_set(wd->resize_obj, 0, 0, 0, 0);
|
||||||
|
|
Loading…
Reference in New Issue