From b2840fa86a5f5e13c34e5465dd85be58ff443843 Mon Sep 17 00:00:00 2001 From: Hosang Kim Date: Wed, 26 Jun 2013 13:43:52 +0900 Subject: [PATCH] [scroller] removed scroller's bounce effect --- themes/widgets/scroller.edc | 104 +++++++++----------------------------------- 1 file changed, 20 insertions(+), 84 deletions(-) diff --git a/themes/widgets/scroller.edc b/themes/widgets/scroller.edc index a2391f8..2a339c5 100644 --- a/themes/widgets/scroller.edc +++ b/themes/widgets/scroller.edc @@ -1080,13 +1080,9 @@ group { name: "elm/genlist/base/default"; rel2.to: "elm.swallow.content"; image.normal: "00_overscrolling_top.png"; } - description { state: "edge" 0.0; - inherit: "default" 0.0; - color: 255 255 255 255; - } - description { state: "edge_op" 0.0; + description { state: "hidden" 0.0; inherit: "default" 0.0; - color: 255 255 255 65; + visible: 0; } } part { name: "shadow_bottom"; @@ -1105,13 +1101,9 @@ group { name: "elm/genlist/base/default"; rel2.to: "elm.swallow.content"; image.normal: "00_overscrolling_bottom.png"; } - description { state: "edge" 0.0; - inherit: "default" 0.0; - color: 255 255 255 255; - } - description { state: "edge_op" 0.0; + description { state: "hidden" 0.0; inherit: "default" 0.0; - color: 255 255 255 65; + visible: 0; } } part { name: "shadow_left"; @@ -1130,13 +1122,9 @@ group { name: "elm/genlist/base/default"; rel2.to: "elm.swallow.content"; image.normal: "00_overscrolling_left.png"; } - description { state: "edge" 0.0; - inherit: "default" 0.0; - color: 255 255 255 255; - } - description { state: "edge_op" 0.0; + description { state: "hidden" 0.0; inherit: "default" 0.0; - color: 255 255 255 65; + visible: 0; } } part { name: "shadow_right"; @@ -1155,13 +1143,9 @@ group { name: "elm/genlist/base/default"; rel2.to: "elm.swallow.content"; image.normal: "00_overscrolling_right.png"; } - description { state: "edge" 0.0; - inherit: "default" 0.0; - color: 255 255 255 255; - } - description { state: "edge_op" 0.0; + description { state: "hidden" 0.0; inherit: "default" 0.0; - color: 255 255 255 65; + visible: 0; } } part { name: "padding_jump_to_top"; @@ -1348,8 +1332,8 @@ group { name: "elm/genlist/base/default"; signal: "elm,edge,top"; source: "elm"; script { - set_state(PART:"shadow_top", "edge", 0.0); - set_state(PART:"shadow_bottom", "edge_op", 0.0); + set_state(PART:"shadow_top", "hidden", 0.0); + set_state(PART:"shadow_bottom", "hidden", 0.0); } after: "edge_vertical"; } @@ -1357,8 +1341,8 @@ group { name: "elm/genlist/base/default"; signal: "elm,edge,bottom"; source: "elm"; script { - set_state(PART:"shadow_top", "edge_op", 0.0); - set_state(PART:"shadow_bottom", "edge", 0.0); + set_state(PART:"shadow_top", "hidden", 0.0); + set_state(PART:"shadow_bottom", "hidden", 0.0); } after: "edge_vertical"; } @@ -1366,8 +1350,8 @@ group { name: "elm/genlist/base/default"; signal: "elm,edge,left"; source: "elm"; script { - set_state(PART:"shadow_left", "edge", 0.0); - set_state(PART:"shadow_right", "edge_op", 0.0); + set_state(PART:"shadow_left", "hidden", 0.0); + set_state(PART:"shadow_right", "hidden", 0.0); } after: "edge_horizontal"; } @@ -1375,8 +1359,8 @@ group { name: "elm/genlist/base/default"; signal: "elm,edge,right"; source: "elm"; script { - set_state(PART:"shadow_left", "edge_op", 0.0); - set_state(PART:"shadow_right", "edge", 0.0); + set_state(PART:"shadow_left", "hidden", 0.0); + set_state(PART:"shadow_right", "hidden", 0.0); } after: "edge_horizontal"; } @@ -1462,10 +1446,6 @@ group { name: "elm/genlist/base/handler"; rel2.to: "elm.swallow.content"; image.normal: "00_overscrolling_top.png"; } - description { state: "edge" 0.0; - inherit: "default" 0.0; - color: 255 255 255 255; - } description { state: "hidden" 0.0; inherit: "default" 0.0; visible: 0; @@ -1487,10 +1467,6 @@ group { name: "elm/genlist/base/handler"; rel2.to: "elm.swallow.content"; image.normal: "00_overscrolling_bottom.png"; } - description { state: "edge" 0.0; - inherit: "default" 0.0; - color: 255 255 255 255; - } description { state: "hidden" 0.0; inherit: "default" 0.0; visible: 0; @@ -1512,10 +1488,6 @@ group { name: "elm/genlist/base/handler"; rel2.to: "elm.swallow.content"; image.normal: "00_overscrolling_left.png"; } - description { state: "edge" 0.0; - inherit: "default" 0.0; - color: 255 255 255 255; - } description { state: "hidden" 0.0; inherit: "default" 0.0; visible: 0; @@ -1537,10 +1509,6 @@ group { name: "elm/genlist/base/handler"; rel2.to: "elm.swallow.content"; image.normal: "00_overscrolling_right.png"; } - description { state: "edge" 0.0; - inherit: "default" 0.0; - color: 255 255 255 255; - } description { state: "hidden" 0.0; inherit: "default" 0.0; visible: 0; @@ -1731,7 +1699,7 @@ group { name: "elm/genlist/base/handler"; signal: "elm,edge,top"; source: "elm"; script { - set_state(PART:"shadow_top", "edge", 0.0); + set_state(PART:"shadow_top", "hidden", 0.0); set_state(PART:"shadow_bottom", "hidden", 0.0); } after: "edge_vertical"; @@ -1741,7 +1709,7 @@ group { name: "elm/genlist/base/handler"; source: "elm"; script { set_state(PART:"shadow_top", "hidden", 0.0); - set_state(PART:"shadow_bottom", "edge", 0.0); + set_state(PART:"shadow_bottom", "hidden", 0.0); } after: "edge_vertical"; } @@ -1749,7 +1717,7 @@ group { name: "elm/genlist/base/handler"; signal: "elm,edge,left"; source: "elm"; script { - set_state(PART:"shadow_left", "edge", 0.0); + set_state(PART:"shadow_left", "hidden", 0.0); set_state(PART:"shadow_right", "hidden", 0.0); } after: "edge_horizontal"; @@ -1759,7 +1727,7 @@ group { name: "elm/genlist/base/handler"; source: "elm"; script { set_state(PART:"shadow_left", "hidden", 0.0); - set_state(PART:"shadow_right", "edge", 0.0); + set_state(PART:"shadow_right", "hidden", 0.0); } after: "edge_horizontal"; } @@ -1810,40 +1778,24 @@ group { name: "elm/gengrid/base/default"; min: 0 405; image.normal: "00_grid_overscrolling_top.png"; } - description { state: "edge" 0.0; - inherit: "default" 0.0; - color: 255 255 255 255; - } } part { name: "shadow_bottom"; description { state: "default" 0.0; min: 0 405; image.normal: "00_grid_overscrolling_bottom.png"; } - description { state: "edge" 0.0; - inherit: "default" 0.0; - color: 255 255 255 255; - } } part { name: "shadow_left"; description { state: "default" 0.0; min: 405 0; image.normal: "00_grid_overscrolling_left.png"; } - description { state: "edge" 0.0; - inherit: "default" 0.0; - color: 255 255 255 255; - } } part { name: "shadow_right"; description { state: "default" 0.0; min: 405 0; image.normal: "00_grid_overscrolling_right.png"; } - description { state: "edge" 0.0; - inherit: "default" 0.0; - color: 255 255 255 255; - } } } } @@ -1857,40 +1809,24 @@ group { name: "elm/gengrid/base/handler"; min: 0 405; image.normal: "00_grid_overscrolling_top.png"; } - description { state: "edge" 0.0; - inherit: "default" 0.0; - color: 255 255 255 255; - } } part { name: "shadow_bottom"; description { state: "default" 0.0; min: 0 405; image.normal: "00_grid_overscrolling_bottom.png"; } - description { state: "edge" 0.0; - inherit: "default" 0.0; - color: 255 255 255 255; - } } part { name: "shadow_left"; description { state: "default" 0.0; min: 405 0; image.normal: "00_grid_overscrolling_left.png"; } - description { state: "edge" 0.0; - inherit: "default" 0.0; - color: 255 255 255 255; - } } part { name: "shadow_right"; description { state: "default" 0.0; min: 405 0; image.normal: "00_grid_overscrolling_right.png"; } - description { state: "edge" 0.0; - inherit: "default" 0.0; - color: 255 255 255 255; - } } } } -- 2.7.4