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: "color_selector";
23 PART_V_PIXEL_RECT("rect.up", 200, "bg", 0.0, 0.0)
24 PART_PIXEL_RECT("border.bg", (500+6), (160+5), 0.5, 0.5, "rect.up", 0.5, 0.5)
25 PART_PIXEL_RECT("color.bg", 500, 160, 0.5, 0.5, "rect.up", 0.5, 0.5)
26 PART_SWALLOW_REL("elm.swallow.color", 0.0, 0.0, "color.bg", 1.0, 1.0, "color.bg")
27 PART_EVENT_RECT("event", "rect.up")
28 PART_SWALLOW_REL("elm.swallow.selector", 4/480, 1.0, "rect.up", (480-4)/480, 1.0, "bg")
36 SCRIPT_CUSTOM_PART(bg);
37 SCRIPT_CUSTOM_PART(border.bg);
46 SCRIPT_SET_COLOR(bg, 0, 0, 0, 255);
47 SCRIPT_SET_COLOR(border.bg, 255, 255, 255, 255);
56 SCRIPT_SET_COLOR(bg, 255, 255, 255, 255);
57 SCRIPT_SET_COLOR(border.bg, 0, 0, 0, 255);
64 name: "pencil_size_selector";
67 PART_SWALLOW("bg.color", "bg")
68 PART_RECT("rect.up", 0.0, 0.0, "bg", 1.0, 0.5, "bg")
69 PART_PIXEL_RECT("pencil.bg", 300, 0, 0.5, 0.5, "rect.up", 0.5, 0.5)
70 PART_SWALLOW("elm.swallow.pencil", "pencil.bg")
71 PART_EVENT_RECT("event", "rect.up")
72 PART_SWALLOW_REL("elm.swallow.selector", 5/480, 0.5, "bg", (480-5)/480, 1.0, "bg")
77 name: "font_size_selector";
80 PART_SWALLOW("bg.color", "bg")
81 PART_RECT("rect.up", 0.0, 0.0, "bg", 1.0, 0.5, "bg")
82 PART_SWALLOW("elm.swallow.label", "rect.up")
83 PART_EVENT_RECT("event", "rect.up")
84 PART_SWALLOW_REL("elm.swallow.selector", 5/480, 0.5, "bg", (480-5)/480, 1.0, "bg")
91 PART_BG("bg") /* 720 x 86 */
92 PART_COLOR_RECT("color", "bg", 204, 204, 204, 255)
93 PART_SWALLOW_REL("elm.swallow.btn1", (10)/720, 10/86, "bg", (10+74)/720, (86-10)/86, "bg")
94 PART_SWALLOW_REL("elm.swallow.btn2", (10+16+74)/720, 10/86, "bg", (10+16+74*2)/720, (86-10)/86, "bg")
95 PART_SWALLOW_REL("elm.swallow.btn3", (10+16*2+74*2)/720, 10/86, "bg", (10+16*2+74*3)/720, (86-10)/86, "bg")
96 PART_SWALLOW_REL("elm.swallow.btn4", (720-10-160)/720, 10/86, "bg", (720-10)/720, (86-10)/86, "bg")
97 PART_V_PIXEL_RECT("bottom_margin", 1, "bg", 1.0, 0.0)
98 PART_COLOR_RECT("bottom_margin_color", "bottom_margin", 204, 204, 204, 255)