From 944d5f37c7add5772a62d0d976db48b3a2a90982 Mon Sep 17 00:00:00 2001 From: Xavi Artigas Date: Mon, 16 Sep 2019 11:06:02 +0200 Subject: efl/image: Efl.Gfx.Image_Scale_Type -> Efl.Gfx.Image_Scale_Method ref T7927, T7875 Depends on D9931 --- src/examples/elementary/bg_cxx_example_02.cc | 2 +- src/examples/elementary/efl_ui_list_example_1.c | 4 ++-- src/examples/elementary/icon_cxx_example_01.cc | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src/examples/elementary') diff --git a/src/examples/elementary/bg_cxx_example_02.cc b/src/examples/elementary/bg_cxx_example_02.cc index 496981984f..f276fdd7bb 100644 --- a/src/examples/elementary/bg_cxx_example_02.cc +++ b/src/examples/elementary/bg_cxx_example_02.cc @@ -33,7 +33,7 @@ efl_main(void *data EINA_UNUSED, const Efl_Event *ev) path = "performance/background.png"; efl::ui::Bg bg(instantiate, win); - bg.scale_type_set(EFL_GFX_IMAGE_SCALE_TYPE_FILL); + bg.scale_method_set(EFL_GFX_IMAGE_SCALE_METHOD_FILL); bg.file_set(path); bg.load(); win.content_set(bg); diff --git a/src/examples/elementary/efl_ui_list_example_1.c b/src/examples/elementary/efl_ui_list_example_1.c index 5cadb29e6b..5a30a8c1c2 100644 --- a/src/examples/elementary/efl_ui_list_example_1.c +++ b/src/examples/elementary/efl_ui_list_example_1.c @@ -200,13 +200,13 @@ elm_main(int argc EINA_UNUSED, char **argv) case 40: efl_file_simple_load(efl_part(item, "background"), "./sky_01.jpg", NULL); - efl_gfx_image_scale_type_set(efl_part(item, "background"), EFL_GFX_IMAGE_SCALE_TYPE_EXPAND); + efl_gfx_image_scale_method_set(efl_part(item, "background"), EFL_GFX_IMAGE_SCALE_METHOD_EXPAND); efl_pack_at(list, item, 39); break; case 50: efl_file_simple_load(efl_part(item, "background"), "./sky_01.jpg", NULL); - efl_gfx_image_scale_type_set(efl_part(item, "background"), EFL_GFX_IMAGE_SCALE_TYPE_TILE); + efl_gfx_image_scale_method_set(efl_part(item, "background"), EFL_GFX_IMAGE_SCALE_METHOD_TILE); efl_pack(list, item); break; diff --git a/src/examples/elementary/icon_cxx_example_01.cc b/src/examples/elementary/icon_cxx_example_01.cc index fd71bedeb5..90271c18ef 100644 --- a/src/examples/elementary/icon_cxx_example_01.cc +++ b/src/examples/elementary/icon_cxx_example_01.cc @@ -20,7 +20,7 @@ elm_main (int argc EINA_UNUSED, char **argv EINA_UNUSED) std::cout << ", name = " << icon.icon_get() << std::endl; - icon.scale_type_set(EFL_GFX_IMAGE_SCALE_TYPE_NONE); + icon.scale_method_set(EFL_GFX_IMAGE_SCALE_METHOD_NONE); //icon.resizable_set(false, true); //icon.smooth_set(false); //icon.fill_outside_set(true); -- cgit v1.2.1