/* * * 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://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, "main/week/more"; parts { part { name, "base"; type, RECT; description { state, "default" 0.0; color, 0 0 0 0; } } part { name, "text"; type, TEXT; scale, 1; description { state, "default" 0.0; rel1.to, "base"; rel2.to, "base"; text { font, "SLP:style=Medium"; size, 40; align, 0.5 0.5; text, "..."; } } } } } group { name, "main/week/1line"; images { image, CALENDAR_WEEK_ARROW_FOCUS_ICON COMP; image, CALENDAR_WEEK_ARROW_ICON COMP; image, CALENDAR_WEEK_VIEW_PRESS COMP; } parts { part { name, "base"; type, RECT; description { min, 240 20; fixed, 1 1; state, "default" 0.0; color, 0 0 0 0; visible, 1; } } part { name, "base/bg"; mouse_events, 0; description { state, "default" 0.0; rel1.to, "base"; rel2.to, "base"; image.normal, CALENDAR_WEEK_VIEW_PRESS; visible, 0; } description { state, "down" 0.0; inherit, "default" 0.0; visible, 1; } } part { name, "icon_bg"; type, RECT; scale, 1; description { state, "default" 0.0; min, 10 24; fixed, 1 1; rel1 { relative, 0.0 0.0; to, "base"; } rel2 { relative, 0.0 1.0; to, "base"; } align, 0.0 0.5; color, 0 0 0 0; } } part { name, "icon"; type, SWALLOW; scale, 1; description { state, "default" 0.0; min, 10 24; fixed, 1 1; rel1 { relative, 0.0 0.0; to, "icon_bg"; } rel2 { relative, 0.0 0.0; to, "icon_bg"; } } } part { name, "text_title"; type, TEXT; scale, 1; description { state, "default" 0.0; rel1 { relative, 1.0 0.0; to_x, "icon_bg"; to_y, "base"; } rel2 { relative, 1.0 0.5; to_x, "base"; to_y, "base"; } text { font, "SLP:style=Medium"; size, 30; align, 0.0 0.5; text, "..."; } color, 255 255 255 255; } } part { name, "text_location"; type, TEXT; scale, 1; description { state, "default" 0.0; rel1 { relative, 1.0 0.5; to_x, "icon_bg"; to_y, "base"; } rel2 { relative, 1.0 1.0; to_x, "base"; to_y, "base"; } text { font, "SLP:style=Medium"; size, 22; align, 0.0 0.5; text, "..."; } color, 240 240 240 255; } } programs { program { name, "base/down"; signal, "mouse,down,1"; source, "base"; action, STATE_SET "down" 0.0; target, "base/bg"; } program { name, "base/up"; signal, "mouse,up,1"; source, "base"; action, STATE_SET "default" 0.0; target, "base/bg"; } } } } group { name, "landscape/main/week/1line"; images { image, CALENDAR_WEEK_ARROW_FOCUS_ICON COMP; image, CALENDAR_WEEK_ARROW_ICON COMP; image, CALENDAR_WEEK_VIEW_PRESS COMP; } parts { part { name, "base"; type, RECT; description { min, 240 50; fixed, 1 1; state, "default" 0.0; color, 0 0 0 0; visible, 1; } } part { name, "base/bg"; mouse_events, 0; description { state, "default" 0.0; rel1.to, "base"; rel2.to, "base"; image.normal, CALENDAR_WEEK_VIEW_PRESS; visible, 0; } description { state, "down" 0.0; inherit, "default" 0.0; visible, 1; } } part { name, "icon_bg"; type, RECT; scale, 1; description { state, "default" 0.0; min, 10 24; fixed, 1 1; rel1 { relative, 0.0 0.0; to, "base"; } rel2 { relative, 0.0 1.0; to, "base"; } align, 0.0 0.5; color, 0 0 0 0; } } part { name, "icon"; type, SWALLOW; scale, 1; description { state, "default" 0.0; min, 10 24; fixed, 1 1; rel1 { relative, 0.0 0.0; to, "icon_bg"; } rel2 { relative, 0.0 0.0; to, "icon_bg"; } } } part { name, "text_title"; type, TEXT; scale, 1; description { state, "default" 0.0; rel1 { relative, 1.0 0.0; to_x, "icon_bg"; to_y, "base"; } rel2 { relative, 1.0 0.5; to_x, "base"; to_y, "base"; } text { font, "SLP:style=Medium"; size, 30; align, 0.0 0.5; text, "..."; } color, 255 255 255 255; } } part { name, "text_location"; type, TEXT; scale, 1; description { state, "default" 0.0; rel1 { relative, 1.0 0.5; to_x, "icon_bg"; to_y, "base"; } rel2 { relative, 1.0 1.0; to_x, "base"; to_y, "base"; } text { font, "SLP:style=Medium"; size, 22; align, 0.0 0.5; text, "..."; } color, 240 240 240 255; } } programs { program { name, "base/down"; signal, "mouse,down,1"; source, "base"; action, STATE_SET "down" 0.0; target, "base/bg"; } program { name, "base/up"; signal, "mouse,up,1"; source, "base"; action, STATE_SET "default" 0.0; target, "base/bg"; } } } }