tizen 2.4 release
[apps/home/ug-lockscreen-setting-efl.git] / ug-lockscreen-setting-efl / res / edje / lockscreen-options-preview / lock-main.edc
1 /*
2  * Copyright (c) 2009 - 2015 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
18
19 group{
20         name: "lock-main";
21         parts{
22                 part{
23                         name: "bg";
24                         type: RECT;
25                         scale : 1;
26                         description{
27                                 state : "default" 0.0;
28                                 color: 8 8 8 255;
29                         }
30                 }
31                 part{
32                         name: "sw.bg";
33                         type: SWALLOW;
34                         scale: 1;
35                         mouse_events: 1;
36                         description{
37                                 state: "default" 0.0;
38                                 rel1{
39                                         to: "bg";
40                                 }
41                                 rel2{
42                                         to: "bg";
43                                 }
44                         }
45                 }
46                 part{
47                         name: "sw.content";
48                         type: SWALLOW;
49                         scale: 1;
50                         mouse_events: 1;
51                         repeat_events: 1;
52                         description{
53                                 state: "default" 0.0;
54                                 rel1{
55                                         to: "bg";
56                                 }
57                                 rel2{
58                                         to: "bg";
59                                 }
60                         }
61                 }
62                 part{
63                         name: "sw.toolbar";
64                         type: SWALLOW;
65                         scale: 1;
66                         description{
67                                 state: "default" 0.0;
68                                 min: 0 100;
69                                 align: 0.5 1.0;
70                                 rel1 { relative: -0.1 1.0; to: "bg";}
71                                 rel2 { relative: 1.1 1.0; to: "bg"; offset : 0 1;}
72                         }
73                 }
74                 part{
75                         name: "sw.battery.icon";
76                         type: SWALLOW;
77                         scale: 1;
78                         mouse_events: 0;
79                         description{
80                                 state: "default" 0.0;
81                                 rel1{
82                                         relative: 300/WIDTH 0;
83                                         to: "bg";
84                                 }
85                                 rel2{
86                                         relative: 420/WIDTH 30/HEIGHT;
87                                         to: "bg";
88                                 }
89                                 align: 0.5 0.5;
90                         }
91                 }
92                 //the textblock to test height must be in the topest layout and they are not visible
93                 TEXTBLOCK_TEST("theme0", 42/WIDTH, 218/HEIGHT, (WIDTH-42)/WIDTH, 488/HEIGHT, "style_theme0")
94                 TEXTBLOCK_TEST("theme1", 30/WIDTH, 123/HEIGHT, 326/WIDTH, 468/HEIGHT, "style_theme1");
95                 TEXTBLOCK_TEST("theme2", 30/WIDTH, 54/HEIGHT, (WIDTH-30)/WIDTH, 291/HEIGHT, "style_theme2");
96                 TEXTBLOCK_TEST("theme3", 30/WIDTH, 54/HEIGHT, (WIDTH-30)/WIDTH, 569/HEIGHT, "style_theme3");
97         }
98 }
99
100 group {
101         name: "lockscreen.options.preview.toolbar";
102         parts{
103                 part {
104                         name: "bg";
105                         type: RECT;
106                         scale: 1;
107                         description {
108                                 state: "default" 0.0;
109                                 visible: 0;
110                         }
111                 }
112                 part {
113                         name: "toolbar_button1";
114                         type: SWALLOW;
115                         scale: 1;
116                         description {
117                                 state: "default" 0.0;
118                                 align: 0.5 1.0;
119                         }
120                 }
121                 part {
122                         name: "prev_btn";
123                         type: SWALLOW;
124                         scale: 1;
125                         description {
126                                 state: "default" 0.0;
127                                 align: 1.0 1.0;
128                                 rel1 { relative: 1.0 0.0; to: "toolbar_button1";}
129                                 rel2 { relative: 1.0 1.0; to: "bg";}
130                         }
131                 }
132         }
133 }
134