2 * Copyright (c) 2000-2012 Samsung Electronics Co., Ltd All Rights Reserved
4 * This file is part of the ug-memo-efl
5 * Written by Zhibin Zhou <zhibin.zhou@samsung.com>, Canjiang Lu <canjiang.lu@samsung.com>,
6 * Feng Li <feng.li@samsung.com>
8 * PROPRIETARY/CONFIDENTIAL
10 * This software is the confidential and proprietary information of
11 * SAMSUNG ELECTRONICS ("Confidential Information").
12 * You shall not disclose such Confidential Information and shall
13 * use it only in accordance with the terms of the license agreement
14 * you entered into with SAMSUNG ELECTRONICS. SAMSUNG make no
15 * representations or warranties about the suitability
16 * of the software, either express or implied, including but not
17 * limited to the implied warranties of merchantability, fitness for a particular purpose, or non-
18 * infringement. SAMSUNG shall not be liable for any damages suffered by licensee as
19 * a result of using, modifying or distributing this software or its derivatives.
23 #define EDIT_GL_STYLE(iStyle, iX2TextBlock) \
24 group { name: "elm/genlist/item/memo/edit/"iStyle"/default"; \
25 alias: "elm/genlist/item_odd/memo/edit/"iStyle"/default"; \
26 data.item: "stacking" "above"; \
27 data.item: "selectraise" "on"; \
28 data.item: "texts" "elm.text elm.text.date"; \
29 data.item: "contents" "elm.swallow.doodle elm.swallow.check"; \
30 data.item: "treesize" "20"; \
33 PART_SWALLOW_REL("elm.swallow.check", 16/720, 16/128, "bg", (16+96)/720, (128-16)/128, "bg") \
42 state: "default" 0.0; \
44 min: (iX2TextBlock-16-96-16) 56; \
45 max: (iX2TextBlock-16-96-16) 56; \
47 rel1 { relative: (16+96+16)/720 16/128; to: "bg"; } \
48 rel2 { relative: iX2TextBlock/720 (128-16-32-8)/128; to: "bg"; } \
51 style: "textblock_style_main"; \
56 PART_TEXT_DATE("elm.text.date", (16+96+16)/720, (128-16-32)/128, "bg", (720-16)/720, (128-16)/128, "bg", "", "Helvetica Neue:style=Medium", 32) \
57 PART_SWALLOW_REL("elm.swallow.doodle", (720-16-96)/720, 16/128, "bg", (720-16)/720, (128-16)/128, "bg") \
58 GENLIST_PART_BOTTOM_LINE \
59 PART_EVENT_RECT("event", "bg") \
67 SCRIPT_CUSTOM_PART(bg);\
68 SCRIPT_SET_COLOR(bg, 0, 0, 0, 255);\
74 signal: "elm,state,selected"; \
77 SCRIPT_SET_COLOR(bg, 50, 50, 50, 255);\
79 transition: LINEAR 0.1; \
84 signal: "elm,state,unselected"; \
87 SCRIPT_SET_COLOR(bg, 0, 0, 0, 255);\
89 transition: LINEAR 0.1; \
94 EDIT_GL_STYLE("list", (720-16))
95 EDIT_GL_STYLE("list_draw", (720-16-96-16))