[Entry] Remove scrollbar image in entry. This is not supported image from UX team.
[platform/core/uifw/efl-theme-tizen.git] / themes / widgets / calendar.edc
1 /*
2  * efl-theme-tizen
3  * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
4  *
5  * Licensed under the Apache License, Version 2.0 (the License);
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  *     http://www.apache.org/licenses/LICENSE-2.0
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an AS IS BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  */
17
18
19
20 #define CH(_pos) \
21     part { name: "ch_"#_pos".base"; \
22        type: RECT; \
23        scale: 1;\
24        description { state: "default" 0.0; \
25           rel1 { \
26              relative: (_pos % 7 / 7) 0; \
27              to: "header"; \
28           } \
29           rel2 { \
30             relative: (_pos % 7 / 7 + 1 / 7) 1; \
31             to: "header"; \
32           } \
33           color: 0 0 0 0; \
34           visible: 0; \
35        } \
36     } \
37     part { name: "ch_"#_pos".text"; \
38        type: TEXT; \
39        mouse_events: 0; \
40        scale: 1; \
41        clip_to: "ch_"#_pos".clipper"; \
42        description { \
43           state: "default" 0.0; \
44           rel1.to: "ch_"#_pos".base"; \
45           rel2.to: "ch_"#_pos".base"; \
46           color: CALENDAR_WEEKDAY_FONT_COLOR_INC; \
47           text { \
48              font: "Tizen:style=Roman"; \
49              size: CALENDAR_DAY_FONT_SIZE_INC; \
50              min: 1 1; \
51              align: 0.5 0.5; \
52              text_class: "tizen"; \
53           } \
54        } \
55     } \
56     part { name: "ch_"#_pos".clipper"; \
57        type: RECT; \
58        scale: 1; \
59        description { state: "default" 0.0; \
60           rel1.to: "ch_"#_pos".base"; \
61           rel2.to: "ch_"#_pos".base"; \
62        } \
63     }
64
65 #define CIT(_pos) \
66     part { name: "cit_"#_pos".rect"; \
67        scale: 1;\
68        description { state: "default" 0.0; \
69           rel1 { \
70             relative: (_pos % 7 / 7) \
71                   (_pos / 7 / 6 - _pos % 7 / 7 / 6); \
72             to: "base"; \
73           } \
74           rel2 { \
75             relative: (_pos % 7 / 7 + 1 / 7) \
76                   (_pos / 7 / 6 - _pos % 7 / 7 / 6 + 1 / 6); \
77             to: "base"; \
78             offset: 0 0; \
79           } \
80            image { \
81               normal: "00_picker_field_bg.png"; \
82            } \
83           visible: 1; \
84        } \
85        description { state: "selected" 0.0; \
86            inherit: "default" 0.0; \
87            image { \
88               normal: "00_picker_btn_press.png"; \
89               border: 2 2 4 4; \
90            } \
91        } \
92        description { state: "expand" 0.0; \
93           inherit: "default" 0.0; \
94           rel1 { \
95             relative: (_pos % 7 / 7) \
96                    (_pos / 7 / 5 - _pos % 7 / 7 / 5); \
97             to: "base"; \
98           } \
99           rel2 { \
100             relative: (_pos % 7 / 7 + 1 / 7) \
101                    (_pos / 7 / 5 - _pos % 7 / 7 / 5 + 1 / 5); \
102             to: "base"; \
103             offset: 0 0; \
104           } \
105        } \
106        description { state: "invisible" 0.0; \
107           inherit: "default" 0.0; \
108           min: 0 0; \
109           max: 0 0;\
110        } \
111        description { state: "today_normal" 0.0; \
112           inherit: "default" 0.0; \
113            image { \
114               normal: "00_picker_btn_current.png"; \
115               border: 5 4 4 4; \
116            } \
117        }\
118        description { state: "today_expand" 0.0; \
119            inherit: "expand" 0.0; \
120            image { \
121               normal: "00_picker_btn_current.png"; \
122               border: 5 4 4 4; \
123            } \
124         } \
125     } \
126     part { \
127        name: "cit_"#_pos".event"; \
128        type: RECT; \
129        scale: 1;\
130        repeat_events: 1; \
131        description { \
132           rel1.to: "cit_"#_pos".rect"; \
133           rel2.to: "cit_"#_pos".rect"; \
134           state: "default" 0.0; \
135           color: 0 0 0 0; \
136        } \
137     } \
138     part { \
139        name: "cit_"#_pos".bg"; \
140        mouse_events: 0; \
141        scale: 1;\
142        description { state: "default" 0.0; \
143           visible: 0; \
144           color: 255 255 255 0; \
145           rel1 { \
146             to: "cit_"#_pos".rect"; \
147             relative: 0.0 0.0; \
148           } \
149           rel2 { \
150             to: "cit_"#_pos".rect"; \
151             relative: 1.0 1.0; \
152            } \
153            image { \
154               normal: "00_calend_picker_day_press.png"; \
155            } \
156            image.middle: SOLID; \
157        } \
158        description { state: "selected" 0.0; \
159           inherit: "default" 0.0; \
160           visible: 1; \
161           color: 255 255 255 255; \
162        } \
163     } \
164     part { name: "cit_"#_pos".text"; \
165        type: TEXT; \
166        mouse_events: 0; \
167        scale: 1; \
168        description { \
169           state: "default" 0.0; \
170           rel1.to: "cit_"#_pos".rect"; \
171           rel2.to: "cit_"#_pos".rect"; \
172           color: CALENDAR_WEEKDAY_FONT_COLOR_INC; \
173           text { \
174              font: "Tizen:style=Medium"; \
175              size: CALENDAR_DATE_FONT_SIZE_INC; \
176               min: 1 1; \
177               align: 0.5 0.5; \
178               text_class: "tizen"; \
179           } \
180         } \
181         description { state: "saturday" 0.0; \
182            inherit: "default" 0.0; \
183            color: CALENDAR_SATURDAY_FONT_COLOR_INC; \
184         } \
185         description { state: "sunday" 0.0; \
186             inherit: "default" 0.0; \
187             color:  CALENDAR_SUNDAY_FONT_COLOR_INC; \
188          } \
189          description { state: "selected" 0.0; \
190             inherit: "default" 0.0; \
191             color: CALENDAR_SELECTED_DATE_FONT_COLOR_INC; \
192          } \
193         description { state: "selected_saturday" 0.0; \
194            inherit: "default" 0.0; \
195            color: CALENDAR_SELECTED_DATE_FONT_COLOR_INC; \
196         } \
197         description { state: "selected_sunday" 0.0; \
198            inherit: "default" 0.0; \
199            color: CALENDAR_SELECTED_DATE_FONT_COLOR_INC; \
200         } \
201     } \
202     part { name: "cit_"#_pos".check"; \
203        mouse_events: 0; \
204        scale: 1;\
205        description { state: "default" 0.0; \
206            rel1 { \
207              to: "cit_"#_pos".rect"; \
208              relative: 0.7 0.6; \
209              offset: 1 1; \
210            } \
211            rel2 { \
212              to: "cit_"#_pos".rect"; \
213              relative: 1.1 1.2; \
214               offset: -2 -2; \
215            } \
216            aspect: 1 1; \
217            visible: 0; \
218            image.normal: "00_check_activated.png"; \
219        } \
220        description { state: "visible" 0.0; \
221           inherit: "default" 0.0; \
222           visible: 1; \
223        } \
224     } \
225    programs { \
226       program { \
227          name:    "cit_"#_pos".go_active"; \
228          signal:  "cit_"#_pos",selected"; \
229          source:  "elm"; \
230          script { \
231             new st[31]; \
232             new Float:vl; \
233             get_state(PART:"cit_"#_pos".text", st, 30, vl); \
234             if (!strcmp(st, "saturday")) \
235                set_state(PART:"cit_"#_pos".text", "selected_saturday", 0.0); \
236             else if (!strcmp(st, "sunday")) \
237                set_state(PART:"cit_"#_pos".text", "selected_sunday", 0.0); \
238             else \
239                set_state(PART:"cit_"#_pos".text", "selected", 0.0); \
240             set_state(PART:"cit_"#_pos".bg", "selected", 0.0); \
241          } \
242       } \
243       program { \
244          name:    "cit_"#_pos".go_passive"; \
245          signal:  "cit_"#_pos",unselected"; \
246          source:  "elm"; \
247          script { \
248             new st[31]; \
249             new Float:vl; \
250             get_state(PART:"cit_"#_pos".text", st, 30, vl); \
251             if (!strcmp(st, "selected_saturday")) \
252                set_state(PART:"cit_"#_pos".text", "saturday", 0.0); \
253             else if (!strcmp(st, "selected_sunday")) \
254                set_state(PART:"cit_"#_pos".text", "sunday", 0.0); \
255             else \
256                set_state(PART:"cit_"#_pos".text", "default", 0.0); \
257             set_state(PART:"cit_"#_pos".bg", "default", 0.0); \
258          } \
259       } \
260       program { \
261          name:    "cit_"#_pos".weekday"; \
262          signal:  "cit_"#_pos",weekday"; \
263          source:  "elm"; \
264          action:  STATE_SET "default" 0.0; \
265          target:  "cit_"#_pos".text"; \
266       } \
267       program { \
268          name:    "cit_"#_pos".saturday"; \
269          signal:  "cit_"#_pos",saturday"; \
270          source:  "elm"; \
271          action:  STATE_SET "saturday" 0.0; \
272          target:  "cit_"#_pos".text"; \
273       } \
274       program { \
275          name:    "cit_"#_pos".sunday"; \
276          signal:  "cit_"#_pos",sunday"; \
277          source:  "elm"; \
278          action:  STATE_SET "sunday" 0.0; \
279          target:  "cit_"#_pos".text"; \
280       } \
281       program { \
282          name:    "cit_"#_pos".is_today"; \
283          signal:  "cit_"#_pos",today"; \
284          source:  "elm"; \
285          script { \
286            new st[31]; \
287            new Float:vl; \
288            get_state(PART:"cit_"#_pos".rect", st, 30, vl); \
289            if (!strcmp(st, "expand")) \
290              { \
291                set_state(PART:"cit_"#_pos".rect", "today_expand", 0.0); \
292              } \
293            else \
294              { \
295                set_state(PART:"cit_"#_pos".rect", "today_normal", 0.0); \
296              } \
297           } \
298       } \
299       program { \
300          name:    "cit_"#_pos".not_today"; \
301          signal:  "cit_"#_pos",not_today"; \
302          source:  "elm"; \
303          action:  STATE_SET "default" 0.0; \
304          target: "cit_"#_pos".rect"; \
305       } \
306       program { \
307          source: "cit_"#_pos".clicked"; \
308          signal: "mouse,clicked,1"; \
309          source: "cit_"#_pos".event"; \
310          action: SIGNAL_EMIT "elm,action,selected" #_pos; \
311       } \
312       program { \
313          name:    "cit_"#_pos".clear"; \
314          signal:  "cit_"#_pos",clear"; \
315          source:  "elm"; \
316          action:  STATE_SET "default" 0.0; \
317          target: "cit_"#_pos".check"; \
318       } \
319       program { \
320          name:    "cit_"#_pos".checked"; \
321          signal:  "cit_"#_pos",checked"; \
322          source:  "elm"; \
323          action:  STATE_SET "visible" 0.0; \
324          target: "cit_"#_pos".check"; \
325       } \
326       program { \
327          name:    "cit_"#_pos".go_expanded"; \
328          signal:  "cit_"#_pos",cell_expanded"; \
329          source:  "elm"; \
330          action:  STATE_SET "expand" 0.0; \
331          target:  "cit_"#_pos".rect"; \
332       } \
333       program { \
334          name:    "cit_"#_pos".go_default"; \
335          signal:  "cit_"#_pos",cell_default"; \
336          source:  "elm"; \
337          action:  STATE_SET "default" 0.0; \
338          target:  "cit_"#_pos".rect"; \
339       } \
340       program { \
341          name:    "cit_"#_pos".go_invisible"; \
342          signal:  "cit_"#_pos",cell_invisible"; \
343          source:  "elm"; \
344          action:  STATE_SET "invisible" 0.0; \
345          target:  "cit_"#_pos".rect"; \
346       } \
347    }
348
349 #define CSEPV(_pos) \
350     part { name: "csep_"#_pos".vertical"; \
351        type: RECT; \
352        scale: 1;\
353        description { state: "default" 0.0; \
354           rel1 { \
355             relative: (_pos / 7) 0; \
356             to: "base"; \
357           } \
358           rel2 { \
359             relative: (_pos / 7) 1; \
360             to: "base"; \
361             offset: 1 0; \
362           } \
363           color: CALENDAR_SEPERATOR_FONT_COLOR_INC; \
364           visible: 1; \
365        } \
366     }
367
368 #define CSEPH(_pos) \
369     part { name: "csep_"#_pos".horizontal"; \
370        type: RECT; \
371        scale: 1;\
372        description { state: "default" 0.0; \
373           rel1 { \
374             relative: 0 (_pos / 6); \
375             to: "base"; \
376           } \
377           rel2 { \
378             relative: 1 (_pos / 6); \
379             to: "base"; \
380             offset: 0 1; \
381           } \
382           color: CALENDAR_SEPERATOR_FONT_COLOR_INC; \
383           visible: 1; \
384        } \
385        description { state: "expand" 0.0; \
386           inherit: "default" 0.0; \
387           rel1 { \
388             relative: 0 (_pos / 5); \
389             to: "base"; \
390           } \
391           rel2 { \
392             relative: 1 (_pos / 5); \
393             to: "base"; \
394             offset: 0 1; \
395           } \
396        } \
397        description { state: "invisible" 0.0; \
398           inherit: "default" 0.0; \
399           visible: 0; \
400        } \
401     } \
402       programs { \
403          program { \
404             name:    "cseph_"_pos".go_show"; \
405             signal:  "cseph_"#_pos",row_show"; \
406             source:  "elm"; \
407             action:  STATE_SET "default" 0.0; \
408             target:  "csep_"#_pos".horizontal"; \
409          } \
410         program { \
411             name:    "cseph_"_pos".go_hide"; \
412             signal:  "cseph_"#_pos",row_hide"; \
413             source:  "elm"; \
414             action:  STATE_SET "expand" 0.0; \
415             target:  "csep_"#_pos".horizontal"; \
416          } \
417        program { \
418             name:    "cseph_"_pos".go_invisible"; \
419             signal:  "cseph_"#_pos",row_invisible"; \
420             source:  "elm"; \
421             action:  STATE_SET "invisible" 0.0; \
422             target:  "csep_"#_pos".horizontal"; \
423          } \
424     }
425
426    group { name: "elm/calendar/base/default";
427       images {
428          image: "00_check_activated.png" COMP;
429          image: "00_picker_arrow_left.png" COMP;
430          image: "00_picker_arrow_left_press.png" COMP;
431          image: "00_picker_arrow_right.png" COMP;
432          image: "00_picker_arrow_right_press.png" COMP;
433          image: "00_picker_btn_press.png" COMP;
434          image: "00_picker_btn_normal.png" COMP;
435          image: "00_calend_picker_day_press.png" COMP;
436          image: "00_picker_btn_current.png" COMP;
437          image: "00_picker_btn_press.png" COMP;
438          image: "00_picker_field_bg.png" COMP;
439       }
440       script { 
441          public day_type; 
442       } 
443       parts {
444          part { name: "bg";
445             type: RECT;
446             scale: 1;
447             description { state: "default" 0.0;
448                min: 0 30;
449                color: CALENDAR_BACKGROUND_COLOR_INC;
450                align: 0.0 0.5;
451             }
452          }
453          part { name: "spinner-base";
454             type: RECT;
455             mouse_events: 0;
456             scale: 1;
457             description { state: "default" 0.0;
458                min: CALENDAR_HEADER_MIN_WIDTH_INC CALENDAR_HEADER_MIN_HEIGHT_INC;
459                max: 999999 CALENDAR_HEADER_MIN_HEIGHT_INC;
460                rel1.to: "bg";
461                rel1.offset: 5 9;
462                rel2.to: "bg";
463                rel2.offset: -5 -9;
464                color: CALENDAR_BACKGROUND_COLOR_INC;
465                align: 0.0 0.0;
466             }
467          }
468          part { name: "table-base";
469             type: RECT;
470             mouse_events: 0;
471             scale: 1;
472             description { state: "default" 0.0;
473                min: CALENDAR_BASE_MIN_WIDTH_INC CALENDAR_BASE_MIN_HEIGHT_INC;
474                rel1.to_x: "bg";
475                rel1.to_y: "spinner-base";
476                rel1.offset: 6 0;
477                rel1.relative: 0 1;
478                rel2.to: "bg";
479                rel2.offset: -6 -3;
480                color: CALENDAR_BACKGROUND_COLOR_INC;
481             }
482          }
483          part { name: "header";
484             type: RECT;
485             mouse_events: 0;
486             scale: 1;
487             description { state: "default" 0.0;
488                rel1.to: "table-base";
489                rel1.relative: 0 0;
490                rel2.to: "table-base";
491                rel2.relative: 1 0.1;
492                color: CALENDAR_BACKGROUND_COLOR_INC;
493             }
494          }
495          part { name: "sep_header";
496             type: RECT;
497             mouse_events: 0;
498             scale: 1;
499             description { state: "default" 0.0;
500                rel1.to: "header";
501                rel1.relative: 0 1;
502                rel2.to: "header";
503                rel2.relative: 1 1;
504                rel2.offset: 0 2;
505                color: CALENDAR_SEPERATOR_FONT_COLOR_INC;
506             }
507          }
508          part { name: "base";
509             type: RECT;
510             mouse_events: 0;
511             scale: 1;
512             description { state: "default" 0.0;
513                rel1.to_x: "table-base";
514                rel1.to_y: "sep_header";
515                rel1.relative: 0 1;
516                rel1.offset: 3 0;
517                rel2.to: "table-base";
518                rel2.relative: 1 1;
519                rel2.offset: -3 -5;
520                color: 202 2 2 0;
521             }
522          }
523          part { name: "sep_vertical1";
524             type: RECT;
525             scale: 1;
526             description { state: "default" 0.0;
527                rel1.to: "base";
528                rel1.relative: 1/7 0;
529                rel2.to: "base";
530                rel2.relative: 1/7 1;
531                rel2.offset: 1 0;
532                color: CALENDAR_SEPERATOR_FONT_COLOR_INC;
533             }
534          }
535          part { name: "left_bt";
536             mouse_events:  1;
537             scale: 1;
538             description { state: "default" 0.0;
539                rel1 { to: "spinner-base";
540                   offset: 0 0;
541                }
542                rel2 { to: "spinner-base";
543                   offset: 0 0;
544                }
545                align: 0.0 0.5;
546                min: CALENDAR_BUTTON_WIDTH_INC CALENDAR_BUTTON_HEIGHT_INC;
547                max: CALENDAR_BUTTON_WIDTH_INC CALENDAR_BUTTON_HEIGHT_INC;
548                fixed: 1 1;
549                image {
550                   normal: "00_picker_btn_normal.png";
551                   border: 4 4 4 4;
552                   border_scale: 1;
553                }
554                fill.smooth : 0;
555             }
556             description { state: "clicked" 0.0;
557                inherit: "default" 0.0;
558                image.normal: "00_picker_btn_press.png";
559             }
560          }
561          part { name: "left_arrow";
562             mouse_events: 0;
563             scale: 1;
564             description { state: "default" 0.0;
565                rel1 { to: "left_bt"; }
566                rel2 { to: "left_bt"; }
567                align: 0.5 0.5;
568                min: CALENDAR_ARROW_WIDTH_INC CALENDAR_ARROW_HEIGHT_INC;
569                max: CALENDAR_ARROW_WIDTH_INC CALENDAR_ARROW_HEIGHT_INC;
570                fixed: 1 1;
571                image {
572                  normal: "00_picker_arrow_left.png";
573                }
574             }
575             description { state: "clicked" 0.0;
576                inherit: "default" 0.0;
577                image.normal: "00_picker_arrow_left_press.png";
578             }
579          }
580          part { name: "right_bt";
581             mouse_events:  1;
582             scale: 1;
583             description { state: "default" 0.0;
584                rel1 { to: "spinner-base";
585                   offset: 0 0;
586                }
587                rel2 { to: "spinner-base";
588                   offset: 0 0;
589                }
590                align: 1.0 0.5;
591                min: CALENDAR_BUTTON_WIDTH_INC CALENDAR_BUTTON_HEIGHT_INC;
592                max: CALENDAR_BUTTON_WIDTH_INC CALENDAR_BUTTON_HEIGHT_INC;
593                fixed: 1 1;
594                image {
595                   normal: "00_picker_btn_normal.png";
596                   border: 4 4 4 4;
597                   border_scale: 1;
598                }
599                fill.smooth : 0;
600             }
601             description { state: "clicked" 0.0;
602                inherit: "default" 0.0;
603                image.normal: "00_picker_btn_press.png";
604             }
605          }
606          part { name: "right_arrow";
607             mouse_events:  0;
608             scale: 1;
609             description { state: "default" 0.0;
610                rel1 { to: "right_bt"; }
611                rel2 { to: "right_bt"; }
612                align: 0.5 0.5;
613                fixed: 1 1;
614                min: CALENDAR_ARROW_WIDTH_INC CALENDAR_ARROW_HEIGHT_INC;
615                max: CALENDAR_ARROW_WIDTH_INC CALENDAR_ARROW_HEIGHT_INC;
616                image {
617                   normal: "00_picker_arrow_right.png";
618                }
619             }
620             description { state: "clicked" 0.0;
621                inherit: "default" 0.0;
622                image.normal: "00_picker_arrow_right_press.png";
623             }
624          }
625          part { name: "month_text";
626             type: TEXT;
627             mouse_events: 0;
628             scale: 1;
629             description { state: "default" 0.0;
630                align: 0 0.5;
631                fixed: 1 1;
632                rel1 { relative: 1.0 0.0;
633                   offset: 3 2;
634                   to: "left_bt";
635                   to_y: "spinner-base";
636                }
637                rel2 { relative: 0.0 1.0;
638                   offset: -3 -2;
639                   to_x: "right_bt";
640                   to_y: "spinner-base";
641                }
642                color: CALENDAR_MONTH_FONT_COLOR_INC;
643                text {
644                   font: "Tizen:style=Medium";
645                   size: CALENDAR_MONTH_FONT_SIZE_INC;
646                   min: 1 1;
647                   align: 0.5 0.5;
648                   text_class: "tizen";
649                }
650             }
651          }
652          CH(0)   CH(1)   CH(2)   CH(3)   CH(4)   CH(5)   CH(6)
653          CIT(0)  CIT(1)  CIT(2)  CIT(3)  CIT(4)  CIT(5)  CIT(6)
654          CIT(7)  CIT(8)  CIT(9)  CIT(10) CIT(11) CIT(12) CIT(13)
655          CIT(14) CIT(15) CIT(16) CIT(17) CIT(18) CIT(19) CIT(20)
656          CIT(21) CIT(22) CIT(23) CIT(24) CIT(25) CIT(26) CIT(27)
657          CIT(28) CIT(29) CIT(30) CIT(31) CIT(32) CIT(33) CIT(34)
658          CIT(35) CIT(36) CIT(37) CIT(38) CIT(39) CIT(40) CIT(41)
659          CSEPV(1) CSEPV(2) CSEPV(3) CSEPV(4) CSEPV(5) CSEPV(6)
660          CSEPH(1) CSEPH(2) CSEPH(3) CSEPH(4) CSEPH(5) CSEPH(6)
661       }
662       programs {
663          program { name: "dec_start";
664             signal: "mouse,down,1";
665             source: "left_bt";
666             action: SIGNAL_EMIT "elm,action,decrement,start" "";
667          }
668          program { name: "dec_stop";
669             signal: "mouse,up,1";
670             source: "left_bt";
671             action: SIGNAL_EMIT "elm,action,stop" "";
672          }
673          program { name: "inc_start";
674             signal: "mouse,down,1";
675             source: "right_bt";
676             action: SIGNAL_EMIT "elm,action,increment,start" "";
677          }
678          program { name: "inc_stop";
679             signal: "mouse,up,1";
680             source: "right_bt";
681             action: SIGNAL_EMIT "elm,action,stop" "";
682          }
683          program {
684             name:   "left_bt_click";
685             signal: "mouse,down,1";
686             source: "left_bt";
687             action: STATE_SET "clicked" 0.0;
688             target: "left_bt";
689             target: "left_arrow";
690          }
691          program {
692             name:   "left_bt_unclick";
693             signal: "mouse,up,1";
694             source: "left_bt";
695             action: STATE_SET "default" 0.0;
696             target: "left_bt";
697             target: "left_arrow";
698          }
699          program {
700             name:   "right_bt_click";
701             signal: "mouse,down,1";
702             source: "right_bt";
703             action: STATE_SET "clicked" 0.0;
704             target: "right_bt";
705             target: "right_arrow";
706          }
707          program {
708             name:   "right_bt_unclick";
709             signal: "mouse,up,1";
710             source: "right_bt";
711             action: STATE_SET "default" 0.0;
712             target: "right_bt";
713             target: "right_arrow";
714          }
715       }
716    }
717
718 #undef CIT
719 #undef CH
720