Remove SMACK rule file(.rule) according three domain model
[apps/core/preloaded/video-player.git] / res / edc / vp-ctxpopup.edc
1 ///////////////////////////////////////////////////////////////////////////////////////
2 //
3 // ctxpopup
4 //
5 ///////////////////////////////////////////////////////////////////////////////////////
6
7 #define CTXPOPUP_SHADOW_PADDING 10
8 #define CTXPOPUP_FRAME_CORNER_SIZE 4 4
9 #define CTXPOPUP_FONT_COLOR 0 0 0 255
10 #define CTXPOPUP_CLICKED_FONT_COLOR 255 255 255 255
11 #define CTXPOPUP_ITEM_DISABLED_COLOR 0 0 0 100
12 #define CTXPOPUP_LIST_PADDING 10
13 #define CTXPOPUP_LIST_SHADOW_PADDING 3
14
15 #define CTXPOPUP_BUBBLE_BG_IMAGE "white/common/00_popup_bubble_bg.png"
16 #define CTXPOPUP_BG_IMAGE "white/common/T01-2_popup_bg.png"
17 #define CTXPOPUP_BUBBLE_BG_IMAGE_BORDER 13 13 13 13
18 #define CTXPOPUP_BG_IMAGE_BORDER 3 3 3 3
19 #define CTXPOPUP_BG_IMAGEEDITOR_BORDER 10 10 10 10
20 #define CTXPOPUP_BG_COLOR_INC 22 27 30 165
21 #define CTXPOPUP_BG_PRESS_COLOR_INC 42 137 194 255
22 #define CTXPOPUP_MAIN_TEXT_UNREAD_COLOR_INC 249 249 249 255
23 #define CTXPOPUP_MAIN_TEXT_PRESS_COLOR_INC 249 249 249 255
24 #define CTXPOPUP_SEPARATOR_COLOR_INC 200 200 200 255
25 #define CTXPOPUP_HORIZONTAL_SEPARATOR_COLOR_INC 200 200 200 255
26 #define CTXPOPUP_HORIZONTAL_SEPARATOR_MIN_SIZE_INC 1 0
27 #define CTXPOPUP_HORIZONTAL_SEPARATOR_MAX_SIZE_INC 1 999999
28 #define CTXPOPUP_VERTICAL_SEPARATOR_MIN_SIZE_INC 0 1
29 #define CTXPOPUP_VERTICAL_SEPARATOR_MAX_SIZE_INC 999999 1
30 #define CTXPOPUP_TP_BG_COLOR_INC 0 140 210 255
31 #define CTXPOPUP_ITEM_TEXT_SIZE_INC 33
32 #define CTXPOPUP_ITEM_MAIN_TEXT_SIZE_INC 33
33 #define CTXPOPUP_ITEM_HEIGHT_INC 112
34 #define CTXPOPUP_ITEM_ICON_INC 160 112
35 #define CTXPOPUP_ICON_WIDTH_INC 64
36 #define CTXPOPUP_ICON_HEIGHT_INC 64
37 #define CTXPOPUP_ARROW_SIZE_INC 40 24
38 #define CTXPOPUP_CONTENT_WIDTH_MAX_INC 630
39 #define CTXPOPUP_ITEM_PADDING_INC 35
40 #define CTXPOPUP_IE_ARROW_SIZE_INC 52
41 #define CTXPOPUP_IE_FONT_SIZE_INC 40
42 #define CTXPOPUP_IE_ITEM_PADDING_INC 22
43 #define CTXPOPUP_IE_ITEM_HEIGHT_INC 75
44 #define CTXPOPUP_IE_CONTENT_WIDTH_MAX_INC 720
45 #define CTXPOPUP_IE_ICON_WIDTH_INC 60
46 #define CTXPOPUP_IE_ICON_HEIGHT_INC 60
47 #define CTXPOPUP_TP_ARROW_SIZE_INC 30
48 #define CTXPOPUP_TP_HEIGHT_INC 106
49
50 ///////////////////////////////////////////////////////////////////////////////
51         group {
52                 name: "elm/scroller/base/video/ctxpopup";
53                 script {
54                         public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer;
55                         public timer0(val) {
56                                 new v;
57                         v = get_int(sbvis_v);
58                         if (v) {
59                                 v = get_int(sbalways_v);
60                                 if(!v) {
61                                         emit("do-hide-vbar", "");
62                                         set_int(sbvis_v, 0);
63                                 }
64                         }
65                         v = get_int(sbvis_h);
66                         if (v) {
67                                 v = get_int(sbalways_h);
68                                 if(!v) {
69                                         emit("do-hide-hbar", "");
70                                         set_int(sbvis_h, 0);
71                                 }
72                         }
73                         set_int(sbvis_timer, 0);
74                         return 0;
75                         }
76                 }
77                 images {
78                         image: "white/common/01_scroller.png" COMP;
79                 }
80                 parts {
81                         part {
82                                 name: "clipper";
83                                 type: RECT;
84                                 mouse_events: 0;
85                                 scale: 1;
86                                 description {
87                                         state: "default" 0.0;
88                                 }
89                         }
90                         part {
91                                 name: "elm.swallow.content";
92                                 clip_to: "clipper";
93                                 type: SWALLOW;
94                                 scale: 1;
95                                 description {
96                                         state: "default" 0.0;
97                                         align: 0.5 0.5;
98                                 }
99                         }
100                         part {
101                                 name: "sb_vbar_clip_master";
102                                 type: RECT;
103                                 mouse_events: 0;
104                                 description {
105                                         state: "default" 0.0;
106                                 }
107                                 description {
108                                         state: "hidden" 0.0;
109                                         visible: 0;
110                                         color: 255 255 255 0;
111                                 }
112                         }
113                         part {
114                                 name: "sb_vbar_clip";
115                                 clip_to:"sb_vbar_clip_master";
116                                 type: RECT;
117                                 mouse_events: 0;
118                                 scale: 1;
119                                 description {
120                                         state: "default" 0.0;
121                                         align: 0.0 0.0;
122                                         rel2{ to:"clipper"; relative: 1.0 1.0;}
123                                 }
124                                 description {
125                                         state: "hidden" 0.0;
126                                         visible: 0;
127                                         color: 255 255 255 0;
128                                 }
129                         }
130                         part {
131                                 name: "sb_vbar";
132                                 type: RECT;
133                                 mouse_events: 0;
134                                 scale: 1;
135                                 description {
136                                         state: "default" 0.0;
137                                         fixed: 1 1;
138                                         visible: 0;
139                                         align: 1.0 0.0;
140                                         rel1{ to:"clipper"; relative: 1.0 0.0; }
141                                         rel2{ to:"clipper"; relative: 1.0 1.0;}
142                                 }
143                         }
144                         part {
145                                 name: "elm.dragable.vbar";
146                                 clip_to: "sb_vbar_clip";
147                                 mouse_events: 0;
148                                 scale: 1;
149                                 dragable {
150                                         x: 0 0 0;
151                                         y: 1 1 0;
152                                         confine: "sb_vbar";
153                                 }
154                                 description {
155                                         state: "default" 0.0;
156                                         fixed: 1 1;
157                                         min: 14 32;
158                                         rel1 {
159                                                 relative: 0.5  0.5;
160                                                 to: "sb_vbar";
161                                         }
162                                         rel2 {
163                                                 relative: 0.5  0.5;
164                                                 to: "sb_vbar";
165                                         }
166                                         image {
167                                                 normal: "white/common/01_scroller.png";
168                                                 border: 0 0 6 6;
169                                                 border_scale: 1;
170                                         }
171                                 }
172                         }
173                         part {
174                                 name: "sb_hbar_clip_master";
175                                 type: RECT;
176                                 mouse_events: 0;
177                                 description {
178                                         state: "default" 0.0;
179                                 }
180                                 description {
181                                         state: "hidden" 0.0;
182                                         visible: 0;
183                                         color: 255 255 255 0;
184                                 }
185                         }
186                         part {
187                                 name: "sb_hbar_clip";
188                                 clip_to: "sb_hbar_clip_master";
189                                 type: RECT;
190                                 mouse_events: 0;
191                                 scale: 1;
192                                 description {
193                                         state: "default" 0.0;
194                                         align: 0.0 0.0;
195                                         rel2{ to:"clipper"; relative: 1.0 1.0;}
196                                 }
197                                 description {
198                                         state: "hidden" 0.0;
199                                         visible: 0;
200                                         color: 255 255 255 0;
201                                 }
202                         }
203                         part {
204                                 name: "sb_hbar";
205                                 type: RECT;
206                                 mouse_events: 0;
207                                 scale: 1;
208                                 description {
209                                         state: "default" 0.0;
210                                         fixed: 1 1;
211                                         visible: 0;
212                                         align: 0.0 1.0;
213                                         rel1 {to:"clipper"; relative: 0.0 1.0;}
214                                         rel2 {to:"clipper"; relative: 1.0 1.0;}
215                                 }
216                         }
217                         part {
218                                 name: "elm.dragable.hbar";
219                                 clip_to: "sb_hbar_clip";
220                                 mouse_events: 0;
221                                 scale: 1;
222                                 dragable {
223                                         x: 1 1 0;
224                                         y: 0 0 0;
225                                         confine: "sb_hbar";
226                                 }
227                                 description {
228                                         state: "default" 0.0;
229                                         fixed: 1 1;
230                                         min: 32 12;
231                                         rel1 {relative: 0.5  0.5; to: "sb_hbar";}
232                                         rel2 {relative: 0.5  0.5; to: "sb_hbar";}
233                                         image {
234                                                 normal: "white/common/01_scroller.png";
235                                                 border: 6 6 0 0;
236                                                 border_scale: 1;
237                                         }
238                                 }
239                         }
240                 }
241                 programs {
242                         program {
243                                 name: "load";
244                                 signal: "load";
245                                 source: "";
246                                 script {
247                                         set_state(PART:"sb_vbar_clip", "hidden", 0.0);
248                                         set_state(PART:"sb_hbar_clip", "hidden", 0.0);
249                                         set_int(sbvis_v, 0);
250                                         set_int(sbvis_h, 0);
251                                         set_int(sbalways_v, 0);
252                                         set_int(sbalways_h, 0);
253                                         set_int(sbvis_timer, 0);
254                                 }
255                         }
256                         program {
257                                 name: "vbar_show";
258                                 signal: "elm,action,show,vbar";
259                                 source: "elm";
260                                 action: STATE_SET "default" 0.0;
261                                 target: "sb_vbar_clip_master";
262                         }
263                         program {
264                                 name: "vbar_hide";
265                                 signal: "elm,action,hide,vbar";
266                                 source: "elm";
267                                 action:  STATE_SET "hidden" 0.0;
268                                 target: "sb_vbar_clip_master";
269                         }
270                         program {
271                                 name: "vbar_show_always";
272                                 signal: "elm,action,show_always,vbar";
273                                 source: "elm";
274                                 script {
275                                         new v;
276                                         v = get_int(sbvis_v);
277                                         v |= get_int(sbalways_v);
278                                         if (!v) {
279                                                 set_int(sbalways_v, 1);
280                                                 emit("do-show-vbar", "");
281                                                 set_int(sbvis_v, 1);
282                                         }
283                                 }
284                         }
285                         program {
286                                 name: "vbar_show_notalways";
287                                 signal: "elm,action,show_notalways,vbar";
288                                 source: "elm";
289                                 script {
290                                         new v;
291                                         v = get_int(sbalways_v);
292                                         if (v) {
293                                                 set_int(sbalways_v, 0);
294                                                 v = get_int(sbvis_v);
295                                                 if (!v) {
296                                                         emit("do-hide-vbar", "");
297                                                 set_int(sbvis_v, 0);
298                                                 }
299                                         }
300                                 }
301                         }
302                         program {
303                                 name: "sb_vbar_show";
304                                 signal: "do-show-vbar";
305                                 source: "";
306                                 action:  STATE_SET "default" 0.0;
307                                 transition: LINEAR 1.0;
308                                 target: "sb_vbar_clip";
309                         }
310                         program {
311                                 name: "sb_vbar_hide";
312                                 signal: "do-hide-vbar";
313                                 source: "";
314                                 action:  STATE_SET "hidden" 0.0;
315                                 transition: LINEAR 1.0;
316                                 target: "sb_vbar_clip";
317                         }
318                         program {
319                                 name: "hbar_show";
320                                 signal: "elm,action,show,hbar";
321                                 source: "elm";
322                                 action:  STATE_SET "default" 0.0;
323                                 target: "sb_hbar_clip_master";
324                         }
325                         program {
326                                 name: "hbar_hide";
327                                 signal: "elm,action,hide,hbar";
328                                 source: "elm";
329                                 action:  STATE_SET "hidden" 0.0;
330                                 target: "sb_hbar_clip_master";
331                         }
332                         program {
333                                 name: "hbar_show_always";
334                                 signal: "elm,action,show_always,hbar";
335                                 source: "elm";
336                                 script {
337                                         new v;
338                                         v = get_int(sbvis_h);
339                                         v |= get_int(sbalways_h);
340                                         if (!v) {
341                                                 set_int(sbalways_h, 1);
342                                                 emit("do-show-hbar", "");
343                                                 set_int(sbvis_h, 1);
344                                         }
345                                 }
346                         }
347                         program {
348                                 name: "hbar_show_notalways";
349                                 signal: "elm,action,show_notalways,hbar";
350                                 source: "elm";
351                                 script {
352                                         new v;
353                                         v = get_int(sbalways_h);
354                                         if (v) {
355                                                 set_int(sbalways_h, 0);
356                                                 v = get_int(sbvis_h);
357                                                 if (!v) {
358                                                         emit("do-hide-hbar", "");
359                                                         set_int(sbvis_h, 0);
360                                                 }
361                                         }
362                                 }
363                         }
364                         program {
365                                 name: "sb_hbar_show";
366                                 signal: "do-show-hbar";
367                                 source: "";
368                                 action:  STATE_SET "default" 0.0;
369                                 transition: LINEAR 1.0;
370                                 target: "sb_hbar_clip";
371                         }
372                         program {
373                                 name: "sb_hbar_hide";
374                                 signal: "do-hide-hbar";
375                                 source: "";
376                                 action:  STATE_SET "hidden" 0.0;
377                                 transition: LINEAR 1.0;
378                                 target: "sb_hbar_clip";
379                         }
380                         program {
381                                 name: "scroll";
382                                 signal: "elm,action,scroll";
383                                 source: "elm";
384                                 action:  STATE_SET "default" 0.0;
385                                 script {
386                                         new v;
387                                         v = get_int(sbvis_v);
388                                         v |= get_int(sbalways_v);
389                                         if (!v) {
390                                                 emit("do-show-vbar", "");
391                                                 set_int(sbvis_v, 1);
392                                         }
393                                         v = get_int(sbvis_h);
394                                         v |= get_int(sbalways_h);
395                                         if(!v) {
396                                                 emit("do-show-hbar", "");
397                                                 set_int(sbvis_h, 1);
398                                         }
399                                         v = get_int(sbvis_timer);
400                                         if (v > 0) cancel_timer(v);
401                                         v = timer(2.0, "timer0", 0);
402                                         set_int(sbvis_timer, v);
403                                 }
404                         }
405                 }
406         }
407 ///////////////////////////////////////////////////////////////////////////////
408         group {
409                 name: "elm/ctxpopup/bg/video/pass_event";
410                 alias: "elm/ctxpopup/bg/video/extended/entry/pass_event";
411                 alias: "elm/ctxpopup/bg/video/extended/entry";
412                 alias: "elm/ctxpopup/bg/video/timepicker";
413                 parts {
414                         part {
415                                 name: "bg";
416                                 type: RECT;
417                                 description {
418                                         state: "default" 0.0;
419                                         visible: 0;
420                                 }
421                                 description {
422                                         state: "visible" 0.0;
423                                         visible: 0;
424                                 }
425                         }
426                 }
427                 programs {
428                         program {
429                                 name: "show";
430                                 signal: "elm,state,show";
431                                 source: "elm";
432                                 action: STATE_SET "visible" 0.0;
433                                 target: "bg";
434                         }
435                         program {
436                                 name: "hide";
437                                 signal: "elm,state,hide";
438                                 source: "elm";
439                                 action: STATE_SET "default" 0.0;
440                                 target: "bg";
441                         }
442                 }
443         }
444 ///////////////////////////////////////////////////////////////////////////////
445         group {
446                 name: "elm/ctxpopup/bg/video/default";
447                 parts {
448                         part {
449                                 name: "bg";
450                                 type: RECT;
451                                 mouse_events: 1;
452                                 description {
453                                         state: "default" 0.0;
454                                         visible: 0;
455                                 }
456                                 description {
457                                         state: "visible" 0.0;
458                                         color: 0 0 0 0;
459                                         visible: 1;
460                                 }
461                         }
462                 }
463                 programs {
464                         program {
465                                 name:   "clicked_event";
466                                 signal: "mouse,clicked,1";
467                                 source: "bg";
468                                 action: SIGNAL_EMIT "elm,action,click" "";
469                         }
470                         program {
471                                 name: "show";
472                                 signal: "elm,state,show";
473                                 source: "elm";
474                                 action: STATE_SET "visible" 0.0;
475                                 target: "bg";
476                         }
477                         program {
478                                 name: "hide";
479                                 signal: "elm,state,hide";
480                                 source: "elm";
481                                 action: STATE_SET "default" 0.0;
482                                 target: "bg";
483                         }
484                 }
485         }
486
487         group {
488                 name: "elm/ctxpopup/base/video/default";
489                 images {
490                         image: CTXPOPUP_BUBBLE_BG_IMAGE COMP;
491                         image: CTXPOPUP_BG_IMAGE COMP;
492                 }
493                 parts {
494                         part {
495                                 name:"frame_shadow_left_top_padding";
496                                 type:RECT;
497                                 scale: 1;
498                                 mouse_events: 0;
499                                 description {
500                                         min: CTXPOPUP_SHADOW_PADDING CTXPOPUP_SHADOW_PADDING;
501                                         max: CTXPOPUP_SHADOW_PADDING CTXPOPUP_SHADOW_PADDING;
502                                         rel2 { relative: 0 0; }
503                                         align: 1 1;
504                                         fixed: 1 1;
505                                         visible: 0;
506                                 }
507                         }
508                         part {
509                                 name:"frame_shadow_right_bottom_padding";
510                                 type:RECT;
511                                 scale: 1;
512                                 mouse_events: 0;
513                                 description {
514                                         min: CTXPOPUP_SHADOW_PADDING CTXPOPUP_SHADOW_PADDING;
515                                         max: CTXPOPUP_SHADOW_PADDING CTXPOPUP_SHADOW_PADDING;
516                                         rel1{relative: 1 1;}
517                                         align: 0 0;
518                                         fixed: 1 1;
519                                         visible: 0;
520                                 }
521                         }
522
523                         part {
524                                 name: "frame_shadow";
525                                 type: IMAGE;
526                                 scale: 1;
527                                 mouse_events: 0;
528                                 clip_to: "ctxpopup_clip";
529                                 description {
530                                         state: "default" 0.0;
531                                         visible: 0;
532                                         rel1 {
533                                         relative: 0.2 0.2;
534                                                 to:"frame_shadow_left_top_padding";
535                                         }
536                                         rel2 {
537                                                 relative: 0.8 0.8;
538                                                 to:"frame_shadow_right_bottom_padding";
539                                         }
540                                         image {
541                                                 normal: CTXPOPUP_BUBBLE_BG_IMAGE;
542                                                 border: CTXPOPUP_BUBBLE_BG_IMAGE_BORDER;
543                                                 border_scale: 1;
544                                         }
545                                 }
546                         }
547
548                         part { name: "arrow_area_left";
549                                 type: RECT;
550                                 mouse_events: 0;
551                                 scale: 1;
552                                 clip_to: "ctxpopup_clip";
553                                 description { state: "default" 0.0;
554                                         visible: 0;
555                                         min: 40 0;
556                                         fixed: 1 1;
557                                         align: 1 0.5;
558                                         rel1 {
559                                                 relative: 0 1;
560                                                 to_y: "ctxpopup_frame_left_top";
561                                         }
562                                         rel2 {
563                                                 relative:0 0;
564                                                 to:"ctxpopup_frame_left_bottom";
565                                         }
566                                 }
567                         }
568                         part { name: "arrow_area_right";
569                                 type: RECT;
570                                 mouse_events: 0;
571                                 scale: 1;
572                                 clip_to: "ctxpopup_clip";
573                                 description { state: "default" 0.0;
574                                         visible: 0;
575                                         min: 40 0;
576                                         fixed: 1 1;
577                                         align: 0 0.5;
578                                         rel1 {
579                                                 relative: 1 1;
580                                                 to:"ctxpopup_frame_right_top";
581                                         }
582                                         rel2 {
583                                                 relative: 1 0;
584                                                 to_y: "ctxpopup_frame_right_bottom";
585                                         }
586                                 }
587                         }
588                         part { name: "arrow_area_up";
589                                 type: RECT;
590                                 mouse_events: 0;
591                                 scale: 1;
592                                 clip_to: "ctxpopup_clip";
593                                 description { state: "default" 0.0;
594                                         visible: 0;
595                                         min: 0 40;
596                                         fixed: 1 1;
597                                         align: 0.5 1;
598                                         rel1 {
599                                                 relative: 1 0;
600                                                 to_x: "ctxpopup_frame_left_top";
601                                         }
602                                         rel2 {
603                                                 relative: 0 0;
604                                                 to:"ctxpopup_frame_right_top";
605                                         }
606                                 }
607                         }
608                         part { name: "arrow_area_down";
609                                 type: RECT;
610                                 mouse_events: 0;
611                                 scale: 1;
612                                 clip_to: "ctxpopup_clip";
613                                 description { state: "default" 0.0;
614                                         visible: 0;
615                                         min: 0 40;
616                                         fixed: 1 1;
617                                         align: 0.5 0;
618                                         rel1 {
619                                                 relative: 1 1;
620                                                 to:"ctxpopup_frame_left_bottom";
621                                         }
622                                         rel2 {
623                                                 relative: 0 1;
624                                                 to_x: "ctxpopup_frame_right_bottom";
625                                         }
626                                 }
627                         }
628                         part { name: "elm.swallow.arrow_up";
629                                 type: SWALLOW;
630                                 mouse_events: 0;
631                                 scale: 1;
632                                 clip_to: "ctxpopup_clip";
633                                 dragable {
634                                         x: 1 1 0;
635                                         y: 1 1 0;
636                                         confine: "arrow_area_up";
637                                 }
638                                 description {
639                                         state: "default" 0.0;
640                                         min: 40 40;
641                                         fixed: 1 1;
642                                         visible: 1;
643                                 }
644                         }
645                         part { name: "elm.swallow.arrow_down";
646                                 type: SWALLOW;
647                                 mouse_events: 0;
648                                 scale: 1;
649                                 clip_to: "ctxpopup_clip";
650                                 dragable {
651                                         x: 1 1 0;
652                                         y: 1 1 0;
653                                         confine: "arrow_area_down";
654                                 }
655                                 description {
656                                         state: "default" 0.0;
657                                         min: 40 40;
658                                         fixed: 1 1;
659                                         visible: 1;
660                                 }
661                         }
662                         part { name: "elm.swallow.arrow_left";
663                                 type: SWALLOW;
664                                 mouse_events: 0;
665                                 scale: 1;
666                                 clip_to: "ctxpopup_clip";
667                                 dragable {
668                                         x: 1 1 0;
669                                         y: 1 1 0;
670                                         confine: "arrow_area_left";
671                                 }
672                                 description {
673                                         state: "default" 0.0;
674                                         min: 40 40;
675                                         fixed: 1 1;
676                                         visible: 1;
677                                 }
678                         }
679                         part { name: "elm.swallow.arrow_right";
680                                 type: SWALLOW;
681                                 mouse_events: 0;
682                                 scale: 1;
683                                 clip_to: "ctxpopup_clip";
684                                 dragable {
685                                         x: 1 1 0;
686                                         y: 1 1 0;
687                                         confine: "arrow_area_right";
688                                 }
689                                 description {
690                                         state: "default" 0.0;
691                                         min: 40 40;
692                                         fixed: 1 1;
693                                         visible: 1;
694                                 }
695                         }
696
697                         part {
698                                 name: "ctxpopup_frame_left_top";
699                                 type: RECT;
700                                 scale: 1;
701                                 description {
702                                         visible: 0;
703                                         align: 0 0;
704                                         min: CTXPOPUP_FRAME_CORNER_SIZE;
705                                         max: CTXPOPUP_FRAME_CORNER_SIZE;
706                                 }
707                         }
708
709                         part {
710                                 name: "ctxpopup_frame_right_top";
711                                 type: RECT;
712                                 scale: 1;
713                                 description {
714                                         visible: 0;
715                                         align: 1 0;
716                                         min: CTXPOPUP_FRAME_CORNER_SIZE;
717                                         max: CTXPOPUP_FRAME_CORNER_SIZE;
718                                 }
719                         }
720
721                         part {
722                                 name: "ctxpopup_frame_left_bottom";
723                                 type: RECT;
724                                 scale: 1;
725                                 description {
726                                         visible: 0;
727                                         align: 0 1;
728                                         min: CTXPOPUP_FRAME_CORNER_SIZE;
729                                         max: CTXPOPUP_FRAME_CORNER_SIZE;
730                                 }
731                         }
732
733                         part {
734                                 name: "ctxpopup_frame_right_bottom";
735                                 type: RECT;
736                                 scale: 1;
737                                 description {
738                                         visible: 0;
739                                         align: 1 1;
740                                         min: CTXPOPUP_FRAME_CORNER_SIZE;
741                                         max: CTXPOPUP_FRAME_CORNER_SIZE;
742                                 }
743                         }
744                         part {
745                                 name:"list_shadow_right_bottom_padding";
746                                 type:RECT;
747                                 scale: 1;
748                                 mouse_events: 0;
749                                 description {
750                                         min: CTXPOPUP_LIST_SHADOW_PADDING CTXPOPUP_LIST_SHADOW_PADDING;
751                                         max: CTXPOPUP_LIST_SHADOW_PADDING CTXPOPUP_LIST_SHADOW_PADDING;
752                                         align: 0 0;
753                                         fixed: 1 1;
754                                         visible: 0;
755                                         rel1 {to:"elm.swallow.content";  relative: 1 1;}
756                                 }
757                         }
758                         part {
759                                 name:"content_left_top_padding";
760                                 type:RECT;
761                                 scale: 1;
762                                 mouse_events: 0;
763                                 description {
764                                         state: "default" 0.0;
765                                         min: CTXPOPUP_LIST_PADDING CTXPOPUP_LIST_PADDING;
766                                         max: CTXPOPUP_LIST_PADDING CTXPOPUP_LIST_PADDING;
767                                         align: 0 0;
768                                         fixed: 1 1;
769                                         visible: 0;
770                                 }
771                         }
772                         part {
773                                 name:"content_right_bottom_padding";
774                                 type:RECT;
775                                 scale: 1;
776                                 mouse_events: 0;
777                                 description {
778                                         min: CTXPOPUP_LIST_PADDING CTXPOPUP_LIST_PADDING;
779                                         max: CTXPOPUP_LIST_PADDING CTXPOPUP_LIST_PADDING;
780                                         rel1 { relative: 1 1;}
781                                         rel2 { relative: 1 1;}
782                                         align: 1 1;
783                                         fixed: 1 1;
784                                         visible: 0;
785                                 }
786                         }
787
788
789                         part {
790                                 name: "frame_bg";
791                                 type: IMAGE;
792                                 scale: 1;
793                                 mouse_events: 0;
794                                 clip_to: "ctxpopup_clip";
795                                 description {
796                                         state: "default" 0.0;
797                                         visible: 1;
798                                         rel1 {to:"ctxpopup_frame_left_top";}
799                                         rel2 {to:"ctxpopup_frame_right_bottom";}
800                                         image {
801                                                 normal: CTXPOPUP_BG_IMAGE;
802                                                 border: CTXPOPUP_BG_IMAGE_BORDER;
803                                                 border_scale: 1;
804                                         }
805                                 }
806                         }
807                         part {
808                                 name: "elm.swallow.content";
809                                 type: SWALLOW;
810                                 clip_to: "ctxpopup_clip";
811                                 description {
812                                         state: "default" 0.0;
813                                         align: 0 0;
814                                         rel1 {to:"ctxpopup_frame_left_top";  relative: 0.5 0.5;}
815                                         rel2 {to:"ctxpopup_frame_right_bottom";  relative: 0.5 0.5;}
816                                 }
817                         }
818                         part { name: "ctxpopup_clip";
819                                 type: RECT;
820                                 description { state: "default" 0.0;
821                                 color: 255 255 255 0;
822                                 rel1 { to:"ctxpopup_frame_left_top"; relative: 0.5 0.5; }
823                                 rel2 { to:"ctxpopup_frame_right_bottom"; relative: 0.5 0.5; }
824                                 }
825                                 description { state: "show_up" 0.0;
826                                         color: 255 255 255 0;
827                                         rel1 { to:"arrow_area_down"; relative: 0 1; }
828                                         rel2 { to:"arrow_area_down"; relative: 1 1; }
829                                 }
830                                 description { state: "show_left" 0.0;
831                                         color: 255 255 255 0;
832                                         rel1 { to:"arrow_area_right"; relative: 1 0; }
833                                         rel2 { to:"arrow_area_right"; relative: 1 1; }
834                                 }
835                                 description { state: "show_right" 0.0;
836                                         color: 255 255 255 0;
837                                         rel1 { to:"arrow_area_left"; relative: 0 0; }
838                                         rel2 { to:"arrow_area_left"; relative: 0 1; }
839                                 }
840                                 description { state: "show_down" 0.0;
841                                         color: 255 255 255 0;
842                                         rel1 { to:"arrow_area_up"; relative: 0 0; }
843                                         rel2 { to:"arrow_area_up"; relative: 1 0; }
844                                 }
845                                 description { state: "hide_up" 0.0;
846                                         color: 255 255 255 255;
847                                         rel1 { to:"arrow_area_down"; relative: 0 1; }
848                                         rel2 { to:"arrow_area_down"; relative: 1 1; }
849                                 }
850                                 description { state: "hide_left" 0.0;
851                                         color: 255 255 255 255;
852                                         rel1 { to:"arrow_area_right"; relative: 1 0; }
853                                         rel2 { to:"arrow_area_right"; relative: 1 1; }
854                                 }
855                                 description { state: "hide_right" 0.0;
856                                         color: 255 255 255 255;
857                                         rel1 { to:"arrow_area_left"; relative: 0 0; }
858                                         rel2 { to:"arrow_area_left"; relative: 0 1; }
859                                 }
860                                 description { state: "hide_down" 0.0;
861                                         color: 255 255 255 255;
862                                         rel1 { to:"arrow_area_up"; relative: 0 0; }
863                                         rel2 { to:"arrow_area_up"; relative: 1 0; }
864                                 }
865                                 description { state: "visible" 0.0;
866                                         color: 255 255 255 255;
867                                         rel1 { to_x:"arrow_area_left"; to_y:"arrow_area_up"; }
868                                         rel2 { to_x:"arrow_area_right"; to_y:"arrow_area_down"; }
869                                 }
870                         }
871                 }
872                 programs {
873                         program { name: "show";
874                                 signal: "elm,state,show";
875                                 source: "elm";
876                                 action: STATE_SET "visible" 0.0;
877                                 transition: LINEAR 0.25;
878                                 target: "ctxpopup_clip";
879                         }
880                         program { name: "show_up";
881                                 signal: "elm,state,show,up";
882                                 source: "elm";
883                                 action: STATE_SET "show_up" 0.0;
884                                 transition: LINEAR 0.25;
885                                 target: "ctxpopup_clip";
886                         }
887                         program { name: "show_left";
888                                 signal: "elm,state,show,left";
889                                 source: "elm";
890                                 action: STATE_SET "show_left" 0.0;
891                                 transition: LINEAR 0.25;
892                                 target: "ctxpopup_clip";
893                         }
894                         program { name: "show_right";
895                                 signal: "elm,state,show,right";
896                                 source: "elm";
897                                 action: STATE_SET "show_right" 0.0;
898                                 transition: LINEAR 0.25;
899                                 target: "ctxpopup_clip";
900                         }
901                         program { name: "show_down";
902                                 signal: "elm,state,show,down";
903                                 source: "elm";
904                                 action: STATE_SET "show_down" 0.0;
905                                 transition: LINEAR 0.25;
906                                 target: "ctxpopup_clip";
907                         }
908                         program { name: "hide_up";
909                                 signal: "elm,state,hide,up";
910                                 source: "elm";
911                                 action: STATE_SET "hide_up" 0.0;
912                                 transition: LINEAR 0.25;
913                                 target: "ctxpopup_clip";
914                                 after: "hide_finished";
915                         }
916                         program { name: "hide_left";
917                                 signal: "elm,state,hide,left";
918                                 source: "elm";
919                                 action: STATE_SET "hide_left" 0.0;
920                                 transition: LINEAR 0.25;
921                                 target: "ctxpopup_clip";
922                                 after: "hide_finished";
923                         }
924                         program { name: "hide_right";
925                                 signal: "elm,state,hide,right";
926                                 source: "elm";
927                                 action: STATE_SET "hide_right" 0.0;
928                                 transition: LINEAR 0.25;
929                                 target: "ctxpopup_clip";
930                                 after: "hide_finished";
931                         }
932                         program { name: "hide_down";
933                                 signal: "elm,state,hide,down";
934                                 source: "elm";
935                                 action: STATE_SET "hide_down" 0.0;
936                                 transition: LINEAR 0.25;
937                                 target: "ctxpopup_clip";
938                                 after: "hide_finished";
939                         }
940                         program { name: "hide_finished";
941                                 action: SIGNAL_EMIT "elm,action,hide,finished" "";
942                         }
943                 }
944         }
945
946 ///////////////////////////////////////////////////////////////////////////////
947         group { name: "elm/ctxpopup/arrow/video/default";
948                 images {
949                         image: "white/common/00_popup_tail_left.png" COMP;
950                         image: "white/common/00_popup_tail_right.png" COMP;
951                         image: "white/common/00_popup_tail_top.png" COMP;
952                         image: "white/common/00_popup_tail_bottom.png" COMP;
953                         image: "white/common/T01-2_popup_arrow.png" COMP;
954                 }
955                 parts {
956                         part {
957                                 name: "ctxpopup_arrow";
958                                 type: IMAGE;
959                                 scale: 1;
960                                 description {
961                                         state: "default" 0.0;
962                                         min: CTXPOPUP_ARROW_SIZE_INC;
963                                         max: CTXPOPUP_ARROW_SIZE_INC;
964                                         fixed: 1 1;
965                                         visible: 0;
966                                         align: 0.5 0.5;
967                                 }
968                                 description {
969                                         state: "left" 0.0;
970                                         min: CTXPOPUP_ARROW_SIZE_INC;
971                                         max: CTXPOPUP_ARROW_SIZE_INC;
972                                         fixed: 1 1;
973                                         align: 1.0 0.5;
974                                         image {
975                                                 normal: "white/common/00_popup_tail_left.png";
976                                         }
977                                 }
978                                 description {
979                                         state: "right" 0.0;
980                                         min: CTXPOPUP_ARROW_SIZE_INC;
981                                         max: CTXPOPUP_ARROW_SIZE_INC;
982                                         fixed: 1 1;
983                                         align: 0.0 0.5;
984                                         image {
985                                                 normal: "white/common/00_popup_tail_right.png";
986                                         }
987                                 }
988                                 description {
989                                         state: "top" 0.0;
990                                         min: CTXPOPUP_ARROW_SIZE_INC;
991                                         max: CTXPOPUP_ARROW_SIZE_INC;
992                                         fixed: 1 1;
993                                         align: 0.5 1.0;
994                                         image {
995                                                 normal: "white/common/T01-2_popup_arrow.png";
996                                         }
997                                 }
998                                 description {
999                                         state: "bottom" 0.0;
1000                                         min: CTXPOPUP_ARROW_SIZE_INC;
1001                                         max: CTXPOPUP_ARROW_SIZE_INC;
1002                                         fixed: 1 1;
1003                                         align: 0.5 0.0;
1004                                         image {
1005                                                 normal: "white/common/00_popup_tail_bottom.png";
1006                                         }
1007                                 }
1008                         }
1009                 }
1010                 programs {
1011                         program {
1012                                 name: "enable_left_arrow";
1013                                 signal: "elm,state,left";
1014                                 source: "elm";
1015                                 action: STATE_SET "left" 0.0;
1016                                 target: "ctxpopup_arrow";
1017                         }
1018                         program {
1019                                 name: "enable_right_arrow";
1020                                 signal: "elm,state,right";
1021                                 source: "elm";
1022                                 action: STATE_SET "right" 0.0;
1023                                 target: "ctxpopup_arrow";
1024                         }
1025                         program {
1026                                 name: "enable_top_arrow";
1027                                 signal: "elm,state,top";
1028                                 source: "elm";
1029                                 action: STATE_SET "top" 0.0;
1030                                 target: "ctxpopup_arrow";
1031                         }
1032                         program {
1033                                 name: "enable_bottom_arrow";
1034                                 signal: "elm,state,bottom";
1035                                 source: "elm";
1036                                 action: STATE_SET "bottom" 0.0;
1037                                 target: "ctxpopup_arrow";
1038                         }
1039                 }
1040         }
1041 ///////////////////////////////////////////////////////////////////////////////
1042         group {
1043                 name: "elm/ctxpopup/text_style_item/video/default";
1044                 parts {
1045                         part {
1046                                 name: "event_blocker";
1047                                 mouse_events: 1;
1048                                 description {
1049                                         state: "default" 0.0;
1050                                         color: 0 0 0 0;
1051                                 }
1052                         }
1053                         part {
1054                                 name: "bg";
1055                                 mouse_events: 0;
1056                                 type: RECT;
1057                                 description {
1058                                         state: "default" 0.0;
1059                                         color: CTXPOPUP_BG_COLOR_INC;
1060                                         visible: 0;
1061                                 }
1062                                 description {
1063                                         state: "clicked" 0.0;
1064                                         color: CTXPOPUP_BG_PRESS_COLOR_INC;
1065                                         visible: 1;
1066                                 }
1067                         }
1068                         part {
1069                                 name: "separator";
1070                                 mouse_events: 0;
1071                                 type: RECT;
1072                                 scale: 1;
1073                                 description {
1074                                         state: "default" 0.0;
1075                                         color: CTXPOPUP_SEPARATOR_COLOR_INC;
1076                                         align: 0.5 0;
1077                                         min: 1 0;
1078                                         max: 1 999999;
1079                                         visible: 0;
1080                                 }
1081                                 description {
1082                                         state: "horizontal" 0.0;
1083                                         color: CTXPOPUP_HORIZONTAL_SEPARATOR_COLOR_INC;
1084                                         align: 0 0.5;
1085                                         min: CTXPOPUP_HORIZONTAL_SEPARATOR_MIN_SIZE_INC;
1086                                         max: CTXPOPUP_HORIZONTAL_SEPARATOR_MAX_SIZE_INC;
1087                                         visible: 1;
1088                                 }
1089                         description {
1090                                         state: "vertical" 0.0;
1091                                         color: CTXPOPUP_SEPARATOR_COLOR_INC;
1092                                         align: 0.5 0;
1093                                         min: 0 1;
1094                                         max: 999999 1;
1095                                         visible: 1;
1096                                 }
1097                         }
1098                         part {
1099                                 name: "left_padding";
1100                                 scale: 1;
1101                                 mouse_events: 0;
1102                                 description {
1103                                         state: "default" 0.0;
1104                                         min: 30 CTXPOPUP_ITEM_HEIGHT_INC;
1105                                         max: 30 CTXPOPUP_ITEM_HEIGHT_INC;
1106                                         align: 0 0.5;
1107                                         fixed: 1 1;
1108                                         visible: 0;
1109                                 }
1110                         }
1111                         part {
1112                                 name: "elm.text";
1113                                 type: TEXT;
1114                                 mouse_events: 0;
1115                                 scale: 1;
1116                                 description {
1117                                         state: "default" 0.0;
1118                                         min: 1 CTXPOPUP_ITEM_HEIGHT_INC;
1119                                         max: (CTXPOPUP_CONTENT_WIDTH_MAX_INC-2*CTXPOPUP_ITEM_PADDING_INC) CTXPOPUP_ITEM_HEIGHT_INC;
1120                                         fixed: 0 1;
1121                                         align: 0.5 0.5;
1122                                         rel1 {relative: 1.0 0.0; to: "left_padding";}
1123                                         rel2 {relative: 0.0 1.0; to: "right_padding";}
1124                                         color: CTXPOPUP_MAIN_TEXT_UNREAD_COLOR_INC;
1125                                         text {
1126                                                 font: "SLP:style=Regular";
1127                                                 size: CTXPOPUP_ITEM_TEXT_SIZE_INC;
1128                                                 align: 0 0.5;
1129                                                 min: 1 1;
1130                                                 text_class: "list_item";
1131                                         }
1132                                 }
1133                                 description {
1134                                         state: "text_horizontal" 0.0;
1135                                         inherit: "default" 0.0;
1136                                         text {
1137                                                 size: CTXPOPUP_ITEM_MAIN_TEXT_SIZE_INC;
1138                                                 align: 0.5 0.5;
1139                                                 min: 1 1;
1140                                         }
1141                                 }
1142                                 description {
1143                                         state: "compress" 0.0;
1144                                         inherit: "default" 0.0;
1145                                         max: -1 -1;
1146                                         text {
1147                                                 min: 0 1;
1148                                         }
1149                                 }
1150                                 description {
1151                                         state: "compress.text_horizontal" 0.0;
1152                                         inherit: "default" 0.0;
1153                                         max: -1 -1;
1154                                         text {
1155                                                 size: CTXPOPUP_ITEM_MAIN_TEXT_SIZE_INC;
1156                                                 align: 0.5 0.5;
1157                                                 min: 0 1;
1158                                         }
1159                                 }
1160                                 description {
1161                                         state: "clicked" 0.0;
1162                                         inherit: "default" 0.0;
1163                                         color: CTXPOPUP_MAIN_TEXT_PRESS_COLOR_INC;
1164                                 }
1165                                 description {
1166                                         state: "clicked.text_horizontal" 0.0;
1167                                         inherit: "default" 0.0;
1168                                         color: CTXPOPUP_MAIN_TEXT_PRESS_COLOR_INC;
1169                                         text {
1170                                                 size: CTXPOPUP_ITEM_MAIN_TEXT_SIZE_INC;
1171                                                 align: 0.5 0.5;
1172                                                 min: 0 1;
1173                                         }
1174                                 }
1175                         }
1176                         part {
1177                                 name: "right_padding";
1178                                 scale: 1;
1179                                 mouse_events: 0;
1180                                 description {
1181                                         state: "default" 0.0;
1182                                         visible: 0;
1183                                         min: 30 CTXPOPUP_ITEM_HEIGHT_INC;
1184                                         max: 30 CTXPOPUP_ITEM_HEIGHT_INC;
1185                                         fixed: 1 0;
1186                                         align: 1.0 0.5;
1187                                 }
1188                         }
1189                         part {
1190                                 name: "over1";
1191                                 mouse_events: 1;
1192                                 repeat_events: 1;
1193                                 ignore_flags: ON_HOLD;
1194                                 description {
1195                                         state: "default" 0.0;
1196                                 }
1197                         }
1198                         part {
1199                                 name: "over2";
1200                                 mouse_events: 1;
1201                                 repeat_events: 1;
1202                                 description {
1203                                         state: "default" 0.0;
1204                                 }
1205                         }
1206                         part {
1207                                 name: "disclip";
1208                                 type: RECT;
1209                                 description {
1210                                         state: "default" 0.0;
1211                                         visible: 0;
1212                                 }
1213                                 description {
1214                                         state: "disabled" 0.0;
1215                                         visible: 1;
1216                                         color: CTXPOPUP_ITEM_DISABLED_COLOR;
1217                                 }
1218                         }
1219                 }
1220                 programs {
1221                         program {
1222                                 name: "item_unclick";
1223                                 signal: "mouse,up,1";
1224                                 source: "over1";
1225                                 action: SIGNAL_EMIT "elm,action,click" "";
1226                         }
1227                         program {
1228                                 name: "disable";
1229                                 signal: "elm,state,disabled";
1230                                 source: "elm";
1231                                 action: STATE_SET "disabled" 0.0;
1232                                 target: "disclip";
1233                         }
1234                         program {
1235                                 name: "enable";
1236                                 signal: "elm,state,enabled";
1237                                 source: "elm";
1238                                 action: STATE_SET "default" 0.0;
1239                                 target: "disclip";
1240                         }
1241                         program {
1242                                 name: "default";
1243                                 signal: "elm,state,default";
1244                                 source: "elm";
1245                                 script {
1246                                         set_state(PART:"separator", "default", 0.0);
1247                                 }
1248                         }
1249                         program {
1250                                 name: "compress";
1251                                 signal: "elm,state,compress";
1252                                 source: "elm";
1253                                 script {
1254                                         new st[31];
1255                                         new Float:vl;
1256                                         get_state(PART:"separator", st, 30, vl);
1257                                         if (!strcmp(st, "horizontal"))
1258                                                 set_state(PART:"elm.text", "compress.text_horizontal", 0.0);
1259                                         else
1260                                                 set_state(PART:"elm.text", "compress", 0.0);
1261                                 }
1262                         }
1263                         program {
1264                                 name: "vertical";
1265                                 signal: "elm,state,vertical";
1266                                 source: "elm";
1267                                 script {
1268                                         set_state(PART:"separator", "vertical", 0.0);
1269                                         set_state(PART:"elm.text", "vertical", 0.0);
1270                                 }
1271                         }
1272                         program {
1273                                 name: "horizontal";
1274                                 signal: "elm,state,horizontal";
1275                                 source: "elm";
1276                                 script {
1277                                         set_state(PART:"separator", "horizontal", 0.0);
1278                                         set_state(PART:"elm.text", "text_horizontal", 0.0);
1279                                 }
1280                         }
1281                         program {
1282                                 name: "text_horizontal";
1283                                 signal: "elm,state,text_horizontal";
1284                                 source: "elm";
1285                                 script {
1286                                         set_state(PART:"separator", "default", 0.0);
1287                                         set_state(PART:"elm.text", "text_horizontal", 0.0);
1288                                 }
1289                         }
1290                         program {
1291                                 name: "item_click2";
1292                                 signal: "mouse,down,1";
1293                                 source: "over2";
1294                                 script {
1295                                         new st[31];
1296                                         new Float:vl;
1297                                         get_state(PART:"separator", st, 30, vl);
1298                                         if (!strcmp(st, "horizontal"))
1299                                                 set_state(PART:"elm.text", "clicked.text_horizontal", 0.0);
1300                                         else
1301                                                 set_state(PART:"elm.text", "clicked", 0.0);
1302                                         set_state(PART:"bg", "clicked", 0.0);
1303                                 }
1304                         }
1305                         program {
1306                                 name: "item_unclick2";
1307                                 signal: "mouse,up,1";
1308                                 source: "over2";
1309                                 script {
1310                                         new st[31];
1311                                         new Float:vl;
1312                                         get_state(PART:"separator", st, 30, vl);
1313                                         if (!strcmp(st, "horizontal"))
1314                                                 set_state(PART:"elm.text", "compress.text_horizontal", 0.0);
1315                                         else
1316                                                 set_state(PART:"elm.text", "compress", 0.0);
1317                                         set_state(PART:"bg", "default", 0.0);
1318                                 }
1319                         }
1320                 }
1321         }
1322 ///////////////////////////////////////////////////////////////////////////////
1323         group {
1324                 name: "elm/ctxpopup/icon_style_item/video/default";
1325                 parts {
1326                         part {
1327                                 name: "event_blocker";
1328                                 mouse_events: 1;
1329                                 description {
1330                                         state: "default" 0.0;
1331                                         color: 0 0 0 0;
1332                                 }
1333                         }
1334                         part {
1335                                 name: "bg";
1336                                 scale: 1;
1337                                 mouse_events: 0;
1338                                 type: RECT;
1339                                 description {
1340                                         state: "default" 0.0;
1341                                         color: CTXPOPUP_BG_COLOR_INC;
1342                                         visible: 0;
1343                                         min: CTXPOPUP_ITEM_ICON_INC;
1344                                         max: CTXPOPUP_ITEM_ICON_INC;
1345                                 }
1346                                 description {
1347                                         state: "clicked" 0.0;
1348                                         color: CTXPOPUP_BG_PRESS_COLOR_INC;
1349                                         visible: 1;
1350                                 }
1351                         }
1352                         part {
1353                                 name: "left_top_padding";
1354                                 scale: 1;
1355                                 description {
1356                                         min: (CTXPOPUP_ITEM_PADDING_INC * 2) CTXPOPUP_ITEM_PADDING_INC;
1357                                         max: (CTXPOPUP_ITEM_PADDING_INC * 2) CTXPOPUP_ITEM_PADDING_INC;
1358                                         visible: 0;
1359                                         align: 0 0;
1360                                         fixed: 1 1;
1361                                 }
1362                         }
1363                         part {
1364                                 name: "separator";
1365                                 mouse_events: 0;
1366                                 type: RECT;
1367                                 scale: 1;
1368                                 description {
1369                                         state: "default" 0.0;
1370                                         color: CTXPOPUP_SEPARATOR_COLOR_INC;
1371                                         align: 0.5 0;
1372                                         min: 1 0;
1373                                         max: 1 999999;
1374                                         visible: 0;
1375                                 }
1376                                 description {
1377                                         state: "horizontal" 0.0;
1378                                         color: CTXPOPUP_HORIZONTAL_SEPARATOR_COLOR_INC;
1379                                         align: 0 0.5;
1380                                         min: CTXPOPUP_HORIZONTAL_SEPARATOR_MIN_SIZE_INC;
1381                                         max: CTXPOPUP_HORIZONTAL_SEPARATOR_MAX_SIZE_INC;
1382                                         visible: 1;
1383                                 }
1384                         description {
1385                                         state: "vertical" 0.0;
1386                                         color: CTXPOPUP_HORIZONTAL_SEPARATOR_COLOR_INC;
1387                                         align: 0.5 0;
1388                                         min: CTXPOPUP_VERTICAL_SEPARATOR_MIN_SIZE_INC;
1389                                         max: CTXPOPUP_VERTICAL_SEPARATOR_MAX_SIZE_INC;
1390                                         visible: 1;
1391                                 }
1392                         }
1393                         part {
1394                                 name: "elm.swallow.icon";
1395                                 type: SWALLOW;
1396                                 scale: 1;
1397                                 description {
1398                                         state: "default" 0.0;
1399                                         min: (CTXPOPUP_ICON_WIDTH_INC - 10) (CTXPOPUP_ICON_HEIGHT_INC - 10);
1400                                         max: (CTXPOPUP_ICON_WIDTH_INC - 10) (CTXPOPUP_ICON_HEIGHT_INC - 10);
1401                                         align: 0.5 0.5;
1402                                         aspect: 1.0 1.0;
1403                                         rel1 { to: "left_top_padding"; relative: 1 1; }
1404                                         rel2 { to: "right_bottom_padding"; relative: 0 0; }
1405                                 }
1406                         }
1407                         part {
1408                                 name: "right_bottom_padding";
1409                                 scale: 1;
1410                                 description {
1411                                         min: (CTXPOPUP_ITEM_PADDING_INC * 2) CTXPOPUP_ITEM_PADDING_INC;
1412                                         max: (CTXPOPUP_ITEM_PADDING_INC * 2) CTXPOPUP_ITEM_PADDING_INC;
1413                                         visible: 0;
1414                                         align: 1 1;
1415                                         fixed: 1 1;
1416                                 }
1417                         }
1418                         part {
1419                                 name: "over1";
1420                                 mouse_events: 1;
1421                                 repeat_events: 1;
1422                                 ignore_flags: ON_HOLD;
1423                                 description {
1424                                         state: "default" 0.0;
1425                                 }
1426                         }
1427                         part {
1428                                 name: "over2";
1429                                 mouse_events: 1;
1430                                 repeat_events: 1;
1431                                 description {
1432                                         state: "default" 0.0;
1433                                 }
1434                         }
1435                         part {
1436                                 name: "disclip";
1437                                 type: RECT;
1438                                 description {
1439                                         state: "default" 0.0;
1440                                         visible: 0;
1441                                 }
1442                                 description {
1443                                         state: "disabled" 0.0;
1444                                         visible: 1;
1445                                         color: CTXPOPUP_ITEM_DISABLED_COLOR;
1446                                 }
1447                         }
1448                 }
1449                 programs {
1450                         program {
1451                                 name: "default";
1452                                 signal: "elm,state,default";
1453                                 source: "elm";
1454                                 script {
1455                                         set_state(PART:"separator", "default", 0.0);
1456                                 }
1457                         }
1458                         program {
1459                                 name: "vertical";
1460                                 signal: "elm,state,vertical";
1461                                 source: "elm";
1462                                 script {
1463                                         set_state(PART:"separator", "vertical", 0.0);
1464                                 }
1465                         }
1466                         program {
1467                                 name: "horizontal";
1468                                 signal: "elm,state,horizontal";
1469                                 source: "elm";
1470                                 script {
1471                                         set_state(PART:"separator", "horizontal", 0.0);
1472                                 }
1473                         }
1474                         program {
1475                                 name: "item_unclick";
1476                                 signal: "mouse,up,1";
1477                                 source: "over1";
1478                                 action: SIGNAL_EMIT "elm,action,click" "";
1479                         }
1480                         program {
1481                                 name: "disable";
1482                                 signal: "elm,state,disabled";
1483                                 source: "elm";
1484                                 action: STATE_SET "disabled" 0.0;
1485                                 target: "disclip";
1486                         }
1487                         program {
1488                                 name: "enable";
1489                                 signal: "elm,state,enabled";
1490                                 source: "elm";
1491                                 action: STATE_SET "default" 0.0;
1492                                 target: "disclip";
1493                         }
1494                         program {
1495                                 name: "item_click2";
1496                                 signal: "mouse,down,1";
1497                                 source: "over2";
1498                                 script {
1499                                         set_state(PART:"bg", "clicked", 0.0);
1500                                 }
1501                         }
1502                         program {
1503                                 name: "item_unclick2";
1504                                 signal: "mouse,up,1";
1505                                 source: "over2";
1506                                 script {
1507                                         set_state(PART:"bg", "default", 0.0);
1508                                 }
1509                         }
1510                 }
1511         }
1512 ///////////////////////////////////////////////////////////////////////////////
1513         group {
1514                 name: "elm/ctxpopup/icon_text_style_item/video/default";
1515                 parts {
1516                         part {
1517                                 name: "event_blocker";
1518                                 mouse_events: 1;
1519                                 description {
1520                                         state: "default" 0.0;
1521                                 }
1522                         }
1523                         part {
1524                                 name: "bg";
1525                                 mouse_events: 0;
1526                                 type: RECT;
1527                                 description {
1528                                         state: "default" 0.0;
1529                                         color: CTXPOPUP_BG_COLOR_INC;
1530                                         visible: 0;
1531                                 }
1532                                 description {
1533                                         state: "clicked" 0.0;
1534                                         color: CTXPOPUP_BG_PRESS_COLOR_INC;
1535                                         visible: 1;
1536                                 }
1537                         }
1538                         part {
1539                                 name: "icon_left_padding";
1540                                 scale: 1;
1541                                 mouse_events: 0;
1542                                 description {
1543                                         state: "default" 0.0;
1544                                         min: CTXPOPUP_ITEM_PADDING_INC CTXPOPUP_ITEM_HEIGHT_INC;
1545                                         max: CTXPOPUP_ITEM_PADDING_INC CTXPOPUP_ITEM_HEIGHT_INC;
1546                                         align: 0 0;
1547                                         fixed: 1 1;
1548                                         visible: 0;
1549                                 }
1550                         }
1551                         part {
1552                                 name: "separator";
1553                                 mouse_events: 0;
1554                                 type: RECT;
1555                                 scale: 1;
1556                                 description {
1557                                         state: "default" 0.0;
1558                                         color: CTXPOPUP_SEPARATOR_COLOR_INC;
1559                                         align: 0.5 0;
1560                                         min: 1 0;
1561                                         max: 1 999999;
1562                                         visible: 0;
1563                                 }
1564                                 description {
1565                                         state: "horizontal" 0.0;
1566                                         color: CTXPOPUP_HORIZONTAL_SEPARATOR_COLOR_INC;
1567                                         align: 0 0.5;
1568                                         min: CTXPOPUP_HORIZONTAL_SEPARATOR_MIN_SIZE_INC;
1569                                         max: CTXPOPUP_HORIZONTAL_SEPARATOR_MAX_SIZE_INC;
1570                                         visible: 1;
1571                                 }
1572                         description {
1573                                         state: "vertical" 0.0;
1574                                         color: CTXPOPUP_SEPARATOR_COLOR_INC;
1575                                         align: 0.5 0;
1576                                         min: 0 1;
1577                                         max: 999999 1;
1578                                         visible: 1;
1579                                 }
1580                         }
1581                         part {
1582                                 name: "elm.swallow.icon";
1583                                 type: SWALLOW;
1584                                 scale: 1;
1585                                 description {
1586                                         state: "default" 0.0;
1587                                         min: CTXPOPUP_ICON_WIDTH_INC CTXPOPUP_ICON_HEIGHT_INC;
1588                                         max: CTXPOPUP_ICON_WIDTH_INC CTXPOPUP_ICON_HEIGHT_INC;
1589                                         align: 0 0.5;
1590                                         aspect: 1.0 1.0;
1591                                         rel1 { to:"icon_left_padding"; relative: 1 0; }
1592                                 }
1593                         }
1594                         part {
1595                                 name: "icon_right_padding";
1596                                 scale: 1;
1597                                 mouse_events: 0;
1598                                 description {
1599                                         state: "default" 0.0;
1600                                         min: CTXPOPUP_ITEM_PADDING_INC CTXPOPUP_ITEM_HEIGHT_INC;
1601                                         max: CTXPOPUP_ITEM_PADDING_INC CTXPOPUP_ITEM_HEIGHT_INC;
1602                                         align: 0 0.5;
1603                                         fixed: 1 1;
1604                                         visible: 0;
1605                                         rel1 { to:"elm.swallow.icon"; relative: 1 1; }
1606                                 }
1607                         }
1608                         part {
1609                                 name: "elm.text";
1610                                 type:  TEXT;
1611                                 mouse_events:  0;
1612                                 scale: 1;
1613                                 description {
1614                                         state: "default" 0.0;
1615                                         min: 1 CTXPOPUP_ITEM_HEIGHT_INC;
1616                                         max: (CTXPOPUP_CONTENT_WIDTH_MAX_INC-(3*CTXPOPUP_ITEM_PADDING_INC)-CTXPOPUP_ICON_WIDTH_INC) CTXPOPUP_ITEM_HEIGHT_INC;
1617                                         fixed: 0 1;
1618                                         align: 0.5 0.5;
1619                                         rel1 {relative: 1.0 0.0; to_x: "icon_right_padding";}
1620                                         rel2 {relative: 0.0 1.0; to_x: "text_right_padding";}
1621                                         color: CTXPOPUP_MAIN_TEXT_UNREAD_COLOR_INC;
1622                                         text {
1623                                                 font: "SLP:style=Roman";
1624                                                 size: CTXPOPUP_ITEM_TEXT_SIZE_INC;
1625                                                 align: 0.0 0.5;
1626                                                 min: 1 1;
1627                                                 text_class: "list_item";
1628                                         }
1629                                 }
1630                                 description {
1631                                         state: "compress" 0.0;
1632                                         inherit: "default" 0.0;
1633                                         max: -1 -1;
1634                                         text {
1635                                                 min: 0 1;
1636                                         }
1637                                 }
1638                                 description {
1639                                         state: "clicked" 0.0;
1640                                         inherit: "default" 0.0;
1641                                         color: CTXPOPUP_MAIN_TEXT_PRESS_COLOR_INC;
1642                                 }
1643                         }
1644                         part {
1645                                 name: "text_right_padding";
1646                                 type: RECT;
1647                                 scale: 1;
1648                                 mouse_events: 0;
1649                                 description {
1650                                         state: "default" 0.0;
1651                                         visible: 0;
1652                                         min: CTXPOPUP_ITEM_PADDING_INC CTXPOPUP_ITEM_HEIGHT_INC;
1653                                         max: CTXPOPUP_ITEM_PADDING_INC CTXPOPUP_ITEM_HEIGHT_INC;
1654                                         fixed: 1 0;
1655                                         align: 1.0 0.5;
1656                         }
1657                         }
1658                         part {
1659                                 name: "over1";
1660                                 mouse_events: 1;
1661                                 repeat_events: 1;
1662                                 ignore_flags: ON_HOLD;
1663                                 description {
1664                                         state: "default" 0.0;
1665                                 }
1666                         }
1667                         part {
1668                                 name: "over2";
1669                                 mouse_events: 1;
1670                                 repeat_events: 1;
1671                                 description {
1672                                         state: "default" 0.0;
1673                                 }
1674                         }
1675                         part {
1676                                 name: "disclip";
1677                                 type: RECT;
1678                                 description {
1679                                         state: "default" 0.0;
1680                                         visible: 0;
1681                                 }
1682                                 description {
1683                                         state: "disabled" 0.0;
1684                                         visible: 1;
1685                                         color: CTXPOPUP_ITEM_DISABLED_COLOR;
1686                                 }
1687                         }
1688                 }
1689                 programs {
1690                         program {
1691                                 name: "item_unclick";
1692                                 signal: "mouse,up,1";
1693                                 source: "over1";
1694                                 action: SIGNAL_EMIT "elm,action,click" "";
1695                         }
1696                         program {
1697                                 name: "disable";
1698                                 signal: "elm,state,disabled";
1699                                 source: "elm";
1700                                 action: STATE_SET "disabled" 0.0;
1701                                 target: "disclip";
1702                         }
1703                         program {
1704                                 name: "enable";
1705                                 signal: "elm,state,enabled";
1706                                 source: "elm";
1707                                 action: STATE_SET "default" 0.0;
1708                                 target: "disclip";
1709                         }
1710                         program {
1711                                 name: "default";
1712                                 signal: "elm,state,default";
1713                                 source: "elm";
1714                                 script {
1715                                         set_state(PART:"separator", "default", 0.0);
1716                                 }
1717                         }
1718                         program {
1719                                 name: "compress";
1720                                 signal: "elm,state,compress";
1721                                 source: "elm";
1722                                 action: STATE_SET "compress" 0.0;
1723                                 target: "elm.text";
1724                         }
1725                         program {
1726                                 name: "vertical";
1727                                 signal: "elm,state,vertical";
1728                                 source: "elm";
1729                                 script {
1730                                         set_state(PART:"separator", "vertical", 0.0);
1731                                 }
1732                         }
1733                         program {
1734                                 name: "horizontal";
1735                                 signal: "elm,state,horizontal";
1736                                 source: "elm";
1737                                 script {
1738                                         set_state(PART:"separator", "horizontal", 0.0);
1739                                 }
1740                         }
1741                         program {
1742                                 name: "item_click2";
1743                                 signal: "mouse,down,1";
1744                                 source: "over2";
1745                                 script {
1746                                         set_state(PART:"elm.text", "clicked", 0.0);
1747                                         set_state(PART:"bg", "clicked", 0.0);
1748                                 }
1749                         }
1750                         program {
1751                                 name: "item_unclick2";
1752                                 signal: "mouse,up,1";
1753                                 source: "over2";
1754                                 script {
1755                                         set_state(PART:"elm.text", "compress", 0.0);
1756                                         set_state(PART:"bg", "default", 0.0);
1757                                 }
1758                         }
1759                 }
1760         }
1761
1762
1763
1764