/* * setting * * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. * * Contact: MyoungJune Park * * Licensed under the Apache License, Version 2.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.apache.org/licenses/LICENSE-2.0 * * 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. * */ #include "../setting-common/include/setting-common-data-edj-define.h" images { } collections { styles { style { name: "textblock_style"; base: "font=HelveN_Asia font_size=30 align=center color=#ffffff wrap=char"; tag: "br" "\n"; tag: "hilight" "+ font=HelveN_Asia:style=Bold"; tag: "b" "+ font=HelveN_Asia:style=Bold"; tag: "whitecolor" "+ color=#ffffff"; tag: "tab" "\t"; } style { name: "description_style"; base: "font=SLP:style=Roman font_size=24 align=left color=#ff0000 wrap=mixed"; tag: "br" "\n"; tag: "hilight" "+ font=SLP:style=Regular"; tag: "b" "+ font=SLP:style=Regular"; tag: "whitecolor" "+ color=#ffffff"; tag: "tab" "\t"; } } group { name: "search_layout"; parts { /* background */ part { name: "bg"; type: RECT; scale: 1; description { state: "default" 0.0; rel1 { relative: 0.0 0.0; offset: 0 0;} rel2 { relative: 1.0 1.0; offset: 0 0;} color: 0 0 0 0; } } part { name: "bg_swallow"; type: SWALLOW; mouse_events: 0; scale: 1; description { state: "default" 0.0; rel1 { relative: 0.0 0.0; offset: 0 0; to: "bg";} rel2 { relative: 1.0 1.0; offset: 0 0; to: "bg";} } } /******Begin adding middle icon and its text*******/ part { name: "middle_icon_text";/*middle allign*/ type: TEXT; scale: 1; description { state: "default" 0.0; align: 0.5 1.0; rel1 { relative: 0.0 0.54; offset: 0 0; to: "bg"; } rel2 { relative: 1.0 0.6; offset: 0 0; to: "bg"; } color: 0 255 0 255; text { font: "SLP:style=Regular"; text_class:"slp_regular"; size: 32; min: 0 0; align: 0.5 0.5; } } } part { name: "middle_icon"; type: SWALLOW; mouse_events: 1; scale: 1; description { state: "default" 0.0; //min: 130 116; fixed: 1 1; align: 0.5 0.5; rel1 { relative: 0.33 0.6; offset: 0 0; to: "bg"; } rel2 { relative: 0.66 0.8; offset: 0 0; to: "bg"; } } } /******End adding middle icon and its text*******/ /* search area swallow */ part { name: "search_bar"; type: SWALLOW; mouse_events: 1; scale: 1; description { state: "default" 0.0; min: 0 ITEM_Y_DEN; fixed: 1 1; align: 0.0 0.0; rel1 { relative: 0.0 0.0; offset: 0 0; to: "bg"; } rel2 { relative: 1.0 0.0; offset: 0 0; to: "bg"; } } } /* genlist swallow */ part { name: "search_list"; type: SWALLOW; mouse_events: 1; scale: 1; description { state: "default" 0.0; align: 0.0 0.0; //rel1 { relative: 0.0 1.0; offset: 0 0; to: "search_bar"; } rel1 { relative: 0.0 1.0; offset: 0 1; to: "search_bar"; } rel2 { relative: 1.0 1.0; offset: 0 0; to: "bg"; } } } part { name: "search_list2"; type: SWALLOW; mouse_events: 1; scale: 1; description { state: "default" 0.0; align: 0.0 0.0; rel1 { relative: 0.0 0.0; offset: 0 0; to: "bg"; } rel2 { relative: 1.0 1.0; offset: 0 0; to: "bg"; } } } } // end of parts } group { name:"thumbnail_icon2"; min: 110 50; max: 121 55; parts { part { name:"checkbox"; type:SWALLOW; scale: 1; description { state: "default" 0.0; rel1 { relative: 0.0 0.0; offset: 0 0;} rel2 { relative: 0.45 1.0; offset: 0 0;} } } part { name: "space"; type: RECT; scale: 1; description { state: "default" 0.0; min: 45 0; fixed: 1 0; rel1 { relative: 1.0 0.0; to_x: "checkbox"; } rel2.to_x: "checkbox"; color: 0 0 0 0; align: 0.0 0.0; } } part { name:"thumbnail"; type:SWALLOW; scale: 1; description { state: "default" 0.0; rel1 { relative: 0.45 0.0; offset: 0 0;} rel2 { relative: 1.0 1.0; offset: 0 0;} } } } } group { name: "wallpaper_layout"; #define FONT_SIZE 24 parts { /* background */ part { name: "bg"; type: RECT; scale: 1; description { state: "default" 0.0; rel1 { relative: 0.0 0.0; offset: 0 0;} rel2 { relative: 1.0 1.0; offset: 0 0;} color: 0 0 0 0; } } part { name: "bg_swallow"; type: SWALLOW; mouse_events: 0; scale: 1; description { state: "default" 0.0; align: 0.0 0.0; rel1 { relative: 0.0 0.0; offset: 0 0;} rel2 { relative: 1.0 1.0; offset: 0 0;} //color: 0 0 0 0; } } part { name: "left_swallow_bg"; type: RECT; scale: 1; description { state: "default" 0.0; rel1 { relative: 16/720 30/WALLPAPER_LAYOUT_H; offset: 0 0; to: "bg"; } rel2 { relative: 352/720 630/WALLPAPER_LAYOUT_H; offset: 0 0; to: "bg"; } color: 0 0 0 0; } /* description { state: "pressed" 0.0; inherit: "default" 0.0; color: 255 102 28 255; }*/ } part { name: "left_swallow"; type: SWALLOW; mouse_events: 1; scale: 1; description { state: "default" 0.0; align: 0.5 0.5; rel1 { relative: 0.0 0.0; offset: 0 0; to: "left_swallow_bg"; } rel2 { relative: 1.0 1.0; offset: 0 0; to: "left_swallow_bg"; } } } part { name: "left_text"; type: TEXT; scale: 1; description { state: "default" 0.0; align: 0.5 0.5; rel1 { relative: 16/720 652/WALLPAPER_LAYOUT_H; offset: 0 0; to: "bg"; } rel2 { relative: 352/720 690/WALLPAPER_LAYOUT_H; offset: 0 0; to: "bg"; } color: 0 0 0 255; text { font: "SLP:style=Regular"; text_class:"slp_regular"; size: FONT_SIZE; min: 0 0; align: 0.5 0.5; } } /*Support other theme display*/ description { state: "white" 0.0; inherit: "default" 0.0; color: 255 255 255 255;//white color } } part { name: "right_swallow_bg"; type: RECT; scale: 1; description { state: "default" 0.0; rel1 { relative: 368/720 30/WALLPAPER_LAYOUT_H; offset: 0 0; to: "bg"; } rel2 { relative: 704/720 630/WALLPAPER_LAYOUT_H; offset: 0 0; to: "bg"; } color: 0 0 0 0; } /*description { state: "pressed" 0.0; inherit: "default" 0.0; color: 255 102 28 255; }*/ } part { name: "right_swallow"; type: SWALLOW; mouse_events: 1; scale: 1; description { state: "default" 0.0; align: 0.5 0.5; rel1 { relative: 0.0 0.0; offset: 0 0; to: "right_swallow_bg"; } rel2 { relative: 1.0 1.0; offset: 0 0; to: "right_swallow_bg"; } } } part { name: "right_text"; type: TEXT; scale: 1; description { state: "default" 0.0; align: 0.5 0.5; rel1 { relative: 368/720 652/WALLPAPER_LAYOUT_H; offset: 0 0; to: "bg"; } rel2 { relative: 704/720 690/WALLPAPER_LAYOUT_H; offset: 0 0; to: "bg"; } color: 0 0 0 255; text { font: "SLP:style=Regular"; text_class:"slp_regular"; size: FONT_SIZE; min: 0 0; align: 0.5 0.5; } } description { state: "white" 0.0; inherit: "default" 0.0; color: 255 255 255 255;//white color } } part { name: "btn"; type: SWALLOW; mouse_events: 1; scale: 1; description { state: "default" 0.0; align: 0.0 0.0; rel1 { relative: 16/720 712/WALLPAPER_LAYOUT_H; offset: 0 0; to: "bg"; } rel2 { relative: 704/720 786/WALLPAPER_LAYOUT_H; offset: 0 0; to: "bg"; } } } part { name: "lock_btn"; type: SWALLOW; mouse_events: 1; scale: 1; description { state: "default" 0.0; align: 0.0 0.0; rel1 { relative: 16/720 818/WALLPAPER_LAYOUT_H; offset: 0 0; to: "bg"; } rel2 { relative: 704/720 892/WALLPAPER_LAYOUT_H; offset: 0 0; to: "bg"; } } } } // end of parts programs { program { name: "left_mouse_press,"; signal: "mouse,down,1"; source: "left_swallow_bg"; //action: STATE_SET "default" 0.0; script { set_state(PART:"right_swallow_bg", "default", 0.0); set_state(PART:"left_swallow_bg", "pressed", 0.0); } } program { name: "right_mouse_press,"; signal: "mouse,down,1"; source: "right_swallow_bg"; //action: STATE_SET "default" 0.0; script { set_state(PART:"right_swallow_bg", "pressed", 0.0); set_state(PART:"left_swallow_bg", "default", 0.0); } } /*Support other theme display*/ program {//black theme need white text name: "Change_non_white_theme"; signal: "change,non-white,theme"; source: "elm"; action: STATE_SET "white" 0.0; target: "left_text"; target: "right_text"; } } } group { name: "selinfo_bottom"; parts { part { name: "background"; type: RECT; scale: 1; description { state: "default" 0.0; rel1 { relative: 0.0 0.0; } rel2 { relative: 1.0 1.0; } color: 0 0 0 0; } } part { name: "elm.swallow.contents"; type: SWALLOW; scale: 1; description { state: "default" 0.0; rel1 { relative: 0.0 0.0; to: "background"; } rel2 { relative: 1.0 0.0; to_x: "background"; to_y:"bottom_padding"; } } } part { name: "bottom_padding"; type: RECT; scale: 1; description { state: "default" 0.0; min: 0 0; fixed: 0 1; align: 0.5 1.0; rel1 { relative: 0.0 1.0; to: "background"; } rel2 { relative: 1.0 1.0; to: "background"; } color: 0 0 0 0; } description { state: "padding" 0.0; inherit: "default" 0.0; min: 0 5; // 66+4+12 } } } programs { program { name: "bottom_padding_content_area"; signal: "elm,layout,content,bottom_padding"; source: "layout"; action: STATE_SET "padding" 0.0; target: "bottom_padding"; } program { name: "default_content_area"; signal: "elm,layout,content,default"; source: "layout"; action: STATE_SET "default" 0.0; target: "bottom_padding"; } } } group { name: "popup_checkview"; 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 22; 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 : 16 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 : 16 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: 380 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; description { state: "default" 0.0; align: 0.5 1.0; min: 0 66; 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.5; rel1 { relative: 0.18 0.0; to: "pad_b"; } rel2 { relative: 1.0 1.0; to: "pad_b"; } } } part { name: "elm.text"; type: TEXT; scale : 1; description { state: "default" 0.0; text { font: "SLP:style=Medium"; size: 24; min: 0 0; align: 0.5 0.5; } color: 0 0 0 255; align: 0.0 0.5; rel1 { relative: 0.0 0.0; to: "pad_b"; } rel2 { relative: 1.0 1.0; to: "pad_b"; } } } } } group { name: "personal_vib_layout"; parts { /* background */ part { name: "bg"; type: RECT; scale: 1; description { state: "default" 0.0; rel1 { relative: 0.0 0.0; offset: 0 0;} rel2 { relative: 1.0 1.0; offset: 0 0;} color: 0 0 0 255; } } part { name: "bg_icon"; type: SWALLOW; mouse_events: 1; scale: 1; description { state: "default" 0.0; fixed: 1 1; align: 0.5 0.5; rel1 { relative: 0 132/PERSONAL_VIBRATION_LAYOUT_H; offset: 0 0; to: "bg"; } rel2 { relative: 1.0 764/PERSONAL_VIBRATION_LAYOUT_H; offset: 0 0; to: "bg"; } } } part { name: "time_pass"; type: SWALLOW; scale: 1; mouse_events: 1; description { state: "default" 0; visible: 1; rel1 { relative: 0.0 0.0; to: "bg_icon"; } rel2 { relative: 1.0 1.0; to: "bg_icon"; } } description { state: "hide" 0.0; inherit: "default" 0.0; visible: 0; } } part { name: "recording_icon"; type: SWALLOW; mouse_events: 1; scale: 1; description { state: "default" 0.0; fixed: 1 1; align: 0.5 0.5; visible: 0; rel1 { relative: 0.0 0.0; offset: 0 0; to: "bg_icon"; } rel2 { relative: 1.0 1.0; offset: 0 0; to: "bg_icon"; } } description { state: "show" 0.0; inherit: "default" 0.0; visible: 1; } } } // end of parts programs { program { name : "show_recording_icon"; signal : "SHOW_RECORDING_ICON"; source : "personal_vib"; action : STATE_SET "show" 0.0; target : "recording_icon"; } program { name : "hide_recording_icon"; signal : "HIDE_RECORDING_ICON"; source : "personal_vib"; action : STATE_SET "default" 0.0; target : "recording_icon"; } program { name : "show_time_pass"; signal : "SHOW_TIME_PASS"; source : "personal_vib"; action : STATE_SET "default" 0.0; target : "time_pass"; } program { name : "hide_time_pass"; signal : "HIDE_TIME_PASS"; source : "personal_vib"; action : STATE_SET "hide" 0.0; target : "time_pass"; } } //end of programs } group { name: "traf-control"; parts { part { name: "background"; type: RECT; mouse_events: 0; description { state: "default" 0.0; color: 123 168 234 255; rel1 { relative: 0.0 0.0; offset: 0 0; } rel2 { relative: 1.0 1.0; offset: -1 -1; } } } part { name: "app-stat"; type: RECT; mouse_events: 0; description { state: "default" 0.0; rel1 { relative: 0.0 0.0; offset: 0 0; } rel2 { relative: 1.0 1.0; offset: -1 -1; } } } part { name: "traf-stat"; type: SWALLOW; mouse_events: 0; description { state: "default" 0.0; min: 0 320; rel1 { to: "app-stat"; relative: 0.0 0.0; offset: 5 5; } rel2 { to: "app-stat"; relative: 1.0 1.0; offset: -6 -6; } } } } } group { name: "screen_mode"; parts { part { name: "bg"; type: RECT; scale: 1; description { state: "default" 0.0; rel1 { relative: 0.0 0.0; offset: 0 0;} rel2 { relative: 1.0 1.0; offset: 0 0;} color: 0 0 0 0; } } part { name: "elm.padding.top"; type: RECT; scale: 1; description { state: "default" 0.0; min: 0 16; fixed: 0 1; visible: 0; rel2.relative: 1.0 0.0; align: 0.0 0.0; } } part { name: "elm.padding.bottom"; type: RECT; scale: 1; description { state: "default" 0.0; min: 0 16; fixed: 0 1; visible: 0; rel1.relative: 0.0 1.0; align: 0.0 1.0; } } part { name: "elm.padding.left"; type: RECT; scale: 1; description { state: "default" 0.0; min: 16 0; fixed: 1 0; visible: 0; rel2.relative: 0.0 1.0; align: 0.0 0.0; } } part { name: "elm.padding.right"; type: RECT; scale: 1; description { state: "default" 0.0; min: 16 0; fixed: 1 0; visible: 0; rel1.relative: 1.0 0.0; align: 1.0 0.0; } } part { name: "content"; type: SWALLOW; mouse_events: 1; scale: 1; description { state: "default" 0.0; align: 0.5 0.5; rel1 { relative: 1 1; to_x: "elm.padding.left"; to_y: "elm.padding.top"; } rel2 { relative: 0 0; to_x: "elm.padding.right"; to_y: "elm.padding.bottom"; } } } } } }