From c33464ca196a59a5849c063598dfd6021748b8e3 Mon Sep 17 00:00:00 2001 From: Hermet Park Date: Wed, 30 Mar 2016 19:11:58 +0900 Subject: [PATCH] change blend transition to fade. Change-Id: I8be49e9d9dc506550092fb6edc71e35c096aef5f --- data/edc/ui-viewmgr.edc | 12 ++++++------ src/examples/efl/page14.h | 4 ++-- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/data/edc/ui-viewmgr.edc b/data/edc/ui-viewmgr.edc index ce79688..283816d 100644 --- a/data/edc/ui-viewmgr.edc +++ b/data/edc/ui-viewmgr.edc @@ -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"; diff --git a/src/examples/efl/page14.h b/src/examples/efl/page14.h index 3003dc8..dd6e6c4 100644 --- a/src/examples/efl/page14.h +++ b/src/examples/efl/page14.h @@ -24,7 +24,7 @@ protected: void on_load() { //Create a main content. - Evas_Object *content = create_content(this->get_base(), "ViewMgr Demo
Page 14
(Zoom Transition)", + Evas_Object *content = create_content(this->get_base(), "ViewMgr Demo
Page 14
(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() {} }; -- 2.7.4