projects
/
platform
/
core
/
uifw
/
ui-viewmgr.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7f68d76
)
examples/cpp: update example to be practical.
33/73333/1
author
Hermet Park
<hermet@hermet.pe.kr>
Tue, 7 Jun 2016 13:45:48 +0000
(22:45 +0900)
committer
Hermet Park
<hermet@hermet.pe.kr>
Tue, 7 Jun 2016 13:45:48 +0000
(22:45 +0900)
practically, on_control() requires a current view.
so change here example to be useful.
Change-Id: I74616ad0cf2f1ba1a6a8e1b3394301c47e971f52
src/examples/efl/cpp/main.cpp
patch
|
blob
|
history
diff --git
a/src/examples/efl/cpp/main.cpp
b/src/examples/efl/cpp/main.cpp
index 2f3de6f3e7908d234b38f626e73c2441e8cd40ed..7b29607d4218e6e060c39f1c7ca81062d7531c87 100644
(file)
--- a/
src/examples/efl/cpp/main.cpp
+++ b/
src/examples/efl/cpp/main.cpp
@@
-44,17
+44,12
@@
public:
}
protected:
-
bool on_create(
)
+
void on_control(app_control_h app_control
)
{
- if (!ui_app::on_create())
- {
- return false;
- }
+ ui_app::on_control(app_control);
//Push first view in viewmgr.
UI_VIEWMGR->push_view(new page1());
-
- return true;
}
};