/* * 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. */ #define FONT_BLD "HelveticaNeueBld" #define FONT_MED "HelveticaNeueMed" #define FONT_ROM "HelveticaNeueRom" #define FONT_LIG "HelveticaNeueLig" styles { style { name: "mesg_style"; base: "font="FONT_MED" font_size=30 color=#ffffffff wrap=word align=center valign=middle"; } } collections { group { name, "main"; parts { part { name, "bg"; type, RECT; description { state, "default" 0.0; color, 0 0 0 255; } } part { name: "tip_part"; type: SWALLOW; mouse_events: 0; scale:1; description { state: "default" 0.0; fixed: 1 1; rel1 { relative: 0.15 0.05; to: "bg";} rel2 { relative: 0.85 0.12; to: "bg";} } } part { name, "bg_entry"; type, RECT; mouse_events, 0; description { state, "default" 0.0; visible : 1; rel1 { relative, 0.15 0.16; to, bg; } rel2 { relative, 0.85 0.24; to, bg; } color, 255 255 255 255; } description{ state, "block" 0.0; visible : 0; } } part { name, "sw_entry"; type, SWALLOW; mouse_events, 1; description { state, "default" 0.0; rel1 { to, bg_entry; } rel2 { to, bg_entry; } } } part { name, "message"; type, TEXTBLOCK; scale, 1; mouse_events, 0; description { state, "default" 0.0; rel1 { relative, 0.1 0.25; to, bg; } rel2 { relative, 0.9 0.4; to, bg; } text.style, mesg_style; color, 255 255 255 255; } } } programs{ program{ name: "mode_change"; signal: "SIG_BLOCKENTRY"; source: "BLOCKENTRY"; action: STATE_SET "block" 0.0; target: "bg_entry"; } } } }