efl_ui/widget: add inheritance for efl.gfx.entity to widget part

most of these are empty

Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de>
Differential Revision: https://phab.enlightenment.org/D11448
This commit is contained in:
Mike Blumenkrantz 2020-03-04 09:47:20 -05:00 committed by Marcel Hollerbach
parent 2f4d209181
commit 92a03628c8
2 changed files with 7 additions and 3 deletions

View File

@ -5673,8 +5673,7 @@ _efl_ui_widget_part_efl_ui_property_bind_property_bind(Eo *obj, Elm_Part_Data *p
}
#define EFL_UI_WIDGET_PART_EXTRA_OPS \
EFL_OBJECT_OP_FUNC(efl_canvas_layout_part_type_get, _efl_ui_widget_part_efl_canvas_layout_part_type_get), \
EFL_OBJECT_OP_FUNC(efl_gfx_entity_geometry_get, _efl_ui_widget_part_efl_gfx_entity_geometry_get)
EFL_OBJECT_OP_FUNC(efl_canvas_layout_part_type_get, _efl_ui_widget_part_efl_canvas_layout_part_type_get)
#include "efl_ui_widget_part.eo.c"

View File

@ -1,4 +1,4 @@
class Efl.Ui.Widget_Part extends Efl.Object implements Efl.Ui.Property_Bind
class Efl.Ui.Widget_Part extends Efl.Object implements Efl.Ui.Property_Bind, Efl.Gfx.Entity
{
[[This is the base class for all "Part" handles in Efl.Ui widgets.
@ -12,5 +12,10 @@ class Efl.Ui.Widget_Part extends Efl.Object implements Efl.Ui.Property_Bind
implements {
Efl.Object.destructor;
Efl.Ui.Property_Bind.property_bind;
@empty Efl.Gfx.Entity.visible { get; set; }
Efl.Gfx.Entity.geometry { get; set @empty ; }
@empty Efl.Gfx.Entity.position { get; set; }
@empty Efl.Gfx.Entity.size { get; set; }
@empty Efl.Gfx.Entity.scale { set; get; }
}
}