Updating INI configuration file to work with most cameras.
[profile/ivi/camera.git] / edc / style_slider_camera.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 "style_tizen_hd_inc.edc"
20
21 images {
22         image: SLIDER_BAR_IMAGE COMP;
23         image: SLIDER_BAR_VER_IMAGE COMP;
24         image: SLIDER_HANDLER_IMAGE COMP;
25 }
26
27 collections {
28
29         group { name: "elm/slider/vertical/camera";
30                 parts {
31                         part {
32                                 name: "base";
33                                 mouse_events: 0;
34                                 description { state: "default" 0.0;
35                                         max: 20 99999;
36                                         min: 6 0;
37                                         rel1 { to: "bg"; offset: 1 0; }
38                                         rel2 { to: "bg"; offset: -2 -1; }
39                                         image.normal: SLIDER_BAR_IMAGE;
40                                         fill.smooth: 0;
41                                 }
42                         }
43                         part {
44                                 name: "bg";
45                                 type: RECT;
46                                 mouse_events: 0;
47                                 scale: 1;
48                                 description {
49                                         state: "default" 0.0;
50                                         visible: 0;
51                                         rel1.to: "elm.swallow.bar";
52                                         rel2.to: "elm.swallow.bar";
53                                         color: 0 0 0 0;
54                                 }
55                         }
56                         part {
57                                 name: "elm.swallow.bar";
58                                 type: SWALLOW;
59                                 scale: 1;
60                                 description {
61                                         state: "default" 0.0;
62                                         min: 20 58;
63                                         max: 20 9999;
64                                         align: 0.5 1.0;
65                                 }
66                         }
67                         part {
68                                 name: "elm.swallow.icon";
69                                 type: SWALLOW;
70                                 description {
71                                         state: "default" 0.0;
72                                         visible: 0;
73                                         align: 0.5 0.0;
74                                         rel1 { offset: 0 4; to_x: "elm.swallow.bar"; }
75                                         rel2 { offset: -1 3; relative: 1.0 0.0; to_x: "elm.swallow.bar"; }
76                                 }
77                                 description {
78                                         state: "visible" 0.0;
79                                         inherit: "default" 0.0;
80                                         visible: 1;
81                                         aspect: 1.0 1.0;
82                                         aspect_preference: HORIZONTAL;
83                                         rel2.offset: -1 4;
84                                 }
85                         }
86                         part {
87                                 name: "elm.swallow.end";
88                                 type: SWALLOW;
89                                 description {
90                                         state: "default" 0.0;
91                                         visible: 0;
92                                         align: 0.5 1.0;
93                                         rel1 { offset: 0 -4; relative: 0.0 1.0; to_x: "elm.swallow.bar"; }
94                                         rel2 { offset: -1 -3; to_x: "elm.swallow.bar"; }
95                                 }
96                                 description {
97                                         state: "visible" 0.0;
98                                         inherit: "default" 0.0;
99                                         visible: 1;
100                                         aspect: 1.0 1.0;
101                                         aspect_preference: HORIZONTAL;
102                                         rel2.offset: -1 -4;
103                                 }
104                         }
105                         part {
106                                 name: "elm.dragable.slider";
107                                 type: GROUP;
108                                 source: "elm/slider/vertical/indicator/camera";
109                                 mouse_events: 1;
110                                 repeat_events: 1;
111                                 scale: 1;
112                                 dragable {
113                                         x: 0 0 0;
114                                         y: 1 1 0;
115                                         confine: "bg";
116                                 }
117                                 description {
118                                         state: "default" 0.0;
119                                         min: 20 0;
120                                         max: 20 0;
121                                         fixed: 1 1;
122                                         rel1 { relative: 0.5  0.0; to_y: "bg"; }
123                                         rel2 { relative: 0.5  1.0; to_y: "bg"; }
124                                         color: 0 0 0 0;
125                                 }
126                         }
127                         part {
128                                 name: "disabler";
129                                 type: RECT;
130                                 description {
131                                         state: "default" 0.0;
132                                         color: 0 0 0 0;
133                                         visible: 0;
134                                 }
135                                 description {
136                                         state: "disabled" 0.0;
137                                         inherit: "default" 0.0;
138                                         visible: 1;
139                                 }
140                         }
141                 }
142
143                 programs {
144                         program {
145                                 name: "icon_show";
146                                 signal: "elm,state,icon,visible";
147                                 source: "elm";
148                                 action:  STATE_SET "visible" 0.0;
149                                 target: "elm.swallow.icon";
150                         }
151                         program {
152                                 name: "icon_hide";
153                                 signal: "elm,state,icon,hidden";
154                                 source: "elm";
155                                 action:  STATE_SET "default" 0.0;
156                                 target: "elm.swallow.icon";
157                         }
158                         program {
159                                 name: "end_show";
160                                 signal: "elm,state,end,visible";
161                                 source: "elm";
162                                 action:  STATE_SET "visible" 0.0;
163                                 target: "elm.swallow.end";
164                         }
165                         program {
166                                 name: "end_hide";
167                                 signal: "elm,state,end,hidden";
168                                 source: "elm";
169                                 action:  STATE_SET "default" 0.0;
170                                 target: "elm.swallow.end";
171                         }
172                         program {
173                                 name:   "go_disabled";
174                                 signal: "elm,state,disabled";
175                                 source: "elm";
176                                 action: STATE_SET "disabled" 0.0;
177                                 target: "disabler";
178                                 after: "disable_ind";
179                         }
180                         program {
181                                 name: "disable_ind";
182                                 action: SIGNAL_EMIT "elm.dragable.slider:elm,state,disabled" "elm";
183                         }
184                         program {
185                                 name: "enable";
186                                 signal: "elm,state,enabled";
187                                 source: "elm";
188                                 action: STATE_SET "default" 0.0;
189                                 target: "disabler";
190                                 after: "enable_ind";
191                         }
192                         program {
193                                 name: "enable_ind";
194                                 action: SIGNAL_EMIT "elm.dragable.slider:elm,state,enabled" "elm";
195                         }
196                 }
197         }
198
199         group {
200                 name: "elm/slider/vertical/indicator/camera";
201                 script {
202                         public value_hide = 0;
203                         public set_value_show() {
204                                 set_int(value_hide, 0);
205                         }
206                         public set_value_hide() {
207                                 set_int(value_hide, 1);
208                         }
209                         public thumb_down() {
210                                 if (get_int(value_hide) == 1) {
211                                         set_state(PART:"elm.indicator", "default", 0.0);
212                                 } else {
213                                         set_state(PART:"elm.indicator", "visible", 0.0);
214                                 }
215                         }
216                         public thumb_up() {
217                                 set_state(PART:"elm.indicator", "default", 0.0);
218                         }
219                 }
220
221                 parts {
222                         part {
223                                 name: "button_events";
224                                 type: RECT;
225                                 mouse_events: 1;
226                                 scale: 1;
227                                 description {
228                                         state: "default" 0.0;
229                                         fixed: 1 1;
230                                         min: 60 60;
231                                         aspect: 1.0 1.0;
232                                         aspect_preference: VERTICAL;
233                                         color: 0 0 0 0;
234                                 }
235                         }
236                         part {
237                                 name: "button0";
238                                 mouse_events: 0;
239                                 scale: 1;
240                                 description {
241                                         state: "default" 0.0;
242                                         fixed: 1 1;
243                                         min: 60 60;
244                                         image {
245                                                 normal: SLIDER_HANDLER_IMAGE;
246                                                 border: 5 5 5 10;
247                                         }
248                                         fill.smooth: 0;
249                                 }
250                                 description {
251                                         state: "disabled" 0.0;
252                                         inherit: "default" 0.0;
253                                         image {
254                                                 normal: SLIDER_HANDLER_IMAGE;
255                                                 border: 5 5 5 10;
256                                         }
257                                 }
258                         }
259                         part {
260                                 name: "elm.indicator";
261                                 type: TEXT;
262                                 mouse_events: 0;
263                                 effect: SOFT_SHADOW;
264                                 scale: 1;
265                                 description { state: "default" 0.0;
266                                         visible: 0;
267                                         fixed: 1 1;
268                                         align: 0.5 1.0;
269                                         rel1 { to: "button0"; relative: 0.0 -0.25; offset: 0 0; }
270                                         rel2 { to_x: "button0"; relative: 1.0 -0.25; offset: -1 0; }
271                                         color: 224 224 224 255;
272                                         color3: 0 0 0 64;
273                                         text {
274                                                 font:     "Sans,Edje-Vera";
275                                                 size:     10;
276                                                 min:      0 0;
277                                                 align:    0.5 0.5;
278                                         }
279                                 }
280                                 description {
281                                         state: "visible" 0.0;
282                                         inherit: "default" 0.0;
283                                         visible: 1;
284                                         text.min: 1 1;
285                                         rel1.offset: 0 -1;
286                                         rel2.offset: -1 -1;
287                                 }
288                         }
289                 }
290
291                 programs {
292                         program {
293                                 name: "set_val_show";
294                                 signal: "elm,state,val,show";
295                                 source: "elm";
296                                 script {
297                                         set_value_show();
298                                 }
299                         }
300                         program {
301                                 name: "set_val_hide";
302                                 signal: "elm,state,val,hide";
303                                 source: "elm";
304                                 script {
305                                         set_value_hide();
306                                 }
307                         }
308                         program {
309                                 name: "val_show";
310                                 signal: "mouse,down,*";
311                                 source: "button_events";
312                                 script {
313                                         thumb_down();
314                                 }
315                         }
316                         program {
317                                 name: "val_hide";
318                                 signal: "mouse,up,*";
319                                 source: "button_events";
320                                 script {
321                                         thumb_up();
322                                 }
323                         }
324                         program {
325                                 name: "go_disabled";
326                                 signal: "elm,state,disabled";
327                                 source: "elm";
328                                 action: STATE_SET "disabled" 0.0;
329                                 target: "button0";
330                         }
331                         program {
332                                 name: "go_enabled";
333                                 signal: "elm,state,enabled";
334                                 source: "elm";
335                                 action: STATE_SET "default" 0.0;
336                                 target: "button0";
337                         }
338                 }
339         }
340
341 /*hor edc*/
342 /////////////////////////////////////////////////////////////////
343 group { name: "elm/slider/horizontal/indicator/camera";
344
345       parts {
346          part { name: "button_events";
347             type: RECT;
348             mouse_events: 1;
349             scale: 1;
350             description { state: "default" 0.0;
351                fixed: 1 1;
352                min: 60 60;
353                aspect: 1.0 1.0;
354                aspect_preference: VERTICAL;
355                color: 0 0 0 0;
356             }
357             description { state: "disabled" 0.0;
358                inherit: "default" 0.0;
359                visible: 0;
360             }
361          }
362
363          part { name: "button0";
364                 mouse_events: 0;
365                 scale: 1;
366                 description { state: "default" 0.0;
367                         fixed: 1 1;
368                         min: SLIDER_INDICATOR_WIDTH_INC SLIDER_INDICATOR_HEIGHT_INC;
369                         max: 90 SLIDER_INDICATOR_HEIGHT_INC;
370                         rel1 {
371                                 to: "elm.indicator";
372                         }
373                         rel2 {
374                                 to: "elm.indicator";
375                         }
376                         image {
377                                 normal: SLIDER_HANDLER_IMAGE;
378                         }
379                         fill.smooth: 0;
380                 }
381          }
382          part { name: "elm.indicator";
383             type: TEXT;
384             mouse_events: 0;
385             scale: 1;
386             description { state: "default" 0.0;
387                visible: 1;
388                color: SLIDER_INDICATOR_TEXT_COLOR_INC;
389                fixed: 1 1;
390                min: 60 60;
391                text {
392                   font: "SLP:style=Medium";
393                   size: SLIDER_INDICATOR_TEXT_SIZE_INC;
394                   min: 1 1;
395                   align: 0.5 0.5;
396                   text_class: "slp_medium";
397                }
398             }
399             description { state: "hide" 0.0;
400                inherit: "default" 0.0;
401                visible: 0;
402              }
403          }
404       }
405       programs {
406          program { name: "set_val_show";
407             signal: "elm,state,val,show";
408             source: "elm";
409             action:  STATE_SET "default" 0.0;
410             target: "elm.indicator";
411          }
412          program { name: "set_val_hide";
413             signal: "elm,state,val,hide";
414             source: "elm";
415             action:  STATE_SET "hide" 0.0;
416             target: "elm.indicator";
417          }
418          program { name: "slider_disable";
419             signal: "elm,state,disabled";
420             source: "elm";
421             action:  STATE_SET "disabled" 0.0;
422             target: "button0";
423             target: "button_events";
424          }
425          program { name: "slider_enable";
426             signal: "elm,state,enabled";
427             source: "elm";
428             action:  STATE_SET "default" 0.0;
429             target: "button0";
430             target: "button_events";
431          }
432       }
433    }
434
435 /////////////////////////////////////////////////////////////
436         group { name: "elm/slider/horizontal/camera";
437         script {
438                 public invert_on = 0;
439                 public set_invert_on() {
440                         set_state(PART:"level", "inverted", 0.0);
441                         set_state(PART:"level2", "inverted", 0.0);
442                         set_int(invert_on, 1);
443                 }
444                 public set_invert_off() {
445                         set_state(PART:"level", "default", 0.0);
446                         set_state(PART:"level2", "default", 0.0);
447                         set_int(invert_on, 0);
448                 }
449                 public thumb_down() {
450                         if(get_int(invert_on) == 0)
451                                 set_state(PART:"level", "pressed", 0.0);
452                         else if(get_int(invert_on) == 1)
453                                 set_state(PART:"level2", "pressed", 0.0);
454                 }
455                 public thumb_up() {
456                         if(get_int(invert_on) == 0)
457                                 set_state(PART:"level", "default", 0.0);
458                         else if(get_int(invert_on) == 1)
459                                 set_state(PART:"level2", "inverted", 0.0);
460                         }
461                 }
462          parts {
463             part { name: "base";
464                mouse_events: 0;
465                scale: 1;
466                description { state: "default" 0.0;
467                   min: 0 20;
468                   max: 99999 20;
469                   rel1 { to: "bg"; offset: 1 0; }
470                   rel2 { to: "bg"; offset: -2 -1; }
471                   image.normal: SLIDER_BAR_VER_IMAGE;
472                   fill.smooth: 0;
473                }
474             }
475
476             part { name: "bg";
477                type: RECT;
478                mouse_events: 0;
479                scale: 1;
480                description { state: "default" 0.0;
481                   visible: 0;
482                   rel1.to: "elm.swallow.bar";
483                   rel2.to: "elm.swallow.bar";
484                   color: 0 0 0 0;
485                }
486             }
487
488             part { name: "elm.swallow.bar";
489                type: SWALLOW;
490                mouse_events: 0;
491                scale: 1;
492                description { state: "default" 0.0;
493                           min: 58 20;
494                           max: 99999 20;
495                           align: 1.0 0.5;
496                           rel1 {
497                              to_x: "bar_left_padding";
498                              relative: 1.0 0.0;
499                           }
500                           rel2 {
501                              to_x: "bar_right_padding";
502                              relative: 0.0 1.0;
503                           }
504                        }
505             }
506             part {
507                name: "bar_left_padding";
508                type: SWALLOW;
509                scale: 1;
510                description {
511                   state: "default" 0.0;
512                   visible: 0;
513                   min: 4 0;
514                   fixed: 1 1;
515                   rel1 {
516                      relative: 1.0  0.5;
517                      to_x: "elm.text";
518                   }
519                   rel2 {
520                      relative: 1.0  0.5;
521                      to_x: "elm.text";
522                   }
523                   align: 0.0 0.5;
524                   color: 0 0 0 0;
525                }
526             }
527             part {
528                name: "bar_right_padding";
529                type: SWALLOW;
530                scale: 1;
531                description {
532                   state: "default" 0.0;
533                   visible: 0;
534                   min: 0 0;
535                   fixed: 1 1;
536                   rel1 {
537                      relative: 0.0  0.5;
538                      to_x: "elm.units";
539                   }
540                   rel2 {
541                      relative: 0.0  0.5;
542                      to_x: "elm.units";
543                   }
544                   align: 1.0 0.5;
545                }
546             }
547
548             part { name: "level";
549                mouse_events: 0;
550                scale: 1;
551                description { state: "default" 0.0;
552                   fixed: 1 1;
553                   rel1.to: "base";
554                   rel2 {
555                      to_y: "base";
556                      to_x: "elm.dragable.slider";
557                      relative: 0.5 1.0;
558                   }
559                   image.normal: SLIDER_BAR_VER_IMAGE;
560                   fill.smooth: 0;
561                }
562                description { state: "inverted" 0.0;
563                   inherit: "default" 0.0;
564                   visible: 0;
565                }
566                description { state: "pressed" 0.0;
567                   inherit: "default" 0.0;
568                   image.normal: SLIDER_BAR_VER_IMAGE;
569                   fill.smooth: 0;
570                }
571             }
572             part { name: "level2";
573                mouse_events: 0;
574                scale: 1;
575                description { state: "default" 0.0;
576                   fixed: 1 1;
577                   visible: 0;
578                   rel1 {
579                      to_y: "base";
580                      to_x: "elm.dragable.slider";
581                      relative: 0.5 0.0;
582                   }
583                   rel2.to: "base";
584                   image.normal: SLIDER_BAR_VER_IMAGE;
585                   fill.smooth: 0;
586                }
587                description { state: "inverted" 0.0;
588                   inherit: "default" 0.0;
589                   visible: 1;
590                }
591                description { state: "pressed" 0.0;
592                   inherit: "default" 0.0;
593                   visible: 1;
594                  image.normal: SLIDER_BAR_VER_IMAGE;
595                  fill.smooth: 0;
596                }
597             }
598             part { name: "elm.swallow.icon";
599                type: SWALLOW;
600                scale: 1;
601                description { state: "default" 0.0;
602                   visible: 0;
603                   align: 0.0 0.5;
604                   rel1 {
605                      to_y: "elm.swallow.bar";
606                   }
607                   rel2 {
608                      relative: 0.0 1.0;
609                      to_y: "elm.swallow.bar";
610                   }
611                }
612                description { state: "visible" 0.0;
613                   inherit: "default" 0.0;
614                   visible: 1;
615                   aspect: 1.0 1.0;
616                   aspect_preference: VERTICAL;
617                }
618             }
619             part { name: "elm.text";
620                type: TEXT;
621                mouse_events: 0;
622                scale: 1;
623                description { state: "default" 0.0;
624                   visible: 0;
625                   fixed: 1 1;
626                   align: 0.0 0.5;
627                   rel1.to_x: "elm.swallow.icon";
628                   rel1.relative: 1.0 0.0;
629                   rel2.to_x: "elm.swallow.icon";
630                   color: SLIDER_UNITS_TEXT_COLOR_INC;
631                   text {
632                      font: "SLP:style=Medium";
633                      size: SLIDER_UNITS_TEXT_SIZE_INC;
634                      min: 0 0;
635                      align: 0.0 0.5;
636                      text_class: "slp_medium";
637                   }
638                }
639                description { state: "visible" 0.0;
640                   inherit: "default" 0.0;
641                   visible: 1;
642                   text.min: 1 1;
643                }
644             }
645             part { name: "elm.swallow.end";
646                type: SWALLOW;
647                scale: 1;
648                description { state: "default" 0.0;
649                   visible: 0;
650                   align: 1.0 0.5;
651                   rel1 {
652                      relative: 1.0 0.0;
653                      to_y: "elm.swallow.bar";
654                   }
655                   rel2 {
656                      relative: 1.0 1.0;
657                      to_y: "elm.swallow.bar";
658                   }
659                }
660                description { state: "visible" 0.0;
661                   inherit: "default" 0.0;
662                   visible: 1;
663                   aspect: 1.0 1.0;
664                   aspect_preference: VERTICAL;
665                }
666             }
667             part { name: "units";
668                mouse_events: 0;
669                scale: 1;
670                description { state: "default" 0.0;
671                   visible: 0;
672                   rel1 {
673                      to_x: "elm.units";
674                   }
675                }
676                description { state: "visible" 0.0;
677                   inherit: "default" 0.0;
678                   visible: 1;
679                }
680             }
681             part { name: "elm.units";
682                type: TEXT;
683                mouse_events: 0;
684                scale: 1;
685                description { state: "default" 0.0;
686                   visible: 0;
687                   fixed: 1 1;
688                   align: 1.0 0.5;
689                   rel1.to_x: "elm.swallow.end";
690                   rel2.relative: 0.0 1.0;
691                   rel2.to_x: "elm.swallow.end";
692                   color: SLIDER_UNITS_TEXT_COLOR_INC;
693                   text {
694                      font: "SLP:style=Bold";
695                      size: SLIDER_UNITS_TEXT_SIZE_INC;
696                      min: 0 0;
697                      align: 0.0 0.5;
698                      text_class: "slp_bold";
699                   }
700                }
701                description { state: "visible" 0.0;
702                   inherit: "default" 0.0;
703                   fixed: 1 1;
704                   visible: 1;
705                   text.min: 1 1;
706                }
707             }
708             part { name: "elm.dragable.slider";
709                type: GROUP;
710                source: "elm/slider/horizontal/indicator/camera";
711                mouse_events: 1;
712                scale: 1;
713                dragable {
714                   x: 1 1 0;
715                   y: 0 0 0;
716                   confine: "bg";
717                }
718                description { state: "default" 0.0;
719                   min: 20 20;
720                   fixed: 1 1;
721                   align: 0.5 0.5;
722                   color: 0 0 0 0;
723                }
724             }
725             part { name: "disabler";
726                type: RECT;
727                mouse_events: 1;
728                repeat_events: 0;
729                scale: 1;
730                description { state: "default" 0.0;
731                   visible: 0;
732                   min: 1 1;
733                   color: SLIDER_DISABLER_PART_COLOR_INC;
734                }
735                description { state: "disabled" 0.0;
736                   inherit: "default" 0.0;
737                   visible: 1;
738                }
739             }
740          }
741          programs {
742             program { name: "text_show";
743             signal: "elm,state,text,visible";
744             source: "elm";
745             action:  STATE_SET "visible" 0.0;
746             target: "elm.text";
747          }
748          program { name: "text_hide";
749             signal: "elm,state,text,hidden";
750             source: "elm";
751             action:  STATE_SET "default" 0.0;
752             target: "elm.text";
753          }
754          program { name: "icon_show";
755             signal: "elm,state,icon,visible";
756             source: "elm";
757             action:  STATE_SET "visible" 0.0;
758             target: "elm.swallow.icon";
759          }
760          program { name: "icon_hide";
761             signal: "elm,state,icon,hidden";
762             source: "elm";
763             action:  STATE_SET "default" 0.0;
764             target: "elm.swallow.icon";
765          }
766          program { name: "end_show";
767             signal: "elm,state,end,visible";
768             source: "elm";
769             action:  STATE_SET "visible" 0.0;
770             target: "elm.swallow.end";
771          }
772          program { name: "end_hide";
773             signal: "elm,state,end,hidden";
774             source: "elm";
775             action:  STATE_SET "default" 0.0;
776             target: "elm.swallow.end";
777          }
778          program { name: "units_show";
779             signal: "elm,state,units,visible";
780             source: "elm";
781             action:  STATE_SET "visible" 0.0;
782             target: "elm.units";
783             target: "units";
784          }
785          program { name: "units_hide";
786             signal: "elm,state,units,hidden";
787             source: "elm";
788             action:  STATE_SET "default" 0.0;
789             target: "elm.units";
790             target: "units";
791          }
792
793          program { name: "invert_on";
794             signal: "elm,state,inverted,on";
795             source: "elm";
796             script {
797                set_invert_on();
798             }
799          }
800          program { name: "invert_off";
801             signal: "elm,state,inverted,off";
802             source: "elm";
803             script {
804                set_invert_off();
805             }
806          }
807          program { name: "val_show";
808             signal: "mouse,down,*";
809             source: "elm.dragable.slider";
810             script {
811                thumb_down();
812             }
813          }
814          program { name: "val_hide";
815             signal: "mouse,up,*";
816             source: "elm.dragable.slider";
817             script {
818                thumb_up();
819             }
820          }
821          program { name: "slider_disable";
822             signal: "elm,state,disabled";
823             source: "elm";
824             action:  STATE_SET "disabled" 0.0;
825             target: "disabler";
826          }
827          program { name: "slider_enable";
828             signal: "elm,state,enabled";
829             source: "elm";
830             action:  STATE_SET "default" 0.0;
831             target: "disabler";
832          }
833       }
834    }
835 ///////////////////////////////////////////
836 }
837
838 //end file
839