Updating license in spec file
[pkgs/u/ug-calendar-picker.git] / ug-calendar-picker-efl_theme.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 #include "ug-calendar-picker-efl_macro.edc"
18
19 collections {
20
21    group { name: "elm/genlist/item/ug-calendar-picker-efl/1line_textonly/default";
22       alias: "elm/genlist/item_odd/ug-calendar-picker-efl/1line_textonly/default";
23
24       data.item: "stacking" "above";
25       data.item: "selectraise" "on";
26       data.item: "texts" "elm.text";
27       images {
28          image: "images/00_list_bar_press_1x80.png" COMP;
29       }
30       parts {
31          BEAT_GENLIST_PART_BASE( 80 )
32          BEAT_GENLIST_PART_BG_IMAGE
33          BEAT_GENLIST_PART_BOTTOM_LINE
34          BEAT_GENLIST_PART_PADDING_LEFT( 15 )
35          BEAT_GENLIST_PART_PADDING_RIGHT( 15 )
36
37          part { name: "elm.text";
38             clip_to: "disclip";
39             type: TEXT;
40             mouse_events: 0;
41             scale: 1;
42             description { state: "default" 0.0;
43                rel1 {
44                   relative: 1.0  0.0;
45                   offset: 0 0;
46                   to_x: "elm.padding.left";
47                }
48                rel2 {
49                   relative: 0.0  1.0;
50                   offset:   0   0;
51                   to_x: "elm.padding.right";
52                }
53                color: 255 255 255 255;
54                text {
55                   font: FONT_ROM;
56                   size: 32;
57                   min: 0 1;
58                   align: 0.0 0.5;
59                }
60             }
61             description { state: "selected" 0.0;
62                inherit: "default" 0.0;
63                color: 225 225 225 255;
64             }
65          }
66          BEAT_GENLIST_PART_DISCLIP
67       }
68       programs {
69          // signal: elm,state,%s,active
70          //   a "check" item named %s went active
71          // signal: elm,state,%s,passive
72          //   a "check" item named %s went passive
73          // default is passive
74          program { name: "go_active";
75             signal: "elm,state,selected";
76             source: "elm";
77             action: STATE_SET "selected" 0.0;
78             target: "bg_image";
79             target: "elm.text";
80          }
81          program { name: "go_passive";
82             signal: "elm,state,unselected";
83             source: "elm";
84             action: STATE_SET "default" 0.0;
85             target: "bg_image";
86             target: "elm.text";
87             transition: LINEAR 0.1;
88          }
89          program { name: "go_disabled";
90             signal: "elm,state,disabled";
91             source: "elm";
92             action: STATE_SET "disabled" 0.0;
93             target: "disclip";
94          }
95          program { name: "go_enabled";
96             signal: "elm,state,enabled";
97             source: "elm";
98             action: STATE_SET "default" 0.0;
99             target: "disclip";
100          }
101       }
102    }
103
104 }
105