summaryrefslogtreecommitdiff
path: root/src/examples/elementary
diff options
context:
space:
mode:
authorXavi Artigas <xavierartigas@yahoo.es>2019-09-16 11:06:02 +0200
committerXavi Artigas <xavierartigas@yahoo.es>2019-09-16 11:06:02 +0200
commit944d5f37c7add5772a62d0d976db48b3a2a90982 (patch)
treefb50f8b08247c02c1b0f2f5c0f03e1125ba35233 /src/examples/elementary
parente18d07b2979e5b80ce930fa6f525b9e02f19db01 (diff)
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.cc2
-rw-r--r--src/examples/elementary/efl_ui_list_example_1.c4
-rw-r--r--src/examples/elementary/icon_cxx_example_01.cc2
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 4969819..f276fdd 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)
33 path = "performance/background.png"; 33 path = "performance/background.png";
34 34
35 efl::ui::Bg bg(instantiate, win); 35 efl::ui::Bg bg(instantiate, win);
36 bg.scale_type_set(EFL_GFX_IMAGE_SCALE_TYPE_FILL); 36 bg.scale_method_set(EFL_GFX_IMAGE_SCALE_METHOD_FILL);
37 bg.file_set(path); 37 bg.file_set(path);
38 bg.load(); 38 bg.load();
39 win.content_set(bg); 39 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 5cadb29..5a30a8c 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)
200 200
201 case 40: 201 case 40:
202 efl_file_simple_load(efl_part(item, "background"), "./sky_01.jpg", NULL); 202 efl_file_simple_load(efl_part(item, "background"), "./sky_01.jpg", NULL);
203 efl_gfx_image_scale_type_set(efl_part(item, "background"), EFL_GFX_IMAGE_SCALE_TYPE_EXPAND); 203 efl_gfx_image_scale_method_set(efl_part(item, "background"), EFL_GFX_IMAGE_SCALE_METHOD_EXPAND);
204 efl_pack_at(list, item, 39); 204 efl_pack_at(list, item, 39);
205 break; 205 break;
206 206
207 case 50: 207 case 50:
208 efl_file_simple_load(efl_part(item, "background"), "./sky_01.jpg", NULL); 208 efl_file_simple_load(efl_part(item, "background"), "./sky_01.jpg", NULL);
209 efl_gfx_image_scale_type_set(efl_part(item, "background"), EFL_GFX_IMAGE_SCALE_TYPE_TILE); 209 efl_gfx_image_scale_method_set(efl_part(item, "background"), EFL_GFX_IMAGE_SCALE_METHOD_TILE);
210 efl_pack(list, item); 210 efl_pack(list, item);
211 break; 211 break;
212 212
diff --git a/src/examples/elementary/icon_cxx_example_01.cc b/src/examples/elementary/icon_cxx_example_01.cc
index fd71bed..90271c1 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)
20 20
21 std::cout << ", name = " << icon.icon_get() << std::endl; 21 std::cout << ", name = " << icon.icon_get() << std::endl;
22 22
23 icon.scale_type_set(EFL_GFX_IMAGE_SCALE_TYPE_NONE); 23 icon.scale_method_set(EFL_GFX_IMAGE_SCALE_METHOD_NONE);
24 //icon.resizable_set(false, true); 24 //icon.resizable_set(false, true);
25 //icon.smooth_set(false); 25 //icon.smooth_set(false);
26 //icon.fill_outside_set(true); 26 //icon.fill_outside_set(true);