/* * * Copyright 2012 Samsung Electronics Co., Ltd * * Licensed under the Flora License, Version 1.1 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://floralicense.org/license/ * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * */ group{ name: "text_editor"; parts{ PART_BG_EX("bg", 720, 0) /* 720 * unknown */ PART_V_PIXEL_RECT("top_margin", 16, "bg", 0.0, 0.0) PART_V_PIXEL_RECT("text.bg", 48, "top_margin", 1.0, 0.0) PART_V_PIXEL_RECT("top_margin2", 10, "text.bg", 1.0, 0.0) PART_V_PIXEL_RECT("toolbar.bg", 86, "tool.bg", 0.0, 1.0) PART_V_PIXEL_RECT("tool.bg", 0, "bg", 1.0, 1.0) /* content */ 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) PART_SWALLOW_REL("elm.swallow.text", 16/720, 1.0, "top_margin2", (720-16)/720, 0.0, "toolbar.bg") PART_SWALLOW("elm.swallow.toolbar", "toolbar.bg") PART_SWALLOW("elm.swallow.tool", "tool.bg") }/* end part */ programs { program { name: "init"; signal: "load"; source: ""; script { SCRIPT_CUSTOM_PART("tool.bg"); SCRIPT_CUSTOM_PART("elm.swallow.text"); } } /* end program */ program { name: "abbrev"; signal: "abbrev"; source: "elm"; script { set_state_val(PART:"tool.bg", STATE_MIN, 0, IMF_HEIGHT); } } /* end program */ program { name: "expand"; signal: "expand"; source: "elm"; script { set_state_val(PART:"tool.bg", STATE_MIN, 0, 0); } } /* end program */ }/* end programs */ }