summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2017-08-08 11:48:31 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2017-08-08 13:25:58 +0900
commite30760342df7621948bc66adb6884347c37785f7 (patch)
treeacd963b13e7f7628fb424d71781534d3eb4cbd72
parent28a80845f6c82fe7b1225d8be6a7d4d090fb62d2 (diff)
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
-rw-r--r--unsorted/elementary/layout_example.js4
-rw-r--r--unsorted/elementary/twitter_example_01.js2
2 files changed, 3 insertions, 3 deletions
diff --git a/unsorted/elementary/layout_example.js b/unsorted/elementary/layout_example.js
index 003cb4d..24c51e5 100644
--- a/unsorted/elementary/layout_example.js
+++ b/unsorted/elementary/layout_example.js
@@ -12,7 +12,7 @@ box.setHintWeight(1.0, 1.0);
12win.setContent(box); 12win.setContent(box);
13box.setVisible(true); 13box.setVisible(true);
14 14
15ly = new Elm.Layout(box); 15ly = new Efl.Ui.Layout(box);
16 16
17if (!ly.setTheme("layout", "application", "titlebar")) 17if (!ly.setTheme("layout", "application", "titlebar"))
18{ 18{
@@ -41,7 +41,7 @@ end_container = ly.part('elm.swallow.end').cast('Efl.Container');
41end_container.setContent(bt); 41end_container.setContent(bt);
42ly.emitSignal('elm,state,end,visible', 'elm'); 42ly.emitSignal('elm,state,end,visible', 'elm');
43 43
44ly = new Elm.Layout(box); 44ly = new Efl.Ui.Layout(box);
45filename = path.join(__dirname, 'layout_example.edj'); 45filename = path.join(__dirname, 'layout_example.edj');
46ly.setFile(filename, 'example/mylayout'); 46ly.setFile(filename, 'example/mylayout');
47ly.setHintWeight(1.0, 1.0); 47ly.setHintWeight(1.0, 1.0);
diff --git a/unsorted/elementary/twitter_example_01.js b/unsorted/elementary/twitter_example_01.js
index 761eab9..db4945c 100644
--- a/unsorted/elementary/twitter_example_01.js
+++ b/unsorted/elementary/twitter_example_01.js
@@ -48,7 +48,7 @@ twit.get('statuses/user_timeline', {screen_name: user_acount, count:10}, functio
48 var screen_name = tweets[i].user.screen_name; 48 var screen_name = tweets[i].user.screen_name;
49 var text = tweets[i].text; 49 var text = tweets[i].text;
50 50
51 var layout = new efl.Elm.Layout(win); 51 var layout = new efl.Efl.Ui.Layout(win);
52 var filename = path.join(__dirname, 'twitter_example_01.edj'); 52 var filename = path.join(__dirname, 'twitter_example_01.edj');
53 layout.setFile(filename, "tweet"); 53 layout.setFile(filename, "tweet");
54 54