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