70cbb2274ae0fa429a0bfcbe54a26269806ddc5e
[platform/core/uifw/efl-theme-tizen.git] / themes / widgets / notify.edc
1 /*
2  * efl-theme-tizen
3  * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
4  *
5  * Licensed under the Apache License, Version 2.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.apache.org/licenses/LICENSE-2.0
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 group { name: "elm/notify/block_events/default";
19    parts {
20       part { name: "block_events";
21          type: RECT;
22          description { state: "default" 0.0;
23             color: POPUP_DIM_BG_COLOR_INC;
24          }
25          description { state: "clicked" 0.0;
26             color: POPUP_DIM_BG_CLICKED_COLOR_INC;
27          }
28       }
29    }
30    programs {
31       program { name: "block_clicked";
32          signal: "mouse,clicked,1";
33          source: "block_events";
34          action: SIGNAL_EMIT "elm,action,click" "elm";
35          after: "deeper_block_color";
36       }
37       program {
38          name: "deeper_block_color";
39          action: STATE_SET "clicked" 0.0;
40          target: "block_events";
41          transition: LINEAR 0.2;
42          after: "default_block_color";
43       }
44       program {
45          name: "default_block_color";
46          action: STATE_SET "default" 0.0;
47          target: "block_events";
48          transition: LINEAR 0.2;
49       }
50    }
51 }
52
53 group { name: "elm/notify/top/default";
54    //this group is a design similar to the inwin group
55    parts {
56       part { name: "base";
57          type: RECT;
58          mouse_events: 0;
59          repeat_events: 1;
60          description { state: "default" 0.0;
61             color: 0 0 0 0;
62             rel1.relative: 0.0 -1.0;
63             rel2.relative: 1.0 0.0;
64          }
65          description { state: "visible" 0.0;
66             inherit: "default" 0.0;
67             color: 0 0 0 64;
68             rel1.relative: 0.0 0.0;
69             rel2.relative: 1.0 1.0;
70          }
71       }
72       part { name: "pop";
73          mouse_events: 1;
74          description { state: "default" 0.0;
75             rel1.to: "elm.swallow.content";
76             rel2.to: "elm.swallow.content";
77          }
78       }
79       part { name: "elm.swallow.content";
80          type: SWALLOW;
81          description { state: "default" 0.0;
82             rel1.to: "base";
83             rel2.to: "base";
84          }
85       }
86    }
87    programs {
88       program { name: "show_3";
89          signal: "show";
90          action: STATE_SET "visible" 0.0;
91          target: "base";
92          transition: LINEAR 0.5;
93       }
94       program { name: "hide";
95          signal: "hide";
96          action: STATE_SET "default" 0.0;
97          target: "base";
98       }
99    }
100 }
101
102 group { name: "elm/notify/center/default";
103    //this group is a design similar to the inwin group
104    parts {
105       part { name: "base";
106          type: RECT;
107          mouse_events: 0;
108          repeat_events: 1;
109          description { state: "default" 0.0;
110             color: 0 0 0 0;
111             rel1.relative: 0.0 0.0;
112             rel2.relative: 1.0 1.0;
113          }
114       }
115       part { name: "pop";
116          mouse_events: 1;
117          description { state: "default" 0.0;
118             rel1.to: "elm.swallow.content";
119             rel2.to: "elm.swallow.content";
120          }
121       }
122       part { name: "elm.swallow.content";
123          type: SWALLOW;
124          description { state: "default" 0.0;
125             rel1.to: "base";
126             rel2.to: "base";
127          }
128       }
129    }
130 }
131
132 group { name: "elm/notify/bottom/default";
133    //this group is a design similar to the inwin group
134    parts {
135       part { name: "base";
136          type: RECT;
137          mouse_events: 0;
138          repeat_events: 1;
139          description { state: "default" 0.0;
140             color: 0 0 0 0;
141             rel1.relative: 0.0 1.0;
142             rel2.relative: 1.0 2.0;
143          }
144          description { state: "visible" 0.0;
145             inherit: "default" 0.0;
146             color: 0 0 0 64;
147             rel1.relative: 0.0 0.0;
148             rel2.relative: 1.0 1.0;
149          }
150       }
151       part { name: "pop";
152          mouse_events: 1;
153          description { state: "default" 0.0;
154             rel1.to: "elm.swallow.content";
155             rel2.to: "elm.swallow.content";
156          }
157       }
158       part { name: "elm.swallow.content";
159          type: SWALLOW;
160          description { state: "default" 0.0;
161             rel1.to: "base";
162             rel2.to: "base";
163          }
164       }
165    }
166    programs {
167       program { name: "show_3";
168          signal: "show";
169          action: STATE_SET "visible" 0.0;
170          target: "base";
171          transition: LINEAR 0.5;
172       }
173       program { name: "hide";
174          signal: "hide";
175          action: STATE_SET "default" 0.0;
176          target: "base";
177       }
178    }
179 }
180
181 group { name: "elm/notify/left/default";
182    //this group is a design similar to the inwin group
183    parts {
184       part { name: "base";
185          type: RECT;
186          mouse_events: 0;
187          repeat_events: 1;
188          description { state: "default" 0.0;
189             color: 0 0 0 0;
190             rel1.relative: -1.0 0.0;
191             rel2.relative: 0.0 1.0;
192          }
193          description { state: "visible" 0.0;
194             inherit: "default" 0.0;
195             color: 0 0 0 64;
196             rel1.relative: 0.0 0.0;
197             rel2.relative: 1.0 1.0;
198          }
199       }
200       part { name: "pop";
201          mouse_events: 1;
202          description { state: "default" 0.0;
203             rel1.to: "elm.swallow.content";
204             rel2.to: "elm.swallow.content";
205          }
206       }
207       part { name: "elm.swallow.content";
208          type: SWALLOW;
209          description { state: "default" 0.0;
210             rel1.to: "base";
211             rel2.to: "base";
212          }
213       }
214    }
215    programs {
216       program { name: "show_3";
217          signal: "show";
218          action: STATE_SET "visible" 0.0;
219          target: "base";
220          transition: LINEAR 0.5;
221       }
222       program { name: "hide";
223          signal: "hide";
224          action: STATE_SET "default" 0.0;
225          target: "base";
226       }
227    }
228 }
229
230 group { name: "elm/notify/right/default";
231    //this group is a design similar to the inwin group
232    parts {
233       part { name: "base";
234          type: RECT;
235          mouse_events: 0;
236          repeat_events: 1;
237          description { state: "default" 0.0;
238             color: 0 0 0 0;
239             rel1.relative: 1.0 0.0;
240             rel2.relative: 2.0 1.0;
241          }
242          description { state: "visible" 0.0;
243             inherit: "default" 0.0;
244             color: 0 0 0 64;
245             rel1.relative: 0.0 0.0;
246             rel2.relative: 1.0 1.0;
247          }
248       }
249       part { name: "pop";
250          mouse_events: 1;
251          description { state: "default" 0.0;
252             rel1.to: "elm.swallow.content";
253             rel2.to: "elm.swallow.content";
254          }
255       }
256       part { name: "elm.swallow.content";
257          type: SWALLOW;
258          description { state: "default" 0.0;
259             rel1.to: "base";
260             rel2.to: "base";
261          }
262       }
263    }
264    programs {
265       program { name: "show_3";
266          signal: "show";
267          action: STATE_SET "visible" 0.0;
268          target: "base";
269          transition: LINEAR 0.5;
270       }
271       program { name: "hide";
272          signal: "hide";
273          action: STATE_SET "default" 0.0;
274          target: "base";
275       }
276    }
277 }
278
279 group { name: "elm/notify/top_left/default";
280    //this group is a design similar to the inwin group
281    parts {
282       part { name: "base";
283          type: RECT;
284          mouse_events: 0;
285          repeat_events: 1;
286          description { state: "default" 0.0;
287             color: 0 0 0 0;
288             rel1.relative: 0.0 -1.0;
289             rel2.relative: 1.0 0.0;
290          }
291          description { state: "visible" 0.0;
292             inherit: "default" 0.0;
293             color: 0 0 0 64;
294             rel1.relative: 0.0 0.0;
295             rel2.relative: 1.0 1.0;
296          }
297       }
298       part { name: "pop";
299          mouse_events: 1;
300          description { state: "default" 0.0;
301             rel1.to: "elm.swallow.content";
302             rel2.to: "elm.swallow.content";
303          }
304       }
305       part { name: "elm.swallow.content";
306          type: SWALLOW;
307          description { state: "default" 0.0;
308             rel1.to: "base";
309             rel2.to: "base";
310          }
311       }
312    }
313    programs {
314       program { name: "show_3";
315          signal: "show";
316          action: STATE_SET "visible" 0.0;
317          target: "base";
318          transition: LINEAR 0.5;
319       }
320       program { name: "hide";
321          signal: "hide";
322          action: STATE_SET "default" 0.0;
323          target: "base";
324       }
325    }
326 }
327
328 group { name: "elm/notify/top_right/default";
329    //this group is a design similar to the inwin group
330    parts {
331       part { name: "base";
332          type: RECT;
333          mouse_events: 0;
334          repeat_events: 1;
335          description { state: "default" 0.0;
336             color: 0 0 0 0;
337             rel1.relative: 0.0 -1.0;
338             rel2.relative: 1.0 0.0;
339          }
340          description { state: "visible" 0.0;
341             inherit: "default" 0.0;
342             color: 0 0 0 64;
343             rel1.relative: 0.0 0.0;
344             rel2.relative: 1.0 1.0;
345          }
346       }
347       part { name: "pop";
348          mouse_events: 1;
349          description { state: "default" 0.0;
350             rel1.to: "elm.swallow.content";
351             rel2.to: "elm.swallow.content";
352          }
353       }
354       part { name: "elm.swallow.content";
355          type: SWALLOW;
356          description { state: "default" 0.0;
357             rel1.to: "base";
358             rel2.to: "base";
359          }
360       }
361    }
362    programs {
363       program { name: "show_3";
364          signal: "show";
365          action: STATE_SET "visible" 0.0;
366          target: "base";
367          transition: LINEAR 0.5;
368       }
369       program { name: "hide";
370          signal: "hide";
371          action: STATE_SET "default" 0.0;
372          target: "base";
373       }
374    }
375 }
376
377 group { name: "elm/notify/bottom_left/default";
378    //this group is a design similar to the inwin group
379    parts {
380       part { name: "base";
381          type: RECT;
382          mouse_events: 0;
383          repeat_events: 1;
384          description { state: "default" 0.0;
385             color: 0 0 0 0;
386             rel1.relative: 0.0 1.0;
387             rel2.relative: 1.0 2.0;
388          }
389          description { state: "visible" 0.0;
390             inherit: "default" 0.0;
391             color: 0 0 0 64;
392             rel1.relative: 0.0 0.0;
393             rel2.relative: 1.0 1.0;
394          }
395       }
396       part { name: "pop";
397          mouse_events: 1;
398          description { state: "default" 0.0;
399             rel1.to: "elm.swallow.content";
400             rel2.to: "elm.swallow.content";
401          }
402       }
403       part { name: "elm.swallow.content";
404          type: SWALLOW;
405          description { state: "default" 0.0;
406             rel1.to: "base";
407             rel2.to: "base";
408          }
409       }
410    }
411    programs {
412       program { name: "show_3";
413          signal: "show";
414          action: STATE_SET "visible" 0.0;
415          target: "base";
416          transition: LINEAR 0.5;
417       }
418       program { name: "hide";
419          signal: "hide";
420          action: STATE_SET "default" 0.0;
421          target: "base";
422       }
423    }
424 }
425
426 group { name: "elm/notify/bottom_right/default";
427    //this group is a design similar to the inwin group
428    parts {
429       part { name: "base";
430          type: RECT;
431          mouse_events: 0;
432          repeat_events: 1;
433          description { state: "default" 0.0;
434             color: 0 0 0 0;
435             rel1.relative: 0.0 1.0;
436             rel2.relative: 1.0 2.0;
437          }
438          description { state: "visible" 0.0;
439             inherit: "default" 0.0;
440             color: 0 0 0 64;
441             rel1.relative: 0.0 0.0;
442             rel2.relative: 1.0 1.0;
443          }
444       }
445       part { name: "pop";
446          mouse_events: 1;
447          description { state: "default" 0.0;
448             rel1.to: "elm.swallow.content";
449             rel2.to: "elm.swallow.content";
450          }
451       }
452       part { name: "elm.swallow.content";
453          type: SWALLOW;
454          description { state: "default" 0.0;
455             rel1.to: "base";
456             rel2.to: "base";
457          }
458       }
459    }
460    programs {
461       program { name: "show_3";
462          signal: "show";
463          action: STATE_SET "visible" 0.0;
464          target: "base";
465          transition: LINEAR 0.5;
466       }
467       program { name: "hide";
468          signal: "hide";
469          action: STATE_SET "default" 0.0;
470          target: "base";
471       }
472    }
473 }
474
475 ///////////////////////////////////////////////////////////////////////////////