forked from enlightenment/efl
Revert "evas: make efl_canvas_group abstract"
This reverts commit ae65c64b8d
.
It appears that abstract -> abstract enforcement is not needed anymore,
the other patches are fine. However, this one proposes a new object
which is not needed to exist.
Reviewed-by: Xavi Artigas <xavierartigas@yahoo.es>
Differential Revision: https://phab.enlightenment.org/D7676
This commit is contained in:
parent
586bc5207e
commit
9fefc35308
|
@ -9,7 +9,6 @@ evas_canvas_eolian_pub_files = \
|
|||
lib/evas/canvas/efl_canvas_text.eo \
|
||||
lib/evas/canvas/efl_canvas_text_factory.eo \
|
||||
lib/evas/canvas/efl_canvas_group.eo \
|
||||
lib/evas/canvas/efl_canvas_group_object.eo \
|
||||
lib/evas/canvas/efl_canvas_image_internal.eo \
|
||||
lib/evas/canvas/evas_canvas3d_camera.eo\
|
||||
lib/evas/canvas/evas_canvas3d_texture.eo\
|
||||
|
|
|
@ -351,7 +351,7 @@ _efl_ui_pager_efl_object_constructor(Eo *obj,
|
|||
|
||||
elm_widget_can_focus_set(obj, EINA_TRUE);
|
||||
|
||||
pd->page_root = efl_add(EFL_CANVAS_GROUP_OBJECT_CLASS, evas_object_evas_get(obj));
|
||||
pd->page_root = efl_add(EFL_CANVAS_GROUP_CLASS, evas_object_evas_get(obj));
|
||||
efl_content_set(efl_part(obj, "efl.page_root"), pd->page_root);
|
||||
|
||||
efl_event_callback_add(pd->page_root, EFL_GFX_ENTITY_EVENT_RESIZE, _resize_cb, pd);
|
||||
|
|
|
@ -179,7 +179,6 @@ struct _Efl_Canvas_Object_Animation_Event
|
|||
* @{
|
||||
*/
|
||||
#include "canvas/efl_canvas_group.eo.h"
|
||||
#include "canvas/efl_canvas_group_object.eo.h"
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
abstract Efl.Canvas.Group (Efl.Canvas.Object)
|
||||
class Efl.Canvas.Group (Efl.Canvas.Object)
|
||||
{
|
||||
[[A group object is a container for other canvas objects. Its children
|
||||
move along their parent and are often clipped with a common clipper.
|
||||
|
|
|
@ -1,7 +0,0 @@
|
|||
class Efl.Canvas.Group_Object(Efl.Canvas.Group)
|
||||
{
|
||||
[[A class which makes Efl.Canvas.Group instanceable.
|
||||
For further information, please see @Efl.Canvas.Group.
|
||||
]]
|
||||
data: null;
|
||||
}
|
|
@ -675,7 +675,7 @@ evas_object_smart_add(Evas *eo_e, Evas_Smart *s)
|
|||
|
||||
eo_e = evas_find(eo_e);
|
||||
EINA_SAFETY_ON_FALSE_RETURN_VAL(efl_isa(eo_e, EVAS_CANVAS_CLASS), NULL);
|
||||
eo_obj = efl_add(EFL_CANVAS_GROUP_OBJECT_CLASS, eo_e, efl_canvas_object_legacy_ctor(efl_added));
|
||||
eo_obj = efl_add(EFL_CANVAS_GROUP_CLASS, eo_e, efl_canvas_object_legacy_ctor(efl_added));
|
||||
evas_object_smart_attach(eo_obj, s);
|
||||
return eo_obj;
|
||||
}
|
||||
|
@ -1849,4 +1849,3 @@ EOAPI EFL_VOID_FUNC_BODYV(efl_canvas_group_clipped_set, EFL_FUNC_CALL(enable), E
|
|||
EFL_OBJECT_OP_FUNC(efl_canvas_group_clipped_set, _efl_canvas_group_group_clipped_set)
|
||||
|
||||
#include "canvas/efl_canvas_group.eo.c"
|
||||
#include "canvas/efl_canvas_group_object.eo.c"
|
||||
|
|
|
@ -74,7 +74,6 @@ pub_eo_files = [
|
|||
'efl_canvas_vg_gradient_radial.eo',
|
||||
'efl_canvas_vg_gradient_linear.eo',
|
||||
'efl_canvas_group.eo',
|
||||
'efl_canvas_group_object.eo',
|
||||
'efl_gfx_map.eo',
|
||||
'efl_canvas_event_grabber.eo',
|
||||
'efl_canvas_text.eo'
|
||||
|
|
Loading…
Reference in New Issue