2 * Copyright 2012 Samsung Electronics Co., Ltd
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
8 * http://www.tizenopensource.org/license
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.
17 #define WCL_GENLIST_PART_BASE( param_item_height ) \
18 part { name: "base"; \
22 description { state: "default" 0.0; \
23 min: 0 param_item_height; \
24 color: GENLIST_PART_BG_COLOR_INC; \
28 #define WCL_GENLIST_PART_PADDING_TOP( param_padding_size ) \
29 part { name: "elm.padding.top"; \
33 state: "default" 0.0; \
34 min: 0 param_padding_size; \
37 rel2.relative: 1.0 0.0; \
42 #define WCL_GENLIST_PART_PADDING_BOTTOM( param_padding_size ) \
43 part { name: "elm.padding.bottom"; \
46 description { state: "default" 0.0; \
47 min: 0 param_padding_size; \
50 rel1.relative: 0.0 1.0; \
55 #define WCL_GENLIST_PART_PADDING_LEFT( param_padding_size ) \
56 part { name: "elm.padding.left"; \
59 description { state: "default" 0.0; \
60 min: param_padding_size 0; \
63 rel2.relative: 0.0 1.0; \
68 #define WCL_GENLIST_PART_PADDING_RIGHT( param_padding_size ) \
69 part { name: "elm.padding.right"; \
72 description { state: "default" 0.0; \
73 min: param_padding_size 0; \
76 rel1.relative: 1.0 0.0; \
81 #define PROGRAM_GENLIST_DEFAULT() \
85 signal: "elm,state,selected"; \
87 action: STATE_SET "selected" 0.0; \
89 transition: LINEAR 0.1; \
94 signal: "elm,state,unselected"; \
96 action: STATE_SET "default" 0.0; \
98 transition: LINEAR 0.1; \
102 name: "go_disabled"; \
103 signal: "elm,state,disabled"; \
105 action: STATE_SET "disabled" 0.0; \
110 name: "go_enabled"; \
111 signal: "elm,state,enabled"; \
113 action: STATE_SET "default" 0.0; \
117 #define WCL_GENLIST_PART_BOTTOM_LINE( bottom_line_color ) \
118 part { name: "bottom_line"; \
120 clip_to: "disclip"; \
122 description { state: "default" 0.0; \
126 color: bottom_line_color; \
134 #define WCL_GENLIST_PART_DISCLIP( disclip_disable_color ) \
135 part { name: "disclip"; \
137 description { state: "default" 0.0; \
139 description { state: "disabled" 0.0; \
140 inherit: "default" 0.0; \
141 color: disclip_disable_color; \