examples: Fix compilation (cxx bg & table)

See 25136ddf8ccbf384b21d89a7ce3939c1d4db00a6
See 0f16a0671008a324d8e1b523fb16ce7b5c1acd6c

Note: This only fixes compilation, not runtime!
This commit is contained in:
Jean-Philippe Andre 2017-12-19 14:35:06 +09:00
parent cf43867da1
commit 3d38ae0a90
3 changed files with 3 additions and 3 deletions

View 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);

View 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

View 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);