Merge branch '2.0_beta'
[apps/native/menu-screen.git] / data / edje / all_apps_portrait.edc
1  /*
2   * Copyright 2012  Samsung Electronics Co., Ltd
3   *
4   * Licensed under the Flora License, Version 1.0 (the "License");
5   * you may not use this file except in compliance with the License.
6   * You may obtain a copy of the License at
7   *
8   *     http://www.tizenopensource.org/license
9   *
10   * Unless required by applicable law or agreed to in writing, software
11   * distributed under the License is distributed on an "AS IS" BASIS,
12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13   * See the License for the specific language governing permissions and
14   * limitations under the License.
15   */
16
17
18
19 collections {
20         group {
21                 name: "all_apps";
22                 parts {
23                         part {
24                                 name: "bg";
25                                 type: RECT;
26                                 scale: 1;
27                                 mouse_events: 1;
28                                 description {
29                                         state: "default" 0.0;
30                                         rel1 { relative: 0.0 0.0; }
31                                         rel2 { relative: 1.0 1.0; }
32                                         visible: 0;
33                                 }
34                         }
35
36                         part {
37                                 name: "index_bg";
38                                 type: RECT;
39                                 scale: 1;
40                                 mouse_events: 0;
41                                 description {
42                                         state: "default" 0.0;
43                                         rel1 { relative: 0.0 70/1280; to, "bg";}
44                                         rel2 { relative: 1.0 174/1280; to, "bg";}
45                                         color: 0 0 0 255;
46                                         visible: 0;
47                                 }
48                         }
49             part {
50                 name: "index";
51                 type: SWALLOW;
52                 mouse_events: 0;
53                 description {
54                     state: "default" 0.0;
55                     align: 0.5 0.5;
56                                         rel1 { relative: 0.0 0.0; to, "index_bg";}
57                                         rel2 { relative: 1.0 1.0; to, "index_bg";}
58                                         visible: 1;
59                 }   
60             }
61
62             part {
63                 name: "content_bg";
64                 type: RECT;
65                 scale: 1;
66                 mouse_events: 1;
67                 description {
68                                         state: "default" 0.0;
69                                         rel1 { relative: 0.0 154/1280; to, "bg"; }
70                                         rel2 { relative: 1.0 1214/1280; to, "bg"; }
71                                         color: 34 34 34 255;
72                                         visible: 0;
73                 }
74             }
75
76                         part {
77                                 name: "content";
78                                 type: SWALLOW;
79                                 scale: 1;
80                                 mouse_events: 1;
81                                 description {
82                                         state: "default" 0.0;
83                     align: 0.5 0.0;
84                                         rel1 { relative: 0.0 0.0; to, "content_bg";}
85                                         rel2 { relative: 1.0 1.0; to, "content_bg";}
86                                         visible: 1;
87                                 }
88                         }
89
90                         part {
91                                 name: "content,blocker";
92                                 type: RECT;
93                                 scale: 1;
94                                 mouse_events: 1;
95                                 description {
96                                         state: "default" 0.0;
97                                         rel1 { relative: 0.0 0.0; to, "bg";}
98                                         rel2 { relative: 1.0 1.0; to, "bg";}
99                                         color: 0 0 0 0;
100                                         visible: 0;
101                                 }
102                                 description {
103                                         state: "block" 0.0;
104                                         inherit: "default" 0.0;
105                                         color: 0 0 0 0;
106                                         visible: 1;
107                                 }
108                         }
109                 }
110
111                 programs {
112                         program {
113                                 name: "block,content";
114                                 signal: "block";
115                                 source: "layout";
116                                 action: STATE_SET "block" 0.0;
117                                 target: "content,blocker";
118                         }
119                         program {
120                                 name: "unblock,content";
121                                 signal: "unblock";
122                                 source: "layout";
123                                 action: STATE_SET "default" 0.0;
124                                 target: "content,blocker";
125                         }
126                 }
127         } // group
128 } // collections
129
130
131
132 // End of file