From fdd1c7edef3c559047c1eb8553ffc5e637db0acf Mon Sep 17 00:00:00 2001 From: Jean-Philippe Andre Date: Tue, 19 Dec 2017 14:35:06 +0900 Subject: [PATCH] examples: Fix compilation (cxx bg & table) See 25136ddf8ccbf384b21d89a7ce3939c1d4db00a6 See 0f16a0671008a324d8e1b523fb16ce7b5c1acd6c Note: This only fixes compilation, not runtime! --- src/examples/elementary/bg_cxx_example_02.cc | 2 +- src/examples/elementary/table_cxx_example_01.cc | 2 +- src/examples/elementary/table_cxx_example_02.cc | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/examples/elementary/bg_cxx_example_02.cc b/src/examples/elementary/bg_cxx_example_02.cc index 96dd491..5d07172 100644 --- a/src/examples/elementary/bg_cxx_example_02.cc +++ b/src/examples/elementary/bg_cxx_example_02.cc @@ -29,7 +29,7 @@ efl_main(void *data EINA_UNUSED, const Efl_Event *ev) else path = "performance/background.png"; - efl::ui::Bg bg(instantiate, win); + efl::ui::Bg_Widget bg(instantiate, win); bg.scale_type_set(EFL_IMAGE_SCALE_TYPE_FILL); bg.file_set(path, nullptr); win.content_set(bg); diff --git a/src/examples/elementary/table_cxx_example_01.cc b/src/examples/elementary/table_cxx_example_01.cc index 883eef0..a76d8d7 100644 --- a/src/examples/elementary/table_cxx_example_01.cc +++ b/src/examples/elementary/table_cxx_example_01.cc @@ -13,7 +13,7 @@ efl_main(void *data EINA_UNUSED, const Efl_Event *ev EINA_UNUSED) win.text_set("Table example"); win.autohide_set(true); - efl::ui::Grid table(instantiate, win); + efl::ui::Table table(instantiate, win); win.content_set(table); table.pack_padding_set(5, 5, true); // FIXME diff --git a/src/examples/elementary/table_cxx_example_02.cc b/src/examples/elementary/table_cxx_example_02.cc index 71b9da2..986cefc 100644 --- a/src/examples/elementary/table_cxx_example_02.cc +++ b/src/examples/elementary/table_cxx_example_02.cc @@ -14,7 +14,7 @@ efl_main(void *data EINA_UNUSED, const Efl_Event *ev EINA_UNUSED) win.text_set("Table example"); win.autohide_set(true); - efl::ui::Grid table(instantiate, win); + efl::ui::Table table(instantiate, win); win.content_set(table); table.pack_padding_set(5, 5, true); -- 2.7.4