diff options
Diffstat (limited to 'data/themes/default/edc/elm/naviframe.edc')
-rw-r--r-- | data/themes/default/edc/elm/naviframe.edc | 113 |
1 files changed, 2 insertions, 111 deletions
diff --git a/data/themes/default/edc/elm/naviframe.edc b/data/themes/default/edc/elm/naviframe.edc index 52a62e3..7a8ed23 100644 --- a/data/themes/default/edc/elm/naviframe.edc +++ b/data/themes/default/edc/elm/naviframe.edc @@ -7,40 +7,20 @@ group { name: "elm/naviframe/item/basic/default"; part { name: "base"; type: SPACER; description { state: "default" 0.0; } - description { state: "prev" 0.0; - inherit: "default" 0.0; - rel1.relative: -1.0 0.0; - rel2.relative: 0.0 1.0; - } - description { state: "next" 0.0; - inherit: "default" 0.0; - rel1.relative: 1.0 0.0; - rel2.relative: 2.0 1.0; - } } part { name: "elm.swallow.content"; type: SWALLOW; clip_to: "clip"; description { state: "default" 0.0; - rel1.to: "top"; - rel1.relative: 0.0 1.0; - rel2.to: "base"; - fixed: 1 1; - } - description { state: "title-hidden" 0.0; - inherit: "default" 0.0; rel1.to: "base"; rel1.relative: 0.0 0.0; + rel2.to: "base"; + fixed: 1 1; } } part { name: "top"; type: RECT; clip_to: "clip"; description { state: "default" 0.0; rel1.to: "base"; - rel2.to_x: "base"; - visible: 0; - } - description { state: "title-hidden" 0.0; - inherit: "default" 0.0; rel2.to: "base"; rel2.relative: 1.0 0.0; visible: 0; @@ -49,51 +29,6 @@ group { name: "elm/naviframe/item/basic/default"; } programs { program { - signal: "elm,state,title,show"; source: "elm"; - action: STATE_SET "default" 0.0; - target: "top"; - target: "elm.swallow.content"; - } - program { - signal: "elm,action,title,show"; source: "elm"; - action: STATE_SET "default" 0.0; - transition: DECELERATE 0.5; - target: "top"; - target: "elm.swallow.content"; - after: "titleshow2"; - } - program { name: "titleshow2"; - action: STATE_SET "default" 0.0; - target: "top"; - after: "title_transition_finished"; - } - program { - signal: "elm,state,title,hide"; source: "elm"; - action: STATE_SET "title-hidden" 0.0; - target: "top"; - target: "elm.swallow.content"; - } - program { - signal: "elm,action,title,hide"; source: "elm"; - action: STATE_SET "title-hidden" 0.0; - target: "top"; - after: "titlehide2"; - } - program { name: "titlehide2"; - action: STATE_SET "title-hidden" 0.0; - transition: DECEL 0.5; - target: "top"; - target: "elm.swallow.content"; - after: "title_transition_finished"; - } - program { name: "title_transition_finished"; - action: SIGNAL_EMIT "elm,action,title,transition,finished" "elm"; - } - program { - signal: "mouse,clicked,1"; source: "top"; - action: SIGNAL_EMIT "elm,action,title,clicked" "elm"; - } - program { signal: "elm,state,visible"; source: "elm"; action: STATE_SET "default" 0.0; target: "elm.swallow.content"; @@ -102,68 +37,24 @@ group { name: "elm/naviframe/item/basic/default"; /* current page is being pushed: [previous]<----[current] */ program { signal: "elm,state,cur,pushed"; source: "elm"; - action: STATE_SET "default" 0.0; - target: "base"; - after: "pushed2"; - } - program { name: "pushed2"; - action: STATE_SET "prev" 0.0; - transition: DECEL 0.5; - target: "base"; - after: "pushed3"; - } - program { name: "pushed3"; action: SIGNAL_EMIT "elm,action,pushed,finished" "elm"; } /* current page is being popped: [current]---->[next] */ program { signal: "elm,state,cur,popped"; source: "elm"; - action: STATE_SET "default" 0.0; - target: "base"; - after: "popped2"; - } - program { name: "popped2"; - action: STATE_SET "next" 0.0; - transition: DECEL 0.5; - target: "base"; - after: "popped3"; - } - program { name: "popped3"; action: SIGNAL_EMIT "elm,action,popped,finished" "elm"; } /* new page is being pushed: [current]<----[next] */ program { signal: "elm,state,new,pushed"; source: "elm"; - action: STATE_SET "next" 0.0; - target: "base"; - after: "pushedb2"; - } - program { name: "pushedb2"; - action: STATE_SET "default" 0.0; - transition: DECELERATE 0.5; - target: "base"; - after: "pushedb3"; - } - program { name: "pushedb3"; action: SIGNAL_EMIT "elm,action,show,finished" "elm"; } /* previous page is being pushed: [previous]---->[current] */ program { signal: "elm,state,prev,popped"; source: "elm"; - action: STATE_SET "prev" 0.0; - target: "base"; - after: "poppedb2"; - } - program { name: "poppedb2"; - action: STATE_SET "default" 0.0; - transition: DECELERATE 0.5; - target: "base"; - after: "poppedb3"; - } - program { name: "poppedb3"; action: SIGNAL_EMIT "elm,action,show,finished" "elm"; } } |