summaryrefslogtreecommitdiff
path: root/src/examples/elementary/table_cxx_example_02.cc
diff options
context:
space:
mode:
authorLauro Moura <lauromoura@expertisesolutions.com.br>2019-02-22 17:09:18 +0100
committerXavi Artigas <xavierartigas@yahoo.es>2019-02-22 17:23:18 +0100
commit3076808a33246091487bc3a1e08425406938aec0 (patch)
tree005bb742c72b730f2b9104fb37333b169e59c05c /src/examples/elementary/table_cxx_example_02.cc
parentdc492b15864b1a358e188b8d83dd2d35c1ec7600 (diff)
examples: Fix cxx examples compilation.
Summary: After Efl.Gfx.Hint changes. Reviewers: segfaultxavi, vitor.sousa Reviewed By: segfaultxavi Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8003
Diffstat (limited to '')
-rw-r--r--src/examples/elementary/table_cxx_example_02.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/examples/elementary/table_cxx_example_02.cc b/src/examples/elementary/table_cxx_example_02.cc
index 986cefc2e3..472fbef89d 100644
--- a/src/examples/elementary/table_cxx_example_02.cc
+++ b/src/examples/elementary/table_cxx_example_02.cc
@@ -20,22 +20,22 @@ efl_main(void *data EINA_UNUSED, const Efl_Event *ev EINA_UNUSED)
20 20
21 efl::canvas::Rectangle rect(instantiate, win); 21 efl::canvas::Rectangle rect(instantiate, win);
22 rect.color_set(255, 0, 0, 255); 22 rect.color_set(255, 0, 0, 255);
23 rect.hint_min_set({100, 50}); 23 rect.hint_size_min_set({100, 50});
24 table.pack_table(rect, 0, 0, 2, 1); 24 table.pack_table(rect, 0, 0, 2, 1);
25 25
26 efl::canvas::Rectangle rect2(instantiate, win); 26 efl::canvas::Rectangle rect2(instantiate, win);
27 rect2.color_set(0, 255, 0, 255); 27 rect2.color_set(0, 255, 0, 255);
28 rect2.hint_min_set({50, 100}); 28 rect2.hint_size_min_set({50, 100});
29 table.pack_table(rect2, 0, 1, 1, 2); 29 table.pack_table(rect2, 0, 1, 1, 2);
30 30
31 efl::canvas::Rectangle rect3(instantiate, win); 31 efl::canvas::Rectangle rect3(instantiate, win);
32 rect3.color_set(0, 0, 255, 255); 32 rect3.color_set(0, 0, 255, 255);
33 rect3.hint_min_set({50, 50}); 33 rect3.hint_size_min_set({50, 50});
34 table.pack_table(rect3, 1, 1, 1, 1); 34 table.pack_table(rect3, 1, 1, 1, 1);
35 35
36 efl::canvas::Rectangle rect4(instantiate, win); 36 efl::canvas::Rectangle rect4(instantiate, win);
37 rect4.color_set(255, 255, 0, 255); 37 rect4.color_set(255, 255, 0, 255);
38 rect4.hint_min_set({50, 50}); 38 rect4.hint_size_min_set({50, 50});
39 table.pack_table(rect4, 1, 2, 1, 1); 39 table.pack_table(rect4, 1, 2, 1, 1);
40} 40}
41EFL_MAIN() 41EFL_MAIN()