revise example code. 27/63927/1
authorHermet Park <hermet@hermet.pe.kr>
Tue, 29 Mar 2016 00:35:33 +0000 (09:35 +0900)
committerHermet Park <hermet@hermet.pe.kr>
Tue, 29 Mar 2016 00:35:55 +0000 (09:35 +0900)
no logical changes.

Change-Id: I50ddcedc88eaf99a55cc4c3b0245cb53328f5715

src/examples/efl/page14.h
src/examples/efl/page15.h

index 35259f9..5fb77be 100644 (file)
@@ -27,7 +27,7 @@ protected:
        void on_load()
        {
                //Create a main content.
-               Evas_Object *content = create_content(this->get_base(), "ViewMgr Demo<br>Page 14<br>zoom transition effect",
+               Evas_Object *content = create_content(this->get_base(), "ViewMgr Demo<br>Page 14<br>(Zoom Transition)",
                                //Prev Button Callback
                                [](void *data, Evas_Object *obj, void *event_info) -> void
                                {
@@ -42,13 +42,13 @@ protected:
                                },
                                this->ad);
 
-               this->set_transition_style("zoom");
                this->set_content(content, "Title");
        }
 
 public:
        page14(appdata_s *ad) : ui_view("page14"), ad(ad)
        {
+               this->set_transition_style("zoom");
                ad->viewmgr->push_view(this);
        }
 
index 5e6aa45..b4e32a5 100644 (file)
@@ -27,7 +27,7 @@ protected:
        void on_load()
        {
                //Create a main content.
-               Evas_Object *content = create_content(this->get_base(), "ViewMgr Demo<br>Page 15<br>none transition effect",
+               Evas_Object *content = create_content(this->get_base(), "ViewMgr Demo<br>Page 15<br>(None Transition)",
                                //Prev Button Callback
                                [](void *data, Evas_Object *obj, void *event_info) -> void
                                {
@@ -42,13 +42,13 @@ protected:
                                },
                                this->ad);
 
-               this->set_transition_style("none");
                this->set_content(content, "Title");
        }
 
 public:
        page15(appdata_s *ad) : ui_view("page15"), ad(ad)
        {
+               this->set_transition_style("none");
                ad->viewmgr->push_view(this);
        }