fix manifest - remove unnecessary labels
[apps/core/preloaded/quickpanel.git] / data / quickpanel.edc
1 /*
2  * Copyright 2012  Samsung Electronics Co., Ltd
3  *
4  * Licensed under the Flora License, Version 1.1 (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://floralicense.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 #include "quickpanel_def.h"
18
19 #define QP_SETTING_H 134
20 #define QP_SETTING_SEPERATOR_H 0
21
22 images {
23         image: "notification_bg.png" COMP;
24         image: "quick_handle_both.png" COMP;
25 }
26
27 collections {
28         group { name: "quickpanel/gl_base";
29                 parts {
30                         part {
31                                 name: "background";
32                                 type: RECT;
33                                 scale: 1;
34                                 mouse_events: 1;
35                                 description {
36                                         state: "default" 0.0;
37                                         color: QP_BG_COLOR;
38                                         visible: QP_BG_VISIBILITY;
39                                 }
40                         }
41                         part{
42                                 name: "background.wallpaper";
43                                 type:IMAGE;
44                                 scale:1;
45                                 description {
46                                         state: "default" 0.0;
47                                         rel1 {
48                                                 relative: 0.0 0.0;
49                                         }
50                                         rel2 {
51                                                 relative: 1.0 1.0;
52                                         }
53                                         image {
54                                                 normal:"notification_bg.png";
55                                         }
56                                         align:0 0;
57                                         visible: 1;
58                                 }
59                         }
60                         part{
61                                 name: "qp.base.indicator";
62                                 type:RECT;
63                                 scale: 1;
64                                 description {
65                                         state: "default" 0.0;
66                                         fixed: 0 1;
67                                         min: 0 QP_INDICATOR_H;
68                                         rel1 {
69                                                 relative: 0.0 0.0;
70                                                 to: "background";
71                                         }
72                                         rel2 {
73                                                 relative: 1.0 0.0;
74                                                 to: "background";
75                                         }
76                                         align: 0.0 0.0;
77                                         color: 0 0 0 0;
78                                 }
79                         }
80                         part{
81                                 name: "qp.base.spn.swallow";
82                                 type: SWALLOW;
83                                 scale: 1;
84                                 mouse_events: 1;
85                                 description {
86                                         state: "default" 0.0;
87                                         fixed: 1 1;
88                                         min: 0 QP_SPN_H;
89                                         rel1 {
90                                                 to_y, "qp.base.indicator";
91                                                 relative: 0.0 1.0;
92                                         }
93                                         rel2 {
94                                                 to_y, "qp.base.indicator";
95                                                 relative: 1.0 1.0;
96                                         }
97                                         align: 0.0 0.0;
98                                 }
99                         }
100                         part {
101                                 name: "qp.gl_base.gl.swallow";
102                                 type: SWALLOW;
103                                 scale: 1;
104                                 description {
105                                         state: "default" 0.0;
106                                         fixed: 0 0;
107                                         rel1 {
108                                                 to_y:"qp.base.spn.swallow";
109                                                 relative: 0.0 1.0;
110                                         }
111                                         rel2 {
112                                                 to_y:"qp.base.handler";
113                                                 relative: 1.0 0.0;
114                                         }
115                                         align: 0.0 0.0;
116                                 }
117                         }
118                         part{
119                                 name: "qp.base.handler.bg";
120                                 type:IMAGE;
121                                 scale:1;
122                                 description {
123                                         state: "default" 0.0;
124                                         fixed: 0 1;
125                                         min: 0 QP_HANDLE_TOTAL_H;
126                                         rel1 {
127                                                 relative: 0.0 1.0;
128                                         }
129                                         rel2 {
130                                                 relative: 1.0 1.0;
131                                         }
132                                         image {
133                                                 normal:"quick_handle_both.png";
134                                                 border: 1 1 1 1;
135                                                 border_scale: 1;
136                                         }
137                                         align: 0.0 1.0;
138                                 }
139                         }
140                         part{
141                                 name: "qp.base.handler";
142                                 type:RECT;
143                                 scale:1;
144                                 description {
145                                         state: "default" 0.0;
146                                         fixed: 0 1;
147                                         min: 0 QP_HANDLE_H;
148                                         rel1 {
149                                                 relative: 0.0 1.0;
150                                         }
151                                         rel2 {
152                                                 relative: 1.0 1.0;
153                                         }
154                                         align: 0.0 1.0;
155                                         color: 0 0 0 0;
156                                 }
157                         }
158                 }
159                 programs {
160                         program {
161                                 name: "background.touch";
162                                 action: SIGNAL_EMIT "close.quickpanel" "";
163                                 signal: "mouse,down,1";
164                                 source: "background";
165                         }
166                 }
167         }
168
169 #include "quickpanel_spn.edc"
170 #include "quickpanel_brightness.edc"
171
172 #include "quickpanel_minictrl.edc"
173 #include "quickpanel_noti_section.edc"
174 #include "quickpanel_notibox.edc"
175 #include "quickpanel_listbox.edc"
176 }