/* * * 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, "edit/participant"; parts { part { name, "base"; type, RECT; scale,1; description { state, "default" 0.0; visible, 0; } } part { name, "mbe/bg"; type, RECT; description { state, "default" 0.0; rel1.to, "base"; rel2.to, "mbe/sw"; visible, 0; } } part { name, "mbe/sw"; type, SWALLOW; description { state, "default" 0.0; rel1.to, "base"; rel2 { relative, 0.85 0.0; to_x, "base"; to_y, "box/base"; } align, 0.0 0.0; } } part { name, "box/base"; type, RECT; scale, 1; description { state, "default" 0.0; min, 0 106; fixed, 0 1; rel1 { relative, 0.0 1.0; to, "base"; } rel2.to, "base"; visible, 0; align, 0.5 1.0; } description { state, "list" 0.0; inherit, "default" 0.0; min, 0 106; } } part { name, "box/top_left"; type, RECT; scale, 1; description { state, "default" 0.0; min, 10 10; fixed, 1 1; rel1.to, "box/base"; rel2 { relative, 0.0 0.0; to, "box/base"; } align, 0.0 0.0; color, 0 0 0 0; } } part{ name, "box/bottom_right"; type, RECT; scale, 1; description { state, "default" 0.0; min, 10 10; fixed, 1 1; rel1 { relative, 1.0 1.0; to, "box/base"; } rel2.to, "box/base"; color, 0 0 0 0; align, 1.0 1.0; } } part { name, "box/sw"; type, SWALLOW; description { state, "default" 0.0; min, 85 85; rel1 { relative, 1.0 0.0; to, "mbe/sw"; } rel2 { relative, 1.0 0.0; to, "mbe/sw"; } visible, 1; align, 0.0 0.0; } } part { name, "list/sw"; type, SWALLOW; description { state, "default" 0.0; rel1.to, "box/base"; rel2.to, "box/base"; visible, 0; } description { state, "list" 0.0; inherit, "default" 0.0; visible, 1; } } } programs { program { name, "list/show"; signal, "show,list"; source, "prog"; action, STATE_SET "list" 0.0; target, "box/base"; target, "list/sw"; } program { name, "list/hide"; signal, "hide,list"; source, "prog"; action, STATE_SET "default" 0.0; target, "box/base"; target, "list/sw"; } } }