a9760e45abfa439d19d6d995c563ec9c013126d1
[apps/home/clock.git] / stopwatch / res / edc / stopwatch_main_group.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 group {
18         name: "main";
19
20         parts {
21             /* for background */
22             part { name: "background";
23                 type: IMAGE;
24                 scale: 1;
25                 description {
26                     state: "default" 0.0;
27                     rel1 { relative: 0.0 0.0; }
28                     rel2 { relative: 1.0 1.0; }
29                     image { normal: "P03_stopwatch_bg.png";}
30                 }
31             }
32
33             part {
34                 name: "time_panel";
35                 type: SWALLOW;
36                 mouse_events: 1;
37                 scale: 1;
38                 description {
39                     state: "default" 0.0;
40                     rel1 { relative: 12/WIDTH SCREEN_RECT_Y/HEIGHT; to: "background"; }
41                     rel2 { relative: (468/WIDTH) (SCREEN_RECT_Y+SCREEN_RECT_H)/HEIGHT; to: "background"; }
42                 }
43             }
44
45             /* for interval time */
46             part { name: "time/interval";
47                 type: TEXT;
48                 scale:1;
49                 effect: SOFT_SHADOW;
50                 description {
51                     state: "default" 0.0;
52                     rel1 { relative: 0.0 TEXT_Y/HEIGHT;  to, "background";}
53                     rel2 { relative: 1.0 (TEXT_Y+TEXT_H)/HEIGHT;  to, "background";}
54                     color: 255 255 255 255;
55                     color2: 0 0 0 255;
56                     text {font: "SLP:style=Medium";size: 58;align: 0.5 0.5;text:"00:00.00";}
57                 }
58             }
59
60             /* for buttons */
61             part { name: "button/rect";
62                 type: RECT;
63                 scale: 1;
64                 description {
65                     state: "default" 0.0;
66                     visible: 0;
67
68                     rel1 { relative: 0.0 (BTN_Y/HEIGHT); to: "background"; }
69                     rel2 { relative: 1.0 (BTN_Y+BTN_H)/HEIGHT; to: "background"; }
70                 }
71             }
72             part {
73                 name: "lbutton";
74                 type: SWALLOW;
75                 mouse_events: 1;
76                 scale: 1;
77                 description {
78                     state: "default" 0.0;
79                     rel1 { relative: (0.0+21/WIDTH) 0.0; to: "button/rect"; }
80                     rel2 { relative: (0.0+(21+216)/WIDTH) 1.0; to: "button/rect"; }
81                 }
82             }
83             part {
84                 name: "rbutton";
85                 type: SWALLOW;
86                 mouse_events: 1;
87                 scale: 1;
88                 description {
89                     state: "default" 0.0;
90                     rel1 { relative: (0.0+(21+216+6)/WIDTH) 0.0; to: "button/rect";}
91                     rel2 { relative: (1.0-21/WIDTH) 1.0;  to: "button/rect";}
92                 }
93             }
94
95             /* for genlist */
96             part { name: "genlist/bg";
97                 type: IMAGE;
98                 scale: 1;
99                 mouse_events: 0;
100                 description {
101                     state: "default" 0.0;
102                     rel1 { relative: 13/WIDTH GENLIST_Y/HEIGHT; to: "background"; }
103                     rel2 { relative: (1.0 - 13/WIDTH) (GENLIST_Y+GENLIST_H)/HEIGHT; to: "background"; }
104                     image { normal: "P03_stopwatch_record_list_bg.png"; border: 10 10 10 10; }
105                 }
106             }
107
108             part { name: "genlist";
109                 type: SWALLOW;
110                 scale:1;
111                 description {
112                     state: "default" 0.0;
113                     rel1 { relative: 2/454 0.0; to: "genlist/bg"; }
114                     rel2 { relative: (1.0-2/454) 1.0; to: "genlist/bg"; }
115                 }
116             }
117
118         }
119
120         programs {
121
122         }
123     }
124
125