3 * Copyright 2012 Samsung Electronics Co., Ltd
5 * Licensed under the Flora License, Version 1.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
9 * http://www.tizenopensource.org/license
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.
22 PART_BG("bg") /* unknown x 480 */
23 PART_V_PIXEL_RECT("search.bg", 88, "bg", 0.0, 0.0)
24 PART_SWALLOW("elm.swallow.search", "search.bg")
25 PART_SWALLOW_REL("elm.swallow.nocontent", 0.0, 1.0, "search.bg", 1.0, 1.0, "bg")
26 PART_SWALLOW_REL("elm.swallow.content", 0.0, 1.0, "search.bg", 1.0, 1.0, "bg")
34 SCRIPT_CUSTOM_PART(elm.swallow.nocontent);
39 name: "show_nocontent";
43 SCRIPT_SET_VISIBLE(elm.swallow.nocontent, 1);
48 name: "hide_nocontent";
52 SCRIPT_SET_VISIBLE(elm.swallow.nocontent, 0);
58 #define GL_STYLE(iStyle, iX2TextBlock) \
59 group { name: "elm/genlist/item/memo/"iStyle"/default"; \
60 alias: "elm/genlist/item_odd/memo/"iStyle"/default"; \
61 alias: "elm/genlist/item_compress/memo/"iStyle"/default"; \
62 alias: "elm/genlist/item_compress_odd/memo/"iStyle"/default"; \
63 data.item: "texts" "elm.text.date elm.text"; \
64 data.item: "contents" "elm.swallow.doodle"; \
65 data.item: "allow_slide" "1"; \
76 state: "default" 0.0; \
78 min: (iX2TextBlock-16) 56; \
79 max: (iX2TextBlock-16) 56; \
81 rel1 { relative: 16/720 16/128; to: "bg"; } \
82 rel2 { relative: iX2TextBlock/720 (128-16-32-8)/128; to: "bg"; } \
85 style: "textblock_style_main"; \
90 PART_TEXT_DATE("elm.text.date", 16/720, (128-16-32)/128, "bg", (720-16)/720, (128-16)/128, "bg", "", "SLP:style=Medium", "slp_medium", 32) \
91 PART_SWALLOW_REL("elm.swallow.doodle", (720-16-96)/720, 16/128, "bg", (720-16)/720, (128-16)/128, "bg") \
93 GENLIST_PART_BOTTOM_LINE \
94 PART_EVENT_RECT("event", "bg") \
102 SCRIPT_CUSTOM_PART(bg);\
103 SCRIPT_SET_COLOR(bg, 249, 249, 249, 255);\
109 signal: "elm,state,selected"; \
112 SCRIPT_SET_COLOR(bg, 42, 137, 194, 255);\
114 transition: LINEAR 0.1; \
118 name: "go_passive"; \
119 signal: "elm,state,unselected"; \
122 SCRIPT_SET_COLOR(bg, 249, 249, 249, 255);\
124 transition: LINEAR 0.1; \
129 GL_STYLE("list", (720-16))
130 GL_STYLE("list_draw", (720-16-96-16))