/* * Copyright (c) 2014 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://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: "thumbnail_page"; parts { part { name: "bg"; type: RECT; scale: 1; description { min: 180 480; max: 180 480; state: "default" 0.0; color: 0 0 0 255; } } part { name: "thumb1"; type: SWALLOW; scale: 1; description { state: "default" 0.0; min: 180 240; rel1 {relative: 0.0 0.0; to: "bg";} rel2 {relative: 1.0 0.5; to: "bg";} align: 0.5 0.5; } } part { name: "thumb2"; type: SWALLOW; scale: 1; description { state: "default" 0.0; min: 180 240; rel1 {relative: 0.0 0.5; to: "bg";} rel2 {relative: 1.0 1.0; to: "bg";} align: 0.5 0.5; } } } } group { name: "thumbnail"; parts { part { name: "thumb_bg"; type: RECT; scale: 1; description { state: "default" 0.0; max: 177 237; min: 177 237; rel1.relative: 0.0 0.0; rel2.relative: 1.0 1.0; color: 255 255 255 255; } description { state: "white" 0.0; max: 177 237; min: 177 237; rel1.relative: 0.0 0.0; rel2.relative: 1.0 1.0; color: 255 255 255 255; } } part { name: "thumb_inner_bg"; type: RECT; scale: 1; description { state: "default" 0.0; max: 175 235; min: 175 235; rel1.relative: 0.0 0.0; rel2.relative: 1.0 1.0; color: 0 0 0 255; } } part { name: "thumb"; type: SWALLOW; scale: 1; description { state: "default" 0.0; max: 175 235; min: 175 235; rel1 {relative: 0.0 0.0; to: "thumb_bg"; offset: 1 1;} rel2 {relative: 1.0 1.0; to: "thumb_bg"; offset: -1 -1;} } } part { name: "thumb_btn"; type: SWALLOW; scale: 1; description { state: "default" 0.0; max: 70 70; min: 70 70; rel1.relative: 0.0 0.0; rel2.relative: 1.0 1.0; } } part { name: "thumb_op"; type: RECT; mouse_events: 0; scale: 1; description { state: "default" 0.0; rel1.relative: 0.0 0.0; rel2.relative: 1.0 1.0; color: 0 0 0 0; } description { state: "opacity" 0.0; rel1.relative: 0.0 0.0; rel2.relative: 1.0 1.0; color_class: "AO0161D"; } } part { name: "thumb_select"; type: SWALLOW; scale: 1; description { state: "default" 0.0; max: 177 237; min: 177 237; rel1.relative: 0.0 0.0; rel2.relative: 1.0 1.0; } } } programs { program { name: "thumb_bg,default"; signal: "thumb_bg,default"; source: "thumb_bg"; action: STATE_SET default"" 0.0; target: "thumb_bg"; } program { name: "thumb_bg,white"; signal: "thumb_bg,white"; source: "thumb_bg"; action: STATE_SET "white" 0.0; target: "thumb_bg"; } program { name: "thumbnail,opacity"; signal: "thumbnail,opacity"; source: "thumb_op"; action: STATE_SET "opacity" 0.0; target: "thumb_op"; } program { name: "thumbnail,default"; signal: "thumbnail,default"; source: "thumb_op"; action: STATE_SET "default" 0.0; target: "thumb_op"; } } }