/* * * Copyright 2012 Samsung Electronics Co., Ltd * * Licensed under the Flora License, Version 1.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.tizenopensource.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: "detail_frame"; parts{ PART_BG_EX("bg", 480, 0) PART_EVENT_RECT("event", "bg") part { name: "elm.text.date"; type: TEXT; mouse_events: 0; scale: 1; description { state: "default" 0.0; min: 0 30; align: 0.5 0; fixed: 1 1; rel1 { relative: 0.0 0.0; to: "bg";} rel2 { relative: (480-15)/480 0.0; to: "bg";} color: 121 115 100 255; text { text: "date"; font: "SLP:style=Medium"; text_class:"slp_medium"; size: 16; align: 1 0.5; } } } part { name: "elm.swallow.content"; type: SWALLOW; mouse_events: 1; scale: 1; description { state: "default" 0.0; visible: 1; rel1 { relative: 0.0 1.0; to_x: "bg"; to_y: "elm.text.date";} rel2 { relative: 1.0 1.0; to: "bg"; } } description { state: "text" 0.0; inherit: "default" 0.0; rel1 { relative: 15/480 1.0; to_x: "bg"; to_y: "elm.text.date";} rel2 { relative: (480-15)/480 1.0; to: "bg"; } } } }/* end parts */ programs { program { name: "prog_doodle_mode"; source: ""; signal: "sig_doodle_mode"; script { set_state(PART:"elm.swallow.content", "default", 0.0); } } program { name: "prog_text_mode"; source: ""; signal: "sig_text_mode"; script { set_state(PART:"elm.swallow.content", "text", 0.0); } } } }/* end group */