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 TEXT_EDITOR(iName, imf_height)\
21 PART_BG("bg") /* 720 * unknown */\
22 PART_V_PIXEL_RECT("top_margin", 16, "bg", 0.0, 0.0)\
23 PART_V_PIXEL_RECT("text.bg", 48, "top_margin", 1.0, 0.0)\
24 PART_V_PIXEL_RECT("top_margin2", 10, "text.bg", 1.0, 0.0)\
25 PART_V_PIXEL_RECT("toolbar.bg", 86, "tool.bg", 0.0, 1.0)\
26 PART_V_PIXEL_RECT("tool.bg", 0, "bg", 1.0, 1.0)\
28 PART_TEXT_GRAY_RIGHT("elm.text.date", 16/720, 0.0, "text.bg", (720-16)/720, 1.0, "text.bg", "date", "Helvetica Neue:style=Medium", 32)\
29 PART_SWALLOW_REL("elm.swallow.text", 16/720, 1.0, "top_margin2", (720-16)/720, 0.0, "toolbar.bg")\
30 PART_SWALLOW("elm.swallow.toolbar", "toolbar.bg")\
31 PART_SWALLOW("elm.swallow.tool", "tool.bg")\
39 SCRIPT_CUSTOM_PART("tool.bg");\
40 SCRIPT_CUSTOM_PART("elm.swallow.text");\
49 set_state_val(PART:"tool.bg", STATE_MIN, 0, imf_height);\
57 set_state_val(PART:"tool.bg", STATE_MIN, 0, 0);\
63 TEXT_EDITOR("text_editor_480_800", IMF_HEIGHT_480_800)
64 TEXT_EDITOR("text_editor_600_1024", IMF_HEIGHT_600_1024)
65 TEXT_EDITOR("text_editor_720_1280", IMF_HEIGHT_720_1280)