Initialize Tizen 2.3
[apps/home/b2-clocksetting.git] / data / groups / thumbnail_view.edc
1 /*
2  * Copyright (c) 2000 - 2013 Samsung Electronics Co., Ltd. All rights reserved.
3  *
4  * Licensed under the Apache License, Version 2.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.apache.org/licenses/LICENSE-2.0
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 group {
18         name: "thumbnail_page";
19         parts {
20                 part {
21                         name: "bg";
22                         type: RECT;
23                         scale: 1;
24                         description {
25                                 min: 160 320;
26                                 max: 160 320;
27                                 state: "default" 0.0;
28                                 color: 0 0 0 255;
29                         }
30                 }
31                 part {
32                         name: "thumb1";
33                         type: SWALLOW;
34                         scale: 1;
35                         description {
36                                 state: "default" 0.0;
37                                 min: 158 158;
38                                 rel1 {relative: 0.0 0.0; to: "bg";}
39                                 rel2 {relative: 1.0 0.5; to: "bg";}
40                                 align: 0.5 0.5;
41                         }
42                 }
43                 part {
44                         name: "thumb2";
45                         type: SWALLOW;
46                         scale: 1;
47                         description {
48                                 state: "default" 0.0;
49                                 min: 158 158;
50                                 rel1 {relative: 0.0 0.5; to: "bg";}
51                                 rel2 {relative: 1.0 1.0; to: "bg";}
52                                 align: 0.5 0.5;
53                         }
54                 }
55         }
56 }
57
58 group {
59         name: "thumbnail";
60         parts {
61                 part {
62                         name: "thumb";
63                         type: SWALLOW;
64                         scale: 1;
65                         description {
66                                 state: "default" 0.0;
67                                 max: 158 158;
68                                 min: 158 158;
69                                 rel1.relative: 0.0 0.0;
70                                 rel2.relative: 1.0 1.0;
71                         }
72                 }
73                 part {
74                         name: "thumb_btn";
75                         type: SWALLOW;
76                         scale: 1;
77                         description {
78                                 state: "default" 0.0;
79                                 max: 60 60;
80                                 min: 60 60;
81                                 rel1.relative: 0.0 0.0;
82                                 rel2.relative: 1.0 1.0;
83                         }
84                 }
85                 part {
86                         name: "thumb_op";
87                         type: RECT;
88                         mouse_events: 0;
89                         scale: 1;
90                         description {
91                                 state: "default" 0.0;
92                                 rel1.relative: 0.0 0.0;
93                                 rel2.relative: 1.0 1.0;
94                                 color: 0 0 0 0;
95                         }
96                         description {
97                                 state: "opacity" 0.0;
98                                 rel1.relative: 0.0 0.0;
99                                 rel2.relative: 1.0 1.0;
100                                 color: 0 0 0 76;
101                         }
102                 }
103         }
104
105         programs {
106                 program {
107                         name: "thumbnail,opacity";
108                         signal: "thumbnail,opacity";
109                         source: "thumb_op";
110                         action: STATE_SET "opacity" 0.0;
111                         target: "thumb_op";
112                 }
113                 program {
114                         name: "thumbnail,default";
115                         signal: "thumbnail,default";
116                         source: "thumb_op";
117                         action: STATE_SET "default" 0.0;
118                         target: "thumb_op";
119                 }
120         }
121 }
122