examples: Fix compilation (cxx bg & table)
authorJean-Philippe Andre <jp.andre@samsung.com>
Tue, 19 Dec 2017 05:35:06 +0000 (14:35 +0900)
committerWonki Kim <wonki_.kim@samsung.com>
Wed, 10 Jan 2018 11:08:13 +0000 (20:08 +0900)
See 25136ddf8ccbf384b21d89a7ce3939c1d4db00a6
See 0f16a0671008a324d8e1b523fb16ce7b5c1acd6c

Note: This only fixes compilation, not runtime!

src/examples/elementary/bg_cxx_example_02.cc
src/examples/elementary/table_cxx_example_01.cc
src/examples/elementary/table_cxx_example_02.cc

index 96dd491..5d07172 100644 (file)
@@ -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);
index 883eef0..a76d8d7 100644 (file)
@@ -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
index 71b9da2..986cefc 100644 (file)
@@ -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);