summaryrefslogtreecommitdiff
path: root/src/examples
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2015-04-03 16:30:48 +0200
committerCedric BAIL <cedric@osg.samsung.com>2015-04-03 16:30:48 +0200
commit0de4a1a4f2d45ed6b2eda2007b8e8bb5d9b9d365 (patch)
tree51bac5e40e1cb90c6ab8825b001b2656a30668a2 /src/examples
parent3b97e3d9cd13b16d269b18df6d0b24f7b4d5e667 (diff)
eolian_cxx: fix change visibility to visible.
Diffstat (limited to 'src/examples')
-rw-r--r--src/examples/eolian_cxx/eolian_cxx_complex_types_01.cc8
-rw-r--r--src/examples/eolian_cxx/eolian_cxx_eo_events_01.cc2
2 files changed, 5 insertions, 5 deletions
diff --git a/src/examples/eolian_cxx/eolian_cxx_complex_types_01.cc b/src/examples/eolian_cxx/eolian_cxx_complex_types_01.cc
index 8dd5d29..fc48898 100644
--- a/src/examples/eolian_cxx/eolian_cxx_complex_types_01.cc
+++ b/src/examples/eolian_cxx/eolian_cxx_complex_types_01.cc
@@ -70,20 +70,20 @@ example_complex_types()
70 bg.color_set(255, 255, 255, 255); 70 bg.color_set(255, 255, 255, 255);
71 bg.position_set(0, 0); 71 bg.position_set(0, 0);
72 bg.size_set(500, 250); 72 bg.size_set(500, 250);
73 bg.visibility_set(true); 73 bg.visible_set(true);
74 74
75 efl::evas::grid grid(efl::eo::parent = canvas); 75 efl::evas::grid grid(efl::eo::parent = canvas);
76 grid.position_set(0, 0); 76 grid.position_set(0, 0);
77 grid.object_smart::color_set(0, 0, 0, 255); 77 grid.object_smart::color_set(0, 0, 0, 255);
78 grid.size_set(5, 5); 78 grid.size_set(5, 5);
79 grid.visibility_set(true); 79 grid.visible_set(true);
80 80
81 efl::evas::text text1(efl::eo::parent = canvas); 81 efl::evas::text text1(efl::eo::parent = canvas);
82 text1.style_set(EVAS_TEXT_STYLE_OUTLINE); 82 text1.style_set(EVAS_TEXT_STYLE_OUTLINE);
83 text1.color_set(255, 0, 0, 255); 83 text1.color_set(255, 0, 0, 255);
84 text1.font_set("DejaVu", 32); 84 text1.font_set("DejaVu", 32);
85 text1.text_set("EFL++ Examples"); 85 text1.text_set("EFL++ Examples");
86 text1.visibility_set(true); 86 text1.visible_set(true);
87 int t1w, t1h; 87 int t1w, t1h;
88 text1.size_get(&t1w, &t1h); 88 text1.size_get(&t1w, &t1h);
89 grid.pack(text1, 1, 1, t1w, t1h); 89 grid.pack(text1, 1, 1, t1w, t1h);
@@ -96,7 +96,7 @@ example_complex_types()
96 std::stringstream ss; 96 std::stringstream ss;
97 ss << "version " << EFL_VERSION_MAJOR << "." << EFL_VERSION_MINOR; 97 ss << "version " << EFL_VERSION_MAJOR << "." << EFL_VERSION_MINOR;
98 text2.text_set(ss.str().c_str()); 98 text2.text_set(ss.str().c_str());
99 text2.visibility_set(true); 99 text2.visible_set(true);
100 int t2w, t2h; 100 int t2w, t2h;
101 text2.size_get(&t2w, &t2h); 101 text2.size_get(&t2w, &t2h);
102 102
diff --git a/src/examples/eolian_cxx/eolian_cxx_eo_events_01.cc b/src/examples/eolian_cxx/eolian_cxx_eo_events_01.cc
index 3cce90c..ca9f284 100644
--- a/src/examples/eolian_cxx/eolian_cxx_eo_events_01.cc
+++ b/src/examples/eolian_cxx/eolian_cxx_eo_events_01.cc
@@ -73,7 +73,7 @@ example_complex_types()
73 bg.color_set(255, 255, 255, 255); 73 bg.color_set(255, 255, 255, 255);
74 bg.position_set(0, 0); 74 bg.position_set(0, 0);
75 bg.size_set(500, 250); 75 bg.size_set(500, 250);
76 bg.visibility_set(true); 76 bg.visible_set(true);
77 77
78 efl::eo::signal_connection conn = 78 efl::eo::signal_connection conn =
79 bg.callback_mouse_down_add 79 bg.callback_mouse_down_add