summaryrefslogtreecommitdiff
path: root/src/examples/elementary/toolbar_cxx_example_01.cc
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2017-11-01 22:42:04 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2017-11-07 09:57:24 +0900
commit9c9278cd458422b73a3016ba056c0267d3d65bfb (patch)
tree2c5a5aa3f6d94a2f7ecd86674c59d8f95ac67108 /src/examples/elementary/toolbar_cxx_example_01.cc
parent03b22c4d7b41c2310b4c25ed7ce8543942d638d5 (diff)
cxx: Fix a few examples
- Calendar: Some examples can't be ported. Not good. - Toolbar: Needs the new API to be completed. - Clock: Crashes at runtime. Ping @felipealmeida
Diffstat (limited to 'src/examples/elementary/toolbar_cxx_example_01.cc')
-rw-r--r--src/examples/elementary/toolbar_cxx_example_01.cc7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/examples/elementary/toolbar_cxx_example_01.cc b/src/examples/elementary/toolbar_cxx_example_01.cc
index f194221..12548e0 100644
--- a/src/examples/elementary/toolbar_cxx_example_01.cc
+++ b/src/examples/elementary/toolbar_cxx_example_01.cc
@@ -5,8 +5,9 @@
5#include "config.h" 5#include "config.h"
6#endif 6#endif
7 7
8#warning This example requires yet unfinished EO APIs
9
8#include <Elementary.hh> 10#include <Elementary.hh>
9#include <Evas.hh>
10 11
11EAPI int 12EAPI int
12elm_main(int argc, char* argv[]) 13elm_main(int argc, char* argv[])
@@ -25,6 +26,8 @@ elm_main(int argc, char* argv[])
25 }); 26 });
26 27
27 win_1.autodel_set(true); 28 win_1.autodel_set(true);
29
30#if 0
28 win_1.eo_cxx::efl::Gfx::size_set({320, 300}); 31 win_1.eo_cxx::efl::Gfx::size_set({320, 300});
29 32
30 efl::ui::Box box_1(instantiate, win_1); 33 efl::ui::Box box_1(instantiate, win_1);
@@ -128,6 +131,8 @@ elm_main(int argc, char* argv[])
128 }); 131 });
129 132
130 efl::eolian::event_add(efl::ui::Selectable::selected_event, item_5, _item_5_selected_cb); 133 efl::eolian::event_add(efl::ui::Selectable::selected_event, item_5, _item_5_selected_cb);
134
135#endif
131 136
132 elm_run(); 137 elm_run();
133 return 0; 138 return 0;