Updating INI configuration file to work with most cameras.
[profile/ivi/camera.git] / edc / style_ctxpopup_camera_with_radio.edc
1 /*
2  * Copyright 2012  Samsung Electronics Co., Ltd
3  *
4  * Licensed under the Flora License, Version 1.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *        http://www.tizenopensource.org/license
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16
17
18 #include "../include/edc_image_name.h"
19 #include "../include/edc_string.h"
20 #include "cam_funcs.edc"
21 #define CONTROLBAR_SMALL_H 72 //65
22 //Ctxpopup Camera Shooting mode
23
24 //Content Layout
25 collections {
26 group {
27         name:"camera/layout";
28         parts {
29                 part {
30                         name: "elm.text";
31                         type:  TEXT;
32                         mouse_events:  0;
33                         scale: 1;
34                         description {
35                                 state: "default" 0.0;
36                                 min: 1 60;
37                                 max: 999999 60;
38                                 fixed: 0 1;
39                                 align: 0.5 0;
40                                 text {
41                                         font: FONT_NAME;
42                                         size:     30;
43                                         align:    0.036 0.5;
44                                         min: 1 1;
45                                         text: "Shooting mode";
46                                 }
47                         }
48                 }
49                 part {
50                         name: "elm.swallow.box";
51                         type: SWALLOW;
52                         description {
53                                 rel1 { to: "elm.text"; relative: 0 1; }
54                                 rel2 { offset: -1 -5;}
55                         }
56                 }
57         }
58 }
59
60 group {
61         name:"camera/layout/setting";
62         parts {
63                 part {
64                         name: "elm.text";
65                         type:  TEXT;
66                         mouse_events:  0;
67                         scale: 1;
68                         description {
69                                 state: "default" 0.0;
70                                 min: 1 60;
71                                 max: 999999 60;
72                                 fixed: 0 1;
73                                 align: 0.5 0;
74                                 text {
75                                         font: FONT_NAME;
76                                         size:     30;
77                                         align:    0.033 0.5;
78                                         min: 1 1;
79                                         text: "Shooting mode";
80                                 }
81                         }
82                 }
83                 part {
84                         name: "elm.swallow.box";
85                         type: SWALLOW;
86                         description {
87                                 rel1 { to: "elm.text"; relative: 0 1; }
88                                 rel2 { offset: -1 -5;}
89                         }
90                 }
91         }
92 }
93
94
95 #define MENU(part_name, relx1, rely1, relx2, rely2, to_part)  \
96         part { \
97                 name: "row."part_name; \
98                 type: SWALLOW; \
99                 scale: 1; \
100                 mouse_events: 1; \
101                 description { \
102                         state: "default" 0.0;   \
103                         visible: 1; \
104                         min: (180) (180); \
105                         max: (180) (180); \
106                         align: 0.5 0.5; \
107                         aspect: 1.0 1.0; \
108                         fixed: 1 1; \
109                         rel1 { relative: (relx1/720) (rely1/1280);  to:to_part;} \
110                         rel2 { relative: (relx2/720) (rely2/1280);  to:to_part;} \
111                 } \
112         } \
113
114 //Item Layout
115 group {
116         name: "camera/item";
117         script {
118                 public disabled_v;
119         }
120         parts {
121                 part {
122                         name: "bg";
123                         scale: 1;
124                         mouse_events: 0;
125                         type: RECT;
126                         description {
127                                 state: "default" 0.0;
128                                 visible: 1;
129                                 color: 0 0 0 0;
130                                 min: 160 103;
131                                 max: 550 103;
132                         }
133                 }
134                 part {
135                         name: "seprator";
136                         type: RECT;
137                         mouse_events: 0;
138                         scale: 1;
139                         description {
140                                 min: 1 1;
141                                 max: 999999 1;
142                                 fixed: 0 1;
143                                 color: 52 55 55 255;
144                                 align: 0.5 0;
145                                 rel1 { offset: 4 0; }
146                                 rel2 { offset: -5 -1; }
147                         }
148                 }
149                 part {
150                         name: "event_blocker";
151                         mouse_events: 1;
152                         description {
153                                 state: "default" 0.0;
154                         }
155                 }
156                 part {
157                         name: "check_left_padding";
158                         type: RECT;
159                         scale: 1;
160                         mouse_events: 0;
161                         description {
162                                 state: "default" 0.0;
163                                 min: 15 50;
164                                 max: 15 50;
165                                 align: 0 0;
166                                 fixed: 1 1;
167                                 visible: 0;
168                         }
169                 }
170                 part {
171                         name: "elm.swallow.radio";
172                         type: SWALLOW;
173                         scale: 1;
174                         description {
175                                 state: "default" 0.0;
176                                 min: 32 32;
177                                 max: 32 32;
178                                 fixed: 1 1;
179                                 align: 0 0.5;
180                                 rel1 { to:"check_left_padding"; relative: 1 0; }
181                         }
182                 }
183                 part {
184                         name: "icon_left_padding";
185                         type: RECT;
186                         scale: 1;
187                         mouse_events: 0;
188                         description {
189                                 state: "default" 0.0;
190                                 min: 1 50;
191                                 max: 1 50;
192                                 align: 0 0;
193                                 fixed: 1 1;
194                                 visible: 0;
195                                 rel1 { to_x: "elm.swallow.radio"; relative: 1 0; }
196                         }
197                 }
198                 part {
199                         name: "elm.swallow.icon";
200                         type: SWALLOW;
201                         scale: 1;
202                         description {
203                                 state: "default" 0.0;
204                                 min: 64 64;
205                                 max: 64 64;
206                                 align: 0 0.5;
207                                 aspect: 1.0 1.0;
208                                 rel1 { to:"icon_left_padding"; relative: 1 0; }
209                         }
210                 }
211                 part {
212                         name: "icon_right_padding";
213                         type: RECT;
214                         scale: 1;
215                         mouse_events: 0;
216                         description {
217                                 state: "default" 0.0;
218                                 min: 8 50;
219                                 max: 8 50;
220                                 align: 0 0.5;
221                                 fixed: 1 1;
222                                 visible: 0;
223                                 rel1 { to:"elm.swallow.icon"; relative: 1 0; }
224                         }
225                 }
226                 part {
227                         name: "elm.text";
228                         type:  TEXT;
229                         mouse_events:  0;
230                         scale: 1;
231                         description {
232                                 state: "default" 0.0;
233                                 min: 200 20;
234                                 max: 200 50;
235                                 fixed: 0 1;
236                                 align: 0.5 0.5;
237                                 rel1 {relative: 1.0 0.0; to_x: "icon_right_padding";}
238                                 rel2 {relative: 1.0 1.0; }
239                                 color: 255 255 255 255;
240                                 text {
241                                         font: FONT_NAME;
242                                         size:     30;
243                                         align:    0.0 0.5;
244                                         min: 0 0;
245                                 }
246                         }
247                         description {
248                                 state: "clicked" 0.0;
249                                 inherit: "default" 0.0;
250                                 color: 255 255 0 255;
251                         }
252                 }
253                 part {
254                         name: "elm.title_text";
255                         type:  TEXT;
256                         mouse_events:  0;
257                         scale: 1;
258                         description {
259                                 state: "default" 0.0;
260                                 min: 1 20;
261                                 max: 999999 50;
262                                 fixed: 0 1;
263                                 //align: 0.5 0.5;
264                                 rel1 {relative: 1.0 0.0; to_x: "check_left_padding";}
265                                 rel2 {relative: 1.0 1.0; }
266                                 color: 255 255 255 255;
267                                 text {
268                                         font: FONT_NAME;
269                                         size:     30;
270                                         align:    0.0 0.5;
271                                         min: 1 1;
272                                 }
273                         }
274                 }
275                 part {
276                         name: "over1";
277                         mouse_events: 1;
278                         repeat_events: 1;
279                         ignore_flags: ON_HOLD;
280                         description {
281                                 state: "default" 0.0;
282                         }
283                         description {
284                                 state: "disabled" 0.0;
285                                 inherit:  "default" 0.0;
286                                 visible: 0;
287                         }
288                 }
289                 part {
290                         name: "over2";
291                         mouse_events: 1;
292                         repeat_events: 1;
293                         description {
294                                 state: "default" 0.0;
295                                 color: 255 255 255 0;
296                         }
297                         description {
298                                 state: "clicked" 0.0;
299                                 color: 255 255 255 255;
300                         }
301                 }
302         }
303         programs {
304                 program {
305                         name:   "item_unclick3";
306                         signal: "mouse,up,1";
307                         source: "over1";
308                         action: SIGNAL_EMIT "elm,action,click" "";
309                 }
310                 program {
311                         name: "disable";
312                         signal: "elm,state,disabled";
313                         source: "elm";
314                         after: "disable_text";
315                 }
316                 program {
317                         name: "disable_text";
318                         script {
319                                 set_state(PART:"elm.text", "disabled", 0.0);
320                                 set_int( disabled_v, 1 );
321                         }
322                 }
323                 program {
324                         name: "enable";
325                         signal: "elm,state,enabled";
326                         source: "elm";
327                         after: "enable_text";
328                 }
329                 program {
330                         name: "enable_text";
331                         script {
332                                 set_state(PART:"elm.text", "enabled", 0.0);
333                                 set_int( disabled_v, 0 );
334                         }
335                 }
336                 program {
337                         name:   "button_click";
338                         signal: "mouse,down,1";
339                         source: "over2";
340                         script {
341                                 if(!get_int( disabled_v)) {
342                                         set_state(PART:"elm.text", "clicked", 0.0);
343                                         emit("elm.action.mouse.down", "");
344                                 }
345                         }
346                 }
347                 program {
348                         name:   "button_clicked";
349                         signal: "mouse,clicked,1";
350                         source: "over2";
351                         script {
352                                 if(!get_int( disabled_v)) {
353                                         set_state(PART:"elm.text", "default", 0.0);
354                                         emit("elm.action.mouse.clicked", "");
355                                 }
356                         }
357                 }
358
359         }
360         program {
361                 name:   "button_unclick";
362                 signal: "mouse,up,1";
363                 source: "over2";
364                 script {
365                         if(!get_int(disabled_v)) {
366                                 set_state(PART:"elm.text", "default", 0.0);
367                         }
368                 }
369         }
370 }
371
372 //setting Item Layout
373 group {
374         name: "camera/item/setting";
375         script {
376                 public disabled_v;
377         }
378         parts {
379                 part {
380                         name: "bg";
381                         scale: 1;
382                         mouse_events: 0;
383                         type: RECT;
384                         description {
385                                 state: "default" 0.0;
386                                 visible: 1;
387                                 color: 0 0 0 0;
388                                 min: 400 103;
389                                 max: 400 103;
390                         }
391                 }
392                 part {
393                         name: "seprator";
394                         type: RECT;
395                         mouse_events: 0;
396                         scale: 1;
397                         description {
398                                 min: 1 1;
399                                 max: 999999 1;
400                                 fixed: 0 1;
401                                 color: 52 55 55 255;
402                                 align: 0.5 0;
403                                 rel1 { offset: 4 0; }
404                                 rel2 { offset: -5 -1; }
405                         }
406                 }
407                 part {
408                         name: "event_blocker";
409                         mouse_events: 1;
410                         description {
411                                 state: "default" 0.0;
412                         }
413                 }
414                 part {
415                         name: "check_left_padding";
416                         type: RECT;
417                         scale: 1;
418                         mouse_events: 0;
419                         description {
420                                 state: "default" 0.0;
421                                 min: 15 50;
422                                 max: 15 50;
423                                 align: 0 0;
424                                 fixed: 1 1;
425                                 visible: 0;
426                         }
427                 }
428                 part {
429                         name: "elm.swallow.radio";
430                         type: SWALLOW;
431                         scale: 1;
432                         description {
433                                 state: "default" 0.0;
434                                 min: 32 32;
435                                 max: 32 32;
436                                 fixed: 1 1;
437                                 align: 0 0.5;
438                                 rel1 { to:"check_left_padding"; relative: 1 0; }
439                         }
440                 }
441                 part {
442                         name: "icon_left_padding";
443                         type: RECT;
444                         scale: 1;
445                         mouse_events: 0;
446                         description {
447                                 state: "default" 0.0;
448                                 min: 1 50;
449                                 max: 1 50;
450                                 align: 0 0;
451                                 fixed: 1 1;
452                                 visible: 0;
453                                 rel1 { to_x: "elm.swallow.radio"; relative: 1 0; }
454                         }
455                 }
456                 part {
457                         name: "elm.swallow.icon";
458                         type: SWALLOW;
459                         scale: 1;
460                         description {
461                                 state: "default" 0.0;
462                                 min: 64 64;
463                                 max: 64 64;
464                                 align: 0 0.5;
465                                 aspect: 1.0 1.0;
466                                 rel1 { to:"icon_left_padding"; relative: 1 0; }
467                         }
468                 }
469                 part {
470                         name: "icon_right_padding";
471                         type: RECT;
472                         scale: 1;
473                         mouse_events: 0;
474                         description {
475                                 state: "default" 0.0;
476                                 min: 8 50;
477                                 max: 8 50;
478                                 align: 0 0.5;
479                                 fixed: 1 1;
480                                 visible: 0;
481                                 rel1 { to:"elm.swallow.icon"; relative: 1 0; }
482                         }
483                 }
484                 part {
485                         name: "elm.text";
486                         type:  TEXT;
487                         mouse_events:  0;
488                         scale: 1;
489                         description {
490                                 state: "default" 0.0;
491                                 min: 200 20;
492                                 max: 200 50;
493                                 fixed: 0 1;
494                                 align: 0.5 0.5;
495                                 rel1 {relative: 1.0 0.0; to_x: "icon_right_padding";}
496                                 rel2 {relative: 1.0 1.0; }
497                                 color: 255 255 255 255;
498                                 text {
499                                         font:FONT_NAME;
500                                         size:     30;
501                                         align:    0.0 0.5;
502                                         min: 0 0;
503                                 }
504                         }
505                         description {
506                                 state: "clicked" 0.0;
507                                 inherit: "default" 0.0;
508                                 color: 255 255 0 255;
509                         }
510                 }
511                 part {
512                         name: "elm.title_text";
513                         type:  TEXT;
514                         mouse_events:  0;
515                         scale: 1;
516                         description {
517                                 state: "default" 0.0;
518                                 min: 1 60;
519                                 max: 999999 60;
520                                 fixed: 0 1;
521                                 //align: 0.5 0.5;
522                                 rel1 {relative: 1.0 0.0; to_x: "check_left_padding";}
523                                 rel2 {relative: 1.0 1.0; }
524                                 color: 255 255 255 255;
525                                 text {
526                                         font: FONT_NAME;
527                                         size:     30;
528                                         align:    0.0 0.5;
529                                         min: 1 1;
530                                 }
531                         }
532                 }
533                 part {
534                         name: "over1";
535                         mouse_events: 1;
536                         repeat_events: 1;
537                         ignore_flags: ON_HOLD;
538                         description {
539                                 state: "default" 0.0;
540                         }
541                         description {
542                                 state: "disabled" 0.0;
543                                 inherit:  "default" 0.0;
544                                 visible: 0;
545                         }
546                 }
547                 part {
548                         name: "over2";
549                         mouse_events: 1;
550                         repeat_events: 1;
551                         description {
552                                 state: "default" 0.0;
553                                 color: 255 255 255 0;
554                         }
555                         description {
556                                 state: "clicked" 0.0;
557                                 color: 255 255 255 255;
558                         }
559                 }
560         }
561         programs {
562                 program {
563                         name:   "item_unclick3";
564                         signal: "mouse,up,1";
565                         source: "over1";
566                         action: SIGNAL_EMIT "elm,action,click" "";
567                 }
568                 program {
569                         name: "disable";
570                         signal: "elm,state,disabled";
571                         source: "elm";
572                         after: "disable_text";
573                 }
574                 program {
575                         name: "disable_text";
576                         script {
577                                 set_state(PART:"elm.text", "disabled", 0.0);
578                                 set_int( disabled_v, 1 );
579                         }
580                 }
581                 program {
582                         name: "enable";
583                         signal: "elm,state,enabled";
584                         source: "elm";
585                         after: "enable_text";
586                 }
587                 program {
588                         name: "enable_text";
589                         script {
590                                 set_state(PART:"elm.text", "enabled", 0.0);
591                                 set_int( disabled_v, 0 );
592                         }
593                 }
594                 program {
595                         name:   "button_click";
596                         signal: "mouse,down,1";
597                         source: "over2";
598                         script {
599                                 if(!get_int( disabled_v)) {
600                                         set_state(PART:"elm.text", "clicked", 0.0);
601                                         emit("elm.action.mouse.down", "");
602                                 }
603                         }
604                 }
605                 program {
606                         name:   "button_clicked";
607                         signal: "mouse,clicked,1";
608                         source: "over2";
609                         script {
610                                 if(!get_int( disabled_v)) {
611                                         set_state(PART:"elm.text", "default", 0.0);
612                                         emit("elm.action.mouse.clicked", "");
613                                 }
614                         }
615                 }
616         }
617         program {
618                 name:   "button_unclick";
619                 signal: "mouse,up,1";
620                 source: "over2";
621                 script {
622                         if(!get_int(disabled_v)) {
623                                 set_state(PART:"elm.text", "default", 0.0);
624                         }
625                 }
626         }
627 }
628
629 //Radio Button Style
630 styles {
631         style {
632                 name: "radio_label_textblock_style";
633                 base: "font=SLP:style=Medium font_size=14 align=left color=#ffffff wrap=char";
634                 tag: "br" "\n";
635                 tag: "hilight" "+ font=SLP:style=Bold";
636                 tag: "b" "+ font=SLP:style=Bold";
637                 tag: "whitecolor" "+ color=#ffffff";
638                 tag: "tab" "\t";
639         }
640         style {
641                 name: "radio_label_textblock_disabled_style";
642                 base: "font=SLP:style=Medium font_size=14 align=left color=#888888 color3=#000000 wrap=char";
643                 tag: "br" "\n";
644                 tag: "hilight" "+ font=SLP:style=Bold";
645                 tag: "b" "+ font=SLP:style=Bold";
646                 tag: "whitecolor" "+ color=#ffffff";
647                 tag: "tab" "\t";
648         }
649 }
650
651 group {
652         name: "elm/radio/base/beat_winset_test/camera";
653         images {
654                 image: SETTING_POPUP_RADIO_BUTTON_OFF_IMAGE COMP;
655                 image: SETTING_POPUP_RADIO_BUTTON_ON_IMAGE COMP;
656         }
657         parts {
658                 part { name: "bg";
659                         mouse_events: 0;
660                         scale: 1;
661                         type: RECT;
662                         description {
663                                 state: "default" 0.0;
664                                 rel1.offset: 0 0;
665                                 rel2.relative: 0.0 1.0;
666                                 rel2.offset: 0 0;
667                                 fixed: 1 0;
668                                 align: 0.0 0.5;
669                                 min: 60 60;
670                                 max: 60 60;
671                                 color: 0 0 0 0;
672                         }
673                 }
674                 part {
675                         name: "radio";
676                         mouse_events: 0;
677                         scale: 1;
678                         description {
679                                 state: "default" 0.0;
680                                 rel1 {
681                                         to: "bg";
682                                         offset: 0 0;
683                                 }
684                                 rel2 {
685                                         to: "bg";
686                                         offset: 0 0;
687                                 }
688                                 visible: 1;
689                                 color: 255 255 255 255;
690                                 image.normal: SETTING_POPUP_RADIO_BUTTON_OFF_IMAGE;
691                         }
692                         description {
693                                 state: "visible" 0.0;
694                                 inherit: "default" 0.0;
695                                 image.normal: SETTING_POPUP_RADIO_BUTTON_ON_IMAGE;
696
697                         }
698                         description {
699                                 state: "pressed" 0.0;
700                                 inherit: "default" 0.0;
701                                 image.normal: SETTING_POPUP_RADIO_BUTTON_ON_IMAGE;
702                         }
703                         description {
704                                 state: "disabled" 0.0;
705                                 inherit: "default" 0.0;
706                                 image.normal: SETTING_POPUP_RADIO_BUTTON_OFF_IMAGE;
707                         }
708                         description {
709                                 state: "disabled_visible" 0.0;
710                                 inherit: "default" 0.0;
711                                 image.normal: SETTING_POPUP_RADIO_BUTTON_OFF_IMAGE;
712                         }
713                 }
714                 part {
715                         name: "elm.swallow.content";
716                         type: SWALLOW;
717                         description {
718                                 state: "default" 0.0;
719                                 fixed: 1 0;
720                                 visible: 0;
721                                 color: 255 255 255 255;
722                                 align: 0.0 0.5;
723                                 rel1.to_x: "bg";
724                                 rel1.relative: 1.0 0.0;
725                                 rel1.offset: 1 1;
726                                 rel2.to_x: "bg";
727                                 rel2.relative: 1.0 1.0;
728                                 rel2.offset: 2 -2;
729                         }
730                         description {
731                                 state: "visible" 0.0;
732                                 inherit: "default" 0.0;
733                                 fixed: 1 1;
734                                 visible: 1;
735                                 aspect: 1.0 1.0;
736                                 aspect_preference: VERTICAL;
737                         }
738                         description {
739                                 state: "disabled" 0.0;
740                                 inherit: "default" 0.0;
741                                 color: 128 128 128 128;
742                         }
743                         description {
744                                 state: "disabled_visible" 0.0;
745                                 inherit: "default" 0.0;
746                                 color: 128 128 128 128;
747                                 fixed: 1 1;
748                                 visible: 1;
749                                 aspect: 1.0 1.0;
750                         }
751                 }
752                 part {
753                         name: "elm.text";
754                         type: TEXTBLOCK;
755                         mouse_events: 0;
756                         scale: 1;
757                         description {
758                                 state: "default" 0.0;
759                                 visible: 0;
760                                 fixed: 0 1;
761                                 rel1 { relative: 1.0 0.5; offset: 1 1; to_x: "elm.swallow.content"; }
762                                 rel2 { relative: 1.0 0.5; offset: -2 -2; }
763                                 color: 255 255 255 255;
764                                 align: 0.0 0.5;
765                                 text {
766                                         style: "radio_label_textblock_style";
767                                         min: 0 0;
768                                 }
769                         }
770                         description {
771                                 state: "visible" 0.0;
772                                 inherit: "default" 0.0;
773                                 visible: 1;
774                                 text.min: 1 1;
775                         }
776                         description {
777                                 state: "disabled" 0.0;
778                                 inherit: "default" 0.0;
779                         }
780                         description {
781                                 state: "disabled_visible" 0.0;
782                                 inherit: "default" 0.0;
783                                 visible: 1;
784                                 text {
785                                         style: "radio_label_textblock_disabled_style";
786                                         min: 1 1;
787                                 }
788                         }
789                 }
790                 part {
791                         name: "events";
792                         type: RECT;
793                         ignore_flags: ON_HOLD;
794                         description {
795                                 state: "default" 0.0;
796                                 color: 0 0 0 0;
797                         }
798                 }
799                 part {
800                         name: "disabler";
801                         type: RECT;
802                         description {
803                                 state: "default" 0.0;
804                                 color: 0 0 0 0;
805                                 visible: 0;
806                         }
807                         description {
808                                 state: "disabled" 0.0;
809                                 inherit: "default" 0.0;
810                                 visible: 1;
811                                 color: 0 0 0 0;
812                         }
813                 }
814         }
815         programs {
816                 program {
817                         name: "click";
818                         signal: "mouse,up,1";
819                         source: "events";
820                         action: SIGNAL_EMIT "elm,action,radio,toggle" "";
821                 }
822                 program {
823                         name: "bg_normal";
824                         script {
825                                 set_state(PART:"bg", "default", 0.0);
826                         }
827                 }
828                 program {
829                         name: "mouseout";
830                         signal: "mouse,out";
831                         source: "events";
832                         after: "bg_radio_normal";
833                 }
834                 program {
835                         name: "bg_radio_normal";
836                         script {
837                                 new st[31];
838                                 new Float:vl;
839                                 get_state(PART:"radio", st, 30, vl);
840                                 if (!strcmp(st, "pressed"))
841                                         set_state(PART:"radio", "default", 0.0);
842                                 set_state(PART:"bg", "default", 0.0);
843                         }
844                 }
845                 program {
846                         name: "pressed";
847                         signal: "mouse,down,1";
848                         source: "events";
849                         script {
850                                 new st[31];
851                                 new Float:vl;
852                                 get_state(PART:"radio", st, 30, vl);
853                                 if (!strcmp(st, "default"))
854                                         set_state(PART:"radio", "pressed", 0.0);
855                         }
856                 }
857                 program {
858                         name: "radio_on";
859                         signal: "elm,state,radio,on";
860                         source: "elm";
861                         action:  STATE_SET "visible" 0.0;
862                         target: "radio";
863                 }
864                 program {
865                         name: "radio_off";
866                         signal: "elm,state,radio,off";
867                         source: "elm";
868                         action:  STATE_SET "default" 0.0;
869                         target: "radio";
870                 }
871                 program {
872                         name: "text_show";
873                         signal: "elm,state,text,visible";
874                         source: "elm";
875                         action:  STATE_SET "visible" 0.0;
876                         target: "elm.text";
877                 }
878                 program {
879                         name: "text_hide";
880                         signal: "elm,state,text,hidden";
881                         source: "elm";
882                         action:  STATE_SET "default" 0.0;
883                         target: "elm.text";
884                 }
885                 program {
886                         name: "icon_show";
887                         signal: "elm,state,icon,visible";
888                         source: "elm";
889                         action:  STATE_SET "visible" 0.0;
890                         target: "elm.swallow.content";
891                 }
892                 program {
893                         name: "icon_hide";
894                         signal: "elm,state,icon,hidden";
895                         source: "elm";
896                         action:  STATE_SET "default" 0.0;
897                         target: "elm.swallow.content";
898                 }
899                 program {
900                         name: "disable";
901                         signal: "elm,state,disabled";
902                         source: "elm";
903                         action: STATE_SET "disabled" 0.0;
904                         target: "disabler";
905                         after: "disable_text";
906                 }
907                 program {
908                         name: "disable_text";
909                         script {
910                                 new st[31];
911                                 new Float:vl;
912                                 get_state(PART:"elm.text", st, 30, vl);
913                                 if (!strcmp(st, "visible"))
914                                         set_state(PART:"elm.text", "disabled_visible", 0.0);
915                                 else
916                                         set_state(PART:"elm.text", "disabled", 0.0);
917
918                                 get_state(PART:"elm.swallow.content", st, 30, vl);
919                                 if (!strcmp(st, "visible"))
920                                         set_state(PART:"elm.swallow.content", "disabled_visible", 0.0);
921                                 else
922                                         set_state(PART:"elm.swallow.content", "disabled", 0.0);
923
924                                 get_state(PART:"radio", st, 30, vl);
925                                 if (!strcmp(st, "visible"))
926                                         set_state(PART:"radio", "disabled_visible", 0.0);
927                                 else
928                                         set_state(PART:"radio", "disabled", 0.0);
929                         }
930                 }
931                 program {
932                         name: "enable";
933                         signal: "elm,state,enabled";
934                         source: "elm";
935                         action: STATE_SET "default" 0.0;
936                         target: "disabler";
937                         after: "enable_text";
938                 }
939                 program {
940                         name: "enable_text";
941                         script {
942                                 new st[31];
943                                 new Float:vl;
944                                 get_state(PART:"elm.text", st, 30, vl);
945                                 if (!strcmp(st, "disabled_visible"))
946                                         set_state(PART:"elm.text", "visible", 0.0);
947                                 else
948                                         set_state(PART:"elm.text", "default", 0.0);
949
950                                 get_state(PART:"elm.swallow.content", st, 30, vl);
951                                 if (!strcmp(st, "disabled_visible"))
952                                         set_state(PART:"elm.swallow.content", "visible", 0.0);
953                                 else
954                                         set_state(PART:"elm.swallow.content", "default", 0.0);
955
956                                 get_state(PART:"radio", st, 30, vl);
957                                 if (!strcmp(st, "disabled_visible"))
958                                         set_state(PART:"radio", "visible", 0.0);
959                                 else
960                                         set_state(PART:"elm.swallow.content", "default", 0.0);
961                         }
962                 }
963         }
964 }
965
966 //Ctxpopup Style
967 #define CTXPOPUP_CAMERA_FRAME_WIDTH_MAX 720
968 #define CTXPOPUP_CAMERA_FRAME_HEIGHT_MAX 1280
969 #define CTXPOPUP_CAMERA_CONTENT_WIDTH_MAX 720
970 #define CTXPOPUP_CAMERA_CONTENT_HEIGHT_MAX 1280
971 /*#define CTXPOPUP_CAMERA_ARROW_SIZE 28 */
972
973 group {
974         name: "elm/scroller/base/beat_winset_test/camera";
975         script {
976                 public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer;
977                 public timer0(val) {
978                         new v;
979                 v = get_int(sbvis_v);
980                         if (v) {
981                                 v = get_int(sbalways_v);
982                                 if(!v) {
983                                         emit("do-hide-vbar", "");
984                                 set_int(sbvis_v, 0);
985                         }
986                 }
987                         v = get_int(sbvis_h);
988                         if (v) {
989                                 v = get_int(sbalways_h);
990                                 if(!v) {
991                                         emit("do-hide-hbar", "");
992                                         set_int(sbvis_h, 0);
993                                 }
994                         }
995                 set_int(sbvis_timer, 0);
996                 return 0;
997                 }
998         }
999
1000         parts {
1001                 part {
1002                         name: "clipper";
1003                         type: RECT;
1004                         mouse_events: 0;
1005                         scale: 1;
1006                         description {
1007                                 state: "default" 0.0;
1008                                 max: CTXPOPUP_CAMERA_CONTENT_WIDTH_MAX CTXPOPUP_CAMERA_CONTENT_HEIGHT_MAX;
1009                         }
1010                 }
1011                 part {
1012                         name: "elm.swallow.content";
1013                         clip_to: "clipper";
1014                         type: SWALLOW;
1015                         scale: 1;
1016                         description {
1017                                 state: "default" 0.0;
1018                                 max: CTXPOPUP_CAMERA_CONTENT_WIDTH_MAX CTXPOPUP_CAMERA_CONTENT_HEIGHT_MAX;
1019                                 align: 0.5 0.5;
1020                         }
1021                 }
1022                 part {
1023                         name: "sb_vbar_clip_master";
1024                 type: RECT;
1025                 mouse_events: 0;
1026                 description {
1027                         state: "default" 0.0;
1028                         }
1029                 description {
1030                         state: "hidden" 0.0;
1031                         visible: 0;
1032                         color: 255 255 255 0;
1033                 }
1034                 }
1035                 part {
1036                         name: "sb_vbar_clip";
1037                         clip_to:"sb_vbar_clip_master";
1038                         type: RECT;
1039                         mouse_events: 0;
1040                         scale: 1;
1041                         description {
1042                                 state: "default" 0.0;
1043                                 align: 0.0 0.0;
1044                                 rel2{ to:"clipper"; relative: 1.0 1.0;}
1045                         }
1046                         description {
1047                                 state: "hidden" 0.0;
1048                                 visible: 0;
1049                                 color: 255 255 255 0;
1050                         }
1051                 }
1052                 part {
1053                         name: "sb_vbar";
1054                         type: RECT;
1055                         mouse_events: 0;
1056                         scale: 1;
1057                         description {
1058                                 state: "default" 0.0;
1059                                 fixed: 1 1;
1060                                 visible: 0;
1061                                 align: 1.0 0.0;
1062                                 rel1{ to:"clipper"; relative: 1.0 0.0; }
1063                                 rel2{ to:"clipper"; relative: 1.0 1.0;}
1064                         }
1065                 }
1066                 part {
1067                         name: "elm.dragable.vbar";
1068                         clip_to: "sb_vbar_clip";
1069                         mouse_events: 0;
1070                         scale: 1;
1071                         dragable {
1072                                 x: 0 0 0;
1073                                 y: 1 1 0;
1074                                 confine: "sb_vbar";
1075                         }
1076                         description {
1077                                 state: "default" 0.0;
1078                                 fixed: 1 1;
1079                                 min: 14 32;
1080                                 rel1 {
1081                                         relative: 0.5  0.5;
1082                                         to: "sb_vbar";
1083                                 }
1084                                 rel2 {
1085                                         relative: 0.5  0.5;
1086                                         to: "sb_vbar";
1087                                 }
1088                         }
1089                 }
1090                 part {
1091                         name: "sb_hbar_clip_master";
1092                         type: RECT;
1093                         mouse_events: 0;
1094                         description {
1095                                 state: "default" 0.0;
1096                         }
1097                         description {
1098                                 state: "hidden" 0.0;
1099                                 visible: 0;
1100                                 color: 255 255 255 0;
1101                         }
1102                 }
1103                 part {
1104                         name: "sb_hbar_clip";
1105                         clip_to: "sb_hbar_clip_master";
1106                         type: RECT;
1107                         mouse_events: 0;
1108                         scale: 1;
1109                         description {
1110                                 state: "default" 0.0;
1111                                 align: 0.0 0.0;
1112                                 rel2{ to:"clipper"; relative: 1.0 1.0;}
1113                         }
1114                         description {
1115                                 state: "hidden" 0.0;
1116                                 visible: 0;
1117                                 color: 255 255 255 0;
1118                         }
1119                 }
1120                 part {
1121                         name: "sb_hbar";
1122                         type: RECT;
1123                         mouse_events: 0;
1124                         scale: 1;
1125                         description {
1126                                 state: "default" 0.0;
1127                                 fixed: 1 1;
1128                                 visible: 0;
1129                                 align: 0.0 1.0;
1130                                 rel1 {to:"clipper"; relative: 0.0 1.0;}
1131                                 rel2 {to:"clipper"; relative: 1.0 1.0;}
1132                         }
1133                 }
1134         }
1135         programs {
1136                 program {
1137                         name: "load";
1138                         signal: "load";
1139                         source: "";
1140                         script {
1141                                 set_state(PART:"sb_vbar_clip", "hidden", 0.0);
1142                                 set_state(PART:"sb_hbar_clip", "hidden", 0.0);
1143                                 set_int(sbvis_v, 0);
1144                                 set_int(sbvis_h, 0);
1145                                 set_int(sbalways_v, 0);
1146                                 set_int(sbalways_h, 0);
1147                                 set_int(sbvis_timer, 0);
1148                         }
1149                 }
1150                 program {
1151                         name: "vbar_show";
1152                         signal: "elm,action,show,vbar";
1153                         source: "elm";
1154                         action: STATE_SET "default" 0.0;
1155                         target: "sb_vbar_clip_master";
1156                 }
1157                 program {
1158                         name: "vbar_hide";
1159                         signal: "elm,action,hide,vbar";
1160                         source: "elm";
1161                 action:  STATE_SET "hidden" 0.0;
1162                 target: "sb_vbar_clip_master";
1163                 }
1164                 program {
1165                         name: "vbar_show_always";
1166                         signal: "elm,action,show_always,vbar";
1167                         source: "elm";
1168                 script {
1169                         new v;
1170                         v = get_int(sbvis_v);
1171                         v |= get_int(sbalways_v);
1172                         if (!v) {
1173                         set_int(sbalways_v, 1);
1174                         emit("do-show-vbar", "");
1175                         set_int(sbvis_v, 1);
1176                         }
1177                 }
1178                 }
1179                 program {
1180                         name: "vbar_show_notalways";
1181                 signal: "elm,action,show_notalways,vbar";
1182                 source: "elm";
1183                 script {
1184                         new v;
1185                         v = get_int(sbalways_v);
1186                         if (v) {
1187                         set_int(sbalways_v, 0);
1188                         v = get_int(sbvis_v);
1189                         if (!v) {
1190                                 emit("do-hide-vbar", "");
1191                                 set_int(sbvis_v, 0);
1192                         }
1193                         }
1194                 }
1195                 }
1196                 program {
1197                         name: "sb_vbar_show";
1198                         signal: "do-show-vbar";
1199                         source: "";
1200                         action:  STATE_SET "default" 0.0;
1201                         transition: LINEAR 1.0;
1202                         target: "sb_vbar_clip";
1203                 }
1204                 program {
1205                         name: "sb_vbar_hide";
1206                         signal: "do-hide-vbar";
1207                         source: "";
1208                         action:  STATE_SET "hidden" 0.0;
1209                         transition: LINEAR 1.0;
1210                         target: "sb_vbar_clip";
1211                 }
1212                 program {
1213                         name: "hbar_show";
1214                         signal: "elm,action,show,hbar";
1215                         source: "elm";
1216                 action:  STATE_SET "default" 0.0;
1217                 target: "sb_hbar_clip_master";
1218                 }
1219                 program {
1220                         name: "hbar_hide";
1221                         signal: "elm,action,hide,hbar";
1222                         source: "elm";
1223                 action:  STATE_SET "hidden" 0.0;
1224                 target: "sb_hbar_clip_master";
1225                 }
1226                 program {
1227                         name: "hbar_show_always";
1228                 signal: "elm,action,show_always,hbar";
1229                 source: "elm";
1230                 script {
1231                         new v;
1232                         v = get_int(sbvis_h);
1233                         v |= get_int(sbalways_h);
1234                         if (!v) {
1235                         set_int(sbalways_h, 1);
1236                         emit("do-show-hbar", "");
1237                         set_int(sbvis_h, 1);
1238                         }
1239                 }
1240                 }
1241                 program {
1242                         name: "hbar_show_notalways";
1243                         signal: "elm,action,show_notalways,hbar";
1244                         source: "elm";
1245                 script {
1246                         new v;
1247                         v = get_int(sbalways_h);
1248                         if (v) {
1249                                 set_int(sbalways_h, 0);
1250                         v = get_int(sbvis_h);
1251                         if (!v) {
1252                                 emit("do-hide-hbar", "");
1253                                 set_int(sbvis_h, 0);
1254                                         }
1255                                 }
1256                         }
1257                 }
1258                 program {
1259                         name: "sb_hbar_show";
1260                         signal: "do-show-hbar";
1261                         source: "";
1262                         action:  STATE_SET "default" 0.0;
1263                         transition: LINEAR 1.0;
1264                         target: "sb_hbar_clip";
1265                 }
1266                 program {
1267                         name: "sb_hbar_hide";
1268                         signal: "do-hide-hbar";
1269                         source: "";
1270                         action:  STATE_SET "hidden" 0.0;
1271                         transition: LINEAR 1.0;
1272                         target: "sb_hbar_clip";
1273                 }
1274                 program {
1275                         name: "scroll";
1276                         signal: "elm,action,scroll";
1277                         source: "elm";
1278                         action:  STATE_SET "default" 0.0;
1279                         script {
1280                                 new v;
1281                                 v = get_int(sbvis_v);
1282                                 v |= get_int(sbalways_v);
1283                                 if (!v) {
1284                                         emit("do-show-vbar", "");
1285                                         set_int(sbvis_v, 1);
1286                                 }
1287                                 v = get_int(sbvis_h);
1288                                 v |= get_int(sbalways_h);
1289                                 if(!v) {
1290                                         emit("do-show-hbar", "");
1291                                         set_int(sbvis_h, 1);
1292                                 }
1293                                 v = get_int(sbvis_timer);
1294                                 if (v > 0) cancel_timer(v);
1295                                 v = timer(2.0, "timer0", 0);
1296                                 set_int(sbvis_timer, v);
1297                         }
1298                 }
1299         }
1300 }
1301
1302 group {
1303         name: "elm/ctxpopup/bg/beat_winset_test/camera";
1304         parts {
1305                 part {
1306                         name: "bg";
1307                         type: RECT;
1308                         description {
1309                                 state: "default" 0.0;
1310                                 visible: 0;
1311                         }
1312                         description {
1313                                 state: "visible" 0.0;
1314                         visible: 0;
1315                         }
1316                 }
1317         }
1318         programs {
1319                 program {
1320                         name: "show";
1321                         signal: "elm,state,show";
1322                         source: "elm";
1323                         action: STATE_SET "visible" 0.0;
1324                         target: "bg";
1325                 }
1326                 program {
1327                         name: "hide";
1328                         signal: "elm,state,hide";
1329                         source: "elm";
1330                         action: STATE_SET "default" 0.0;
1331                         target: "bg";
1332                 }
1333         }
1334 }
1335
1336 //Ctxpopup Style
1337 #define CTXPOPUP_CAMERA_ARROW_SIZE 41
1338 #define CTXPOPUP_FRAME_CORNER_SIZE 4 4
1339 #define CTXPOPUP_BORDER_CORNER_SIZE 9 9
1340
1341
1342 ///////////////////////////////////////////////////////////////////////////////
1343 group {
1344         name: "elm/ctxpopup/base/beat_winset_test/camera";
1345         images {
1346                 image: CTXPOPUP_BG_IMAGE COMP;
1347         }
1348         parts {
1349                 part {
1350                         name: "ctxpopup_frame_left_top";
1351                         type: RECT;
1352                         scale: 1;
1353                         description {
1354                                 visible:0;
1355                                 align: 0 0;
1356                                 min: CTXPOPUP_FRAME_CORNER_SIZE;
1357                                 max: CTXPOPUP_FRAME_CORNER_SIZE;
1358                         }
1359                 }
1360
1361                 part {
1362                         name: "ctxpopup_frame_right_top";
1363                         type: RECT;
1364                         scale: 1;
1365                         description {
1366                                 visible:0;
1367                                 align: 1 0;
1368                                 min: CTXPOPUP_FRAME_CORNER_SIZE;
1369                                 max: CTXPOPUP_FRAME_CORNER_SIZE;
1370                         }
1371                 }
1372
1373                 part {
1374                         name: "ctxpopup_frame_left_bottom";
1375                         type: RECT;
1376                         scale: 1;
1377                         description {
1378                                 visible:0;
1379                                 align: 0 1;
1380                                 min: CTXPOPUP_FRAME_CORNER_SIZE;
1381                                 max: CTXPOPUP_FRAME_CORNER_SIZE;
1382                         }
1383                 }
1384
1385                 part {
1386                         name: "ctxpopup_frame_right_bottom";
1387                         type: RECT;
1388                         scale: 1;
1389                         description {
1390                                 visible:0;
1391                                 align: 1 1;
1392                                 min: CTXPOPUP_FRAME_CORNER_SIZE;
1393                                 max: CTXPOPUP_FRAME_CORNER_SIZE;
1394                         }
1395                 }
1396
1397                 part { name: "arrow_area_left";
1398                         type: RECT;
1399                         mouse_events: 0;
1400                         scale: 1;
1401                         clip_to: "ctxpopup_clip";
1402                         description { state: "default" 0.0;
1403                                 visible: 0;
1404                                 min: 40 0;
1405                                 fixed: 1 1;
1406                                 align: 1 0.5;
1407                                 rel1 {
1408                                         relative: 0 1;
1409                                         to_y: "ctxpopup_frame_left_top";
1410                                 }
1411                                 rel2 {
1412                                         relative:0 0;
1413                                         to:"ctxpopup_frame_left_bottom";
1414                                 }
1415                                 color : 255 255 255 0;
1416                         }
1417                 }
1418                 part { name: "arrow_area_right";
1419                         type: RECT;
1420                         mouse_events: 0;
1421                         scale: 1;
1422                         clip_to: "ctxpopup_clip";
1423                         description { state: "default" 0.0;
1424                                 visible: 0;
1425                                 min: 40 0;
1426                                 fixed: 1 1;
1427                                 align: 0 0.5;
1428                                 rel1 {
1429                                         relative: 1 1;
1430                                         to:"ctxpopup_frame_right_top";
1431                                 }
1432                                 rel2 {
1433                                         relative: 1 0;
1434                                         to_y: "ctxpopup_frame_right_bottom";
1435                                 }
1436                                 color : 255 255 255 0;
1437                         }
1438                 }
1439                 part { name: "arrow_area_up";
1440                         type: RECT;
1441                         mouse_events: 0;
1442                         scale: 1;
1443                         clip_to: "ctxpopup_clip";
1444                         description { state: "default" 0.0;
1445                                 visible: 0;
1446                                 min: 0 40;
1447                                 fixed: 1 1;
1448                                 align: 0.5 1;
1449                                 rel1 {
1450                                         relative: 1 0;
1451                                         to_x: "ctxpopup_frame_left_top";
1452                                 }
1453                                 rel2 {
1454                                         relative: 0 0;
1455                                         to:"ctxpopup_frame_right_top";
1456                                 }
1457                                 color : 255 255 255 0;
1458                         }
1459                 }
1460                 part { name: "arrow_area_down";
1461                         type: RECT;
1462                         mouse_events: 0;
1463                         scale: 1;
1464                         clip_to: "ctxpopup_clip";
1465                         description { state: "default" 0.0;
1466                                 visible: 0;
1467                                 min: 0 40;
1468                                 fixed: 1 1;
1469                                 align: 0.5 0;
1470                                 rel1 {
1471                                         relative: 1 1;
1472                                         to:"ctxpopup_frame_left_bottom";
1473                                 }
1474                                 rel2 {
1475                                         relative: 0 1;
1476                                         to_x: "ctxpopup_frame_right_bottom";
1477                                 }
1478                                 color : 255 255 255 0;
1479                         }
1480                 }
1481
1482                 part { name: "elm.swallow.arrow_up";
1483                         type: SWALLOW;
1484                         mouse_events: 0;
1485                         scale: 1;
1486                         clip_to: "ctxpopup_clip";
1487                         dragable {
1488                                 x: 1 1 0;
1489                                 y: 1 1 0;
1490                                 confine: "arrow_area_up";
1491                         }
1492                         description {
1493                                 state: "default" 0.0;
1494                                 min: 40 40;
1495                                 fixed: 1 1;
1496                                 visible: 1;
1497                         }
1498                 }
1499                 part { name: "elm.swallow.arrow_down";
1500                         type: SWALLOW;
1501                         mouse_events: 0;
1502                         scale: 1;
1503                         clip_to: "ctxpopup_clip";
1504                         dragable {
1505                                 x: 1 1 0;
1506                                 y: 1 1 0;
1507                                 confine: "arrow_area_down";
1508                         }
1509                         description {
1510                                 state: "default" 0.0;
1511                                 min: 40 40;
1512                                 fixed: 1 1;
1513                                 visible: 1;
1514                         }
1515                 }
1516                 part { name: "elm.swallow.arrow_left";
1517                         type: SWALLOW;
1518                         mouse_events: 0;
1519                         scale: 1;
1520                         clip_to: "ctxpopup_clip";
1521                         dragable {
1522                                 x: 1 1 0;
1523                                 y: 1 1 0;
1524                                 confine: "arrow_area_left";
1525                         }
1526                         description {
1527                                 state: "default" 0.0;
1528                                 min: 40 40;
1529                                 fixed: 1 1;
1530                                 visible: 1;
1531                         }
1532                 }
1533                 part { name: "elm.swallow.arrow_right";
1534                         type: SWALLOW;
1535                         mouse_events: 0;
1536                         scale: 1;
1537                         clip_to: "ctxpopup_clip";
1538                         dragable {
1539                                 x: 1 1 0;
1540                                 y: 1 1 0;
1541                                 confine: "arrow_area_right";
1542                         }
1543                         description {
1544                                 state: "default" 0.0;
1545                                 min: 40 40;
1546                                 fixed: 1 1;
1547                                 visible: 1;
1548                         }
1549                 }
1550                 part {
1551                         name: "ctxpopup_frame";
1552                         type: IMAGE;
1553                         scale: 1;
1554                         clip_to: "ctxpopup_clip";
1555                         description {
1556                                 align: 1 1;
1557                                 /*color: 0 0 0 85;*/
1558                                 image {
1559                                         normal: CTXPOPUP_BG_IMAGE;
1560                                         border: 67 67 92 42;
1561                                         border_scale: 1;
1562                                 }
1563                                 rel1 {to: "ctxpopup_frame_left_top"; relative: 0.5 0.5;}
1564                                 rel2 {to: "ctxpopup_frame_right_bottom"; relative: 0.5 0.5;}
1565
1566                         //      color : 255 255 255 200;
1567                         }
1568                 }
1569
1570                 part {
1571                         name: "elm.swallow.content";
1572                         type: SWALLOW;
1573                         clip_to: "ctxpopup_clip";
1574                         description {
1575                                 state: "default" 0.0;
1576                                 rel1 {to: "ctxpopup_frame_left_top"; relative: 0.5 0.5;}
1577                                 rel2 {to: "ctxpopup_frame_right_bottom"; relative: 0.5 0.5;}
1578                         }
1579                 }
1580
1581                 part { name: "ctxpopup_clip";
1582                         type: RECT;
1583                         description { state: "default" 0.0;
1584                         color: 255 255 255 0;
1585                         rel1 { to:"ctxpopup_frame_left_top"; relative: 0.5 0.5; }
1586                         rel2 { to:"ctxpopup_frame_right_bottom"; relative: 0.5 0.5; }
1587                         }
1588                         description { state: "show_up" 0.0;
1589                                 color: 255 255 255 0;
1590                                 rel1 { to:"arrow_area_down"; relative: 0 1; }
1591                                 rel2 { to:"arrow_area_down"; relative: 1 1; }
1592                         }
1593                         description { state: "show_left" 0.0;
1594                                 color: 255 255 255 0;
1595                                 rel1 { to:"arrow_area_right"; relative: 1 0; }
1596                                 rel2 { to:"arrow_area_right"; relative: 1 1; }
1597                         }
1598                         description { state: "show_right" 0.0;
1599                                 color: 255 255 255 0;
1600                                 rel1 { to:"arrow_area_left"; relative: 0 0; }
1601                                 rel2 { to:"arrow_area_left"; relative: 0 1; }
1602                         }
1603                         description { state: "show_down" 0.0;
1604                                 color: 255 255 255 0;
1605                                 rel1 { to:"arrow_area_up"; relative: 0 0; }
1606                                 rel2 { to:"arrow_area_up"; relative: 1 0; }
1607                         }
1608                         description { state: "hide_up" 0.0;
1609                                 color: 255 255 255 255;
1610                                 rel1 { to:"arrow_area_down"; relative: 0 1; }
1611                                 rel2 { to:"arrow_area_down"; relative: 1 1; }
1612                         }
1613                         description { state: "hide_left" 0.0;
1614                                 color: 255 255 255 255;
1615                                 rel1 { to:"arrow_area_right"; relative: 1 0; }
1616                                 rel2 { to:"arrow_area_right"; relative: 1 1; }
1617                         }
1618                         description { state: "hide_right" 0.0;
1619                                 color: 255 255 255 255;
1620                                 rel1 { to:"arrow_area_left"; relative: 0 0; }
1621                                 rel2 { to:"arrow_area_left"; relative: 0 1; }
1622                         }
1623                         description { state: "hide_down" 0.0;
1624                                 color: 255 255 255 255;
1625                                 rel1 { to:"arrow_area_up"; relative: 0 0; }
1626                                 rel2 { to:"arrow_area_up"; relative: 1 0; }
1627                         }
1628                         description { state: "visible" 0.0;
1629                                 color: 255 255 255 255;
1630                                 rel1 { to_x:"arrow_area_left"; to_y:"arrow_area_up"; }
1631                                 rel2 { to_x:"arrow_area_right"; to_y:"arrow_area_down"; }
1632                         }
1633                 }
1634         }
1635         programs {
1636                 program { name: "show";
1637                         signal: "elm,state,show";
1638                         source: "elm";
1639                         action: STATE_SET "visible" 0.0;
1640                         transition: LINEAR 0.25;
1641                         target: "ctxpopup_clip";
1642                 }
1643                 program { name: "show_up";
1644                         signal: "elm,state,show,up";
1645                         source: "elm";
1646                         action: STATE_SET "show_up" 0.0;
1647                         transition: LINEAR 0.25;
1648                         target: "ctxpopup_clip";
1649                 }
1650                 program { name: "show_left";
1651                         signal: "elm,state,show,left";
1652                         source: "elm";
1653                         action: STATE_SET "show_left" 0.0;
1654                         transition: LINEAR 0.25;
1655                         target: "ctxpopup_clip";
1656                 }
1657                 program { name: "show_right";
1658                         signal: "elm,state,show,right";
1659                         source: "elm";
1660                         action: STATE_SET "show_right" 0.0;
1661                         transition: LINEAR 0.25;
1662                         target: "ctxpopup_clip";
1663                 }
1664                 program { name: "show_down";
1665                         signal: "elm,state,show,down";
1666                         source: "elm";
1667                         action: STATE_SET "show_down" 0.0;
1668                         transition: LINEAR 0.25;
1669                         target: "ctxpopup_clip";
1670                 }
1671                 program { name: "hide_up";
1672                         signal: "elm,state,hide,up";
1673                         source: "elm";
1674                         action: STATE_SET "hide_up" 0.0;
1675                         transition: LINEAR 0.25;
1676                         target: "ctxpopup_clip";
1677                         after: "hide_finished";
1678                 }
1679                 program { name: "hide_left";
1680                         signal: "elm,state,hide,left";
1681                         source: "elm";
1682                         action: STATE_SET "hide_left" 0.0;
1683                         transition: LINEAR 0.25;
1684                         target: "ctxpopup_clip";
1685                         after: "hide_finished";
1686                 }
1687                 program { name: "hide_right";
1688                         signal: "elm,state,hide,right";
1689                         source: "elm";
1690                         action: STATE_SET "hide_right" 0.0;
1691                         transition: LINEAR 0.25;
1692                         target: "ctxpopup_clip";
1693                         after: "hide_finished";
1694                 }
1695                 program { name: "hide_down";
1696                         signal: "elm,state,hide,down";
1697                         source: "elm";
1698                         action: STATE_SET "hide_down" 0.0;
1699                         transition: LINEAR 0.25;
1700                         target: "ctxpopup_clip";
1701                         after: "hide_finished";
1702                 }
1703                 program { name: "hide_finished";
1704                         action: SIGNAL_EMIT "elm,action,hide,finished" "";
1705                 }
1706         }
1707 }
1708
1709 group { name: "elm/ctxpopup/arrow/beat_winset_test/camera";
1710         images {
1711                 image: CTXPOPUP_LEFT_ARROW_IMAGE COMP;
1712                 image: CTXPOPUP_RIGHTT_ARROW_IMAGE COMP;
1713                 image: CTXPOPUP_TOP_ARROW_IMAGE COMP;
1714                 image: CTXPOPUP_BOTTOM_ARROW_IMAGE COMP;
1715         }
1716         parts {
1717                 part {
1718                         name: "ctxpopup_arrow";
1719                         type: IMAGE;
1720                         scale: 1;
1721                         description {
1722                                 state: "default" 0.0;
1723                                 min: CTXPOPUP_CAMERA_ARROW_SIZE CTXPOPUP_CAMERA_ARROW_SIZE;
1724                                 max: CTXPOPUP_CAMERA_ARROW_SIZE CTXPOPUP_CAMERA_ARROW_SIZE;
1725                                 fixed: 1 1;
1726                                 visible: 0;
1727                                 align: 0.5 0.5;
1728                                 rel1.relative: 0.0 -0.5;
1729                                 rel2.relative: 0.0 1.0;
1730
1731                         }
1732                         description {
1733                                 state: "left" 0.0;
1734                                 min: CTXPOPUP_CAMERA_ARROW_SIZE CTXPOPUP_CAMERA_ARROW_SIZE;
1735                                 max: CTXPOPUP_CAMERA_ARROW_SIZE CTXPOPUP_CAMERA_ARROW_SIZE;
1736                                 fixed: 1 1;
1737                                 align: 0.0 0.5;
1738                                 image {
1739                                         normal: CTXPOPUP_LEFT_ARROW_IMAGE;
1740                                 }
1741                 //              color : 255 255 255 178;
1742                         }
1743                         description {
1744                                 state: "right" 0.0;
1745                                 min: CTXPOPUP_CAMERA_ARROW_SIZE CTXPOPUP_CAMERA_ARROW_SIZE;
1746                                 max: CTXPOPUP_CAMERA_ARROW_SIZE CTXPOPUP_CAMERA_ARROW_SIZE;
1747                                 fixed: 1 1;
1748                                 align: 1.0 0.5;
1749                                 image {
1750                                         normal: CTXPOPUP_RIGHTT_ARROW_IMAGE;
1751                                 }
1752                 //              color : 255 255 255 178;
1753
1754                         }
1755                         description {
1756                                 state: "top" 0.0;
1757                                 min: CTXPOPUP_CAMERA_ARROW_SIZE CTXPOPUP_CAMERA_ARROW_SIZE;
1758                                 max: CTXPOPUP_CAMERA_ARROW_SIZE CTXPOPUP_CAMERA_ARROW_SIZE;
1759                                 fixed: 1 1;
1760                                 align: 0.5 0.0;
1761                                 image {
1762                                         normal: CTXPOPUP_TOP_ARROW_IMAGE;
1763                                 }
1764                 //              color : 255 255 255 178;
1765
1766                         }
1767                         description {
1768                                 state: "bottom" 0.0;
1769                         //      rel1 { relative: 0.0 -0.3; }
1770                         //      rel2 { relative: 1.0 0.7;}
1771                                 min: CTXPOPUP_CAMERA_ARROW_SIZE CTXPOPUP_CAMERA_ARROW_SIZE;
1772                                 max: CTXPOPUP_CAMERA_ARROW_SIZE CTXPOPUP_CAMERA_ARROW_SIZE;
1773                                 fixed: 1 1;
1774                                 align: 0.5 1.0;
1775                                 image {
1776                                         normal: CTXPOPUP_BOTTOM_ARROW_IMAGE;
1777                                 }
1778                 //              color : 255 255 255 178;
1779                         }
1780                 }
1781         }
1782         programs {
1783                 program {
1784                         name: "enable_left_arrow";
1785                         signal: "elm,state,left";
1786                         source: "elm";
1787                         action: STATE_SET "left" 0.0;
1788                         target: "ctxpopup_arrow";
1789                 }
1790                 program {
1791                         name: "enable_right_arrow";
1792                         signal: "elm,state,right";
1793                         source: "elm";
1794                         action: STATE_SET "right" 0.0;
1795                         target: "ctxpopup_arrow";
1796                 }
1797                 program {
1798                         name: "enable_top_arrow";
1799                         signal: "elm,state,top";
1800                         source: "elm";
1801                         action: STATE_SET "top" 0.0;
1802                         target: "ctxpopup_arrow";
1803                 }
1804                 program {
1805                         name: "enable_bottom_arrow";
1806                         signal: "elm,state,bottom";
1807                         source: "elm";
1808                         action: STATE_SET "bottom" 0.0;
1809                         target: "ctxpopup_arrow";
1810                 }
1811         }
1812 }
1813
1814 group {
1815         name: "elm/ctxpopup/bg/beat_winset_test/camera_no_arrow";
1816         parts {
1817                 part {
1818                         name: "bg";
1819                         type: RECT;
1820                         description {
1821                                 state: "default" 0.0;
1822                                 visible: 0;
1823                         }
1824                         description {
1825                                 state: "visible" 0.0;
1826                                 visible: 0;
1827                         }
1828                 }
1829         }
1830         programs {
1831                 program {
1832                         name: "show";
1833                         signal: "elm,state,show";
1834                         source: "elm";
1835                         action: STATE_SET "visible" 0.0;
1836                         target: "bg";
1837                 }
1838                 program {
1839                         name: "hide";
1840                         signal: "elm,state,hide";
1841                         source: "elm";
1842                         action: STATE_SET "default" 0.0;
1843                         target: "bg";
1844                 }
1845         }
1846 }
1847
1848 group {
1849         name: "elm/ctxpopup/base/beat_winset_test/camera_no_arrow";
1850         images {
1851                 image: CTXPOPUP_BG_2DEPTH_IMAGE COMP;
1852         }
1853         parts {
1854                 part {
1855                         name: "ctxpopup_frame_left_top";
1856                         type: RECT;
1857                         scale: 1;
1858                         description {
1859                                 visible:0;
1860                                 align: 0 0;
1861                                 min: CTXPOPUP_FRAME_CORNER_SIZE;
1862                                 max: CTXPOPUP_FRAME_CORNER_SIZE;
1863                         }
1864                 }
1865
1866                 part {
1867                         name: "ctxpopup_frame_right_top";
1868                         type: RECT;
1869                         scale: 1;
1870                         description {
1871                                 visible:0;
1872                                 align: 1 0;
1873                                 min: CTXPOPUP_FRAME_CORNER_SIZE;
1874                                 max: CTXPOPUP_FRAME_CORNER_SIZE;
1875                         }
1876                 }
1877
1878                 part {
1879                         name: "ctxpopup_frame_left_bottom";
1880                         type: RECT;
1881                         scale: 1;
1882                         description {
1883                                 visible:0;
1884                                 align: 0 1;
1885                                 min: CTXPOPUP_FRAME_CORNER_SIZE;
1886                                 max: CTXPOPUP_FRAME_CORNER_SIZE;
1887                         }
1888                 }
1889
1890                 part {
1891                         name: "ctxpopup_frame_right_bottom";
1892                         type: RECT;
1893                         scale: 1;
1894                         description {
1895                                 visible:0;
1896                                 align: 1 1;
1897                                 min: CTXPOPUP_FRAME_CORNER_SIZE;
1898                                 max: CTXPOPUP_FRAME_CORNER_SIZE;
1899                         }
1900                 }
1901
1902                 part { name: "arrow_area_left";
1903                         type: RECT;
1904                         mouse_events: 0;
1905                         scale: 1;
1906                         clip_to: "ctxpopup_clip";
1907                         description { state: "default" 0.0;
1908                                 visible: 0;
1909                                 min: 40 0;
1910                                 fixed: 1 1;
1911                                 align: 1 0.5;
1912                                 rel1 {
1913                                         relative: 0 1;
1914                                         to_y: "ctxpopup_frame_left_top";
1915                                 }
1916                                 rel2 {
1917                                         relative:0 0;
1918                                         to:"ctxpopup_frame_left_bottom";
1919                                 }
1920                                 color : 255 255 255 0;
1921                         }
1922                 }
1923                 part { name: "arrow_area_right";
1924                         type: RECT;
1925                         mouse_events: 0;
1926                         scale: 1;
1927                         clip_to: "ctxpopup_clip";
1928                         description { state: "default" 0.0;
1929                                 visible: 0;
1930                                 min: 40 0;
1931                                 fixed: 1 1;
1932                                 align: 0 0.5;
1933                                 rel1 {
1934                                         relative: 1 1;
1935                                         to:"ctxpopup_frame_right_top";
1936                                 }
1937                                 rel2 {
1938                                         relative: 1 0;
1939                                         to_y: "ctxpopup_frame_right_bottom";
1940                                 }
1941                                 color : 255 255 255 0;
1942                         }
1943                 }
1944                 part { name: "arrow_area_up";
1945                         type: RECT;
1946                         mouse_events: 0;
1947                         scale: 1;
1948                         clip_to: "ctxpopup_clip";
1949                         description { state: "default" 0.0;
1950                                 visible: 0;
1951                                 min: 0 40;
1952                                 fixed: 1 1;
1953                                 align: 0.5 1;
1954                                 rel1 {
1955                                         relative: 1 0;
1956                                         to_x: "ctxpopup_frame_left_top";
1957                                 }
1958                                 rel2 {
1959                                         relative: 0 0;
1960                                         to:"ctxpopup_frame_right_top";
1961                                 }
1962                                 color : 255 255 255 0;
1963                         }
1964                 }
1965                 part { name: "arrow_area_down";
1966                         type: RECT;
1967                         mouse_events: 0;
1968                         scale: 1;
1969                         clip_to: "ctxpopup_clip";
1970                         description { state: "default" 0.0;
1971                                 visible: 0;
1972                                 min: 0 40;
1973                                 fixed: 1 1;
1974                                 align: 0.5 0;
1975                                 rel1 {
1976                                         relative: 1 1;
1977                                         to:"ctxpopup_frame_left_bottom";
1978                                 }
1979                                 rel2 {
1980                                         relative: 0 1;
1981                                         to_x: "ctxpopup_frame_right_bottom";
1982                                 }
1983                                 color : 255 255 255 0;
1984                         }
1985                 }
1986
1987                 part { name: "elm.swallow.arrow_up";
1988                         type: SWALLOW;
1989                         mouse_events: 0;
1990                         scale: 1;
1991                         clip_to: "ctxpopup_clip";
1992                         dragable {
1993                                 x: 1 1 0;
1994                                 y: 1 1 0;
1995                                 confine: "arrow_area_up";
1996                         }
1997                         description {
1998                                 state: "default" 0.0;
1999                                 min: 40 40;
2000                                 fixed: 1 1;
2001                                 visible: 1;
2002                         }
2003                 }
2004                 part { name: "elm.swallow.arrow_down";
2005                         type: SWALLOW;
2006                         mouse_events: 0;
2007                         scale: 1;
2008                         clip_to: "ctxpopup_clip";
2009                         dragable {
2010                                 x: 1 1 0;
2011                                 y: 1 1 0;
2012                                 confine: "arrow_area_down";
2013                         }
2014                         description {
2015                                 state: "default" 0.0;
2016                                 min: 40 40;
2017                                 fixed: 1 1;
2018                                 visible: 1;
2019                         }
2020                 }
2021                 part { name: "elm.swallow.arrow_left";
2022                         type: SWALLOW;
2023                         mouse_events: 0;
2024                         scale: 1;
2025                         clip_to: "ctxpopup_clip";
2026                         dragable {
2027                                 x: 1 1 0;
2028                                 y: 1 1 0;
2029                                 confine: "arrow_area_left";
2030                         }
2031                         description {
2032                                 state: "default" 0.0;
2033                                 min: 40 40;
2034                                 fixed: 1 1;
2035                                 visible: 1;
2036                         }
2037                 }
2038                 part { name: "elm.swallow.arrow_right";
2039                         type: SWALLOW;
2040                         mouse_events: 0;
2041                         scale: 1;
2042                         clip_to: "ctxpopup_clip";
2043                         dragable {
2044                                 x: 1 1 0;
2045                                 y: 1 1 0;
2046                                 confine: "arrow_area_right";
2047                         }
2048                         description {
2049                                 state: "default" 0.0;
2050                                 min: 40 40;
2051                                 fixed: 1 1;
2052                                 visible: 1;
2053                         }
2054                 }
2055
2056                 part {
2057                         name: "ctxpopup_frame";
2058                         type: IMAGE;
2059                         scale: 1;
2060                         clip_to: "ctxpopup_clip";
2061                         description {
2062                                 align: 1 1;
2063                                 /*color: 0 0 0 85;*/
2064                                 image {
2065                                         normal: CTXPOPUP_BG_2DEPTH_IMAGE;
2066                                         border: 67 67 92 42;
2067                                         border_scale: 1;
2068                                 }
2069                                 rel1 {to: "ctxpopup_frame_left_top"; relative: 0.5 0.5;}
2070                                 rel2 {to: "ctxpopup_frame_right_bottom"; relative: 0.5 0.5;}
2071
2072                         //      color : 255 255 255 200;
2073                         }
2074                 }
2075
2076                 part {
2077                         name: "elm.swallow.content";
2078                         type: SWALLOW;
2079                         clip_to: "ctxpopup_clip";
2080                         description {
2081                                 state: "default" 0.0;
2082                                 rel1 {to: "ctxpopup_frame_left_top"; relative: 0.5 0.5;}
2083                                 rel2 {to: "ctxpopup_frame_right_bottom"; relative: 0.5 0.5;}
2084                         }
2085                 }
2086
2087                 part { name: "ctxpopup_clip";
2088                         type: RECT;
2089                         description { state: "default" 0.0;
2090                         color: 255 255 255 0;
2091                         rel1 { to:"ctxpopup_frame_left_top"; relative: 0.5 0.5; }
2092                         rel2 { to:"ctxpopup_frame_right_bottom"; relative: 0.5 0.5; }
2093                         }
2094                         description { state: "show_up" 0.0;
2095                                 color: 255 255 255 0;
2096                                 rel1 { to:"arrow_area_down"; relative: 0 1; }
2097                                 rel2 { to:"arrow_area_down"; relative: 1 1; }
2098                         }
2099                         description { state: "show_left" 0.0;
2100                                 color: 255 255 255 0;
2101                                 rel1 { to:"arrow_area_right"; relative: 1 0; }
2102                                 rel2 { to:"arrow_area_right"; relative: 1 1; }
2103                         }
2104                         description { state: "show_right" 0.0;
2105                                 color: 255 255 255 0;
2106                                 rel1 { to:"arrow_area_left"; relative: 0 0; }
2107                                 rel2 { to:"arrow_area_left"; relative: 0 1; }
2108                         }
2109                         description { state: "show_down" 0.0;
2110                                 color: 255 255 255 0;
2111                                 rel1 { to:"arrow_area_up"; relative: 0 0; }
2112                                 rel2 { to:"arrow_area_up"; relative: 1 0; }
2113                         }
2114                         description { state: "hide_up" 0.0;
2115                                 color: 255 255 255 255;
2116                                 rel1 { to:"arrow_area_down"; relative: 0 1; }
2117                                 rel2 { to:"arrow_area_down"; relative: 1 1; }
2118                         }
2119                         description { state: "hide_left" 0.0;
2120                                 color: 255 255 255 255;
2121                                 rel1 { to:"arrow_area_right"; relative: 1 0; }
2122                                 rel2 { to:"arrow_area_right"; relative: 1 1; }
2123                         }
2124                         description { state: "hide_right" 0.0;
2125                                 color: 255 255 255 255;
2126                                 rel1 { to:"arrow_area_left"; relative: 0 0; }
2127                                 rel2 { to:"arrow_area_left"; relative: 0 1; }
2128                         }
2129                         description { state: "hide_down" 0.0;
2130                                 color: 255 255 255 255;
2131                                 rel1 { to:"arrow_area_up"; relative: 0 0; }
2132                                 rel2 { to:"arrow_area_up"; relative: 1 0; }
2133                         }
2134                         description { state: "visible" 0.0;
2135                                 color: 255 255 255 255;
2136                                 rel1 { to_x:"arrow_area_left"; to_y:"arrow_area_up"; }
2137                                 rel2 { to_x:"arrow_area_right"; to_y:"arrow_area_down"; }
2138                         }
2139                 }
2140         }
2141         programs {
2142                 program { name: "show";
2143                         signal: "elm,state,show";
2144                         source: "elm";
2145                         action: STATE_SET "visible" 0.0;
2146                         transition: LINEAR 0.25;
2147                         target: "ctxpopup_clip";
2148                 }
2149                 program { name: "show_up";
2150                         signal: "elm,state,show,up";
2151                         source: "elm";
2152                         action: STATE_SET "show_up" 0.0;
2153                         transition: LINEAR 0.25;
2154                         target: "ctxpopup_clip";
2155                 }
2156                 program { name: "show_left";
2157                         signal: "elm,state,show,left";
2158                         source: "elm";
2159                         action: STATE_SET "show_left" 0.0;
2160                         transition: LINEAR 0.25;
2161                         target: "ctxpopup_clip";
2162                 }
2163                 program { name: "show_right";
2164                         signal: "elm,state,show,right";
2165                         source: "elm";
2166                         action: STATE_SET "show_right" 0.0;
2167                         transition: LINEAR 0.25;
2168                         target: "ctxpopup_clip";
2169                 }
2170                 program { name: "show_down";
2171                         signal: "elm,state,show,down";
2172                         source: "elm";
2173                         action: STATE_SET "show_down" 0.0;
2174                         transition: LINEAR 0.25;
2175                         target: "ctxpopup_clip";
2176                 }
2177                 program { name: "hide_up";
2178                         signal: "elm,state,hide,up";
2179                         source: "elm";
2180                         action: STATE_SET "hide_up" 0.0;
2181                         transition: LINEAR 0.25;
2182                         target: "ctxpopup_clip";
2183                         after: "hide_finished";
2184                 }
2185                 program { name: "hide_left";
2186                         signal: "elm,state,hide,left";
2187                         source: "elm";
2188                         action: STATE_SET "hide_left" 0.0;
2189                         transition: LINEAR 0.25;
2190                         target: "ctxpopup_clip";
2191                         after: "hide_finished";
2192                 }
2193                 program { name: "hide_right";
2194                         signal: "elm,state,hide,right";
2195                         source: "elm";
2196                         action: STATE_SET "hide_right" 0.0;
2197                         transition: LINEAR 0.25;
2198                         target: "ctxpopup_clip";
2199                         after: "hide_finished";
2200                 }
2201                 program { name: "hide_down";
2202                         signal: "elm,state,hide,down";
2203                         source: "elm";
2204                         action: STATE_SET "hide_down" 0.0;
2205                         transition: LINEAR 0.25;
2206                         target: "ctxpopup_clip";
2207                         after: "hide_finished";
2208                 }
2209                 program { name: "hide_finished";
2210                         action: SIGNAL_EMIT "elm,action,hide,finished" "";
2211                 }
2212         }
2213 }
2214
2215 group { name: "elm/ctxpopup/arrow/beat_winset_test/camera_no_arrow";
2216         parts {
2217                 part {
2218                         name: "ctxpopup_arrow";
2219                         type: IMAGE;
2220                         scale: 1;
2221                         description {
2222                                 state: "default" 0.0;
2223                                 min: CTXPOPUP_CAMERA_ARROW_SIZE CTXPOPUP_CAMERA_ARROW_SIZE;
2224                                 max: CTXPOPUP_CAMERA_ARROW_SIZE CTXPOPUP_CAMERA_ARROW_SIZE;
2225                                 fixed: 1 1;
2226                                 visible: 0;
2227                                 align: 0.5 0.5;
2228                                 rel1.relative: 0.0 -0.5;
2229                                 rel2.relative: 0.0 1.0;
2230
2231                         }
2232                         description {
2233                                 state: "left" 0.0;
2234                                 inherit: "default" 0.0;
2235                         }
2236                         description {
2237                                 state: "right" 0.0;
2238                                 inherit: "default" 0.0;
2239                         }
2240                         description {
2241                                 state: "top" 0.0;
2242                                 inherit: "default" 0.0;
2243                         }
2244                         description {
2245                                 state: "bottom" 0.0;
2246                                 inherit: "default" 0.0;
2247                         }
2248                 }
2249         }
2250 }
2251
2252 #include "style_tizen_hd_inc.edc"
2253 #include "style_genlist_macro.edc"
2254 #include "style_genlist_normal.edc"
2255
2256 }
2257