diff options
Diffstat (limited to 'res/resources/edje/cp-wallpaper-main-view.edc')
-rwxr-xr-x | res/resources/edje/cp-wallpaper-main-view.edc | 529 |
1 files changed, 529 insertions, 0 deletions
diff --git a/res/resources/edje/cp-wallpaper-main-view.edc b/res/resources/edje/cp-wallpaper-main-view.edc new file mode 100755 index 0000000..2697d29 --- /dev/null +++ b/res/resources/edje/cp-wallpaper-main-view.edc @@ -0,0 +1,529 @@ +/* + * cp-wallpaper-efl + * + * Copyright (c) 2000 - 2015 Samsung Electronics Co., Ltd. All rights reserved. + * + * Contact: Seungtaek Chung <seungtaek.chung@samsung.com>, Mi-Ju Lee <miju52.lee@samsung.com>, Xi Zhichan <zhichan.xi@samsung.com> + * + * 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. + * + */ + +group{ + + name: "cp.wallpaper.main"; + parts{ + part { + name: "bg"; + type: RECT; + mouse_events: 1; + repeat_events: 0; + description { + state: "default" 0.0; + rel1 { relative: 0 0; } + rel2 { relative: 1 1; } + color_class : "B0216"; + } + } + part { + name: "cp"; + type: SWALLOW; + scale: 1; + mouse_events: 1; + repeat_events: 0; + description { + state: "default" 0.0; + rel1 { + to: "bg"; + relative : 0.0 0.0; + } + rel2 { + to: "bg"; + relative : 1.0 1.0; + } + } + } + } +} + +group { + name: "cp_gengrid.item"; + + parts { + + part { name: "border"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + color: 125 125 125 125; + visible: 1; + rel1 { relative: 0.0 0.0; } + rel2 { relative: 1.0 1.0; } + } + } + + part { name: "bg"; + type: RECT; + mouse_events: 1; + scale: 1; + description { + state: "default" 0.0; + color: 0 0 0 0; + visible: 1; + rel1 { relative: 0.0 0.0; offset: 2 2; } + rel2 { relative: 1.0 1.0; offset: -3 -3; } + } + } + + part { name: "item"; + type: SWALLOW; + mouse_events: 1; + scale: 1; + description { + state: "default" 0.0; + visible: 1; + rel1 { relative: 0.0 0.0; to: "bg"; } + rel2 { relative: 1.0 1.0; to: "bg"; } + } + } + part { name: "check"; + type: SWALLOW; + mouse_events: 1; + repeat_events: 0; + scale: 1; + description { + state: "default" 0.0; + visible: 1; + align: 1.0 0.5; + min: 40 40; + fixed: 1 1; + rel1 { relative: 0.85 0.10; to: "item";} + rel2 { relative: 0.95 0.25; to: "item";} + } + } + } +} + +#define POPUP_CHECK_VIEW_LAYOUT_MIN_INC 0 252 +#define POPUP_CHECK_VIEW_LAYOUT_CONTENT_MIN_INC 0 192 +#define POPUP_CHECK_VIEW_LAYOUT_BOTTOM_MIN_INC 0 60 +#define POPUP_CHECK_VIEW_SWALLOW_END_MIN_INC 40 40 +#define POPUP_CONTENT_DEFAULT_PADDING_LEFT_MIN_INC 18 +#define POPUP_CONTENT_DEFAULT_PADDING_RIGHT_MIN_INC 18 +group { name: "popup_checkview_layout"; + parts { + part { name: "bg"; + scale: 1; + type: SPACER; + description { state: "default" 0.0; + min: POPUP_CHECK_VIEW_LAYOUT_MIN_INC; + fixed: 1 0; + } + } + part { name: "pad_l"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: POPUP_CONTENT_DEFAULT_PADDING_LEFT_MIN_INC 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"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: POPUP_CONTENT_DEFAULT_PADDING_RIGHT_MIN_INC 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; + //fixed: 0 1; + fixed: 1 0; + min: POPUP_CHECK_VIEW_LAYOUT_CONTENT_MIN_INC; + align: 0.5 0.0; + rel2 { + relative: 1.0 0.0; + to: "pad_b"; + } + } + } + part { name: "pad_b"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + align: 0.0 1.0; + min: POPUP_CHECK_VIEW_LAYOUT_BOTTOM_MIN_INC; + fixed: 0 1; + rel1.relative: 0.0 1.0; + } + } + part { name: "elm.swallow.end"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + align: 0.0 0.5; + min: POPUP_CHECK_VIEW_SWALLOW_END_MIN_INC; + fixed: 1 1; + rel1 { + relative: 1.0 1.0; + to_x: "pad_l"; + to_y: "pad_b"; + } + rel2 { + relative: 0.0 0.0; + to_x: "pad_r"; + to_y: "pad_b"; + } + } + } + } +} + +#define FONT_STYLE " color=#fefefeff style=tizen_shadow shadow_color=#000000cc " + +group { + styles + { + style { + name: "textblock_style"; + base: "font=Tizen:style=Regular text_class=ATO023 font_size=24 align=left wrap=mixed color_class=ATO025"FONT_STYLE; + tag: "br" "\n"; + tag: "hilight" "+ color=#ffff"; + tag: "b" "+ color=#ffff"; + tag: "tab" "\t"; + } + } + images { + image: "thumbnail_Badge_ic.png" COMP; + image: "thumbnail_bg.png" COMP; + } + + name: "gengrid.item.check"; + + parts { + + part { name: "border"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + //color: 125 125 125 125; + visible: 1; + rel1 { relative: 0.0 0.0; } + rel2 { relative: 1.0 1.0; } + } + } + + part { name: "bg"; + type: RECT; + mouse_events: 1; + scale: 1; + description { + state: "default" 0.0; + color: 0 0 0 0; + visible: 1; + rel1 { relative: 0.0 0.0;} + rel2 { relative: 1.0 1.0;} + } + } + + part { name: "item"; + type: SWALLOW; + mouse_events: 1; + scale: 1; + description { + state: "default" 0.0; + visible: 1; + rel1 { relative: 0.0 0.0; to: "bg"; } + rel2 { relative: 1.0 1.0; to: "bg"; } + } + } + part { name: "check"; + type: SWALLOW; + mouse_events: 1; + repeat_events: 0; + scale: 1; + description { + state: "default" 0.0; + visible: 1; + fixed : 1 1; + align : 1.0 0.0; + rel1 { relative: (158-14)/158 14/158; to: "item";} + rel2 { relative: (158-14)/158 14/158; to: "item";} + } + } + part { name: "thumbnail_bg"; + type: IMAGE; + mouse_events: 1; + repeat_events: 1; + scale: 1; + description {state: "default" 0.0; + image.normal: "thumbnail_bg.png"; + fixed:1 1; + visible: 1; + rel1 { relative: 0.0 89/158; to: "item";} + rel2 { relative: 1.0 1.0; to: "item";} + color_class:"AO015"; + } + } + part { name: "text"; + type: TEXTBLOCK; + mouse_events: 1; + repeat_events: 1; + scale: 1; + description {state: "default" 0.0; + fixed:1 1; + visible: 1; + align: 0.0 0.0; + rel1 { relative: 8/158 4/69; to: "thumbnail_bg";} + rel2 { relative: (158-8)/158 (69-2)/69; to: "thumbnail_bg";} + text { + style: textblock_style; + align: 0.0 0.0; + } + } + } + /*part { name: "name_text"; + type: TEXTBLOCK; + mouse_events: 1; + repeat_events: 1; + scale: 1; + description {state: "default" 0.0; + min:115 32; + fixed:1 1; + visible: 1; + align: 0.5 0.0; + rel1 { relative: 0.0 1.0; to: "text";} + rel2 { relative: 1.0 1.0; to: "text";} + text { + style: textblock_style; + } + } + }*/ + /*part { name: "badge_icon"; + type: IMAGE; + mouse_events: 1; + repeat_events: 1; + scale: 1; + description {state: "default" 0.0; + image.normal: "thumbnail_Badge_ic.png"; + fixed:1 1; + visible: 1; + rel1 { relative: 115/158 106/158; to: "item";} + rel2 { relative: 149/158 140/158; to: "item";} + } + description {state: "no_badge" 0.0; + inherit: "default" 0.0; + visible: 0; + } + }*/ + } + /*programs{ + program { name: "badge"; + signal: "badge"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "badge_icon"; + } + program { name: "no_badge"; + signal: "no_badge"; + source: "elm"; + action: STATE_SET "no_badge" 0.0; + target: "badge_icon"; + } + }*/ +} + +group{ name: "popup_wifi_check_layout"; + parts { + part { name: "bg"; + scale: 1; + type: SPACER; + description { state: "default" 0.0; + min: 0 252; + fixed: 1 0; + } + } + part { name: "pad_l"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 15 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"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 15 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; + //fixed: 0 1; + fixed: 1 0; + min: 0 162; + align: 0.5 0.0; + rel2 { + relative: 1.0 0.0; + to: "pad_b"; + } + } + } + part { name: "pad_b"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + align: 0.0 1.0; + min: 0 90; + fixed: 0 1; + rel1.relative: 0.0 1.0; + } + } + part { name: "elm.swallow.end"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + align: 0.0 0.5; + min: 40 40; + fixed: 1 1; + rel1 { + relative: 1.0 1.0; + to_x: "pad_l"; + to_y: "pad_b"; + } + rel2 { + relative: 0.0 0.0; + to_x: "pad_r"; + to_y: "pad_b"; + } + } + } + } +} + +group { name: "processing_view"; + styles { + style { name: "popup_processing"; + base: "font=Tizen:style=Regular align=left font_size=30 color=#FFFFFF color_class=T123 wrap=mixed ellipsis=1.0 text_class=T123"; + tag: "br" "\n"; + tag: "tab" "\t"; + } + } + parts { + part { name: "bg"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 0 96; + fixed: 1 0; + } + } + part { name: "pad_l"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 27 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"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 15 0; + fixed: 1 0; + rel1.relative: 1.0 0.0; + rel2.relative: 1.0 1.0; + align: 1.0 0.0; + } + } + part { name: "processing"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + min: 36 36; + max: 36 36; + rel1 { + relative: 1.0 0.0; + to_x: "pad_l"; + } + rel2 { + relative: 0.0 1.0; + to_x: "pad_r"; + } + align: 0.0 0.5; + } + } + part { name: "pad_after_processing"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + min: 15 96; + rel1 { + relative: 1.0 0.0; + to: "processing"; + } + rel2.to: "processing"; + align: 0.0 0.5; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + scale: 1; + description { state: "default" 0.0; + min: 0 96; + fixed: 0 1; + rel1 { + relative: 1.0 0.0; + to: "pad_after_processing"; + } + rel2 { + relative: 0.0 1.0; + to_x: "pad_r"; + } + align: 0.0 0.5; + text { + style: "popup_processing"; + min: 0 1; + } + } + } + } +} + |