check rotation lock and set rotation info when ug launch
[framework/appfw/ui-gadget-1.git] / ug-efl-engine / ug_effect.edc
1 /*
2  *  UI Gadget
3  *
4  * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
5  *
6  * Contact: Jayoun Lee <airjany@samsung.com>
7  *
8  * Licensed under the Apache License, Version 2.0 (the "License");
9  * you may not use this file except in compliance with the License.
10  * You may obtain a copy of the License at
11  *
12  * http://www.apache.org/licenses/LICENSE-2.0
13  *
14  * Unless required by applicable law or agreed to in writing, software
15  * distributed under the License is distributed on an "AS IS" BASIS,
16  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17  * See the License for the specific language governing permissions and
18  * limitations under the License.
19  *
20  */
21
22 //TRANSLATION EFFECT
23 collections {
24         group {
25                 name: "ug_effect";
26                 parts {
27                         part {
28                                 name: "clip";
29                                 type: RECT;
30                                 description {
31                                         state: "default" 0.0;
32                                         rel1 { relative: 1 0; }
33                                         rel2 { relative: 2 1; }
34                                         color: 255 255 255 0;
35                                 }
36                                 description {
37                                         state: "show" 0.0;
38                                         rel1 { relative: 0 0; }
39                                         rel2 { relative: 1 1; }
40                                         color: 255 255 255 255;
41                                 }
42                         }
43                         part {
44                                 name: "elm.swallow.content";
45                                 type: SWALLOW;
46                                 clip_to: "clip";
47                                 description {
48                                         rel1.to: "clip";
49                                         rel2.to: "clip";
50                                 }
51                         }
52                         part {
53                                 name: "event_blocker";
54                                 description {
55                                         state: "default" 0.0;
56                                         visible: 1;
57                                 }
58                                 description {
59                                         state: "show" 0.0;
60                                         inherit: "default" 0.0;
61                                 }
62                                 description {
63                                         state: "disabled" 0.0;
64                                         inherit: "default" 0.0;
65                                         visible: 0;
66                                 }
67                         }
68                 }
69                 programs {
70                         program {
71                                 name: "show";
72                                 signal: "elm,state,show";
73                                 action: STATE_SET "show" 0.0;
74                                 target: "clip";
75                                 target: "event_blocker";
76                                 transition: "DECELERATE" 0.2;
77                                 after: "show_end";
78                         }
79                         program {
80                                 name: "hide";
81                                 signal: "elm,state,hide";
82                                 action: STATE_SET "default" 0.0;
83                                 target: "clip";
84                                 target: "event_blocker";
85                                 transition: "DECELERATE" 0.2;
86                                 after: "hide_end";
87                         }
88                         program {
89                                 name: "disable_event_blocker";
90                                 signal: "elm,state,blocker,disabled";
91                                 action: STATE_SET "disabled" 0.0;
92                                 target: "event_blocker";
93                         }
94                         program {
95                                 name: "disable_blocker";
96                                 action: SIGNAL_EMIT "elm,state,blocker,disabled" "";
97                         }
98                         program {
99                                 name: "show_end";
100                                 action: SIGNAL_EMIT "elm,action,show,finished" "";
101                                 after: "disable_blocker";
102                         }
103                         program {
104                                 name: "hide_end";
105                                 action: SIGNAL_EMIT "elm,action,hide,finished" "";
106                                 after: "disable_blocker";
107                         }
108
109                         program {
110                                 name: "hide_already";
111                                 signal: "elm,state,hidealready";
112                                 after: "hide_already_end";
113                         }
114                         program {
115                                 name: "hide_already_end";
116                                 action: SIGNAL_EMIT "elm,action,hidealready,finished" "";
117                         }
118
119                         program {
120                                 name: "hide_only";
121                                 signal: "elm,state,hideonly";
122                                 action: STATE_SET "default" 0.0;
123                                 target: "clip";
124                                 target: "event_blocker";
125                                 transition: "DECELERATE" 0.2;
126                                 after: "hide_only_end";
127                         }
128                         program {
129                                 name: "hide_only_end";
130                                 action: SIGNAL_EMIT "elm,action,hideonly,finished" "";
131                                 after: "disable_blocker";
132                         }
133                 }
134         }
135 }