Merge remote-tracking branch 'origin/tizen_app' into tizen
[apps/core/preloaded/taskmanager.git] / res / edje / box.edc
1 /*
2  *  Task Manager
3  *
4  * Copyright (c) 2000 - 2015 Samsung Electronics Co., Ltd. All rights reserved.
5  *
6  * Licensed under the Apache License, Version 2.0 (the "License");
7  * you may not use this file except in compliance with the License.
8  * You may obtain a copy of the License at
9  *
10  * http://www.apache.org/licenses/LICENSE-2.0
11  *
12  * Unless required by applicable law or agreed to in writing, software
13  * distributed under the License is distributed on an "AS IS" BASIS,
14  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15  * See the License for the specific language governing permissions and
16  * limitations under the License.
17  *
18  */
19
20
21
22 #include "conf.edc"
23
24 collections {
25         base_scale: 2.1;
26         group {
27                 name: "box";
28                 parts {
29                         part {
30                                 name: "bg";
31                                 type: RECT;
32                                 scale: 1;
33                                 description {
34                                         state: "default" 0.0;
35                                         rel1 { relative: 0.0 0.0; }
36                                         rel2 { relative: 1.0 1.0; }
37                                         min: BASE_WIDTH BASE_HEIGHT;
38                                         color: 0 0 0 0;
39                                         visible: 1;
40                                 }
41                         }
42                         part {
43                                 name: "box";
44                                 type: SWALLOW;
45                                 description {
46                                         state: "default" 0.0;
47                                         rel1 { relative: 0.0 1.0; }
48                                         rel2 { relative: 1.0 1.0; }
49                                         align: 0.5 1.0;
50                                         fixed: 0 1;
51                                         visible: 1;
52                                 }
53                                 description {
54                                         state: "hidden" 1.0;
55                                         rel1 { relative: 0.0 1.0; }
56                                         rel2 { relative: 1.0 2.0; }
57                                         align: 0.5 1.0;
58                                         fixed: 0 1;
59                                         visible: 1;
60                                 }
61                         }
62                 } //parts
63                 programs {
64                         program {
65                                 signal: "all,apps,hide";
66                                 source: "task-mgr";
67                                 action: STATE_SET "hidden" 1.0;
68                                 target: "box";
69                                 transition: DECEL 0.5;
70                                 after: "all,apps,hidden,emit";
71                         }
72                         program {
73                                 signal: "all,apps,show";
74                                 source: "task-mgr";
75                                 action: STATE_SET "default" 0.0;
76                                 target: "box";
77                                 transition: DECEL 0.5;
78                         }
79                         program {
80                                 name: "all,apps,hidden,emit";
81                                 action: SIGNAL_EMIT "all,apps,hidden" "box";
82                         }
83                 }
84         } //group
85 } //collections