diff options
author | Xavi Artigas <xavierartigas@yahoo.es> | 2019-09-16 11:06:02 +0200 |
---|---|---|
committer | Xavi Artigas <xavierartigas@yahoo.es> | 2019-09-16 11:06:02 +0200 |
commit | 944d5f37c7add5772a62d0d976db48b3a2a90982 (patch) | |
tree | fb50f8b08247c02c1b0f2f5c0f03e1125ba35233 /src/examples/elementary | |
parent | e18d07b2979e5b80ce930fa6f525b9e02f19db01 (diff) | |
download | efl-944d5f37c7add5772a62d0d976db48b3a2a90982.tar.gz |
efl/image: Efl.Gfx.Image_Scale_Type -> Efl.Gfx.Image_Scale_Method
ref T7927, T7875
Depends on D9931
Diffstat (limited to 'src/examples/elementary')
-rw-r--r-- | src/examples/elementary/bg_cxx_example_02.cc | 2 | ||||
-rw-r--r-- | src/examples/elementary/efl_ui_list_example_1.c | 4 | ||||
-rw-r--r-- | src/examples/elementary/icon_cxx_example_01.cc | 2 |
3 files changed, 4 insertions, 4 deletions
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); |