upload codes for TIZEN 2.0
[apps/home/clock.git] / worldclock / res / edc / worldclock_reorder_item.edc
1 /*
2 *
3 * Copyright 2012  Samsung Electronics Co., Ltd
4 *
5 * Licensed under the Flora License, Version 1.0 (the "License");
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at
8 *
9 *    http://www.tizenopensource.org/license
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
16 *
17 */
18
19 images
20 {
21     image: "tw3_list_select.png" COMP;
22     image: "50_world_clock_list_bg.png" COMP;
23 }
24
25 group
26 {
27     name: "reorder_item";
28
29     parts
30     {
31         part
32         {
33             name: "event";
34             type: RECT;
35             repeat_events: 1;
36             scale: 1;
37             description
38             {
39                 min: 0 129;
40                 state: "default" 0.0;
41                 color: 0 0 0 0;
42             }
43         }
44         part
45         {
46             name: "base_sh";
47             mouse_events: 0;
48             scale: 1;
49             description
50             {
51                 state: "default" 0.0;
52                 align: 0.0 0.0;
53                 color: 255 255 255 0;
54                 min: 0 10;
55                 fixed: 1 1;
56                 rel1{relative: 0.0 1.0; offset: 0 3; to: "base";}
57                 rel2{relative: 1.0 1.0; offset: -1 -4; to: "base";}
58                 image
59                 {
60                     normal: "50_world_clock_list_bg.png";
61                     border_scale: 1;
62                 }
63                 fill.smooth: 0;
64             }
65         }
66         part
67         {
68             name: "base";
69             mouse_events: 0;
70             scale: 1;
71             description
72             {
73                 state: "default" 0.0;
74                 image
75                 {
76                     normal: "50_world_clock_list_bg.png";
77                     border: 2 2 2 2;
78                     border_scale: 1;
79                 }
80                 fill.smooth: 0;
81             }
82         }
83
84         /////// item bg ///////////
85         part
86         {
87             name: "bg";
88             clip_to: "disclip";
89             mouse_events: 0;
90             scale: 1;
91             description
92             {
93                 state: "default" 0.0;
94                 //min: 480 155;
95                 visible: 0;
96                 color: 255 255 255 0;
97                 rel1 {relative: 0.0 0.0; }
98                 rel2 {relative: 1.0 1.0; }
99                 image
100                 {
101                     normal: "tw3_list_select.png";
102                     border: 6 6 6 6;
103                     border_scale: 1;
104                 }
105             }
106             description
107             {
108                 state: "selected" 0.0;
109                 inherit: "default" 0.0;
110                 visible: 1;
111                 color: 255 255 255 255;
112                 rel1 {relative: 0.0 0.0; offset: -2 -2;}
113                 rel2 {relative: 1.0 1.0; offset: 1 1;}
114             }
115         }
116
117         part
118         {
119             name: "elm.swallow.icon";
120             clip_to: "disclip";
121             type: SWALLOW;
122             scale: 1;
123             description
124             {
125                 state: "default" 0.0;
126                 align: 0.0 0.5;
127                 rel1 {relative: (16/480.0)      (42/129.0);          to: "bg";}
128                 rel2 {relative: ((16+44)/480.0) ((42+44)/129.0);     to: "bg";}
129             }
130         }
131
132         part
133         {
134             name: "elm.swallow.label";
135             clip_to: "disclip";
136             type:           SWALLOW;
137             mouse_events:   0;
138             scale: 1;
139             description
140             {
141                 state: "default" 0.0;
142                 rel1 {relative: (108/480.0) (18/129.0); to: "bg";}
143                 rel2 {relative: (400/480.0) (68/129.0); to: "bg";}
144             }
145         }
146
147         part
148         {
149             name: "elm.swallow.sublabel";
150             clip_to: "disclip";
151             type:           SWALLOW;
152             mouse_events:   0;
153             scale: 1;
154             description
155             {
156                 state: "default" 0.0;
157                 rel1 {relative: (108/480.0) (68/129.0);  to: "bg";}
158                 rel2 {relative: (400/480.0) (138/129.0); to: "bg";}
159             }
160         }
161
162         part
163         {
164             name: "elm.swallow.end";
165             clip_to: "disclip";
166             type: SWALLOW;
167             scale: 1;
168             description
169             {
170                 state: "default" 0.0;
171                 align: 1.0 0.5;
172                 rel1 {relative: (358/480.0)      (24/129.0);      to: "bg";}
173                 rel2 {relative: ((358+80)/480.0) ((24+80)/129.0); to: "bg";}
174             }
175         }
176
177         part
178         {
179             name: "disclip";
180             type: RECT;
181             scale: 1;
182             description
183             {
184                 state: "default" 0.0;
185                 rel1.to: "bg";
186                 rel2.to: "bg";
187             }
188             description
189             {
190                 state: "disabled" 0.0;
191                 inherit: "default" 0.0;
192                 color: 255 255 255 64;
193             }
194         }
195     }
196 }
197