forked from enlightenment/efl
evas: Remove class Efl.Canvas.Group.Clipped
The functionality is now merged inside the core Group class, which will allow us to clean up its API.
This commit is contained in:
parent
8572cd5def
commit
9ed6838f17
|
@ -36,7 +36,6 @@ evas_eolian_pub_files = \
|
|||
lib/evas/canvas/efl_canvas_surface_x11.eo \
|
||||
lib/evas/canvas/efl_canvas_surface_wayland.eo \
|
||||
lib/evas/canvas/efl_canvas_filter_internal.eo \
|
||||
lib/evas/canvas/efl_canvas_group_clipped.eo \
|
||||
lib/evas/canvas/efl_input_state.eo \
|
||||
lib/evas/canvas/efl_input_interface.eo \
|
||||
lib/evas/canvas/efl_input_event.eo \
|
||||
|
|
|
@ -47,12 +47,6 @@
|
|||
* @}
|
||||
*/
|
||||
|
||||
/**
|
||||
* @ingroup Evas_Smart_Object_Clipped
|
||||
*
|
||||
* @{
|
||||
*/
|
||||
#include "canvas/efl_canvas_group_clipped.eo.h"
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
|
|
@ -1,10 +0,0 @@
|
|||
/* FIXME: This class needs to disappear and its functionality merged into
|
||||
* standard smart objects (Efl.Canvas.Group). */
|
||||
abstract Efl.Canvas.Group.Clipped (Efl.Canvas.Group)
|
||||
{
|
||||
[[Internal class representing a canvas object group with a clipper.]]
|
||||
data: null;
|
||||
implements {
|
||||
Efl.Object.constructor;
|
||||
}
|
||||
}
|
|
@ -4,8 +4,6 @@
|
|||
#include "evas_common_private.h"
|
||||
#include "evas_private.h"
|
||||
|
||||
#define MY_CLASS EFL_CANVAS_GROUP_CLIPPED_CLASS
|
||||
|
||||
#define CSO_DATA_GET(eo_obj, ptr) \
|
||||
Evas_Object_Smart_Clipped_Data *ptr = evas_object_smart_data_get(eo_obj);
|
||||
|
||||
|
@ -107,14 +105,6 @@ evas_object_smart_clipped_smart_member_del(Evas_Object *eo_obj, Evas_Object *mem
|
|||
evas_object_hide(cso->clipper);
|
||||
}
|
||||
|
||||
EOLIAN static Eo *
|
||||
_efl_canvas_group_clipped_efl_object_constructor(Eo *eo_obj, void *_pd EINA_UNUSED)
|
||||
{
|
||||
// Setting this flag before the parent constructor on purpose.
|
||||
efl_canvas_group_unclipped_set(eo_obj, EINA_FALSE);
|
||||
return efl_constructor(efl_super(eo_obj, MY_CLASS));
|
||||
}
|
||||
|
||||
/* Legacy only */
|
||||
EAPI void
|
||||
evas_object_smart_clipped_smart_set(Evas_Smart_Class *sc)
|
||||
|
@ -148,5 +138,3 @@ evas_object_smart_clipped_class_get(void)
|
|||
class = &_sc;
|
||||
return class;
|
||||
}
|
||||
|
||||
#include "canvas/efl_canvas_group_clipped.eo.c"
|
||||
|
|
Loading…
Reference in New Issue