efl_gfx_color_get(bg_obj, r, g, b, a);
}
-EOLIAN static void
-_efl_ui_widget_part_bg_efl_gfx_image_scale_method_set(Eo *obj, void *pd EINA_UNUSED, Efl_Gfx_Image_Scale_Method scale_type)
+EOLIAN static Efl_Object*
+_efl_ui_widget_part_bg_efl_object_finalize(Eo *obj, void *pd EINA_UNUSED)
{
Evas_Object *bg_obj = efl_ui_widget_part_bg_get(obj);
- efl_gfx_image_scale_method_set(bg_obj, scale_type);
-}
+ efl_composite_attach(obj, bg_obj);
-EOLIAN static Efl_Gfx_Image_Scale_Method
-_efl_ui_widget_part_bg_efl_gfx_image_scale_method_get(const Eo *obj, void *pd EINA_UNUSED)
-{
- Evas_Object *bg_obj = efl_ui_widget_part_bg_get(obj);
-
- return efl_gfx_image_scale_method_get(bg_obj);
+ return efl_finalize(efl_super(obj, EFL_UI_WIDGET_PART_BG_CLASS));
}
+
typedef struct _Efl_Ui_Property_Bound Efl_Ui_Property_Bound;
struct _Efl_Ui_Property_Bound
{
-class @beta Efl.Ui.Widget_Part_Bg extends Efl.Ui.Widget_Part implements Efl.File, Efl.Gfx.Color, Efl.Gfx.Image
+class @beta Efl.Ui.Widget_Part_Bg extends Efl.Ui.Widget_Part implements Efl.File, Efl.Gfx.Color, Efl.Gfx.Image composite Efl.Gfx.Image
{
[[Elementary widget internal part background class
]]
data: null;
implements {
+ Efl.Object.finalize;
Efl.File.file { get; set; }
Efl.File.key { get; set; }
Efl.File.mmap { get; set; }
Efl.File.load;
Efl.File.unload;
Efl.Gfx.Color.color { set; get; }
- Efl.Gfx.Image.scale_method { get; set; }
}
}