forked from enlightenment/efl
examples: Fix compilation (cxx bg & table)
See25136ddf8c
See0f16a06710
Note: This only fixes compilation, not runtime!
This commit is contained in:
parent
f2b13e4a21
commit
43c0122dd6
|
@ -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);
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue