diff options
author | Jean-Philippe Andre <jp.andre@samsung.com> | 2017-08-08 11:48:31 +0900 |
---|---|---|
committer | Jean-Philippe Andre <jp.andre@samsung.com> | 2017-08-08 13:25:58 +0900 |
commit | 9a2d4928f09ced3ea34d3bf643d9d52ce6a5f57c (patch) | |
tree | 367624ca751b9c736ba969b2e4c3830dbc2e65ee /src/examples | |
parent | db29ee1cd686f4d58f1a13eb8eb0177d5ddd8be8 (diff) | |
download | efl-9a2d4928f09ced3ea34d3bf643d9d52ce6a5f57c.tar.gz |
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
Diffstat (limited to 'src/examples')
-rw-r--r-- | src/examples/elementary/layout_example.js | 4 | ||||
-rw-r--r-- | src/examples/elementary/twitter_example_01.js | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/examples/elementary/layout_example.js b/src/examples/elementary/layout_example.js index 003cb4d146..24c51e5902 100644 --- a/src/examples/elementary/layout_example.js +++ b/src/examples/elementary/layout_example.js @@ -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); diff --git a/src/examples/elementary/twitter_example_01.js b/src/examples/elementary/twitter_example_01.js index 761eab90e0..db4945c29d 100644 --- a/src/examples/elementary/twitter_example_01.js +++ b/src/examples/elementary/twitter_example_01.js @@ -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"); |