diff options
author | Minkyu Kang <mk7.kang@samsung.com> | 2015-08-24 20:37:24 +0900 |
---|---|---|
committer | Minkyu Kang <mk7.kang@samsung.com> | 2015-08-24 21:15:11 +0900 |
commit | cdc64e21a94e0a4e7ab7855fdb7c1936a199a232 (patch) | |
tree | d695dde330531f2bb383ce45a52914af780864e5 /res | |
parent | bb2b0a19118787567827e1f6ca9f71dac3b45cbf (diff) | |
download | air_mediahub-cdc64e21a94e0a4e7ab7855fdb7c1936a199a232.tar.gz air_mediahub-cdc64e21a94e0a4e7ab7855fdb7c1936a199a232.tar.bz2 air_mediahub-cdc64e21a94e0a4e7ab7855fdb7c1936a199a232.zip |
add visual effect when showing/hiding the view
Change-Id: I1e54d2474746076ca6aae3d1b94f9d2104357e55
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Diffstat (limited to 'res')
-rw-r--r-- | res/edc/view/base.edc | 42 | ||||
-rw-r--r-- | res/edc/view/mplayer.edc | 42 | ||||
-rw-r--r-- | res/edc/view/viewer.edc | 39 |
3 files changed, 123 insertions, 0 deletions
diff --git a/res/edc/view/base.edc b/res/edc/view/base.edc index b5aefc2..08dd30c 100644 --- a/res/edc/view/base.edc +++ b/res/edc/view/base.edc @@ -138,6 +138,48 @@ group { fixed: 0 1; } } + + /* CURTAIN */ + part { + name: "curtain"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + rel2 { + to: "bg"; + relative: 0.0 0.0; + } + rel2 { + to: "bg"; + relative: 1.0 1.0; + } + align: 0.0 0.0; + color: 247 247 247 50; + } + description { + state: "show" 0.0; + color: 255 255 255 0; + } + } + } + + programs { + program { + name: SIG_SHOW_VIEW; + signal: SIG_SHOW_VIEW; + source: ""; + action: STATE_SET "show" 0.0; + target: "curtain"; + transition: TRANSITION_SHOW_BASE_VIEW; + } + program { + name: SIG_HIDE_VIEW; + signal: SIG_HIDE_VIEW; + source: ""; + action: STATE_SET "default" 0.0; + target: "curtain"; + } } } diff --git a/res/edc/view/mplayer.edc b/res/edc/view/mplayer.edc index 21c9654..13e8b80 100644 --- a/res/edc/view/mplayer.edc +++ b/res/edc/view/mplayer.edc @@ -445,5 +445,47 @@ group { rel2.to: "rightarea_bg"; } } + + /* CURTAIN */ + part { + name: "curtain"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + rel2 { + to: "bg"; + relative: 0.0 0.0; + } + rel2 { + to: "bg"; + relative: 1.0 1.0; + } + align: 0.0 0.0; + color: 255 255 255 255; + } + description { + state: "show" 0.0; + color: 255 255 255 0; + } + } + } + + programs { + program { + name: SIG_SHOW_VIEW; + signal: SIG_SHOW_VIEW; + source: ""; + action: STATE_SET "show" 0.0; + target: "curtain"; + transition: TRANSITION_SHOW_VIEW; + } + program { + name: SIG_HIDE_VIEW; + signal: SIG_HIDE_VIEW; + source: ""; + action: STATE_SET "default" 0.0; + target: "curtain"; + } } } diff --git a/res/edc/view/viewer.edc b/res/edc/view/viewer.edc index ead1612..7412824 100644 --- a/res/edc/view/viewer.edc +++ b/res/edc/view/viewer.edc @@ -476,10 +476,49 @@ group { visible: 0; } } + + /* CURTAIN */ + part { + name: "curtain"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + rel2 { + to: "bg"; + relative: 0.0 0.0; + } + rel2 { + to: "bg"; + relative: 1.0 1.0; + } + align: 0.0 0.0; + color: 255 255 255 255; + } + description { + state: "show" 0.0; + color: 255 255 255 0; + } + } } programs { program { + name: SIG_SHOW_VIEW; + signal: SIG_SHOW_VIEW; + source: ""; + action: STATE_SET "show" 0.0; + target: "curtain"; + transition: TRANSITION_SHOW_VIEW; + } + program { + name: SIG_HIDE_VIEW; + signal: SIG_HIDE_VIEW; + source: ""; + action: STATE_SET "default" 0.0; + target: "curtain"; + } + program { name: SIG_HIDE_BAR; signal: SIG_HIDE_BAR; source: ""; |