[Scroller] added new MACRO for images, sizes, borders
[profile/ivi/efl-theme-tizen.git] / themes / widgets / gengrid.edc
1 /*\r
2  * Copyright (c) 2010 Samsung Electronics Co., Ltd All Rights Reserved \r
3  *\r
4  * PROPRIETARY/CONFIDENTIAL\r
5  *\r
6  * This software is the confidential and proprietary information of SAMSUNG\r
7  * ELECTRONICS ("Confidential Information"). You agree and acknowledge that this\r
8  * software is owned by Samsung and you shall not disclose such Confidential\r
9  * Information and shall use it only in accordance with the terms of the license\r
10  * agreement you entered into with SAMSUNG ELECTRONICS. SAMSUNG make no\r
11  * representations or warranties about the suitability of the software, either\r
12  * express or implied, including but not limited to the implied warranties of\r
13  * merchantability, fitness for a particular purpose, or non-infringement.\r
14  * SAMSUNG shall not be liable for any damages suffered by licensee arising out\r
15  * of or releated to this software.\r
16  *\r
17  */\r
18 \r
19    styles {\r
20       style { name: "gengrid_textblock_style";\r
21          base: "font=SLP:style=Medium font_size="GENGRID_FONT_STYLE_18_INC" color="GENGRID_PART_TEXTBLOCK_STYLE_COLOR_INC" align=center wrap=mixed ellipsis=1.0 text_class=slp_medium";\r
22          tag: "br" "\n";\r
23          tag: "ps" "ps";\r
24          tag: "tab" "\t";\r
25          tag: "b" "+ font=SLP:style=Bold";\r
26       }\r
27    }\r
28 \r
29    group { name: "elm/gengrid/item/default_grid/default";\r
30       data.item: "contents" "elm.swallow.icon elm.swallow.end";\r
31       images {\r
32          image : "00_winset_thumbs_bg.png" COMP;\r
33          image : "00_winset_thumbs_focus_bg.png" COMP;\r
34       }\r
35       parts {\r
36          part { name: "bg";\r
37             type: RECT;\r
38             description { state: "default" 0.0;\r
39                color: GENGRID_PART_BG_COLOR_INC;\r
40             }\r
41          }\r
42          part { name: "left_top_padding";\r
43             type: RECT;\r
44             scale : 1;\r
45             description { state: "default" 0.0;\r
46                min: 8 18;\r
47                align: 0.0 0.0;\r
48                visible: 0;\r
49                rel1.to: "bg";\r
50                rel2 {\r
51                   relative: 0.0 0.0;\r
52                   to: "bg";\r
53                }\r
54             }\r
55          }\r
56          part { name: "right_bottom_padding";\r
57             type: RECT;\r
58             scale: 1;\r
59             description { state: "default" 0.0;\r
60                min: 8 0;\r
61                align: 1.0 1.0;\r
62                visible: 0;\r
63                rel1 {\r
64                   relative: 1.0 1.0;\r
65                   to: "bg";\r
66                }\r
67                rel2.to: "bg";\r
68             }\r
69          }\r
70          part { name: "item_bg";\r
71             type: IMAGE;\r
72             description { state: "default" 0.0;\r
73                rel1 {\r
74                   relative: 1.0 1.0;\r
75                   to: "left_top_padding";\r
76                }\r
77                rel2 {\r
78                   relative: 0.0 0.0;\r
79                   to: "right_bottom_padding";\r
80                }\r
81                image.normal: "00_winset_thumbs_bg.png";\r
82             }\r
83          }\r
84          part { name: "item_bg_left_top_padding";\r
85             type: RECT;\r
86             scale : 1;\r
87             description { state: "default" 0.0;\r
88                min: 2 0;\r
89                align: 0.0 0.0;\r
90                visible: 0;\r
91                rel1.to: "item_bg";\r
92                rel2 {\r
93                   relative: 0.0 0.0;\r
94                   to: "item_bg";\r
95                }\r
96             }\r
97          }\r
98          part { name: "item_bg_right_bottom_padding";\r
99             type: RECT;\r
100             scale : 1;\r
101             description { state: "default" 0.0;\r
102                min: 2 6;\r
103                align: 1.0 1.0;\r
104                visible: 0;\r
105                rel1 {\r
106                   relative: 1.0 1.0;\r
107                   to: "item_bg";\r
108                }\r
109                rel2.to: "item_bg";\r
110             }\r
111          }\r
112          part { name: "item_real_bg";\r
113             type: RECT;\r
114             description { state: "default" 0.0;\r
115                color: 190 189 189 255;\r
116                rel1 {\r
117                   relative: 1.0 1.0;\r
118                   to: "item_bg_left_top_padding";\r
119                }\r
120                rel2 {\r
121                   relative: 0.0 0.0;\r
122                   to: "item_bg_right_bottom_padding";\r
123                }\r
124             }\r
125          }\r
126          part { name: "item_real_bg_left_top_padding";\r
127             type: RECT;\r
128             scale : 1;\r
129             description { state: "default" 0.0;\r
130                min: 2 2;\r
131                align: 0.0 0.0;\r
132                visible: 0;\r
133                rel1.to: "item_real_bg";\r
134                rel2 {\r
135                   relative: 0.0 0.0;\r
136                   to: "item_real_bg";\r
137                }\r
138             }\r
139          }\r
140          part { name: "item_real_bg_right_bottom_padding";\r
141             type: RECT;\r
142             scale : 1;\r
143             description { state: "default" 0.0;\r
144                min: 2 2;\r
145                align: 1.0 1.0;\r
146                visible: 0;\r
147                rel1 {\r
148                   relative: 1.0 1.0;\r
149                   to: "item_real_bg";\r
150                }\r
151                rel2.to: "item_real_bg";\r
152             }\r
153          }\r
154          part { name: "elm.swallow.icon";\r
155             type: SWALLOW;\r
156             description { state: "default" 0.0;\r
157                rel1 {\r
158                   relative: 1.0 1.0;\r
159                   to: "item_real_bg_left_top_padding";\r
160                }\r
161                rel2 {\r
162                   relative: 0.0 0.0;\r
163                   to: "item_real_bg_right_bottom_padding";\r
164                }\r
165             }\r
166          }\r
167          part { name: "elm.swallow.end";\r
168             type: SWALLOW;\r
169             description { state: "default" 0.0;\r
170                rel1.to: "elm.swallow.icon";\r
171                rel2.to: "elm.swallow.icon";\r
172             }\r
173          }\r
174          part { name: "reorder_bg";\r
175             type: RECT;\r
176             repeat_events: 1;\r
177             description { state: "default" 0.0;\r
178                color: GENGRID_PART_BG_COLOR_INC;\r
179                rel1.to: "item_bg";\r
180                rel2.to: "item_bg";\r
181             }\r
182             description { state: "enabled" 0.0;\r
183                inherit: "default" 0.0;\r
184                color: GENGRID_PART_REORDER_BG_COLOR_INC;\r
185             }\r
186          }\r
187          part { name: "focus_bg_left_top_padding";\r
188             type: RECT;\r
189             scale : 1;\r
190             description { state: "default" 0.0;\r
191                min: 8 16;\r
192                align: 0.0 0.0;\r
193                visible: 0;\r
194                rel1.to: "bg";\r
195                rel2 {\r
196                   relative: 0.0 0.0;\r
197                   to: "bg";\r
198                }\r
199             }\r
200          }\r
201          part { name: "focus_bg_right_bottom_padding";\r
202             type: RECT;\r
203             scale: 1;\r
204             description { state: "default" 0.0;\r
205                min: 8 4;\r
206                align: 1.0 1.0;\r
207                visible: 0;\r
208                rel1 {\r
209                   relative: 1.0 1.0;\r
210                   to: "bg";\r
211                }\r
212                rel2.to: "bg";\r
213             }\r
214          }\r
215          part { name: "focus_bg";\r
216             type: IMAGE;\r
217             description { state: "default" 0.0;\r
218                visible: 0;\r
219                rel1 {\r
220                   relative: 1.0 1.0;\r
221                   to: "focus_bg_left_top_padding";\r
222                }\r
223                rel2 {\r
224                   relative: 0.0 0.0;\r
225                   to: "focus_bg_right_bottom_padding";\r
226                }\r
227                image.normal: "00_winset_thumbs_focus_bg.png";\r
228             }\r
229             description { state: "enabled" 0.0;\r
230                inherit: "default" 0.0;\r
231                visible: 1;\r
232             }\r
233          }\r
234       }\r
235       programs {\r
236          program { name: "go_mouse_down";\r
237             signal: "mouse,down,1";\r
238             source: "reorder_bg";\r
239             action: STATE_SET "enabled" 0.0;\r
240             target: "focus_bg";\r
241             transition: ACCELERATE 0.2;\r
242          }\r
243          program { name: "go_mouse_up";\r
244             signal: "mouse,up,1";\r
245             source: "reorder_bg";\r
246             action: STATE_SET "default" 0.0;\r
247             target: "focus_bg";\r
248             transition: DECELERATE 0.2;\r
249          }\r
250          program { name: "go_reorder_disabled";\r
251             signal: "elm,state,reorder,disabled";\r
252             source: "elm";\r
253             action: STATE_SET "default" 0.0;\r
254             target: "reorder_bg";\r
255             target: "focus_bg";\r
256             transition: ACCELERATE 0.3;\r
257          }\r
258          program { name: "go_reorder_enabled";\r
259             signal: "elm,state,reorder,enabled";\r
260             source: "elm";\r
261             action: STATE_SET "enabled" 0.0;\r
262             target: "reorder_bg";\r
263             target: "focus_bg";\r
264             transition: DECELERATE 0.3;\r
265          }\r
266       }\r
267    }\r
268 \r
269    group { name: "elm/gengrid/item/default_gridtext/default";\r
270       data.item: "texts" "elm.text";\r
271       data.item: "contents" "elm.swallow.icon elm.swallow.block elm.swallow.end";\r
272       images {\r
273          image : "00_winset_thumbs_bg.png" COMP;\r
274          image : "00_winset_thumbs_focus_bg.png" COMP;\r
275       }\r
276       parts {\r
277          part { name: "bg";\r
278             type: RECT;\r
279             description { state: "default" 0.0;\r
280                color: GENGRID_PART_BG_COLOR_INC;\r
281             }\r
282          }\r
283          part { name: "left_top_padding";\r
284             type: RECT;\r
285             scale : 1;\r
286             description { state: "default" 0.0;\r
287                min: 8 18;\r
288                align: 0.0 0.0;\r
289                visible: 0;\r
290                rel1.to: "bg";\r
291                rel2 {\r
292                   relative: 0.0 0.0;\r
293                   to: "bg";\r
294                }\r
295             }\r
296          }\r
297          part { name: "right_bottom_padding";\r
298             type: RECT;\r
299             scale: 1;\r
300             description { state: "default" 0.0;\r
301                min: 8 72;\r
302                align: 1.0 1.0;\r
303                visible: 0;\r
304                rel1 {\r
305                   relative: 1.0 1.0;\r
306                   to: "bg";\r
307                }\r
308                rel2.to: "bg";\r
309             }\r
310          }\r
311          part { name: "elm.text";\r
312             type: TEXTBLOCK;\r
313             mouse_events: 1;\r
314             scale: 1;\r
315             description { state: "default" 0.0;\r
316                rel1 {\r
317                   relative: 1.0 0.0;\r
318                   to_x: "left_top_padding";\r
319                   to_y: "right_bottom_padding";\r
320                }\r
321                rel2 {\r
322                   relative: 0.0 1.0;\r
323                   to: "right_bottom_padding";\r
324                }\r
325                text {\r
326                   style: "gengrid_textblock_style";\r
327                   min: 0 1;\r
328                   align: 0.5 0.0;\r
329                }\r
330             }\r
331          }\r
332          part { name: "elm.swallow.block";\r
333             type: SWALLOW;\r
334             mouse_events: 1;\r
335             description { state: "default" 0.0;\r
336                rel1.to : "elm.text";\r
337                rel2.to : "elm.text";\r
338             }\r
339          }\r
340          part { name: "item_bg";\r
341             type: IMAGE;\r
342             description { state: "default" 0.0;\r
343                rel1 {\r
344                   relative: 1.0 1.0;\r
345                   to: "left_top_padding";\r
346                }\r
347                rel2 {\r
348                   relative: 0.0 0.0;\r
349                   to: "right_bottom_padding";\r
350                }\r
351                image.normal: "00_winset_thumbs_bg.png";\r
352             }\r
353          }\r
354          part { name: "item_bg_left_top_padding";\r
355             type: RECT;\r
356             scale : 1;\r
357             description { state: "default" 0.0;\r
358                min: 2 0;\r
359                align: 0.0 0.0;\r
360                visible: 0;\r
361                rel1.to: "item_bg";\r
362                rel2 {\r
363                   relative: 0.0 0.0;\r
364                   to: "item_bg";\r
365                }\r
366             }\r
367          }\r
368          part { name: "item_bg_right_bottom_padding";\r
369             type: RECT;\r
370             scale : 1;\r
371             description { state: "default" 0.0;\r
372                min: 2 6;\r
373                align: 1.0 1.0;\r
374                visible: 0;\r
375                rel1 {\r
376                   relative: 1.0 1.0;\r
377                   to: "item_bg";\r
378                }\r
379                rel2.to: "item_bg";\r
380             }\r
381          }\r
382          part { name: "item_real_bg";\r
383             type: RECT;\r
384             description { state: "default" 0.0;\r
385                color: 190 189 189 255;\r
386                rel1 {\r
387                   relative: 1.0 1.0;\r
388                   to: "item_bg_left_top_padding";\r
389                }\r
390                rel2 {\r
391                   relative: 0.0 0.0;\r
392                   to: "item_bg_right_bottom_padding";\r
393                }\r
394             }\r
395          }\r
396          part { name: "item_real_bg_left_top_padding";\r
397             type: RECT;\r
398             scale : 1;\r
399             description { state: "default" 0.0;\r
400                min: 2 2;\r
401                align: 0.0 0.0;\r
402                visible: 0;\r
403                rel1.to: "item_real_bg";\r
404                rel2 {\r
405                   relative: 0.0 0.0;\r
406                   to: "item_real_bg";\r
407                }\r
408             }\r
409          }\r
410          part { name: "item_real_bg_right_bottom_padding";\r
411             type: RECT;\r
412             scale : 1;\r
413             description { state: "default" 0.0;\r
414                min: 2 2;\r
415                align: 1.0 1.0;\r
416                visible: 0;\r
417                rel1 {\r
418                   relative: 1.0 1.0;\r
419                   to: "item_real_bg";\r
420                }\r
421                rel2.to: "item_real_bg";\r
422             }\r
423          }\r
424          part { name: "elm.swallow.icon";\r
425             type: SWALLOW;\r
426             description { state: "default" 0.0;\r
427                rel1 {\r
428                   relative: 1.0 1.0;\r
429                   to: "item_real_bg_left_top_padding";\r
430                }\r
431                rel2 {\r
432                   relative: 0.0 0.0;\r
433                   to: "item_real_bg_right_bottom_padding";\r
434                }\r
435             }\r
436          }\r
437          part { name: "elm.swallow.end";\r
438             type: SWALLOW;\r
439             description { state: "default" 0.0;\r
440                rel1.to: "elm.swallow.icon";\r
441                rel2.to: "elm.swallow.icon";\r
442             }\r
443          }\r
444          part { name: "reorder_bg";\r
445             type: RECT;\r
446             repeat_events: 1;\r
447             description { state: "default" 0.0;\r
448                color: GENGRID_PART_BG_COLOR_INC;\r
449                rel1.to: "item_bg";\r
450                rel2.to: "item_bg";\r
451             }\r
452             description { state: "enabled" 0.0;\r
453                inherit: "default" 0.0;\r
454                color: GENGRID_PART_REORDER_BG_COLOR_INC;\r
455             }\r
456          }\r
457          part { name: "focus_bg_left_top_padding";\r
458             type: RECT;\r
459             scale : 1;\r
460             description { state: "default" 0.0;\r
461                min: 8 16;\r
462                align: 0.0 0.0;\r
463                visible: 0;\r
464                rel1.to: "bg";\r
465                rel2 {\r
466                   relative: 0.0 0.0;\r
467                   to: "bg";\r
468                }\r
469             }\r
470          }\r
471          part { name: "focus_bg_right_bottom_padding";\r
472             type: RECT;\r
473             scale: 1;\r
474             description { state: "default" 0.0;\r
475                min: 8 76;\r
476                align: 1.0 1.0;\r
477                visible: 0;\r
478                rel1 {\r
479                   relative: 1.0 1.0;\r
480                   to: "bg";\r
481                }\r
482                rel2.to: "bg";\r
483             }\r
484          }\r
485          part { name: "focus_bg";\r
486             type: IMAGE;\r
487             description { state: "default" 0.0;\r
488                visible: 0;\r
489                rel1 {\r
490                   relative: 1.0 1.0;\r
491                   to: "focus_bg_left_top_padding";\r
492                }\r
493                rel2 {\r
494                   relative: 0.0 0.0;\r
495                   to: "focus_bg_right_bottom_padding";\r
496                }\r
497                image.normal: "00_winset_thumbs_focus_bg.png";\r
498             }\r
499             description { state: "enabled" 0.0;\r
500                inherit: "default" 0.0;\r
501                visible: 1;\r
502             }\r
503          }\r
504       }\r
505       programs {\r
506          program { name: "go_mouse_down";\r
507             signal: "mouse,down,1";\r
508             source: "reorder_bg";\r
509             action: STATE_SET "enabled" 0.0;\r
510             target: "focus_bg";\r
511             transition: ACCELERATE 0.2;\r
512          }\r
513          program { name: "go_mouse_up";\r
514             signal: "mouse,up,1";\r
515             source: "reorder_bg";\r
516             action: STATE_SET "default" 0.0;\r
517             target: "focus_bg";\r
518             transition: DECELERATE 0.2;\r
519          }\r
520          program { name: "go_reorder_disabled";\r
521             signal: "elm,state,reorder,disabled";\r
522             source: "elm";\r
523             action: STATE_SET "default" 0.0;\r
524             target: "reorder_bg";\r
525             target: "focus_bg";\r
526             transition: ACCELERATE 0.3;\r
527          }\r
528          program { name: "go_reorder_enabled";\r
529             signal: "elm,state,reorder,enabled";\r
530             source: "elm";\r
531             action: STATE_SET "enabled" 0.0;\r
532             target: "reorder_bg";\r
533             target: "focus_bg";\r
534             transition: DECELERATE 0.3;\r
535          }\r
536       }\r
537    }\r
538 \r
539    group { name: "elm/gengrid/item/default_gridtext2/default";\r
540       data.item: "texts" "elm.text";\r
541       data.item: "contents" "elm.swallow.icon elm.swallow.block elm.swallow.end";\r
542       images {\r
543          image : "00_winset_thumbs_bg.png" COMP;\r
544          image : "00_winset_thumbs_focus_bg.png" COMP;\r
545       }\r
546       parts {\r
547          part { name: "bg";\r
548             type: RECT;\r
549             description { state: "default" 0.0;\r
550                color: GENGRID_PART_BG_COLOR_INC;\r
551             }\r
552          }\r
553          part { name: "left_top_padding";\r
554             type: RECT;\r
555             scale : 1;\r
556             description { state: "default" 0.0;\r
557                min: 8 74;\r
558                align: 0.0 0.0;\r
559                visible: 0;\r
560                rel1.to: "bg";\r
561                rel2 {\r
562                   relative: 0.0 0.0;\r
563                   to: "bg";\r
564                }\r
565             }\r
566          }\r
567          part { name: "right_bottom_padding";\r
568             type: RECT;\r
569             scale: 1;\r
570             description { state: "default" 0.0;\r
571                min: 8 0;\r
572                align: 1.0 1.0;\r
573                visible: 0;\r
574                rel1 {\r
575                   relative: 1.0 1.0;\r
576                   to: "bg";\r
577                }\r
578                rel2.to: "bg";\r
579             }\r
580          }\r
581          part { name: "elm.text";\r
582             type: TEXTBLOCK;\r
583             mouse_events: 0;\r
584             scale: 1;\r
585             description { state: "default" 0.0;\r
586                rel1 {\r
587                   relative: 1.0 0.0;\r
588                   to: "left_top_padding";\r
589                }\r
590                rel2 {\r
591                   relative: 0.0 1.0;\r
592                   to_x: "right_bottom_padding";\r
593                   to_y: "left_top_padding";\r
594                }\r
595                text {\r
596                   style: "gengrid_textblock_style";\r
597                   min: 0 1;\r
598                   align: 0.5 1.0;\r
599                }\r
600             }\r
601          }\r
602          part { name: "elm.swallow.block";\r
603             type: SWALLOW;\r
604             mouse_events: 1;\r
605             description { state: "default" 0.0;\r
606                rel1.to : "elm.text";\r
607                rel2.to : "elm.text";\r
608             }\r
609          }\r
610          part { name: "item_bg";\r
611             type: IMAGE;\r
612             description { state: "default" 0.0;\r
613                rel1 {\r
614                   relative: 1.0 1.0;\r
615                   to: "left_top_padding";\r
616                }\r
617                rel2 {\r
618                   relative: 0.0 0.0;\r
619                   to: "right_bottom_padding";\r
620                }\r
621                image.normal: "00_winset_thumbs_bg.png";\r
622             }\r
623          }\r
624          part { name: "item_bg_left_top_padding";\r
625             type: RECT;\r
626             scale : 1;\r
627             description { state: "default" 0.0;\r
628                min: 2 0;\r
629                align: 0.0 0.0;\r
630                visible: 0;\r
631                rel1.to: "item_bg";\r
632                rel2 {\r
633                   relative: 0.0 0.0;\r
634                   to: "item_bg";\r
635                }\r
636             }\r
637          }\r
638          part { name: "item_bg_right_bottom_padding";\r
639             type: RECT;\r
640             scale : 1;\r
641             description { state: "default" 0.0;\r
642                min: 2 6;\r
643                align: 1.0 1.0;\r
644                visible: 0;\r
645                rel1 {\r
646                   relative: 1.0 1.0;\r
647                   to: "item_bg";\r
648                }\r
649                rel2.to: "item_bg";\r
650             }\r
651          }\r
652          part { name: "item_real_bg";\r
653             type: RECT;\r
654             description { state: "default" 0.0;\r
655                color: 190 189 189 255;\r
656                rel1 {\r
657                   relative: 1.0 1.0;\r
658                   to: "item_bg_left_top_padding";\r
659                }\r
660                rel2 {\r
661                   relative: 0.0 0.0;\r
662                   to: "item_bg_right_bottom_padding";\r
663                }\r
664             }\r
665          }\r
666          part { name: "item_real_bg_left_top_padding";\r
667             type: RECT;\r
668             scale : 1;\r
669             description { state: "default" 0.0;\r
670                min: 2 2;\r
671                align: 0.0 0.0;\r
672                visible: 0;\r
673                rel1.to: "item_real_bg";\r
674                rel2 {\r
675                   relative: 0.0 0.0;\r
676                   to: "item_real_bg";\r
677                }\r
678             }\r
679          }\r
680          part { name: "item_real_bg_right_bottom_padding";\r
681             type: RECT;\r
682             scale : 1;\r
683             description { state: "default" 0.0;\r
684                min: 2 2;\r
685                align: 1.0 1.0;\r
686                visible: 0;\r
687                rel1 {\r
688                   relative: 1.0 1.0;\r
689                   to: "item_real_bg";\r
690                }\r
691                rel2.to: "item_real_bg";\r
692             }\r
693          }\r
694          part { name: "elm.swallow.icon";\r
695             type: SWALLOW;\r
696             description { state: "default" 0.0;\r
697                rel1 {\r
698                   relative: 1.0 1.0;\r
699                   to: "item_real_bg_left_top_padding";\r
700                }\r
701                rel2 {\r
702                   relative: 0.0 0.0;\r
703                   to: "item_real_bg_right_bottom_padding";\r
704                }\r
705             }\r
706          }\r
707          part { name: "elm.swallow.end";\r
708             type: SWALLOW;\r
709             description { state: "default" 0.0;\r
710                rel1.to: "elm.swallow.icon";\r
711                rel2.to: "elm.swallow.icon";\r
712             }\r
713          }\r
714          part { name: "reorder_bg";\r
715             type: RECT;\r
716             repeat_events: 1;\r
717             description { state: "default" 0.0;\r
718                color: GENGRID_PART_BG_COLOR_INC;\r
719                rel1.to: "item_bg";\r
720                rel2.to: "item_bg";\r
721             }\r
722             description { state: "enabled" 0.0;\r
723                inherit: "default" 0.0;\r
724                color: GENGRID_PART_REORDER_BG_COLOR_INC;\r
725             }\r
726          }\r
727          part { name: "focus_bg_left_top_padding";\r
728             type: RECT;\r
729             scale : 1;\r
730             description { state: "default" 0.0;\r
731                min: 8 72;\r
732                align: 0.0 0.0;\r
733                visible: 0;\r
734                rel1.to: "bg";\r
735                rel2 {\r
736                   relative: 0.0 0.0;\r
737                   to: "bg";\r
738                }\r
739             }\r
740          }\r
741          part { name: "focus_bg_right_bottom_padding";\r
742             type: RECT;\r
743             scale: 1;\r
744             description { state: "default" 0.0;\r
745                min: 8 4;\r
746                align: 1.0 1.0;\r
747                visible: 0;\r
748                rel1 {\r
749                   relative: 1.0 1.0;\r
750                   to: "bg";\r
751                }\r
752                rel2.to: "bg";\r
753             }\r
754          }\r
755          part { name: "focus_bg";\r
756             type: IMAGE;\r
757             description { state: "default" 0.0;\r
758                visible: 0;\r
759                rel1 {\r
760                   relative: 1.0 1.0;\r
761                   to: "focus_bg_left_top_padding";\r
762                }\r
763                rel2 {\r
764                   relative: 0.0 0.0;\r
765                   to: "focus_bg_right_bottom_padding";\r
766                }\r
767                image.normal: "00_winset_thumbs_focus_bg.png";\r
768             }\r
769             description { state: "enabled" 0.0;\r
770                inherit: "default" 0.0;\r
771                visible: 1;\r
772             }\r
773          }\r
774       }\r
775       programs {\r
776          program { name: "go_mouse_down";\r
777             signal: "mouse,down,1";\r
778             source: "reorder_bg";\r
779             action: STATE_SET "enabled" 0.0;\r
780             target: "focus_bg";\r
781             transition: ACCELERATE 0.2;\r
782          }\r
783          program { name: "go_mouse_up";\r
784             signal: "mouse,up,1";\r
785             source: "reorder_bg";\r
786             action: STATE_SET "default" 0.0;\r
787             target: "focus_bg";\r
788             transition: DECELERATE 0.2;\r
789          }\r
790          program { name: "go_reorder_disabled";\r
791             signal: "elm,state,reorder,disabled";\r
792             source: "elm";\r
793             action: STATE_SET "default" 0.0;\r
794             target: "reorder_bg";\r
795             target: "focus_bg";\r
796             transition: ACCELERATE 0.3;\r
797          }\r
798          program { name: "go_reorder_enabled";\r
799             signal: "elm,state,reorder,enabled";\r
800             source: "elm";\r
801             action: STATE_SET "enabled" 0.0;\r
802             target: "reorder_bg";\r
803             target: "focus_bg";\r
804             transition: DECELERATE 0.3;\r
805          }\r
806       }\r
807    }\r
808 \r
809    group { name: "elm/gengrid/item/block/default";\r
810       parts {\r
811          part { name: "bg";\r
812             type: RECT;\r
813             description { state: "default" 0.0;\r
814                color: 0 0 0 0;\r
815             }\r
816          }\r
817       }\r
818    }\r