elm: Rename elm_layout to Efl.Ui.Layout

Some names have not been changed, hopefully making a distinction
between legacy APIs and internal code (elm_layout_blah) and valid EO
usages.

This means many internal functions are still elm_layout_ as their
sole purpose is to support the legacy API.

Ref T5315
This commit is contained in:
Jean-Philippe Andre 2017-08-08 11:48:31 +09:00
parent 28a80845f6
commit e30760342d
2 changed files with 3 additions and 3 deletions

View File

@ -12,7 +12,7 @@ box.setHintWeight(1.0, 1.0);
win.setContent(box);
box.setVisible(true);
ly = new Elm.Layout(box);
ly = new Efl.Ui.Layout(box);
if (!ly.setTheme("layout", "application", "titlebar"))
{
@ -41,7 +41,7 @@ end_container = ly.part('elm.swallow.end').cast('Efl.Container');
end_container.setContent(bt);
ly.emitSignal('elm,state,end,visible', 'elm');
ly = new Elm.Layout(box);
ly = new Efl.Ui.Layout(box);
filename = path.join(__dirname, 'layout_example.edj');
ly.setFile(filename, 'example/mylayout');
ly.setHintWeight(1.0, 1.0);

View File

@ -48,7 +48,7 @@ twit.get('statuses/user_timeline', {screen_name: user_acount, count:10}, functio
var screen_name = tweets[i].user.screen_name;
var text = tweets[i].text;
var layout = new efl.Elm.Layout(win);
var layout = new efl.Efl.Ui.Layout(win);
var filename = path.join(__dirname, 'twitter_example_01.edj');
layout.setFile(filename, "tweet");