/* * * 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. */ #define CONTENT_LEFT_PADDING 25 group { name, "dialoguegroup/alarm/custom"; images { image, DIALOG_EDIT_DEFAULT COMP; } parts { part { name, "base"; type, RECT; scale, 1; description { state, "default" 0.0; min, 0 169; color, 0 0 0 0; } } part { name, "left_padding"; type, RECT; scale, 1; description { state, "default" 0.0; min, 15 0; fixed, 1 0; rel1.to, "base"; rel2 { relative, 0.0 1.0; to, "base"; } align, 0.0 0.0; color, 0 0 0 0; } } part { name, "right_padding"; type, RECT; scale, 1; description { state, "default" 0.0; min, 10 0; fixed, 1 0; rel1 { relative, 1.0 0.0; to, "base"; } rel2.to, "base"; align, 1.0 0.0; color, 0 0 0 0; } } part { name, "bottom_padding"; type, RECT; scale, 1; description { state, "default" 0.0; min, 0 16; fixed, 0 1; rel1 { relative, 0.0 1.0; to, "base"; } rel2.to, "base"; align, 0.5 1.0; color, 0 0 0 0; } } part { name, "text_left_padding"; type, RECT; scale, 1; description { state, "default" 0.0; min, 16 0; fixed, 1 0; rel1 { relative, 1.0 0.5; to_x, "content"; to_y, "base"; } rel2 { relative, 1.0 0.5; to_x, "content"; to_y, "base"; } align, 0.0 0.0; color, 0 0 0 0; } } part { name, "text"; type, TEXT; scale, 1; description { state, "default" 0.0; align, 0.0 0.5; rel1 { relative, 1.0 0.0; to_x, "text_left_padding"; to_y, "base"; } rel2 { relative, 0.0 0.5; to_x, "right_padding"; to_y, "base"; } text { font, "SLP:style=Roman"; size, 32; min, 0 0; align, 0.0 0.5; } color, 0 0 0 255; } } part { name, "content"; type, SWALLOW; scale, 1; description { state, "default" 0.0; align, 0.0 0.5; fixed, 1 1; rel1 { relative, 1.0 0.0; to_x, "left_padding"; to_y, "base"; } rel2 { relative, 1.0 0.5; to_x, "left_padding"; to_y, "base"; } } } part { name, "base/custom"; type, RECT; description { state, "default" 0.0; rel1 { relative, 1.0 0.5; to_x, "text_left_padding"; to_y, "base"; } rel2 { relative, 0.0 0.0; to_x, "right_padding"; to_y, "bottom_padding"; } color, 0 0 0 0; } } part { name, "input_bg"; scale, 1; description { state, "default" 0.0; min, 80 0; fixed, 1 0; rel1.to, "base/custom"; rel2 { relative, 0.0 1.0; to, "base/custom"; } image { normal, "01_dialoguegroup_edit_default.png"; border, 13 13 9 14; border_scale, 1; } align, 0.0 0.5; } } part { name, "input_left_padding"; type, RECT; scale, 1; description { state, "default" 0.0; min, 16 0; fixed, 1 0; rel1.to, "input_bg"; rel2 { relative, 0.0 1.0; to, "input_bg"; } color, 0 0 0 0; align, 0.0 0.5; } } part { name, "input_sw"; type, SWALLOW; description { state, "default" 0.0; rel1 { relative, 1.0 0.0; to, "input_left_padding"; } rel2.to, "input_bg"; } } part { name, "button_left_padding"; type, RECT; scale, 1; description { state, "default" 0.0; min, 16 0; fixed, 1 0; rel1 { relative, 1.0 0.0; to, "input_bg"; } rel2 { relative, 1.0 1.0; to, "input_bg"; } align, 0.0 0.5; color, 0 0 0 0; } } part { name, "button"; type, SWALLOW; scale, 1; description { state, "default" 0.0; min, 120 0; fixed, 1 1; rel1 { relative, 1.0 0.5; to, "button_left_padding"; } rel2 { relative, 1.0 0.5; to, "button_left_padding"; } align, 0.0 0.5; color, 0 0 0 0; } } part { name, "text_left_padding2"; type, RECT; scale, 1; description { state, "default" 0.0; min, 16 0; fixed, 1 0; rel1 { relative, 1.0 0.0; to, "button"; } rel2 { relative, 1.0 1.0; to, "button"; } align, 0.0 0.0; color, 0 0 0 0; } } part { name, "text2"; type, TEXT; scale, 1; description { state, "default" 0.0; align, 0.0 0.5; rel1 { relative, 1.0 0.5; to_x, "text_left_padding2"; to_y, "base"; } rel2 { relative, 0.0 1.0; to_x, "right_padding"; to_y, "base"; } text { font, "SLP:style=Roman"; size, 32; min, 0 0; align, 0.0 0.5; } color, 0 0 0 255; } } } } group { name, "dialoguegroup/repeat/times"; images { image, "01_dialoguegroup_edit_default.png" COMP; } parts { part { name, "base"; type, RECT; scale, 1; description { state, "default" 0.0; min, 0 50; visible, 0; } } part { name, "left_padding"; type, RECT; scale, 1; description { state, "default" 0.0; min, 0 0; fixed, 1 0; rel1.to, "base"; rel2 { relative, 0.0 1.0; to, "base"; } align, 0.0 0.0; visible, 0; } } part { name, "right_padding"; type, RECT; scale, 1; description { state, "default" 0.0; min, 10 0; fixed, 1 0; rel1 { relative, 1.0 0.0; to, "base"; } rel2.to, "base"; align, 1.0 0.0; visible, 0; } } part { name, "radio"; type, SWALLOW; scale, 1; description { state, "default" 0.0; align, 0.0 0.5; fixed, 1 1; rel1 { relative, 1.0 0.0; to_x, "left_padding"; to_y, "base"; } rel2 { relative, 1.0 1.0; to_x, "left_padding"; to_y, "base"; } } } part { name, "radio_right_padding"; type, RECT; scale, 1; description { state, "default" 0.0; min, CONTENT_LEFT_PADDING 0; fixed, 1 0; rel1 { relative, 1.0 0.0; to_x, "radio"; to_y, "base"; } rel2 { relative, 1.0 1.0; to_x, "radio"; to_y, "base"; } align, 0.0 0.0; visible, 0; } } part { name, "input_bg"; scale, 1; description { state, "default" 0.0; min, 0 80; fixed, 0 1; align, 0.0 0.5; rel1 { relative, -0.1 -0.1; to, "input_sw"; } rel2 { relative, 1.1 1.1; to, "input_sw"; } image { normal, "01_dialoguegroup_edit_default.png"; border, 13 13 9 14; border_scale, 1; } } } part { name, "input_sw"; type, SWALLOW; description { state, "default" 0.0; rel1 { relative, 1.0 0.0; to, "radio_right_padding"; } rel2 { relative, 1.0 1.0; to, "radio_right_padding"; } align, 0.0 0.5; } } part { name, "input_bg_right_padding"; type, RECT; scale, 1; description { state, "default" 0.0; min, CONTENT_LEFT_PADDING 0; fixed, 1 0; rel1 { relative, 1.0 0.0; to_x, "input_bg"; to_y, "base"; } rel2 { relative, 1.0 1.0; to_x, "input_bg"; to_y, "base"; } align, 0.0 0.0; visible, 0; } } part { name, "text"; type, TEXT; scale, 1; description { state, "default" 0.0; align, 0.0 0.5; rel1 { relative, 1.0 0.0; to_x, "input_bg_right_padding"; to_y, "base"; } rel2 { relative, 1.0 1.0; to_x, "input_bg_right_padding"; to_y, "base"; } text { font: "arial"; size: 42; min: 1 1; text_class: "label"; } color, 0 0 0 255; } } } } group { name, "dialoguegroup/location"; parts { part { name, "base"; type, RECT; description { state, "default" 0.0; color, 0 0 0 0; } } part { name, "pad/right"; type, RECT; scale, 1; description { state, "default" 0.0; min, 6 0; fixed, 1 0; rel1 { relative , 1.0 1.0; to, "base"; } rel2.to, "base"; align, 1.0 1.0; color, 0 0 0 0; } } part { name, "button/base"; type, SWALLOW; scale, 1; description { state, "default" 0.0; min, 130 0; max, 130 0; fixed, 1 0; rel1 { relative, 0.0 0.0; to_x, "pad/right"; to_y, "base"; } rel2 { relative, 0.0 0.0; to, "pad/right"; } align, 1.0 0.5; } } part { name, "button/sw"; type, SWALLOW; scale, 1; description { state, "default" 0.0; min, 130 74; max, 130 74; fixed, 1 1; rel1 { relative, 0.0 0.5; to, "button/base"; } rel2 { relative, 1.0 0.5; to, "button/base"; } align, 1.0 0.5; } } part { name, "pad/button/left"; type, RECT; description { min, 15 0; max, 15 0; fixed, 1 0; state, "default" 0.0; align, 1.0 0.5; rel1 { relative , 0.0 0.0; to, "button/sw"; } rel2 { relative , 0.0 0.0; to, "button/sw"; } } } part { name, "editfield/sw"; type, SWALLOW; description { state, "default" 0.0; align, 1.0 0.5; rel1.to, "base"; rel2 { relative, 0.0 1.0; to_x, "pad/button/left"; to_y, "base"; } } } } } //base 690x850 //HD size 720x1280 #define HEIGHT_OF_LIST_VIEW 920 group { name, "list/base"; parts { part { name, "base"; type, SWALLOW; description { state, "default" 0.0; color, 248 246 239 255; align: 0.0 0.0; } } part {name, "searchbar"; type, SWALLOW; mouse_events, 1; scale, 1; description { state: "default" 0.0; min: 460 106; fixed: 1 1; align: 0.0 0.0; rel1 { relative: 0.0 0.0; to: "base";} rel2 { relative: 1.0 0.0; to: "base";} visible, 1; } description { state: "hide" 0.0; align: 0.0 0.0; rel1 { relative: 0.0 0.0; to: "base";} rel2 { relative: 0.0 0.0; to: "base";} visible: 0; } } part { name, "sw"; type, SWALLOW; description { state, "default" 0.0; rel1 { relative: 0.0 1.0; to: "searchbar"; } rel2.to, "base"; visible, 1; } description { state, "hide" 0.0; rel1 { relative: 0.0 0.0; to: "base"; } rel2.to, "base"; visible, 1; } } part { name, "sw_nocontents"; type, SWALLOW; description { state, "default" 0.0; rel1 { relative: 0.0 0.0; to: "base"; } rel2.to, "base"; visible, 1; } } part { name: "sel.swallow.contents"; type: SWALLOW; description { state: "default" 0.0; fixed: 0 1; align: 0.5 1.0; rel1 { relative: 0.0 1.0; to:"sw"; } } description { state: "hide" 0.0; inherit: "default" 0.0; visible: 0; } } } programs { program { name: "show,selection,info"; signal: "show,selection,info"; source: "elm"; action: STATE_SET "default" 0.0; target: "sel.swallow.contents"; } program { name: "hide,selection,info"; signal: "hide,selection,info"; source: "elm"; action: STATE_SET "hide" 0.0; target: "sel.swallow.contents"; } program { name: "show"; signal: "searchbar,show"; action: STATE_SET "default" 0.0; target: "searchbar"; target: "sw"; source: "prog"; } program { name: "hide"; signal: "searchbar,hide"; action: STATE_SET "hide" 0.0; target: "searchbar"; target: "sw"; source: "prog"; } } } group { name, "search/list/base"; parts { part { name, "base"; type, SWALLOW; description { state, "default" 0.0; color, 0 0 0 0; align: 0.0 0.0; } } part { name, "search_scope"; type, RECT; description { state, "default" 0.0; min: 160 0; fixed: 1 0; rel1 { relative: 0.0 0.0; to_x: "base"; to_y: "base"; } rel2 { relative: 0.0 1.0; to_x: "searchbar"; to_y: "searchbar"; } color, 248 246 239 255; align: 0.0 0.0; } description { state, "hide" 0.0; inherit: "default" 0.0; min: 0 0; align: 0.0 0.0; rel1 { relative: 0.0 0.0; to: "base";} rel2 { relative: 0.0 0.0; to: "base";} visible: 0; } } part { name, "search_scope_button"; type, SWALLOW; description { state, "default" 0.0; min: 140 0; fixed: 1 0; rel1 { relative: 0.0 0.0; offset: 15 15; to_x: "search_scope"; to_y: "search_scope"; } rel2 { relative: 1.0 1.0; offset: 0 -15; to_x: "search_scope"; to_y: "search_scope"; } visible, 1; } } part {name, "searchbar"; type, SWALLOW; mouse_events, 1; scale, 1; description { state: "default" 0.0; min: 340 106; fixed: 1 1; align: 0.0 0.0; rel1 { relative: 1.0 0.0; to_x: "search_scope"; to_y: "base"; } rel2 { relative: 1.0 0.0; to: "base";} visible, 1; } description { state: "hide" 0.0; inherit: "default" 0.0; min: 0 0; align: 0.0 0.0; rel1 { relative: 0.0 0.0; to: "base";} rel2 { relative: 0.0 0.0; to: "base";} visible: 0; } } part { name, "sw"; type, SWALLOW; description { state, "default" 0.0; fixed: 0 1; rel1 { relative: 0.0 1.0; to_x: "base"; to_y: "searchbar"; } rel2.to, "base"; visible, 1; } } } programs { program { name: "show"; signal: "searchbar,show"; action: STATE_SET "default" 0.0; target: "searchbar"; target: "search_scope"; source: "prog"; } program { name: "hide"; signal: "searchbar,hide"; action: STATE_SET "hide" 0.0; target: "searchbar"; target: "search_scope"; source: "prog"; } } } group { name, "list/base/without_searchbar"; parts { part { name, "base"; type, SWALLOW; description { state, "default" 0.0; align: 0.0 0.0; } } part { name, "sw"; type, SWALLOW; description { state, "default" 0.0; rel1 { relative: 0.0 0.0; to_x: "base"; to_y: "base"; } rel2 { relative: 1.0 1.0; to_x: "base"; to_y: "base"; } visible, 1; } } part { name: "sel.swallow.contents"; type: SWALLOW; description { state: "default" 0.0; fixed: 0 1; align: 0.5 1.0; rel1 { relative: 0.0 1.0; to:"sw"; } } description { state: "hide" 0.0; inherit: "default" 0.0; visible: 0; } } } programs { program { name: "show,selection,info"; signal: "show,selection,info"; source: "elm"; action: STATE_SET "default" 0.0; target: "sel.swallow.contents"; } program { name: "hide,selection,info"; signal: "hide,selection,info"; source: "elm"; action: STATE_SET "hide" 0.0; target: "sel.swallow.contents"; } } } group { name: "ug_effect_sample"; parts { part { name: "clip"; type: RECT; description { state: "default" 0.0; rel1 { relative: 1 0; } rel2 { relative: 2 1; } color: 255 255 255 0; } description { state: "show" 0.0; rel1 { relative: 0 0; } rel2 { relative: 1 1; } color: 255 255 255 255; } } part { name: "elm.swallow.content"; type: SWALLOW; clip_to: "clip"; description { rel1.to: "clip"; rel2.to: "clip"; } } part { name: "event_blocker"; description { state: "default" 0.0; rel1.to: "clip"; rel2.to: "clip"; visible: 1; } description { state: "show" 0.0; inherit: "default" 0.0; } description { state: "disabled" 0.0; inherit: "default" 0.0; visible: 0; } } } programs { program { name: "show"; signal: "elm,state,show"; action: STATE_SET "show" 0.0; target: "clip"; target: "event_blocker"; transition: "DECELERATE" 1.2; after: "show_end"; } program { name: "hide"; signal: "elm,state,hide"; action: STATE_SET "default" 0.0; target: "clip"; target: "event_blocker"; transition: "DECELERATE" 1.0; after: "hide_end"; } program { name: "disable_event_blocker"; signal: "elm,state,blocker,disabled"; action: STATE_SET "disabled" 0.0; target: "event_blocker"; } program { name: "disable_blocker"; action: SIGNAL_EMIT "elm,state,blocker,disabled" ""; } program { name: "show_end"; action: SIGNAL_EMIT "elm,action,show,finished" ""; after: "disable_blocker"; } program { name: "hide_end"; action: SIGNAL_EMIT "elm,action,hide,finished" ""; after: "disable_blocker"; } } } group { name: "popup_center_text_progressview"; parts{ part { name: "pad_t"; scale : 1; mouse_events: 0; repeat_events: 1; description { state: "default" 0.0; align: 0.5 0.0; min: 0 14; fixed: 0 1; rel1 { relative: 1.0 0.0; to_x: "pad_l"; } rel2 { relative: 0.0 0.0; to_x: "pad_r"; } } } part { name: "pad_l"; scale: 1; description { state: "default" 0.0; min : 10 0; fixed: 1 0; rel1 { relative: 0.0 0.0; } rel2 { relative: 0.0 1.0; } align: 0.0 0.0; } } part { name: "pad_r"; scale: 1; description { state: "default" 0.0; min : 10 0; fixed: 1 0; rel1 { relative: 1.0 0.0; } rel2 { relative: 1.0 1.0; } align: 1.0 0.0; } } part{ name:"elm.swallow.content"; type: SWALLOW; scale : 1; description { state: "default" 0.0; min: 300 0; align: 0.5 0.5; fixed: 1 0; rel1 { relative: 0.5 1.0; to: "pad_t"; } rel2 { relative: 0.5 0.0; to: "pad_b"; } } } part { name: "pad_b"; scale : 1; mouse_events: 0; repeat_events: 1; description { state: "default" 0.0; align: 0.5 1.0; min: 0 90; fixed: 0 1; rel1 { relative: 1.0 1.0; to_x: "pad_l"; } rel2 { relative: 0.0 1.0; to_x: "pad_r"; } } } part { name: "elm.swallow.end"; type: SWALLOW; scale : 1; mouse_events: 1; repeat_events: 1; description { state: "default" 0.0; align: 0.0 0.0; fixed: 1 1; rel1 { relative: 0.0 0.0; to: "pad_b"; } rel2 { relative: 1.0 1.0; to: "pad_b"; } } } part { name: "pad_bm"; scale : 1; mouse_events: 0; repeat_events: 1; description { state: "default" 0.0; align: 0.0 1.0; min: 0 52; fixed: 0 1; rel1 { relative: 0.0 1.0; to: "pad_b"; } rel2 { relative: 1.0 1.0; to: "pad_b"; } } } part { name: "elm.text.subtext1"; type: TEXT; scale : 1; description { state: "default" 0.0; text { font: "SLP:style=Medium"; size: 16; min: 0 0; align: 0.0 1.0; } color: 108 108 108 255; align: 0.0 0.5; rel1 { relative: 0.0 0.0; to: "pad_bm"; } rel2 { relative: 1.0 1.0; to: "pad_bm"; } } } part { name: "elm.text.subtext2"; type: TEXT; scale : 1; description { state: "default" 0.0; text { font: "SLP:style=Medium"; size: 16; min: 0 0; align: 1.0 1.0; } color: 108 108 108 255; align: 1.0 0.5; rel1 { relative: 0.0 0.0; to: "pad_bm"; } rel2 { relative: 1.0 1.0; to: "pad_bm"; } } } } } group { name, "dialoguegroup/datetime"; parts { part { name, "base"; type, RECT; scale, 1; description { state, "default" 0.0; min, 0 100; color, 0 0 0 0; } } part { name, "left_padding"; type, RECT; scale, 1; description { state, "default" 0.0; min, 30 0; fixed, 1 0; rel1.to, "base"; rel2 { relative: 0.0 1.0; to: "base"; } align, 0.0 0.0; color, 0 0 0 0; } } part { name, "right_padding"; type, RECT; scale, 1; description { state, "default" 0.0; min, 30 0; fixed, 1 0; rel1 { relative: 1.0 0.0; to: "base"; } rel2.to, "base"; align, 1.0 0.0; color, 0 0 0 0; } } part { name, "bottom_padding"; type, RECT; scale, 1; description { state, "default" 0.0; min, 0 10; fixed, 0 1; rel1 { relative, 0.0 1.0; to, "base"; } rel2.to, "base"; align, 0.5 1.0; color, 0 0 0 0; } } part { name: "elm.text"; type: TEXT; scale: 1; mouse_events: 0; description { state: "default" 0.0; min: 50 20; fixed: 1 1; visible: 1; rel1 { relative: 0.0 0.1; to_x: "left_padding"; } rel2 { relative: 1.0 0.1; to_y: "left_padding"; } align: 0.0 0.2; color: 124 124 124 255; text { font: "SLP:style=Bold"; size: 32; min: 0 1; align: 0.0 0.5; } } } part { name: "elm.icon"; type: SWALLOW; scale: 1; description { state: "default" 0.0; align: 1.0 0.5; fixed: 1 1; rel1 { relative: 0.0 1.0; offset: 0 0; to_x: "left_padding"; to_y: "elm.text"; } rel2 { relative: 0.0 0.0; offset: 0 0; to_x: "right_padding"; to_y: "bottom_padding"; } } } } } group { name, "dialoguegroup/participants"; parts { part { name, "base"; type, RECT; scale, 1; description { state, "default" 0.0; min, 0 100; color, 0 0 0 0; } } part { name, "top_padding"; type, RECT; scale, 1; description { state, "default" 0.0; min, 0 20; fixed, 0 1; rel1.to, "base"; rel2 { relative: 1.0 0.0; to: "base"; } align, 0.0 0.0; color, 0 0 0 0; } } part { name, "bottom_padding"; type, RECT; scale, 1; description { state, "default" 0.0; min, 0 20; fixed, 0 1; rel1 { relative: 0.0 1.0; to: "base"; } rel2.to, "base"; align, 0.0 0.0; color, 0 0 0 0; } } part { name, "right_padding"; type: RECT; scale: 1; description { state: "default" 0.0; align: 1.0 0.5; min: 10 0; max: 10 -1; fixed: 1 1; rel1 { relative: 1.0 0.0; offset: 0 0; to: "base"; } rel2.to, "base"; color, 0 0 0 0; } } part { name: "elm.icon.1"; type: SWALLOW; scale: 1; description { state: "default" 0.0; align: 1.0 0.5; rel1 { relative: 0.0 1.0; offset: 0 0; to_x: "base"; to_y: "top_padding"; } rel2 { relative: 0.0 0.0; offset: 0 0; to_x: "right_padding"; to_y: "bottom_padding"; } } } part { name: "elm.icon.2"; type: SWALLOW; scale: 1; description { state: "default" 0.0; align: 1.0 0.5; min, 30 30; fixed: 1 1; rel1 { relative: 1.0 0.0; offset: 0 0; to: "base"; } rel2.to, "base"; } } } } group { name, "dialoguegroup/tm"; parts { part { name, "base"; type, RECT; scale, 1; description { state, "default" 0.0; min, 0 74; color, 0 0 0 0; } } part { name, "left_padding"; type, RECT; scale, 1; description { state, "default" 0.0; min, 0 0; fixed, 1 0; rel1.to, "base"; rel2 { relative, 0.0 1.0; to, "base"; } align, 0.0 0.0; color, 0 0 0 0; } } part { name, "right_padding"; type, RECT; scale, 1; description { state, "default" 0.0; min, 16 0; fixed, 1 0; rel1 { relative, 1.0 0.0; to, "base"; } rel2.to, "base"; align, 1.0 0.0; color, 0 0 0 0; } } part { name, "text_left_padding"; type, RECT; scale, 1; description { state, "default" 0.0; min, CONTENT_LEFT_PADDING 0; fixed, 1 0; rel1 { relative, 1.0 0.5; to_x, "content"; to_y, "base"; } rel2 { relative, 1.0 0.5; to_x, "content"; to_y, "base"; } align, 0.0 0.0; color, 0 0 0 0; } } part { name, "datefield"; type, SWALLOW; scale, 1; description { state, "default" 0.0; align, 0.0 0.5; rel1 { relative, 1.0 0.0; to_x, "text_left_padding"; to_y, "base"; } rel2 { relative, 0.0 1.0; to_x, "right_padding"; to_y, "base"; } } } part { name, "content"; type, SWALLOW; scale, 1; description { state, "default" 0.0; align, 0.0 0.5; fixed, 1 1; rel1 { relative, 1.0 0.0; to_x, "left_padding"; to_y, "base"; } rel2 { relative, 1.0 1.0; to_x, "left_padding"; to_y, "base"; } } } } } group { name, "custom/popup/genlist"; parts { part { name, "base"; type, RECT; scale, 1; description { state, "default" 0.0; min, 620 426; max, 620 426; color, 248 246 239 255; } description { state, "contract" 0.0; min, 620 202; max, 620 202; color, 248 246 239 255; } } part { name, "top/bg"; type, RECT; scale, 1; description { state, "default" 0.0; rel1 { relative: 0.0 0.0; to_y: "base"; to_x: "base"; } rel2 { relative: 1.0 0.0; offset: 0 86; to_x: "base"; to_y: "base"; } align: 0.0 0.0; color, 248 246 239 255; } } part { name, "segment/bg"; type, RECT; scale, 1; description { state, "default" 0.0; min, 580 74; max, 580 74; fixed:0 1; rel1 { relative: 0.0 0.0; offset: 20 6; to_y: "base"; to_x: "base"; } rel2 { relative: 1.0 0.0; to_x: "base"; to_y: "base"; } align: 0.0 0.0; color, 248 246 239 255; } } part { name, "segment"; type, SWALLOW; scale, 1; description { state, "default" 0.0; fixed:0 1; rel1.to, "segment/bg"; rel2.to, "segment/bg"; align: 0.5 0.0; } } part { name, "sw"; type, SWALLOW; scale, 1; description { state, "default" 0.0; min, 620 112; fixed:0 1; rel1 { relative: 0.0 1.0; to_x: "base"; to_y: "top/bg"; } rel2.to, "base"; } } } programs { program { name, "contract/content"; signal, "contract,content"; source, "prog"; action, STATE_SET "contract" 0.0; target, "base"; } program { name, "normal/content"; signal, "normal,content"; source, "prog"; action, STATE_SET "default" 0.0; target, "base"; } } } group { name: "selectioninfo"; parts { part { name: "gen.swallow.contents"; type: SWALLOW; description { state: "default" 0.0; align: 0.5 0.0; } } part { name: "sel.swallow.contents"; type: SWALLOW; description { state: "default" 0.0; fixed: 0 1; align: 0.5 1.0; rel1 { relative: 0.0 1.0; to:"gen.swallow.contents"; } } description { state: "hide" 0.0; inherit: "default" 0.0; visible: 0; } } } programs { program { name: "show"; signal: "show,selection,info"; source: "elm"; action: STATE_SET "default" 0.0; target: "sel.swallow.contents"; } program { name: "hide"; signal: "hide,selection,info"; source: "elm"; action: STATE_SET "hide" 0.0; target: "sel.swallow.contents"; } } }