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.
20 name: "doodle_editor";
22 PART_BG("bg") /* 720 * unknown */
23 PART_V_PIXEL_RECT("top_margin", 16, "bg", 0.0, 0.0)
24 PART_V_PIXEL_RECT("text.bg", 48, "top_margin", 1.0, 0.0)
25 PART_V_PIXEL_RECT("top_margin2", 10, "text.bg", 1.0, 0.0)
26 PART_RECT("_doodle.bg", 0.0, 1.0, "top_margin2", 1.0, 0.0, "bottom_margin2")
27 PART_V_PIXEL_RECT("bottom_margin2", 108, "bottom_margin", 0.0, 1.0)
28 PART_V_PIXEL_RECT("bottom_margin", 86, "bg", 1.0, 1.0)
29 PART_V_PIXEL_RECT("_bottom_margin", 108, "bg", 1.0, 1.0)
30 PART_V_PIXEL_RECT("tool.bg", IMF_HEIGHT, "bg", 1.0, 1.0)
32 PART_V_PIXEL_RECT("doodle.bg", 700, "_doodle.bg", 0.5, 0.5)
33 PART_COLOR_RECT("doodle.bg.color", "doodle.bg", 255, 255, 255, 255)
34 PART_V_PIXEL_RECT("toolbar.bg", 86, "bg", 1.0, 1.0)
35 PART_V_PIXEL_RECT("toolbar.bg.up", 86, "tool.bg", 0.0, 1.0)
36 PART_V_PIXEL_RECT("comment.bg.up", 108, "tool.bg", 0.0, 1.0)
37 PART_V_PIXEL_RECT("comment.bg", 108, "bottom_margin", 0.0, 1.0)
38 PART_V_PIXEL_RECT("comment.bg.down", 108, "bg", 1.0, 1.0)
40 PART_TEXT_GRAY_RIGHT("elm.text.date", 16/720, 0.0, "text.bg", (720-16)/720, 1.0, "text.bg", "date", "SLP:style=Medium", "slp_medium", 32)
41 PART_SWALLOW_REL("elm.swallow.doodle", 16/720, 0.0, "doodle.bg", (720-16)/720, 1.0, "doodle.bg")
42 PART_SWALLOW("elm.swallow.toolbar", "toolbar.bg")
43 PART_SWALLOW("elm.swallow.tool", "tool.bg")
44 PART_SWALLOW("elm.swallow.comment", "comment.bg")
52 SCRIPT_CUSTOM_PART("elm.swallow.toolbar");
53 SCRIPT_CUSTOM_PART("elm.swallow.comment");
54 SCRIPT_CUSTOM_PART("_doodle.bg");
63 SCRIPT_SET_VISIBLE(elm.swallow.toolbar, 1)
64 SCRIPT_SET_VISIBLE(elm.swallow.comment, 0)
65 SCRIPT_SET_REL(elm.swallow.toolbar, 0.0, 0.0, "toolbar.bg.up", 1.0, 1.0, "toolbar.bg.up");
66 SCRIPT_SET_REL("_doodle.bg", 0.0, 1.0, "top_margin2", 1.0, 0.0, "bottom_margin2")
74 SCRIPT_SET_VISIBLE(elm.swallow.toolbar, 1)
75 SCRIPT_SET_VISIBLE(elm.swallow.comment, 1)
76 SCRIPT_SET_REL(elm.swallow.toolbar, 0.0, 0.0, "toolbar.bg", 1.0, 1.0, "toolbar.bg");
77 SCRIPT_SET_REL(elm.swallow.comment, 0.0, 0.0, "comment.bg", 1.0, 1.0, "comment.bg");
78 SCRIPT_SET_REL("_doodle.bg", 0.0, 1.0, "top_margin2", 1.0, 0.0, "bottom_margin2")
82 name: "comment_abbrev";
86 SCRIPT_SET_VISIBLE(elm.swallow.toolbar, 0)
87 SCRIPT_SET_VISIBLE(elm.swallow.comment, 1)
88 SCRIPT_SET_REL(elm.swallow.comment, 0.0, 0.0, "comment.bg.up", 1.0, 1.0, "comment.bg.up");
89 SCRIPT_SET_REL("_doodle.bg", 0.0, 1.0, "top_margin2", 1.0, 0.0, "_bottom_margin")
93 name: "comment_expand";
97 SCRIPT_SET_VISIBLE(elm.swallow.toolbar, 0)
98 SCRIPT_SET_VISIBLE(elm.swallow.comment, 1)
99 SCRIPT_SET_REL(elm.swallow.comment, 0.0, 0.0, "comment.bg.down", 1.0, 1.0, "comment.bg.down");
100 SCRIPT_SET_REL("_doodle.bg", 0.0, 1.0, "top_margin2", 1.0, 0.0, "_bottom_margin")
107 name: "doodle_comment";
109 image: "00_search_input_field_bg.png" COMP;
112 PART_BG("bg") /* 720 * 67 */
113 PART_COLOR_RECT("bg.color", "bg", 30, 25, 22, 255)
114 PART_RECT("image.bg", 16/720, 8/67, "bg", (720-16)/720, (67-9)/67, "bg")
115 PART_BORDER_IMAGE("image", "image.bg", "00_search_input_field_bg.png", 6, 6, 7, 5)
116 PART_V_PIXEL_RECT("editfield.bg", 50, "image.bg", 0.5, 0.5)
117 PART_SWALLOW_REL("elm.swallow.editfield", 10/460, 0.0, "editfield.bg", (460-10)/460, 1.0, "editfield.bg")