diff options
author | Mike Blumenkrantz <zmike@samsung.com> | 2020-03-04 09:47:20 -0500 |
---|---|---|
committer | Marcel Hollerbach <mail@marcel-hollerbach.de> | 2020-03-06 13:30:43 +0100 |
commit | 92a03628c898adb43982f1a30ae3e45f6eaf0d2a (patch) | |
tree | 0cbbb75f52417e75ce2d4c7c0fc8a2a975f38cfc | |
parent | 2f4d209181adb49222f5da4446f3e41d1c28dc50 (diff) | |
download | efl-92a03628c898adb43982f1a30ae3e45f6eaf0d2a.tar.gz |
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
-rw-r--r-- | src/lib/elementary/efl_ui_widget.c | 3 | ||||
-rw-r--r-- | src/lib/elementary/efl_ui_widget_part.eo | 7 |
2 files changed, 7 insertions, 3 deletions
diff --git a/src/lib/elementary/efl_ui_widget.c b/src/lib/elementary/efl_ui_widget.c index c4d128dd43..3277ea40b9 100644 --- a/src/lib/elementary/efl_ui_widget.c +++ b/src/lib/elementary/efl_ui_widget.c @@ -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" diff --git a/src/lib/elementary/efl_ui_widget_part.eo b/src/lib/elementary/efl_ui_widget_part.eo index 75dbfceb53..38dc129972 100644 --- a/src/lib/elementary/efl_ui_widget_part.eo +++ b/src/lib/elementary/efl_ui_widget_part.eo @@ -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; } } } |