change blend transition to fade. 75/64175/1
authorHermet Park <hermet@hermet.pe.kr>
Wed, 30 Mar 2016 10:11:58 +0000 (19:11 +0900)
committerHermet Park <hermet@hermet.pe.kr>
Wed, 30 Mar 2016 10:11:58 +0000 (19:11 +0900)
Change-Id: I8be49e9d9dc506550092fb6edc71e35c096aef5f

data/edc/ui-viewmgr.edc
src/examples/efl/page14.h

index ce79688..283816d 100644 (file)
@@ -1168,12 +1168,12 @@ collections {
          }
       }
    }
-   /* Zoom Effect */
-   group { "transition/blend";
+   /* Fade Effect */
+   group { "transition/fade";
       parts {
          rect { "pclipper";
             desc { "default";
-               color: 255 255 255 0;
+               color: 0 0 0 255;
             }
             desc { "invisible";
                inherit: "default";
@@ -1187,7 +1187,7 @@ collections {
                color: 255 255 255 255;
             }
             desc { "invisible";
-               color: 255 255 255 0;
+               color: 0 0 0 255;
             }
             desc { "visible";
                color: 255 255 255 255;
@@ -1212,7 +1212,7 @@ collections {
             action: STATE_SET "default" 0.0;
             target: "clipper";
             target: "pclipper";
-            transition: DECELERATE TRANSITION_TIME;
+            transition: DECELERATE (TRANSITION_TIME * 5);
             after: "push_finished";
          }
          program { "push";
@@ -1231,7 +1231,7 @@ collections {
             action: STATE_SET "default" 0.0;
             target: "pclipper";
             target: "clipper";
-            transition: DECELERATE TRANSITION_TIME;
+            transition: DECELERATE (TRANSITION_TIME * 5);
             after: "pop_finished";
          }
          program { "pop";
index 3003dc8..dd6e6c4 100644 (file)
@@ -24,7 +24,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)",
+               Evas_Object *content = create_content(this->get_base(), "ViewMgr Demo<br>Page 14<br>(Fade Transition)",
                                //Prev Button Callback
                                [](void *data, Evas_Object *obj, void *event_info) -> void
                                {
@@ -42,7 +42,7 @@ protected:
 public:
        page14() : ui_view("page14")
        {
-               this->set_transition_style("blend");
+               this->set_transition_style("fade");
        }
        ~page14() {}
 };