diff options
author | jk7744.park <jk7744.park@samsung.com> | 2015-09-08 21:41:11 +0900 |
---|---|---|
committer | jk7744.park <jk7744.park@samsung.com> | 2015-09-08 21:41:11 +0900 |
commit | c93ef578c5de9b91e365cdb549f2e080f60191f8 (patch) | |
tree | c199d0c95c430d4302a85d500ee74a048dfbc472 /home/res/edje | |
parent | f9db8329e35639291de2d226c272cf3986bcd44c (diff) | |
download | w3-home-c93ef578c5de9b91e365cdb549f2e080f60191f8.tar.gz w3-home-c93ef578c5de9b91e365cdb549f2e080f60191f8.tar.bz2 w3-home-c93ef578c5de9b91e365cdb549f2e080f60191f8.zip |
tizen 2.3.1 releasetizen_2.3.1_releasesubmit/tizen_2.3.1/20150915.073138
Diffstat (limited to 'home/res/edje')
147 files changed, 16843 insertions, 0 deletions
diff --git a/home/res/edje/CMakeLists.txt b/home/res/edje/CMakeLists.txt new file mode 100755 index 0000000..124f892 --- /dev/null +++ b/home/res/edje/CMakeLists.txt @@ -0,0 +1 @@ +ADD_SUBDIRECTORY(${CIRCLE}) diff --git a/home/res/edje/circle/CMakeLists.txt b/home/res/edje/circle/CMakeLists.txt new file mode 100755 index 0000000..2f8149a --- /dev/null +++ b/home/res/edje/circle/CMakeLists.txt @@ -0,0 +1,16 @@ +FILE(GLOB edc_files ${CMAKE_CURRENT_SOURCE_DIR}/*.edc) +FOREACH(edc_file ${edc_files}) + GET_FILENAME_COMPONENT( FName ${edc_file} NAME_WE ) + MESSAGE("${FName}") + ADD_CUSTOM_COMMAND(OUTPUT ${CMAKE_CURRENT_SOURCE_DIR}/${FName}.edj + COMMAND edje_cc -id ${CMAKE_CURRENT_SOURCE_DIR}/../images + -DCIRCLE_TYPE=${CIRCLE_TYPE} + ${CMAKE_CURRENT_SOURCE_DIR}/${FName}.edc ${FName}.edj ${EDJE_CFLAGS} + DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/${FName}.edc + ) + ADD_CUSTOM_TARGET(${FName}.edj DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/${FName}.edj) + ADD_DEPENDENCIES(${PROJECT_NAME} ${FName}.edj) +ENDFOREACH(edc_file) + +# install edc files +INSTALL(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/ DESTINATION ${EDJEDIR} FILES_MATCHING PATTERN "*.edj") diff --git a/home/res/edje/circle/apps_box.edc b/home/res/edje/circle/apps_box.edc new file mode 100755 index 0000000..914bb94 --- /dev/null +++ b/home/res/edje/circle/apps_box.edc @@ -0,0 +1,412 @@ +/* + * Samsung API + * Copyright (c) 2013 Samsung Electronics Co., Ltd. + * + * Licensed under the Flora License, Version 1.1 (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. + */ + +#include "apps_conf.edc" +#include "../color_classes.edc" + +images { + image: "b_home_screen_recent_icon.png" COMP; +} + + +styles { + style { + name: "button_text_style"; + base: "font=TIZEN:style=Regular text_class=AT014 font_size="32" color_class=AT014 text_class=AT014 align=middle color=#FFFFFF ellipsis=1 wrap=mixed"; + } + style { + name: "button_text_style,pressed"; + base: "font=TIZEN:style=Regular text_class=AT014P font_size="32" color_class=AT014P text_class=AT014P align=middle color=#FFFFFF ellipsis=1 wrap=mixed"; + } +} + +collections { + group { + name: "box"; + parts { + part { + name: "bg"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 1.0; + } + } + part { + name: "top_area"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to, "bg"; } + rel2 { relative: 1.0 0.0; to, "bg"; } + align: 0.0 0.0; + fixed: 1 1; + visible: 0; + /* Do not need buttons */ + //min: 0 BOX_TOP_MENU_HEIGHT; + min: 0 BOX_TOP_HEIGHT; + } + } + part { + name: "top"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to, "bg"; } + rel2 { relative: 1.0 0.0; to, "bg"; } + align: 0.0 0.0; + fixed: 1 1; + color: 0 0 0 0; + visible: 0; + min: 0 BOX_TOP_HEIGHT; + } + } +#if 0 /* Do not need buttons */ + part { + name: "top_button"; + type: SWALLOW; + scale: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to, "top_area"; } + rel2 { relative: 1.0 1.0; to, "top_area"; } + visible: 1; + } + } +#endif + part { + name: "box"; + type: SWALLOW; + scale: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to: "bg"; } + rel2 { relative: 1.0 1.0; to: "bg"; } + visible: 1; + } + } + part { + name: "bottom"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.0 1.0; to, "bg"; } + rel2 { relative: 1.0 1.0; to, "bg"; } + align: 0.0 1.0; + fixed: 1 1; + color: 0 0 0 0; + visible: 0; + min: 0 BOX_BOTTOM_HEIGHT; + } + } +#if 0 /* Do not need buttons */ + part { + name: "bottom_button"; + type: SWALLOW; + scale: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.0 BOX_BOTTOM_HEIGHT/BOX_BOTTOM_MENU_HEIGHT; to, "bottom"; } + rel2 { relative: 1.0 1.0; to, "bottom"; } + visible: 1; + } + } +#endif + } + } + +#if 0 /* Do not need bottom button */ + group { + name: "bottom_button"; + parts { + part { + name: "bg"; + type: SPACER; + scale: 1; + mouse_events: 0; + description { + state: "default" 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 1.0; + min: 0 BOX_BOTTOM_MENU_HEIGHT; + fixed: 1 1; + } + } + part { + name: "button,line"; + type: RECT; + scale: 1; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to: "bg"; } + rel2 { relative: 1.0 0.0; to: "bg"; } + color_class: "AO0152"; + min: 0 1; + align: 0.5 0.0; + fixed: 1 1; + } + description { + state: "pressed" 0.0; + inherit: "default" 0.0; + color_class: "AO0152P"; + } + } + part { + name: "button,body"; + type: RECT; + scale: 1; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to: "bg"; } + rel2 { relative: 1.0 1.0; to: "bg"; } + color_class: "AO0151"; + fixed: 1 1; + } + description { + state: "pressed" 0.0; + inherit: "default" 0.0; + color_class: "AO0151P"; + } + } + part { + name: "button,txt"; + type: TEXTBLOCK; + scale: 1; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to: "button,body"; offset: 16 5; } + rel2 { relative: 1.0 1.0; to: "button,body"; offset: -16 -5; } + color_class: "AT014"; + text { + style: "button_text_style"; + align: 0.0 0.5; + } + align: 0.5 0.5; + } + description { + state: "pressed" 0.0; + inherit: "default" 0.0; + color_class: "AT014P"; + text { + style: "button_text_style,pressed"; + align: 0.0 0.5; + } + } + } + part { + name: "focus"; + type: SWALLOW; + scale: 1; + mouse_events: 1; + repeat_events: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to: "bg"; } + rel2 { relative: 1.0 1.0; to: "bg"; } + color: 0 0 0 0; + visible: 1; + } + } + } + + programs { + program { + signal: "mouse,down,1"; + source: "focus"; + action: STATE_SET "pressed" 0.0; + target: "button,line"; + target: "button,body"; + target: "button,txt"; + } + program { + signal: "mouse,up,1"; + source: "focus"; + action: STATE_SET "default" 0.0; + target: "button,line"; + target: "button,body"; + target: "button,txt"; + } + program { + signal: "mouse,out"; + source: "focus"; + action: STATE_SET "default" 0.0; + target: "button,line"; + target: "button,body"; + target: "button,txt"; + } + } + } //button group + + + group { + name: "top_button"; + parts { + part { + name: "bg"; + type: SPACER; + scale: 1; + mouse_events: 0; + description { + state: "default" 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 1.0; + fixed: 1 1; + } + } + part { + name: "button,bg"; + type: RECT; + scale: 1; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to: "bg"; } + rel2 { relative: 1.0 1.0; to: "bg"; } + align: 0.5 0.0; + min: BOX_TOP_MENU_WIDTH BOX_TOP_MENU_HEIGHT; + max: BOX_TOP_MENU_WIDTH BOX_TOP_MENU_HEIGHT; + fixed: 1 1; + visible: 0; + } + } + part { + name: "button,txt"; + type: SWALLOW; + scale: 1; + mouse_events: 1; + repeat_events: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.5 0.5; to: "button,bg"; } + rel2 { relative: 0.5 0.5; to: "button,bg"; } + align: 0.5 0.5; + visible: 1; + fixed: 1 1; + } + } + part { + name: "focus"; + type: SWALLOW; + scale: 1; + mouse_events: 1; + repeat_events: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to: "button,bg"; } + rel2 { relative: 1.0 1.0; to: "button,bg"; } + color: 0 0 0 0; + visible: 1; + } + } + } + } //button group + + group { + name: "top_button_text"; + parts { + part { + name: "bg"; + type: SPACER; + scale: 1; + mouse_events: 0; + description { + state: "default" 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 1.0; + fixed: 1 1; + } + } + part { + name: "icon"; + type: IMAGE; + scale: 1; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.5; to: "bg"; } + rel2 { relative: 0.0 0.5; to: "bg"; } + align: 0.0 0.5; + min: 55 37; + image { + normal: "b_home_screen_recent_icon.png"; + } + color_class: "AO017"; + fixed: 1 1; + } + description { + state: "pressed" 0.0; + inherit: "default" 0.0; + color_class: "AO017P"; + } + } + part { + name: "txt"; + type: TEXT; + scale: 1; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { relative: 1.0 0.0; to_x: "icon"; to_y: "bg"; offset: 3 0; } + rel2 { relative: 1.0 1.0; to: "bg"; } + color_class: "AT014"; + text { + text_class: "AT014"; + align: 0.0 0.5; + min: 1 0; + } + align: 0.0 0.5; + } + description { + state: "pressed" 0.0; + inherit: "default" 0.0; + color_class: "AT014P"; + text { + text_class: "AT014P"; + align: 0.0 0.5; + min: 1 0; + } + } + } + } + + programs { + program { + signal: "press,button"; + source: "button"; + action: STATE_SET "pressed" 0.0; + target: "txt"; + target: "icon"; + } + program { + signal: "release,button"; + source: "button"; + action: STATE_SET "default" 0.0; + target: "txt"; + target: "icon"; + } + } + } //button group +#endif +} diff --git a/home/res/edje/circle/apps_button.edc b/home/res/edje/circle/apps_button.edc new file mode 100755 index 0000000..aa5da7e --- /dev/null +++ b/home/res/edje/circle/apps_button.edc @@ -0,0 +1,126 @@ +/* + * Samsung API + * Copyright (c) 2013 Samsung Electronics Co., Ltd. + * + * Licensed under the Flora License, Version 1.1 (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. + */ + +#include "apps_conf.edc" +#include "../color_classes.edc" + +collections { + group { + name : "button"; + images { + image: "b_home_screen_favorite_more_icon.png" COMP; + } + parts { + part { + name: "bg"; + type: SPACER; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; } + rel2 { relative: 1.0 1.0; } + } + } + part { + name : "image"; + type: IMAGE; + scale: 1; + mouse_events: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.24 0.5; to, "bg"; } + rel2 { relative: 0.24 0.5; to, "bg"; } + image { + normal: "b_home_screen_favorite_more_icon.png"; + } + min: 37 37; + max: 37 37; + align: 0.5 0.5; + color_class: AO0351; + } + } + part { + name : "center_padding"; + type: SPACER; + description { + state: "default" 0.0; + rel1 { relative: 1.0 0.0; to, "image"; } + rel2 { relative: 1.0 1.0; to, "image"; } + min: 13 69; + align: 0.0 0.5; + } + } + part { + name : "button_txt"; + type: TEXT; + scale: 1; + mouse_events: 1; + description { + state: "default" 0.0; + rel1 { relative: 1.0 0.0; to, "center_padding"; } + rel2 { relative: 1.0 1.0; to, "center_padding"; } + color: 255 255 255 255; + text { + font: "Tizen:style=Bold"; + text_class: "tizen"; + size: 27; + align: 0.0 0.5; + ellipsis: 1; + } + min: 157 69; + align: 0.0 0.5; + visible: 1; + } + } + part { + name : "event"; + type: RECT; + scale: 1; + mouse_events: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to, "bg"; } + rel2 { relative: 1.0 1.0; to, "bg"; } + color : 0 0 0 0; + visible : 1; + } + description { + state: "pressed" 0.0; + inherit: "default"; + color : 255 255 255 50; + } + } + } + programs { + program { + signal: "pressed"; + source: "button"; + action: STATE_SET "pressed" 0.0; + target: "event"; + } + program { + signal: "unpressed"; + source: "button"; + action: STATE_SET "default" 0.0; + target: "event"; + } + } + } //group +} //collections + + + +// End of file diff --git a/home/res/edje/circle/apps_conf.edc b/home/res/edje/circle/apps_conf.edc new file mode 120000 index 0000000..d61af6c --- /dev/null +++ b/home/res/edje/circle/apps_conf.edc @@ -0,0 +1 @@ +../../../include/apps/apps_conf.h
\ No newline at end of file diff --git a/home/res/edje/circle/apps_grid.edc b/home/res/edje/circle/apps_grid.edc new file mode 100755 index 0000000..a2d9824 --- /dev/null +++ b/home/res/edje/circle/apps_grid.edc @@ -0,0 +1,198 @@ +/* + * Samsung API + * Copyright (c) 2013 Samsung Electronics Co., Ltd. + * + * Licensed under the Flora License, Version 1.1 (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. + */ + +#include "apps_conf.edc" +#include "../color_classes.edc" + +#define STYLE(NAME, SIZE) style {\ + name: "style_name_"NAME;\ + base: "font=TIZEN:style=MEDIUM text_class=tizen font_size="SIZE" align=center valign=top color=#FFFFFF ellipsis=1 wrap=mixed";\ + tag: "br" "\n";\ + } + +styles { + STYLE("27", 27) +} + +collections { + group { + name: "elm/gengrid/item/recent-apps/default"; + /* content_get reads these data */ + data.item: "contents" "bg icon_image selected"; + data.item: "texts" "txt"; + + parts { + part { + name: "bg"; + type: SWALLOW; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; } + rel2 { relative: 1.0 1.0; } + visible: 1; + } + } + part { + name: "icon_bg"; + type: SPACER; + scale: 1; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { relative: 0.5 ITEM_ICON_Y/ITEM_HEIGHT; to, "bg"; } + rel2 { relative: 0.5 ITEM_ICON_Y/ITEM_HEIGHT; to, "bg"; } + } + } + part { + name: "selected"; + type: SWALLOW; + scale: 1; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { relative: 0.5 0.5; to, "bg"; } + rel2 { relative: 0.5 0.5; to, "bg"; } + visible: 1; + } + } + part { + name: "icon_image"; + type: SWALLOW; + scale: 1; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { relative: 0.5 0.5; to, "icon_bg"; } + rel2 { relative: 0.5 0.5; to, "icon_bg"; } + align: 0.5 0.5; + fixed: 1 1; + } + description { + state: "bigger" 0.0; + inherit: "default" 0.0; + } + } + part { + name: "txt_region"; + type: SPACER; + scale: 1; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { relative: 0.0 ITEM_TEXT_Y/ITEM_HEIGHT; to, "bg"; } + rel2 { relative: 1.0 1.0; to, "bg"; } + } + } + part { + name: "txt"; + type: TEXTBLOCK; + effect: SOFT_SHADOW; + scale: 1; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to: "txt_region"; } + rel2 { relative: 1.0 1.0; to: "txt_region"; } + color: 255 255 255 255; + color2: 0 0 0 35; + color3: 0 0 0 35; + text { + style: "style_name_27"; + align: 0.5 0.0; + } + visible: 1; + } + description + { + state: "hide" 0.0; + inherit: "default" 0.0; + visible: 0; + color: 0 0 0 0; + } + } + part { + name: "icon_image_event"; + type: RECT; + scale: 1; + mouse_events: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to, "bg"; } + rel2 { relative: 1.0 1.0; to, "bg"; } + color: 0 0 0 0; + visible: 1; + } + } + } + + programs { + program { + name: "item,down"; + signal: "mouse,down,1"; + source: "icon_image_event"; + action: SIGNAL_EMIT "item,down" "menu"; + } + program { + name: "item,up"; + signal: "mouse,up,1"; + source: "icon_image_event"; + action: SIGNAL_EMIT "item,up" "menu"; + } + + program { + name: "txt,single"; + signal: "txt,single"; + source: "txt"; + script { + set_state(PART:"txt", "default", 0.0); + } + } + program { + name: "txt,dual"; + signal: "txt,dual"; + source: "txt"; + script { + set_state(PART:"txt", "dual", 0.0); + } + } + program { + name: "txt,single,full"; + signal: "txt,single,full"; + source: "txt"; + script { + set_state(PART:"txt", "single_full", 0.0); + } + } + program { + name: "txt,hide"; + signal: "hide"; + source: "txt"; + action: STATE_SET "hide" 0.0; + target: "txt"; + } + program { + name: "txt,show"; + signal: "show"; + source: "txt"; + action: STATE_SET "default" 0.0; + target: "txt"; + } + } + } // group +} diff --git a/home/res/edje/circle/apps_item.edc b/home/res/edje/circle/apps_item.edc new file mode 100755 index 0000000..deae907 --- /dev/null +++ b/home/res/edje/circle/apps_item.edc @@ -0,0 +1,428 @@ +/* + * Samsung API + * Copyright (c) 2013 Samsung Electronics Co., Ltd. + * + * Licensed under the Flora License, Version 1.1 (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. + */ + +#include "apps_conf.edc" +#include "../color_classes.edc" + +styles { + style { + name: "name_style"; + base: "font=Tizen:style=Regular text_class=AT0121 font_size="28" align=middle color=#FFFFFF color_class=AT0121 ellipsis=1.0"; + } +} + +images { + image: "b_home_screen_badge_large_bg.#.png" COMP; + image: "b_home_screen_badge_large_line.#.png" COMP; + image: "b_home_screen_badge_large_shadow.#.png" COMP; +} + +collections { +group { + name: "item"; + parts { + part { + name: "bg"; + type: RECT; + scale: 1; + mouse_events: 0; + description { + state: "default" 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 1.0; + min: ITEM_WIDTH ITEM_HEIGHT; + align: 0.0 0.0; + color: 0 0 0 0; + visible: 1; + } + description { + state: "edit" 0.0; + inherit: "default" 0.0; + min: ITEM_EDIT_WIDTH ITEM_EDIT_HEIGHT; + } + } + part { + name: "item_inner"; + type: SWALLOW; + scale: 1; + mouse_events: 1; + repeat_events: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.5 0.4; to: "bg"; } + rel2 { relative: 0.5 0.4; to: "bg"; } + align: 0.5 0.5; + fixed: 1 1; + visible: 1; + } + } + part { + name: "focus"; + type: SWALLOW; + scale: 1; + mouse_events: 1; + repeat_events: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to: "bg"; } + rel2 { relative: 1.0 1.0; to: "bg"; } + color: 0 0 0 0; + visible: 1; + } + } + } + programs { + program { + signal: "unedit"; + source: "item"; + action: STATE_SET "default" 0.0; + target: "bg"; + } + program { + signal: "edit"; + source: "item"; + action: STATE_SET "edit" 0.0; + target: "bg"; + } + } +} + +group { + name: "item_inner"; + parts { + part { + name: "bg"; + type: SPACER; + scale: 1; + mouse_events: 0; + description { + state: "default" 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 1.0; + min: ITEM_WIDTH ITEM_HEIGHT; + fixed: 1 1; + } + description { + state: "edit" 0.0; + inherit: "default" 0.0; + min: ITEM_EDIT_WIDTH ITEM_EDIT_HEIGHT; + } + } + part { + name: "icon"; + type: SWALLOW; + scale: 1; + clip_to: "event,clip"; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { relative: 0.5 0.55; to: "bg"; } + rel2 { relative: 0.5 0.55; to: "bg"; } + min: ITEM_ICON_WIDTH ITEM_ICON_HEIGHT; + align: 0.5 0.5; + fixed: 1 1; + visible: 1; + } + description { + state: "edit" 0.0; + inherit: "default" 0.0; + min: ITEM_SMALL_ICON_WIDTH ITEM_SMALL_ICON_HEIGHT; + } + } + part { + name: "name"; + type: TEXTBLOCK; + scale: 1; + clip_to: "event,clip"; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { relative: 0.15 1.0; to_x: "bg"; to_y: "icon"; } + rel2 { relative: 0.85 1.0; to: "bg"; } + text { + style: "name_style"; + min: 0 0; + align: 0.0 0.0; + } + visible: 1; + } + description { + state: "hide" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { + name: "badge_bg"; + type: SPACER; + scale: 1; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { relative: (ITEM_BADGE_X/ITEM_WIDTH) (ITEM_BADGE_Y/ITEM_HEIGHT); to, "bg"; } + rel2 { relative: (ITEM_BADGE_X/ITEM_WIDTH) (ITEM_BADGE_Y/ITEM_HEIGHT); to, "bg"; } + } + } + part { + name: "badge_image"; + type: IMAGE; + scale: 1; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to, "badge_txt"; offset: -1 -1; } + rel2 { relative: 1.0 1.0; to, "badge_txt"; offset: -1 -1; } + image { + normal: "b_home_screen_badge_large_bg.#.png"; + } + color_class: "AO013L1"; + min: ITEM_BADGE_W ITEM_BADGE_H; + fixed: 1 1; + visible: 0; + } + description { + state: "1" 0.0; + inherit: "default" 0.0; + visible: 1; + min: ITEM_BADGE_W ITEM_BADGE_H; + } + description { + state: "2" 0.0; + inherit: "1" 0.0; + rel1 { relative: 0.0 0.0; to, "badge_txt"; offset: 0 -1; } + rel2 { relative: 1.0 1.0; to, "badge_txt"; offset: 0 -1; } + min: ITEM_BADGE_2W ITEM_BADGE_H; + } + description { + state: "3" 0.0; + inherit: "1" 0.0; + rel1 { relative: 0.0 0.0; to, "badge_txt"; offset: 0 -1; } + rel2 { relative: 1.0 1.0; to, "badge_txt"; offset: 0 -1; } + min: ITEM_BADGE_3W ITEM_BADGE_H; + } + } + part { + name: "badge_line"; + type: IMAGE; + scale: 1; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to, "badge_image"; } + rel2 { relative: 1.0 1.0; to, "badge_image"; } + image { + normal: "b_home_screen_badge_large_line.#.png"; + } + color_class: "AO013L2"; + fixed: 1 1; + visible: 0; + } + description { + state: "1" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { + state: "2" 0.0; + inherit: "1" 0.0; + } + description { + state: "3" 0.0; + inherit: "1" 0.0; + } + } + part { + name: "badge_shadow"; + type: IMAGE; + scale: 1; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to, "badge_image"; } + rel2 { relative: 1.0 1.0; to, "badge_image"; } + image { + normal: "b_home_screen_badge_large_shadow.#.png"; + } + color_class: "AO061"; + fixed: 1 1; + visible: 0; + } + description { + state: "1" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { + state: "2" 0.0; + inherit: "1" 0.0; + } + description { + state: "3" 0.0; + inherit: "1" 0.0; + } + } + + part { + name: "badge_txt"; + type: TEXT; + scale: 1; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { relative: 0.5 0.5; to, "badge_bg"; } + rel2 { relative: 0.5 0.5; to, "badge_bg"; } + align: 0.5 0.5; + color_class: "AT0132"; + text { + text_class: "AT0132"; + ellipsis: 0.0; + align: 0.5 0.5; + min: 1 1; + } + fixed: 1 1; + visible: 0; + } + description { + state: "1" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { + state: "2" 0.0; + inherit: "1" 0.0; + } + description { + state: "3" 0.0; + inherit: "1" 0.0; + } + } + part { + name: "event,clip"; + type: RECT; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to, "bg"; } + rel2 { relative: 1.0 1.0; to, "bg"; } + color: 255 255 255 255; + visible: 1; + } + description { + state: "pressed" 0.0; + inherit: "default" 0.0; + color: 255 255 255 127; + } + } + } + programs { + program { + signal: "item,pressed"; + source: "item_inner"; + action: STATE_SET "pressed" 0.0; + target: "event,clip"; + } + program { + signal: "item,released"; + source: "item_inner"; + action: STATE_SET "default" 0.0; + target: "event,clip"; + } + program { + signal: "name,show"; + source: "item_inner"; + action: STATE_SET "default" 0.0; + target: "name"; + } + program { + signal: "name,hide"; + source: "item_inner"; + action: STATE_SET "hide" 0.0; + target: "name"; + } + program { + signal: "unedit"; + source: "item_inner"; + action: STATE_SET "default" 0.0; + target: "bg"; + target: "icon"; + } + program { + signal: "edit"; + source: "item_inner"; + action: STATE_SET "edit" 0.0; + target: "bg"; + target: "icon"; + } + // Badge + program { + signal: "badge,on,1"; + source: "item"; + action: STATE_SET "1" 0.0; + target: "badge_image"; + target: "badge_line"; + target: "badge_txt"; + } + program { + signal: "badge,on,2"; + source: "item"; + action: STATE_SET "2" 0.0; + target: "badge_image"; + target: "badge_line"; + target: "badge_shadow"; + target: "badge_txt"; + } + program { + signal: "badge,on,3"; + source: "item"; + action: STATE_SET "3" 0.0; + target: "badge_image"; + target: "badge_line"; + target: "badge_shadow"; + target: "badge_txt"; + } + program { + signal: "badge,off"; + source: "item"; + action: STATE_SET "default" 0.0; + target: "badge_image"; + target: "badge_line"; + target: "badge_shadow"; + target: "badge_txt"; + } + } +} +group { + name: "center"; + parts { + part { + name: "bg"; + type: RECT; + scale: 1; + mouse_events: 1; + repeat_events: 1; + description { + state: "default" 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 1.0; + color: 0 0 0 0; + visible: 1; + } + } + } +} + + +} diff --git a/home/res/edje/circle/apps_layout.edc b/home/res/edje/circle/apps_layout.edc new file mode 100755 index 0000000..535c751 --- /dev/null +++ b/home/res/edje/circle/apps_layout.edc @@ -0,0 +1,229 @@ +/* + * Samsung API + * Copyright (c) 2013 Samsung Electronics Co., Ltd. + * + * Licensed under the Flora License, Version 1.1 (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. + */ + +#include "apps_conf.edc" +#include "../color_classes.edc" + +collections { + group { + name: "layout"; + parts { + part { + name: "bg"; + type: RECT; + mouse_events: 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; + visible: 1; + perspective { + zplane: 0; + } + } + } + part { + name: "focus"; + type: SWALLOW; + scale: 1; + mouse_events: 1; + repeat_events: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to: "bg"; } + rel2 { relative: 1.0 1.0; to: "bg"; } + color: 0 0 0 0; + visible: 1; + } + } + part { + name: "container"; + type: SWALLOW; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to: "bg"; } + rel2 { relative: 1.0 1.0; to: "bg"; } + visible: 1; + } + } + part { + name: "zoom"; + type: RECT; + description { + state: "default" 0.0; + color: 0 0 0 0; + perspective { + zplane: -140; + } + } + } + part { + name: "scroller"; + type: SWALLOW; + mouse_events: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to: "bg"; } + rel2 { relative: 1.0 1.0; to, "bg"; } + align: 0.5 0.0; + visible: 1; + map { + on: 0; + } + } + description { + state: "on" 0.0; + inherit: "default" 0.0; + map { + on: 1; + perspective: "bg"; + } + } + description { + state: "zoom" 0.0; + inherit: "on"; + map { + perspective: "zoom"; + } + } + } + part { + name: "top_checker"; + type: SWALLOW; + mouse_events: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to: "bg"; } + rel2 { relative: 1.0 0.2; to: "bg"; } + visible: 0; + } + description { + state: "show" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { + name: "bottom_checker"; + type: SWALLOW; + mouse_events: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.8; to: "bg"; } + rel2 { relative: 1.0 1.0; to: "bg"; } + visible: 0; + } + description { + state: "show" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + + part { + name: "blocker"; + type: RECT; + mouse_events: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to: "bg"; } + rel2 { relative: 1.0 1.0; to: "bg"; } + color: 0 0 0 0; + visible: 0; + } + description { + state: "enable" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + programs { + program { + name: "bg,down"; + signal: "mouse,down,1"; + source: "bg"; + action: SIGNAL_EMIT "bg,down" "bg"; + } + program { + name: "bg,up"; + signal: "mouse,up,1"; + source: "bg"; + action: SIGNAL_EMIT "bg,up" "bg"; + } + program { + signal: "show"; + source: "checker"; + action: STATE_SET "show" 0.0; + target: "top_checker"; + target: "bottom_checker"; + } + program { + signal: "hide"; + source: "checker"; + action: STATE_SET "default" 0.0; + target: "top_checker"; + target: "bottom_checker"; + } + program { + signal: "block"; + source: "layout"; + action: STATE_SET "enable" 0.0; + target: "blocker"; + } + program { + signal: "unblock"; + source: "layout"; + action: STATE_SET "default" 0.0; + target: "blocker"; + } + program { + signal: "show,zoom"; + source: "scroller"; + action: STATE_SET "on" 0.0; + target: "scroller"; + after: "show,zoom,after"; + } + program { + name: "show,zoom,after"; + action: STATE_SET "zoom" 0.0; + transition: SIN_FAC 0.2 0.90; + target: "scroller"; + } + program { + signal: "reset,zoom"; + source: "scroller"; + action: STATE_SET "on" 0.0; + transition: SIN_FAC 0.2 0.90; + target: "scroller"; + after: "reset,zoom,after"; + } + program { + name: "reset,zoom,after"; + action: STATE_SET "default" 0.0; + target: "scroller"; + } + } + } // layout group + +} // collections + + + +// End of file diff --git a/home/res/edje/circle/apps_page.edc b/home/res/edje/circle/apps_page.edc new file mode 100755 index 0000000..a8c4566 --- /dev/null +++ b/home/res/edje/circle/apps_page.edc @@ -0,0 +1,139 @@ +/* + * Samsung API + * Copyright (c) 2013 Samsung Electronics Co., Ltd. + * + * Licensed under the Flora License, Version 1.1 (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. + */ + +#include "apps_conf.edc" +#include "../color_classes.edc" + + + +#define ITEM_CENTER_PART(part_name, rel_x, rel_y, off_x, off_y, align_x, align_y) \ + part { \ + name: "item_center_"part_name; \ + type: SWALLOW; \ + mouse_events: 1; \ + description { \ + state: "default" 0.0; \ + rel1 { relative: (rel_x) (rel_y); offset: off_x off_y; to: "bg"; } \ + rel2 { relative: (rel_x) (rel_y); offset: off_x off_y; to: "bg"; } \ + align: align_x align_y; \ + min: ITEM_WIDTH ITEM_HEIGHT; \ + fixed: 1 1; \ + } \ + description { \ + state: "edit" 0.0; \ + inherit: "default" 0.0; \ + min: ITEM_EDIT_WIDTH ITEM_EDIT_HEIGHT; \ + } \ + } + +#define ITEM_CENTER_PROGRAM(part_name) \ + program { \ + signal: "unedit"; \ + source: "item_center_"part_name; \ + action: STATE_SET "default" 0.0; \ + target: "item_center_"part_name; \ + transition: DECELERATE 0.1; \ + } \ + program { \ + signal: "edit"; \ + source: "item_center_"part_name; \ + action: STATE_SET "edit" 0.0; \ + target: "item_center_"part_name; \ + transition: DECELERATE 0.1; \ + } + +#define ITEM_PART(part_name, pre_center, next_center) \ + part { \ + name: "item_"part_name; \ + type: SWALLOW; \ + scale: 1; \ + mouse_events: 1; \ + repeat_events: 1; \ + description { \ + state: "default" 0.0; \ + visible: 1; \ + rel1 { relative: 0.5 0.5; to: "item_center_"part_name; } \ + rel2 { relative: 0.5 0.5; to: "item_center_"part_name; } \ + align: 0.5 0.5; \ + fixed: 1 1; \ + } \ + description { \ + state: "prev" 0.0; \ + inherit: "default" 0.0; \ + rel1 { relative: 0.5 0.5; to: "item_center_"pre_center; } \ + rel2 { relative: 0.5 0.5; to: "item_center_"pre_center; } \ + } \ + description { \ + state: "next" 0.0; \ + inherit: "default" 0.0; \ + rel1 { relative: 0.5 0.5; to: "item_center_"next_center; } \ + rel2 { relative: 0.5 0.5; to: "item_center_"next_center; } \ + } \ + } + +#define ITEM_PROGRAM(part_name) \ + program { \ + signal: "prev"; \ + source: "item_"part_name; \ + action: STATE_SET "prev" 0.0; \ + target: "item_"part_name; \ + } \ + program { \ + signal: "next"; \ + source: "item_"part_name; \ + action: STATE_SET "next" 0.0; \ + target: "item_"part_name; \ + } \ + program { \ + signal: "return"; \ + source: "item_"part_name; \ + action: STATE_SET "default" 0.0; \ + target: "item_"part_name; \ + transition: LINEAR 0.2; \ + } + +collections { + group { + name: "page"; + parts { + part { + name: "bg"; + type: SWALLOW; + scale: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; } + rel2 { relative: 1.0 1.0; } + visible: 0; + } + } + + ITEM_CENTER_PART("-1", -0.5, -0.5, 1, 0, 1.0, 0.5) + ITEM_CENTER_PART("0", 0.5, 0.5, 0, 0, 0.5, 0.5) + ITEM_CENTER_PART("1", 1.5, 1.5, 0, 0, 0.0, 0.5) + + ITEM_PART("0", "-1", "1") + } + programs { + ITEM_CENTER_PROGRAM("-1"); + ITEM_CENTER_PROGRAM("0"); + ITEM_CENTER_PROGRAM("1"); + + ITEM_PROGRAM("0") + } + } // group +} // collections diff --git a/home/res/edje/circle/box_layout.edc b/home/res/edje/circle/box_layout.edc new file mode 100755 index 0000000..d875381 --- /dev/null +++ b/home/res/edje/circle/box_layout.edc @@ -0,0 +1,50 @@ +/* + * Samsung API + * Copyright (c) 2013 Samsung Electronics Co., Ltd. + * + * Licensed under the Flora License, Version 1.1 (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. + */ + +#include "conf.edc" +#include "../color_classes.edc" + +collections { + group { + name: "box"; + parts { + part { + name: "bg"; + type: SWALLOW; + scale: 1; + description { + state: "default" 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 1.0; + } + } + part { + name: "box"; + type: SWALLOW; + scale: 1; + description { + state: "default" 0.0; + rel1.relative: 0.0 0.0; + rel1.to: "bg"; + rel2.relative: 1.0 1.0; + rel2.to: "bg"; + visible: 1; + } + } + } + } +} diff --git a/home/res/edje/circle/clock_shortcut.edc b/home/res/edje/circle/clock_shortcut.edc new file mode 100755 index 0000000..6c0d3cc --- /dev/null +++ b/home/res/edje/circle/clock_shortcut.edc @@ -0,0 +1,160 @@ +/* + * Samsung API + * Copyright (c) 2013 Samsung Electronics Co., Ltd. + * + * Licensed under the Flora License, Version 1.1 (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. + */ + +#include "conf.edc" +#include "../color_classes.edc" + +#define CLOCK_SHORTCUT_W 65 +#define CLOCK_SHORTCUT_H 65 + +images { + image: "do_not_ic_donot_now.png" COMP; +} + +collections { +group { + name: "shortcut"; + parts { + part { + name: "bg"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 1.0; + } + } + part { + name: "shortcut,icon"; + type: SWALLOW; + scale: 1; + mouse_events: 0; + description { + state: "default" 0.0; + min: CLOCK_SHORTCUT_W CLOCK_SHORTCUT_H; + max: CLOCK_SHORTCUT_W CLOCK_SHORTCUT_H; + rel1 { relative: 1.0 0.0; to: "bg"; } + rel2 { relative: 1.0 0.0; to: "bg"; } + align: 1.0 0.0; + fixed: 1 1; + visible: 0; + } + description { + state: "show" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { + name: "block"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + rel1.to: "focus"; + rel2.to: "focus"; + color: 0 0 0 0; + visible: 0; + } + description { + state: "show" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { + name: "focus"; + type: SWALLOW; + scale: 1; + mouse_events: 1; + description { + state: "default" 0.0; + fixed: 1 1; + rel1 { relative: 0.0 0.0; to: "bg"; } + rel2 { relative: 1.0 1.0; to: "bg"; } + align: 0.0 0.0; + visible: 0; + } + description { + state: "show" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + programs { + program { + name: "icon,show"; + signal: "icon,show"; + source: "prog"; + action: STATE_SET "show" 0.0; + target: "shortcut,icon"; + target: "focus"; + target: "block"; + } + program { + name: "icon,hide"; + signal: "icon,hide"; + source: "prog"; + action: STATE_SET "default" 0.0; + target: "shortcut,icon"; + target: "focus"; + target: "block"; + } + } +} + +group { + name: "shortcut_default_icon"; + parts { + part { + name: "bg"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 1.0; + } + } + part { + name: "shortcut,icon"; + type: IMAGE; + scale: 1; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { relative: 0.5 0.5; to: "bg"; } + rel2 { relative: 0.5 0.5; to: "bg"; } + image { + normal: "do_not_ic_donot_now.png"; + } + min: CLOCK_SHORTCUT_W CLOCK_SHORTCUT_H; + max: CLOCK_SHORTCUT_W CLOCK_SHORTCUT_H; + align: 0.5 0.5; + fixed: 1 1; + visible: 1; + } + } + } +} +} // collections + + + +// End of file diff --git a/home/res/edje/circle/conf.edc b/home/res/edje/circle/conf.edc new file mode 120000 index 0000000..f925e7c --- /dev/null +++ b/home/res/edje/circle/conf.edc @@ -0,0 +1 @@ +../../../include/conf.h
\ No newline at end of file diff --git a/home/res/edje/circle/dynamicbox.edc b/home/res/edje/circle/dynamicbox.edc new file mode 100644 index 0000000..ccd5f09 --- /dev/null +++ b/home/res/edje/circle/dynamicbox.edc @@ -0,0 +1,429 @@ +/* + * Samsung API + * Copyright (c) 2013 Samsung Electronics Co., Ltd. + * + * Licensed under the Flora License, Version 1.1 (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. + */ + +#include "../color_classes.edc" + +collections { + styles { + style { + name: "overlay,text"; + base: "font=Tizen text_class=tizen font_size=30 align=center color=#FFFFFF ellipsis=1.0 wrap=char"; + tag: "br" "\n"; + tag: "hilight" "+ font=Tizen:style=Bold"; + tag: "b" "+ font=Tizen:style=Bold"; + tag: "tab" "\t"; + } + } + + group + { + name: "overlay"; + parts + { + part { + name: "preview"; + type: SWALLOW; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; } + rel2 { relative: 1.0 1.0; } + } + } + + part { + name: "bg,img"; + type: RECT; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; } + rel2 { relative: 1.0 1.0; } + color: 100 100 100 100; + } + description { + state: "hide" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + + part { + name: "text"; + type: TEXTBLOCK; + description { + state: "default" 0.0; + rel1 { relative: 0.5 200/320; } + rel2 { relative: 0.5 320/320; } + max: 280 -1; + fixed: 1 0; + text { + style: "overlay,text"; + min: 0 0; + } + } + description { + state: "hide" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + } + + programs { + program { + name: "disable,text"; + signal: "disable"; + source: "text"; + action: STATE_SET "hide" 0.0; + target: "text"; + target: "bg,img"; + } + + program { + name: "enable,text"; + signal: "enable"; + source: "text"; + action: STATE_SET "default" 0.0; + target: "text"; + target: "bg,img"; + } + } + } + + group + { + name: "widget,image"; + parts + { + part { + name: "front"; + type: RECT; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; } + rel2 { relative: 1.0 1.0; } + visible: 1; + } + description { + state: "to,back" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + + part { + name: "front,content"; + type: SWALLOW; + clip_to: "front"; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; } + rel2 { relative: 1.0 1.0; } + } + } + + part { + name: "back"; + type: RECT; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; } + rel2 { relative: 1.0 1.0; } + visible: 0; + } + description { + state: "to,back" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + + part { + name: "back,content"; + type: SWALLOW; + clip_to: "back"; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; } + rel2 { relative: 1.0 1.0; } + } + } + } + + programs + { + program { + name: "turn,to,back,front"; + signal: "to,back"; + source: "turn"; + action: STATE_SET "to,back" 0.0; + target: "front"; + target: "back"; + transition: LINEAR 0.5; + after: "play,end"; + } + + program { + name: "turn,to,front"; + signal: "to,front"; + source: "turn"; + action: STATE_SET "default" 0.0; + target: "front"; + target: "back"; + transition: LINEAR 0.5; + after: "play,end"; + } + + program { + name: "play,end"; + action: SIGNAL_EMIT "done" "turn"; + } + } + } + + group + { + name: "widget"; + parts + { + part { + name: "widget,content"; + type: SWALLOW; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; } + rel2 { relative: 1.0 1.0; } + map { + on: 0; + } + } + description { + state: "tilt" 0.0; + inherit: "default" 0.0; + map { + on: 1; + rotation { + x: 30.0; + } + } + } + description { + state: "move,down" 0.0; + inherit: "default" 0.0; + rel1 { relative: 0.0 0.2; } + rel2 { relative: 1.0 1.2; } + } + } + + part { + name: "scroller"; + mouse_events: 1; + repeat_events: 1; + type: SWALLOW; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; } + rel2 { relative: 1.0 1.0; } + } + } + + part { + name: "overlay"; + mouse_events: 1; + type: RECT; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; } + rel2 { relative: 1.0 1.0; } + color: 255 255 255 255; + visible: 1; + } + description { + state: "disable,overlay" 0.0; + inherit: "default" 0.0; + color: 0 0 0 0; + visible: 0; + } + } + + part { + name: "overlay,content"; + mouse_events: 1; + type: SWALLOW; + clip_to: "overlay"; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; } + rel2 { relative: 1.0 1.0; } + } + } + } + + programs + { + program { + name: "reset,overlay"; + signal: "reset"; + source: "overlay"; + action: STATE_SET "disable,overlay" 0.0; + target: "overlay"; + } + program { + name: "enable,overlay"; + signal: "enable"; + source: "overlay"; + action: STATE_SET "default" 0.0; + target: "overlay"; + transition: LINEAR 0.5; + after: "animation,done"; + } + + program { + name: "disable,overlay"; + signal: "disable"; + source: "overlay"; + action: STATE_SET "disable,overlay" 0.0; + target: "overlay"; + transition: LINEAR 0.5; + after: "animation,done"; + } + + program { + name: "tilt,start"; + signal: "tilt"; + source: "content"; + action: STATE_SET "tilt" 0.0; + target: "widget,content"; + transition: LINEAR 0.15; + after: "tilt,end"; + } + + program { + name: "tilt,end"; + action: STATE_SET "default" 0.0; + target: "widget,content"; + transition: LINEAR 0.15; + after: "animation,done"; + } + + program { + name: "move,down,start"; + signal: "move,down"; + source: "content"; + action: STATE_SET "move,down" 0.0; + target: "widget,content"; + transition: LINEAR 0.15; + after: "move,down,end"; + } + + program { + name: "move,down,end"; + action: STATE_SET "default" 0.0; + target: "widget,content"; + transition: LINEAR 0.15; + after: "animation,done"; + } + + program { + name: "animation,done"; + action: SIGNAL_EMIT "finished" "animation"; + } + } + } + + group + { + name: "gbar"; + parts + { + part { + name: "gbar,content"; + type: SWALLOW; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; } + rel2 { relative: 1.0 1.0; } + } + } + + part { + name: "overlay"; + type: RECT; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; } + rel2 { relative: 1.0 1.0; } + color: 255 255 255 255; + visible: 1; + } + description { + state: "disable,overlay" 0.0; + inherit: "default" 0.0; + color: 0 0 0 0; + visible: 0; + } + } + + part { + name: "overlay,content"; + type: SWALLOW; + clip_to: "overlay"; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; } + rel2 { relative: 1.0 1.0; } + } + } + } + + programs + { + program { + name: "reset,overlay"; + signal: "reset"; + source: "overlay"; + action: STATE_SET "disable,overlay" 0.0; + target: "overlay"; + } + program { + name: "enable,overlay"; + signal: "enable"; + source: "overlay"; + action: STATE_SET "default" 0.0; + target: "overlay"; + transition: LINEAR 0.15; + after: "animation,done"; + } + + program { + name: "disable,overlay"; + signal: "disable"; + source: "overlay"; + action: STATE_SET "disable,overlay" 0.0; + target: "overlay"; + transition: LINEAR 0.15; + after: "animation,done"; + } + + program { + name: "animation,done"; + action: SIGNAL_EMIT "finished" "animation"; + } + } + } +} + +/* End of a file */ diff --git a/home/res/edje/circle/edit.edc b/home/res/edje/circle/edit.edc new file mode 100755 index 0000000..a3919e4 --- /dev/null +++ b/home/res/edje/circle/edit.edc @@ -0,0 +1,170 @@ +/* + * Samsung API + * Copyright (c) 2013 Samsung Electronics Co., Ltd. + * + * Licensed under the Flora License, Version 1.1 (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. + */ + +#include "conf.edc" +#include "../color_classes.edc" + +#define PLUS_MIN 90 90 + +styles { + style { + name: "max_text_style"; + base: "font=TIZEN:style=Regular text_class=tizen style=shadow shadow_color=#0000004C font_size="25" color_class=AT0121 align=middle color=#FFFFFF ellipsis=1 wrap=mixed"; + } +} + +images { + image: "widget_circle_bg_stroke.png" COMP; + image: "widget_circle_bg.png" COMP; + image: "widget_circle_bg_ef.png" COMP; + image: "b_home_screen_widget_plus.png" COMP; + image: "b_home_screen_edit_cover.png" COMP; + image: "b_home_screen_edit_cover_ef.png" COMP; +} + +collections { +group { + name: "edit"; + parts { + part { + name: "bottom_bg"; + type: SPACER; + scale: 1; + mouse_events: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; } + rel2 { relative: 1.0 1.0; } + } + } + part { + name: "bg"; + type: RECT; + scale: 1; + mouse_events: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; } + rel2 { relative: 1.0 1.0; } + color_class: "AO041"; + visible: 0; + } + } + part { + name: "scroller_region"; + type: SPACER; + scale: 1; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to, "bg"; } + rel2 { relative: 1.0 1.0; to, "bg"; } + } + } + part { + name: "scroller"; + type: SWALLOW; + scale: 1; + mouse_events: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to, "scroller_region";} + rel2 { relative: 1.0 1.0; to, "scroller_region";} + visible: 1; + } + } + part { + name: "index_region"; + type: SPACER; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { relative: INDICATOR_START_X/BASE_WIDTH INDICATOR_START_Y/BASE_HEIGHT; to, "bg"; } + rel2 { relative: (INDICATOR_START_X+INDICATOR_WIDTH)/BASE_WIDTH (INDICATOR_START_Y+INDICATOR_HEIGHT)/BASE_HEIGHT; to, "bg"; } + } + } + part { + name: "index_clipper"; + type: RECT; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to: "index_region"; } + rel2 { relative: 1.0 1.0; to: "index_region"; } + color: 255 255 255 0; + visible: 1; + } + description { + state: "init" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + } + } + part { + name: "index"; + type: SWALLOW; + scale: 1; + mouse_events: 1; + clip_to: "index_clipper"; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to, "index_region";} + rel2 { relative: 1.0 1.0; to, "index_region";} + visible: 1; + } + } + } // parts + programs { + program { + signal: "init"; + source: "edit"; + action: STATE_SET "init" 0.0; + target: "index_clipper"; + transition: LINEAR 0.5; + } + program { + signal: "hide"; + source: "edit"; + action: STATE_SET "default" 0.0; + target: "index_clipper"; + } + } // programs +} // group + +group { + name: "proxy_item"; + parts { + part { + name: "proxy_item"; + type: SWALLOW; + mouse_events: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; } + rel2 { relative: 1.0 1.0; } + min: ITEM_EDIT_WIDTH ITEM_EDIT_HEIGHT; + max: ITEM_EDIT_WIDTH ITEM_EDIT_HEIGHT; + visible: 1; + } + } + } +} // group +} // collections + + + +// End of file diff --git a/home/res/edje/circle/index.edc b/home/res/edje/circle/index.edc new file mode 100755 index 0000000..9eed13c --- /dev/null +++ b/home/res/edje/circle/index.edc @@ -0,0 +1,357 @@ +/* + * Samsung API + * Copyright (c) 2013 Samsung Electronics Co., Ltd. + * + * Licensed under the Flora License, Version 1.1 (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. + */ + +#include "conf.edc" +#include "../color_classes.edc" + +collections { + group { + name: "elm/index/item/vertical/clock/thumbnail"; + alias: "elm/index/item_odd/vertical/clock/thumbnail"; + alias: "elm/index/item/horizontal/clock/thumbnail"; + alias: "elm/index/item_odd/horizontal/clock/thumbnail"; + images { + image: "indicator_clock_on_normal.png" COMP; + image: "indicator_clock_on_focused.png" COMP; + image: "indicator_clock_on_normal_ef.png" COMP; + image: "indicator_clock_on_focused_ef.png" COMP; + } + parts { + part { name:"bg"; + type : RECT; + scale: 1; + description { state: "default" 0.0; + color: 0 0 0 0; + min: INDEX_THUMBNAIL_HOME_BG_SIZE; + max: INDEX_THUMBNAIL_HOME_BG_SIZE; + visible: 0; + align: 0.5 0.5; + } + } + part { name: "indicator1_ef"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + align: 0.5 0.5; + fixed: 1 1; + min: INDEX_THUMBNAIL_HOME_IND_SIZE; + max: INDEX_THUMBNAIL_HOME_IND_SIZE; + image.normal: "indicator_clock_on_normal_ef.png"; + color_class: "AO062"; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "indicator1"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + align: 0.5 0.5; + fixed: 1 1; + min: INDEX_THUMBNAIL_HOME_IND_SIZE; + max: INDEX_THUMBNAIL_HOME_IND_SIZE; + image.normal: "indicator_clock_on_normal.png"; + color_class: "AO032"; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "indicator2_ef"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + align: 0.5 0.5; + fixed: 1 1; + min: INDEX_THUMBNAIL_HOME_IND_SIZE; + max: INDEX_THUMBNAIL_HOME_IND_SIZE; + image.normal: "indicator_clock_on_focused_ef.png"; + color_class: "AO062P"; + visible: 0; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "indicator2"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + align: 0.5 0.5; + fixed: 1 1; + min: INDEX_THUMBNAIL_HOME_IND_SIZE; + max: INDEX_THUMBNAIL_HOME_IND_SIZE; + image.normal: "indicator_clock_on_focused.png"; + color_class: "AO0321"; + visible: 0; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } //parts + programs { + program { name: "active"; + signal: "elm,state,active"; + source: "elm"; + action: STATE_SET "active" 0.0; + target: "indicator1"; + target: "indicator2"; + target: "indicator1_ef"; + target: "indicator2_ef"; + } + program { name: "inactive"; + signal: "elm,state,inactive"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "indicator1"; + target: "indicator2"; + target: "indicator1_ef"; + target: "indicator2_ef"; + } + } //programs + } // group + group { + name: "elm/index/item/vertical/noti/thumbnail"; + alias: "elm/index/item_odd/vertical/noti/thumbnail"; + alias: "elm/index/item/horizontal/noti/thumbnail"; + alias: "elm/index/item_odd/horizontal/noti/thumbnail"; + images { + image: "indicator_panel_on_normal.png" COMP; + image: "indicator_panel_on_focused.png" COMP; + image: "indicator_panel_on_normal_ef.png" COMP; + image: "indicator_panel_on_focused_ef.png" COMP; + } + parts { + part { name:"bg"; + type : RECT; + scale: 1; + description { state: "default" 0.0; + color: 0 0 0 0; + min: INDEX_THUMBNAIL_HOME_BG_SIZE; + max: INDEX_THUMBNAIL_HOME_BG_SIZE; + visible: 0; + align: 0.5 0.5; + } + } + part { name: "indicator1_ef"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + align: 0.5 0.5; + fixed: 1 1; + min: INDEX_THUMBNAIL_HOME_IND_SIZE; + max: INDEX_THUMBNAIL_HOME_IND_SIZE; + image.normal: "indicator_panel_on_normal_ef.png"; + color_class: "AO062"; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "indicator1"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + align: 0.5 0.5; + fixed: 1 1; + min: INDEX_THUMBNAIL_HOME_IND_SIZE; + max: INDEX_THUMBNAIL_HOME_IND_SIZE; + image.normal: "indicator_panel_on_normal.png"; + color_class: "AO032"; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "indicator2_ef"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + align: 0.5 0.5; + fixed: 1 1; + min: INDEX_THUMBNAIL_HOME_IND_SIZE; + max: INDEX_THUMBNAIL_HOME_IND_SIZE; + image.normal: "indicator_panel_on_focused_ef.png"; + color_class: "AO062P"; + visible: 0; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "indicator2"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + align: 0.5 0.5; + fixed: 1 1; + min: INDEX_THUMBNAIL_HOME_IND_SIZE; + max: INDEX_THUMBNAIL_HOME_IND_SIZE; + image.normal: "indicator_panel_on_focused.png"; + color_class: "AO0321"; + visible: 0; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } //parts + programs { + program { name: "active"; + signal: "elm,state,active"; + source: "elm"; + action: STATE_SET "active" 0.0; + target: "indicator1"; + target: "indicator2"; + target: "indicator1_ef"; + target: "indicator2_ef"; + } + program { name: "inactive"; + signal: "elm,state,inactive"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "indicator1"; + target: "indicator2"; + target: "indicator1_ef"; + target: "indicator2_ef"; + } + } //programs + } // group + group { + name: "elm/index/item/vertical/page/thumbnail"; + alias: "elm/index/item_odd/vertical/page/thumbnail"; + alias: "elm/index/item/horizontal/page/thumbnail"; + alias: "elm/index/item_odd/horizontal/page/thumbnail"; + images { + image: "indicator_on_normal.png" COMP; + image: "indicator_on_focused.png" COMP; + image: "indicator_on_normal_ef.png" COMP; + image: "indicator_on_focused_ef.png" COMP; + } + parts { + part { name:"bg"; + type : RECT; + scale: 1; + description { state: "default" 0.0; + color: 0 0 0 0; + min: INDEX_THUMBNAIL_HOME_BG_SIZE; + max: INDEX_THUMBNAIL_HOME_BG_SIZE; + visible: 0; + align: 0.5 0.5; + } + } + part { name: "indicator1_ef"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + align: 0.5 0.5; + fixed: 1 1; + min: INDEX_THUMBNAIL_HOME_IND_SIZE; + max: INDEX_THUMBNAIL_HOME_IND_SIZE; + image.normal: "indicator_on_normal_ef.png"; + color_class: "AO062"; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "indicator1"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + align: 0.5 0.5; + fixed: 1 1; + min: INDEX_THUMBNAIL_HOME_IND_SIZE; + max: INDEX_THUMBNAIL_HOME_IND_SIZE; + image.normal: "indicator_on_normal.png"; + color_class: "AO032"; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "indicator2_ef"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + align: 0.5 0.5; + fixed: 1 1; + min: INDEX_THUMBNAIL_HOME_IND_SIZE; + max: INDEX_THUMBNAIL_HOME_IND_SIZE; + image.normal: "indicator_on_focused_ef.png"; + color_class: "AO062P"; + visible: 0; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "indicator2"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + align: 0.5 0.5; + fixed: 1 1; + min: INDEX_THUMBNAIL_HOME_IND_SIZE; + max: INDEX_THUMBNAIL_HOME_IND_SIZE; + image.normal: "indicator_on_focused.png"; + color_class: "AO0321"; + visible: 0; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } //parts + programs { + program { name: "active"; + signal: "elm,state,active"; + source: "elm"; + action: STATE_SET "active" 0.0; + target: "indicator1"; + target: "indicator2"; + target: "indicator1_ef"; + target: "indicator2_ef"; + } + program { name: "inactive"; + signal: "elm,state,inactive"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "indicator1"; + target: "indicator2"; + target: "indicator1_ef"; + target: "indicator2_ef"; + } + } // programs + } //group +} // collections + +/* End of a file */ diff --git a/home/res/edje/circle/layout.edc b/home/res/edje/circle/layout.edc new file mode 100755 index 0000000..d2557a3 --- /dev/null +++ b/home/res/edje/circle/layout.edc @@ -0,0 +1,668 @@ +/* + * Samsung API + * Copyright (c) 2013 Samsung Electronics Co., Ltd. + * + * Licensed under the Flora License, Version 1.1 (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. + */ + +#include "conf.edc" +#include "../color_classes.edc" + +images { + image: "bouncing_bottom_edge.png" COMP; + image: "bouncing_bottom_glow.png" COMP; + image: "bouncing_left_edge.png" COMP; + image: "bouncing_left_glow.png" COMP; + image: "bouncing_right_edge.png" COMP; + image: "bouncing_right_glow.png" COMP; +} + +collections { + group { + name: "layout"; + parts { + part { + name: "bg"; + type: SPACER; + scale: 1; + mouse_events: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; } + rel2 { relative: 1.0 1.0; } + } + } + part { + name: "opacity"; + type: RECT; + scale: 1; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { to: "bg"; } + rel2 { to: "bg"; } + color: 0 0 0 64; + visible: 0; + } + description { + state: "opacity" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { + name: "scroller,clip"; + type: RECT; + scale: 1; + mouse_events: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to, "bg";} + rel2 { relative: 1.0 1.0; to, "bg";} + color: 255 255 255 255; + visible: 1; + } + description { + state: "show" 0.0; + inherit: "default" 0.0; + color: 255 255 255 0; + } + } + part { + name: "scroller_region"; + type: SPACER; + scale: 1; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { to, "bg"; } + rel2 { to, "bg"; } + } + } + part { + name: "scroller"; + type: SWALLOW; + clip_to: "scroller,clip"; + scale: 1; + mouse_events: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to, "scroller_region";} + rel2 { relative: 1.0 1.0; to, "scroller_region";} + visible: 1; + } + description { + state: "hide" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { + name: "index_region"; + type: SPACER; + scale: 1; + mouse_events: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.0 INDICATOR_START_Y/BASE_HEIGHT; to, "bg"; } + rel2 { relative: 1.0 (INDICATOR_START_Y+INDICATOR_HEIGHT)/BASE_HEIGHT; to, "bg"; } + } + } + part { + name: "left_index,clip"; + type: RECT; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to, "index_region"; } + rel2 { relative: 1.0 1.0; to, "index_region"; } + color: 255 255 255 255; + visible: 1; + } + description { + state: "hide" 0.0; + inherit: "default" 0.0; + color: 0 0 0 0; + } + } + part { + name: "left_index"; + type: SWALLOW; + scale: 1; + clip_to: "left_index,clip"; + mouse_events: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to, "index_region";} + rel2 { relative: 1.0 1.0; to, "index_region";} + visible: 1; + } + description { + state: "hide" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { + name: "right_index,clip"; + type: RECT; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to, "index_region"; } + rel2 { relative: 1.0 1.0; to, "index_region"; } + color: 255 255 255 255; + visible: 1; + } + description { + state: "hide" 0.0; + inherit: "default" 0.0; + color: 255 255 255 0; + } + } + part { + name: "right_index"; + type: SWALLOW; + scale: 1; + clip_to: "right_index,clip"; + mouse_events: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to, "index_region";} + rel2 { relative: 1.0 1.0; to, "index_region";} + visible: 1; + } + description { + state: "hide" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { + name: "edit_region"; + type: SPACER; + scale: 1; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { to, "bg"; } + rel2 { to, "bg"; } + } + } + part { + name: "edit"; + type: SWALLOW; + clip_to: "scroller,clip"; + scale: 1; + mouse_events: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to, "edit_region";} + rel2 { relative: 1.0 1.0; to, "edit_region";} + visible: 0; + } + description { + state: "show" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { + name: "add_viewer_region"; + type: SPACER; + scale: 1; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { to, "bg"; } + rel2 { to, "bg"; } + } + } + part { + name: "add_viewer,clip"; + type: RECT; + scale: 1; + mouse_events: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to, "bg";} + rel2 { relative: 1.0 1.0; to, "bg";} + color: 255 255 255 0; + visible: 1; + } + description { + state: "show" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + } + } + part { + name: "add_viewer"; + type: SWALLOW; + scale: 1; + mouse_events: 1; + clip_to: "add_viewer,clip"; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to, "add_viewer_region";} + rel2 { relative: 1.0 1.0; to, "add_viewer_region";} + visible: 0; + } + description { + state: "show" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { + name: "left_checker"; + type: SWALLOW; + mouse_events: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to: "bg"; } + rel2 { relative: 0.2 1.0; to: "bg"; } + visible: 0; + } + description { + state: "show" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { + name: "right_checker"; + type: SWALLOW; + mouse_events: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.8 0.0; to: "bg"; } + rel2 { relative: 1.0 1.0; to: "bg"; } + visible: 0; + } + description { + state: "show" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { + name: "blocker"; + type: RECT; + scale: 1; + mouse_events: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to: "bg"; } + rel2 { relative: 1.0 1.0; to: "bg"; } + color: 0 0 0 0; + visible: 0; + } + description { + state: "enable" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { + name: "bottom,clipper"; + type: RECT; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { relative: 0.0 1.0; to: "bouncing,bottom,edge"; } + rel2 { relative: 1.0 1.0; to: "bouncing,bottom,edge"; } + visible: 1; + } + description { + state: "show"; + inherit: "default" 0.0; + rel1 { relative: 0.0 0.0; to: "bouncing,bottom,glow"; } + rel2 { relative: 1.0 1.0; to: "bouncing,bottom,edge"; } + } + } + part { + name: "bouncing,bottom,edge"; + type: IMAGE; + scale: 1; + mouse_events: 0; + clip_to: "bottom,clipper"; + description { + state: "default" 0.0; + rel1 { relative: 0.0 1.0; to: "bg"; } + rel2 { relative: 1.0 1.0; to: "bg"; } + image { + normal: "bouncing_bottom_edge.png"; + } + color_class: "B019"; + min: 360 2; + fixed: 1 1; + align: 0.5 1.0; + visible: 1; + } + } + part { + name: "bouncing,bottom,glow"; + type: IMAGE; + scale: 1; + mouse_events: 0; + clip_to: "bottom,clipper"; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to: "bouncing,bottom,edge"; } + rel2 { relative: 1.0 0.0; to: "bouncing,bottom,edge"; } + image { + normal: "bouncing_bottom_glow.png"; + } + color_class: "B018E"; + min: 360 50; + fixed: 1 1; + align: 0.5 1.0; + visible: 1; + } + } + part { + name: "left,clipper"; + type: RECT; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to: "bouncing,left,edge"; } + rel2 { relative: 0.0 1.0; to: "bouncing,left,edge"; } + visible: 1; + } + description { + state: "show"; + inherit: "default" 0.0; + rel1 { relative: 0.0 0.0; to: "bouncing,left,edge"; } + rel2 { relative: 1.0 1.0; to: "bouncing,left,glow"; } + } + } + part { + name: "bouncing,left,edge"; + type: IMAGE; + scale: 1; + mouse_events: 0; + clip_to: "left,clipper"; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to: "bg"; } + rel2 { relative: 0.0 1.0; to: "bg"; } + image { + normal: "bouncing_left_edge.png"; + } + color_class: "B019"; + min: 1 480; + fixed: 1 1; + align: 0.0 0.5; + visible: 1; + } + } + part { + name: "bouncing,left,glow"; + type: IMAGE; + scale: 1; + mouse_events: 0; + clip_to: "left,clipper"; + description { + state: "default" 0.0; + rel1 { relative: 1.0 0.0; to: "bouncing,left,edge"; } + rel2 { relative: 1.0 1.0; to: "bouncing,left,edge"; } + image { + normal: "bouncing_left_glow.png"; + } + color_class: "B018E"; + min: 50 480; + fixed: 1 1; + align: 0.0 0.5; + visible: 1; + } + } + part { + name: "right,clipper"; + type: RECT; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { relative: 1.0 0.0; to: "bouncing,right,edge"; } + rel2 { relative: 1.0 1.0; to: "bouncing,right,edge"; } + visible: 1; + } + description { + state: "show"; + inherit: "default" 0.0; + rel1 { relative: 0.0 0.0; to: "bouncing,right,glow"; } + rel2 { relative: 1.0 1.0; to: "bouncing,right,edge"; offset: 1 0; } + } + } + + part { + name: "bouncing,right,edge"; + type: IMAGE; + scale: 1; + mouse_events: 0; + clip_to: "right,clipper"; + description { + state: "default" 0.0; + rel1 { relative: 1.0 0.0; to: "bg"; } + rel2 { relative: 1.0 1.0; to: "bg"; } + image { + normal: "bouncing_right_edge.png"; + } + color_class: "B019"; + min: 1 480; + fixed: 1 1; + align: 1.0 0.5; + visible: 1; + } + } + part { + name: "bouncing,right,glow"; + type: IMAGE; + scale: 1; + mouse_events: 0; + clip_to: "right,clipper"; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to: "bouncing,right,edge"; } + rel2 { relative: 0.0 1.0; to: "bouncing,right,edge"; } + image { + normal: "bouncing_right_glow.png"; + } + color_class: "B018E"; + min: 50 480; + fixed: 1 1; + align: 1.0 0.5; + visible: 1; + } + } + } + programs { + program { + signal: "opacity"; + source: "layout"; + action: STATE_SET "opacity" 0.0; + target: "opacity"; + } + program { + signal: "transparent"; + source: "layout"; + action: STATE_SET "default" 0.0; + target: "opacity"; + } + program { + signal: "show"; + source: "checker"; + action: STATE_SET "show" 0.0; + target: "left_checker"; + target: "right_checker"; + } + program { + signal: "hide"; + source: "checker"; + action: STATE_SET "default" 0.0; + target: "left_checker"; + target: "right_checker"; + } + program { + signal: "block"; + source: "layout"; + action: STATE_SET "enable" 0.0; + target: "blocker"; + } + program { + signal: "unblock"; + source: "layout"; + action: STATE_SET "default" 0.0; + target: "blocker"; + } + program { + signal: "show"; + source: "left_index"; + action: STATE_SET "default" 0.0; + target: "left_index,clip"; + } + program { + signal: "hide"; + source: "left_index"; + action: STATE_SET "hide" 0.0; + target: "left_index,clip"; + transition: LINEAR 0.2; + } + program { + signal: "show"; + source: "right_index"; + action: STATE_SET "default" 0.0; + target: "right_index,clip"; + } + program { + signal: "hide"; + source: "right_index"; + action: STATE_SET "hide" 0.0; + target: "right_index,clip"; + transition: LINEAR 0.2; + } + program { + signal: "show"; + source: "edit"; + action: STATE_SET "show" 0.0; + target: "edit"; + } + program { + signal: "hide"; + source: "edit"; + action: STATE_SET "default" 0.0; + target: "edit"; + } + program { + signal: "show"; + source: "scroller"; + action: STATE_SET "default" 0.0; + target: "scroller"; + target: "left_index"; + target: "right_index"; + } + program { + signal: "hide"; + source: "scroller"; + action: STATE_SET "hide" 0.0; + target: "scroller"; + target: "left_index"; + target: "right_index"; + } + program { + signal: "show"; + source: "add_viewer"; + action: STATE_SET "show" 0.0; + target: "add_viewer,clip"; + target: "add_viewer"; + target: "scroller,clip"; + transition: LINEAR 0.1; + } + program { + signal: "hide"; + source: "add_viewer"; + action: STATE_SET "default" 0.0; + target: "add_viewer,clip"; + target: "add_viewer"; + target: "scroller,clip"; + transition: LINEAR 0.1; + after: "hide,after"; + } + program { + signal: "hide,instant"; + source: "add_viewer"; + action: STATE_SET "default" 0.0; + target: "add_viewer,clip"; + target: "add_viewer"; + target: "scroller,clip"; + after: "hide,after"; + } + program { + name: "hide,after"; + source: "add_viewer"; + action: SIGNAL_EMIT "add_viewer,hide" "add_viewer"; + } + program { + name: "bottom,show"; + signal: "bottom,show"; + source: "layout"; + action: STATE_SET "show" 0.0; + target: "bottom,clipper"; + transition: LINEAR 0.2; + after: "bottom,hide"; + } + program { + name: "bottom,hide"; + signal: "bottom,hide"; + source: "layout"; + action: STATE_SET "default" 0.0; + target: "bottom,clipper"; + } + program { + name: "left,show"; + signal: "left,show"; + source: "layout"; + action: STATE_SET "show" 0.0; + target: "left,clipper"; + transition: LINEAR 0.2; + after: "left,hide"; + } + program { + name: "left,hide"; + signal: "left,hide"; + source: "layout"; + action: STATE_SET "default" 0.0; + target: "left,clipper"; + } + program { + name: "right,show"; + signal: "right,show"; + source: "layout"; + action: STATE_SET "show" 0.0; + target: "right,clipper"; + transition: LINEAR 0.2; + after: "right,hide"; + } + program { + name: "right,hide"; + signal: "right,hide"; + source: "layout"; + action: STATE_SET "default" 0.0; + target: "right,clipper"; + } + } + } // group +} // collections + + + +// End of file diff --git a/home/res/edje/circle/noti.edc b/home/res/edje/circle/noti.edc new file mode 100755 index 0000000..5ef931d --- /dev/null +++ b/home/res/edje/circle/noti.edc @@ -0,0 +1,514 @@ +/* + * Samsung API + * Copyright (c) 2013 Samsung Electronics Co., Ltd. + * + * Licensed under the Flora License, Version 1.1 (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. + */ + +#include "conf.edc" +#include "../color_classes.edc" + +styles { + style { + name: "summary_text_style"; + base: "font=Tizen:style=Regular text_class=tizen style=shadow shadow_color=#0000004C font_size=25 align=middle ellipsis=1 color=#FFFFFF wrap=mixed"; + } +} + +styles { + style { + name: "detail_text_style"; + base: "font=Tizen:style=Regular text_class=tizen style=shadow shadow_color=#0000004C font_size=25 align=middle color=#FFFFFF wrap=mixed"; + } +} + +images { + image: "w_cover_view_ic_delete.png" COMP; +} + +collections { + base_scale: 1.2; + group { + name: "summary"; + parts { + part { + name: "bg"; + type: SWALLOW; + scale: 1; + mouse_events: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; } + rel2 { relative: 1.0 1.0; } + visible: 1; + } + } + part { + name: "bg,rect"; + type: RECT; + scale: 1; + mouse_events: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to: "bg"; } + rel2 { relative: 1.0 1.0; to: "bg"; } + color: 0 0 0 255; + visible: 1; + } + } + part { + name: "icon"; + type: SWALLOW; + scale: 1; + mouse_events: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.5 0.0; to: "bg"; offset: 0 3; } + rel2 { relative: 0.5 0.0; to: "bg"; offset: 0 3; } + align: 0.5 0.0; + fixed: 1 1; + visible: 1; + } + } + part { + name: "title"; + type: TEXT; + scale: 1; + mouse_events: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.2 1.0; to_x: "bg"; to_y: "icon"; } + rel2 { relative: 0.8 1.0; to_x: "bg"; to_y: "icon"; } + align: 0.5 0.0; + min: 0 47; + color: 255 255 255 255; + text { + size: 30; + font: "TIZEN"; + align: 0.5 0.5; + min: 0 1; + } + visible: 1; + } + } + part { + name: "time"; + type: TEXT; + scale: 1; + mouse_events: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.1 1.0; to_x: "bg"; to_y: "title"; } + rel2 { relative: 0.9 1.0; to_x: "bg"; to_y: "title"; } + align: 0.5 0.0; + min: 0 32; + color: 255 255 255 255; + text { + size: 20; + font: "TIZEN"; + align: 0.5 0.5; + min: 0 1; + } + visible: 1; + } + } + part { + name: "time,pad"; + type: SPACER; + scale: 1; + mouse_events: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.0 1.0; to_x: "bg"; to_y: "time"; } + rel2 { relative: 1.0 1.0; to_y: "bg"; to_y: "time"; } + align: 0.5 0.0; + min: 0 16; + } + } + part { + name: "text"; + type: TEXTBLOCK; + mouse_events: 1; + repeat_events: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.1 1.0; to_x: "bg"; to_y: "time,pad"; } + rel2 { relative: 0.9 0.0; to_x: "bg"; to_y: "count,up,pad"; } + align: 0.5 0.5; + min: 0 74; + text { + style: "summary_text_style"; + align: 0.5 0.5; + min: 0 1; + } + } + } + part { + name: "launch,btn"; + type: SWALLOW; + mouse_events: 1; + repeat_events: 0; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to: "bg"; } + rel2 { relative: 1.0 1.0; to_x: "bg"; to_y: "text"; } + align: 0.0 0.0; + visible: 1; + } + } + part { + name: "del,btn"; + type: SWALLOW; + scale: 1; + mouse_events: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.5 1.0; to: "bg"; offset: 0 -5; } + rel2 { relative: 0.5 1.0; to: "bg"; offset: 0 -5; } + align: 0.5 1.0; + min: 52 52; + fixed: 1 1; + align: 0.5 0.5; + visible: 1; + } + } + part { + name: "del,btn,icon"; + type: IMAGE; + scale: 1; + mouse_events: 1; + repeat_events: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.5 0.5; to: "del,btn"; } + rel2 { relative: 0.5 0.5; to: "del,btn"; } + image { + normal: "w_cover_view_ic_delete.png"; + } + align: 0.5 1.0; + min: 52 52; + fixed: 1 1; + visible: 1; + } + } + part { + name: "count,down,pad"; + type: SPACER; + scale: 1; + mouse_events: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to_x: "bg"; to_y: "del,btn,icon"; } + rel2 { relative: 1.0 0.0; to_y: "bg"; to_y: "del,btn,icon"; } + align: 0.5 0.0; + min: 0 12; + } + } + part { + name: "count"; + type: TEXT; + scale: 1; + mouse_events: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.1 0.0; to_x: "bg"; to_y: "count,down,pad"; } + rel2 { relative: 0.9 0.0; to_x: "bg"; to_y: "count,down,pad"; } + align: 0.5 1.0; + min: 0 32; + color: 255 255 255 255; + text { + size: 20; + font: "TIZEN"; + align: 0.5 0.5; + min: 0 1; + } + visible: 1; + } + } + part { + name: "count,up,pad"; + type: SPACER; + scale: 1; + mouse_events: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to_x: "bg"; to_y: "count"; } + rel2 { relative: 1.0 0.0; to_x: "bg"; to_y: "count"; } + align: 0.5 1.0; + min: 0 15; + } + } + } + } + group { + name: "detail"; + parts { + part { + name: "bg"; + type: SWALLOW; + scale: 1; + mouse_events: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; } + rel2 { relative: 1.0 1.0; } + visible: 1; + } + } + part { + name: "bg,rect"; + type: RECT; + scale: 1; + mouse_events: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to: "bg"; } + rel2 { relative: 1.0 1.0; to: "bg"; } + color: 10 10 10 255; + visible: 1; + } + } + part { + name: "icon"; + type: SWALLOW; + scale: 1; + mouse_events: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.5 0.0; to: "bg"; offset: 0 3; } + rel2 { relative: 0.5 0.0; to: "bg"; offset: 0 3; } + align: 0.5 0.0; + fixed: 1 1; + visible: 1; + } + } + part { + name: "title,pad"; + type: RECT; + scale: 1; + mouse_events: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to: "bg"; } + rel2 { relative: 1.0 0.0; to: "bg"; } + align: 0.5 0.0; + min: 0 40; + color: 0 0 0 255; + visible: 1; + } + description { + state: "show,icon" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { + name: "title"; + type: TEXT; + scale: 1; + mouse_events: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.2 1.0; to_x: "bg"; to_y: "title,pad"; } + rel2 { relative: 0.8 1.0; to_x: "bg"; to_y: "title,pad"; } + align: 0.5 0.0; + min: 0 47; + color: 255 255 255 255; + text { + size: 30; + font: "TIZEN"; + align: 0.5 0.5; + min: 0 1; + } + visible: 1; + } + description { + state: "show,icon" 0.0; + inherit: "default" 0.0; + rel1 { relative: 0.2 1.0; to_x: "bg"; to_y: "icon"; } + rel2 { relative: 0.8 1.0; to_x: "bg"; to_y: "icon"; } + } + } + part { + name: "time"; + type: TEXT; + scale: 1; + mouse_events: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.1 1.0; to_x: "bg"; to_y: "title"; } + rel2 { relative: 0.9 1.0; to_x: "bg"; to_y: "title"; } + align: 0.5 0.0; + min: 0 32; + color: 255 255 255 255; + text { + size: 20; + font: "TIZEN"; + align: 0.5 0.5; + min: 0 1; + } + visible: 1; + } + } + part { + name: "time,pad"; + type: SPACER; + scale: 1; + mouse_events: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.0 1.0; to_x: "bg"; to_y: "time"; } + rel2 { relative: 1.0 1.0; to_y: "bg"; to_y: "time"; } + align: 0.5 0.0; + min: 0 16; + } + } + part { + name: "text"; + type: TEXTBLOCK; + mouse_events: 1; + repeat_events: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.1 1.0; to_x: "bg"; to_y: "time,pad"; } + rel2 { relative: 0.9 1.0; to_x: "bg"; to_y: "time,pad"; } + align: 0.5 0.0; + text { + style: "detail_text_style"; + align: 0.5 0.5; + min: 0 1; + } + } + } + part { + name: "del,btn"; + type: SWALLOW; + scale: 1; + mouse_events: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.5 1.0; to: "bg"; offset: 0 -5; } + rel2 { relative: 0.5 1.0; to: "bg"; offset: 0 -5; } + align: 0.5 1.0; + min: 52 52; + fixed: 1 1; + align: 0.5 0.5; + visible: 1; + } + } + part { + name: "del,btn,icon"; + type: IMAGE; + scale: 1; + mouse_events: 1; + repeat_events: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.5 0.5; to: "del,btn"; } + rel2 { relative: 0.5 0.5; to: "del,btn"; } + image { + normal: "w_cover_view_ic_delete.png"; + } + align: 0.5 1.0; + min: 52 52; + fixed: 1 1; + visible: 1; + } + } + } + programs { + program { + signal: "show,icon"; + source: "icon"; + action: STATE_SET "show,icon" 0.0; + target: "title,pad"; + target: "title"; + } + program { + signal: "hide,icon"; + source: "icon"; + action: STATE_SET "defualt" 0.0; + target: "title,pad"; + target: "title"; + } + } + } + group { + name: "simple"; + parts { + part { + name: "bg"; + type: SPACER; + scale: 1; + mouse_events: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; } + rel2 { relative: 1.0 1.0; } + } + } + part { + name: "bg,rect"; + type: RECT; + scale: 1; + mouse_events: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to: "bg"; } + rel2 { relative: 1.0 1.0; to: "bg"; } + color: 100 100 100 255; + visible: 1; + } + } + part { + name: "icon"; + type: SWALLOW; + scale: 1; + mouse_events: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.5 0.0; to: "bg,rect"; offset: 0 8; } + rel2 { relative: 0.5 0.0; to: "bg,rect"; offset: 0 8; } + align: 0.5 0.0; + fixed: 1 1; + visible: 1; + } + } + part { + name: "title"; + type: TEXT; + scale: 1; + mouse_events: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.0 1.0; to: "bg"; } + rel2 { relative: 1.0 1.0; to: "bg"; } + align: 0.5 1.0; + min: 0 47; + color: 255 255 255 255; + text { + size: 24; + font: "TIZEN"; + align: 0.5 0.5; + min: 0 1; + } + visible: 1; + } + } + } + } +} + + + +// End of file diff --git a/home/res/edje/circle/page.edc b/home/res/edje/circle/page.edc new file mode 100755 index 0000000..59d4fde --- /dev/null +++ b/home/res/edje/circle/page.edc @@ -0,0 +1,1036 @@ +/* + * Samsung API + * Copyright (c) 2013 Samsung Electronics Co., Ltd. + * + * Licensed under the Flora License, Version 1.1 (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. + */ + +#include "conf.edc" +#include "../color_classes.edc" + +#define DEL_IMAGE_MIN 54 54 +#define PLUS_IMAGE_MIN 90 90 +#define LINE_IMAGE_MIN (216+4) (288+4) +#define TEXT_MIN 300 420 + + + +styles { + style { + name: "max_text_style"; + base: "font=TIZEN:style=Regular text_class=tizen style=shadow shadow_color=#0000004C font_size="18" color_class=AT0121 align=middle color=#FFFFFF ellipsis=1 wrap=mixed"; + } +} + +images { + image: "widget_circle_bg_stroke.png" COMP; + image: "widget_circle_bg.png" COMP; + image: "widget_circle_bg_ef.png" COMP; + image: "b_home_screen_widget_plus.png" COMP; + image: "b_home_screen_widget_del_bg.png" COMP; + image: "b_home_screen_widget_del_line.png" COMP; + image: "b_home_screen_widget_del_icon.png" COMP; + image: "b_widget_favorite_bg.png" COMP; +} + +collections { + base_scale: 1.3; + +group { + name: "page"; + parts { + part { + name: "bg"; + type: SWALLOW; + scale: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; } + rel2 { relative: 1.0 1.0; } + } + } + part { + name: "inner"; + type: SWALLOW; + scale: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to: "bg"; } + rel2 { relative: 1.0 1.0; to: "bg"; } + fixed: 1 1; + visible: 1; + } + } + } +} +group { + name: "page_inner"; + parts { + part { + name: "focus"; + type: SWALLOW; + scale : 1; + mouse_events: 1; + repeat_events: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to: "item"; } + rel2 { relative: 1.0 1.0; to: "item"; } + color: 0 0 0 0; + fixed: 1 1; + visible: 1; + } + } + part { + name: "area"; + type: SWALLOW; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 1.0; + fixed: 1 1; + visible: 1; + } + } + part { + name: "normal"; + type: RECT; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + color: 0 0 0 0; + perspective { + zplane: 0; + } + } + } + part { + name: "zoom"; + type: RECT; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + color: 0 0 0 0; + perspective { + zplane: 120; + } + } + } + part { + name: "bg"; + type: SWALLOW; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to: "item"; } + rel2 { relative: 1.0 1.0; to: "item"; } + fixed: 1 1; + visible: 1; + map { + on: 0; + perspective: "normal"; + } + } + description { + state: "zoom" 0.0; + inherit: "default"; + map { + on: 1; + perspective: "zoom"; + } + } + description { + state: "on" 0.0; + inherit: "default"; + map { + on: 1; + } + } + } + part { + name: "gradient,bg"; + type: IMAGE; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to: "item"; } + rel2 { relative: 1.0 1.0; to: "item"; } + color_class: "AO031"; + image { + normal: "b_widget_favorite_bg.png"; + } + visible: 0; + } + description { + state: "show" 0.0; + inherit: "default" 0.0; + visible: 1; + map { + on: 0; + perspective: "normal"; + } + } + description { + state: "zoom" 0.0; + inherit: "default"; + map { + on: 1; + perspective: "zoom"; + } + } + description { + state: "on" 0.0; + inherit: "default"; + map { + on: 1; + } + } + } + part { + name: "item"; + type: SWALLOW; + scale: 1; + mouse_events: 1; + repeat_events: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.5 0.5; to: "area"; } + rel2 { relative: 0.5 0.5; to: "area"; } + fixed: 1 1; + align: 0.5 0.5; + visible: 1; + map { + on: 0; + perspective: "normal"; + } + } + description { + state: "zoom" 0.0; + inherit: "default"; + map { + on: 1; + perspective: "zoom"; + } + } + description { + state: "on" 0.0; + inherit: "default"; + map { + on: 1; + } + } + } + part { + name: "cover_clipper"; + type: RECT; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to: "cover_ef"; } + rel2 { relative: 1.0 1.0; to: "cover_ef"; } + color: 0 0 0 0; + visible: 1; + } + description { + state: "select" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + } + } + part { + name: "cover_ef"; + type: IMAGE; + clip_to: "cover_clipper"; + scale: 1; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { relative: 0.5 0.5; to: "item"; } + rel2 { relative: 0.5 0.5; to: "item"; } + image { + normal: "widget_circle_bg_ef.png"; + } + color_class: "AO063"; + /* This size is different from "item" */ + min: ITEM_EDIT_EF_WIDTH ITEM_EDIT_EF_HEIGHT; + fixed: 1 1; + align: 0.5 0.5; + visible: 0; + map { + on: 0; + perspective: "normal"; + } + } + description { + state: "select" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { + state: "disable" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { + state: "zoom" 0.0; + inherit: "select" 0.0; + map { + on: 1; + perspective: "zoom"; + } + } + description { + state: "on" 0.0; + inherit: "default" 0.0; + map { + on: 1; + } + } + } + part { + name: "line_clipper"; + type: RECT; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to: "line_ef"; offset: -30 -30; } + rel2 { relative: 1.0 1.0; to: "line_ef"; offset: 30 30; } + color: 255 255 255 0; + visible: 1; + } + description { + state: "select" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + } + } + part { + name: "line,widget"; + type: IMAGE; + scale: 1; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { relative: 0.5 0.5; to: "item"; } + rel2 { relative: 0.5 0.5; to: "item"; } + image { + normal: "widget_circle_bg_stroke.png"; + } + /* this color class code is AO033 */ + //color_class: "AO033"; + color_class: "AO0481"; + min: 234 234; + visible: 0; + } + description { + state: "show" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { + name: "line_ef"; + type: IMAGE; + scale: 1; + mouse_events: 0; + clip_to: "line_clipper"; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to: "cover_ef"; } + rel2 { relative: 1.0 1.0; to: "cover_ef"; } + image { + normal: "widget_circle_bg_ef.png"; + } + color_class: "AO063"; + align: 0.5 0.5; + visible: 1; + map { + on: 0; + perspective: "normal"; + } + } + description { + state: "disable" 0.0; + inherit: "default" 0.0; + visible: 0; + } + description { + state: "zoom" 0.0; + inherit: "default" 0.0; + map { + on: 1; + perspective: "zoom"; + } + } + description { + state: "on" 0.0; + inherit: "default" 0.0; + map { + on: 1; + } + + } + } + part { + name: "line"; + type: SWALLOW; + scale: 1; + mouse_events: 0; + clip_to: "line_clipper"; + description { + state: "default" 0.0; + rel1 { relative: 0.5 0.5; to: "item"; } + rel2 { relative: 0.5 0.5; to: "item"; } + color_class: "AO043"; + min: ITEM_EDIT_LINE_WIDTH ITEM_EDIT_LINE_HEIGHT; + align: 0.5 0.5; + visible: 1; + fixed: 1 1; + map { + on: 0; + perspective: "normal"; + } + } + description { + state: "disable" 0.0; + inherit: "default" 0.0; + visible: 0; + } + description { + state: "zoom" 0.0; + inherit: "default" 0.0; + map { + on: 1; + perspective: "zoom"; + } + } + description { + state: "on" 0.0; + inherit: "default" 0.0; + map { + on: 1; + } + } + } + part { + name: "item_event"; + type: RECT; + scale: 1; + mouse_events: 1; + repeat_events: 1; + description { + state: "default" 0.0; + rel1.to: "item"; + rel2.to: "item"; + color: 0 0 0 0; + visible: 1; + map { + on: 0; + perspective: "normal"; + } + } + description { + state: "zoom" 0.0; + inherit: "default"; + map { + on: 1; + perspective: "zoom"; + } + } + description { + state: "on" 0.0; + inherit: "default"; + map { + on: 1; + } + } + } + part { + name: "del_clipper"; + type: RECT; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to: "del_event_region"; } + rel2 { relative: 1.0 1.0; to: "del_event_region"; } + color: 255 255 255 0; + visible: 1; + } + description { + state: "show" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + } + } + part { + name: "del_image_region"; + type: SPACER; + scale: 1; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { relative: 1.0 0.0; to: "item"; offset: -37 24; } + rel2 { relative: 1.0 0.0; to: "item"; offset: -37 24; } + align: 0.5 0.5; + min: DEL_IMAGE_MIN; + fixed: 1 1; + } + } + /* This part blocks events */ + part { + name: "del_event_region"; + type: RECT; + mouse_events: 1; + description { + state: "default" 0.0; + rel1 { relative: -0.5 -0.5; to: "del_image_region"; } + rel2 { relative: 1.5 1.5; to: "del_image_region"; } + color: 0 0 0 0; + visible: 0; + } + description { + state: "show" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { + name: "del_bg"; + type: IMAGE; + scale: 1; + mouse_events: 0; + clip_to: "del_clipper"; + description { + state: "default" 0.0; + rel1 { relative: 0.5 0.5; to: "del_image_region"; } + rel2 { relative: 0.5 0.5; to: "del_image_region"; } + image { + normal: "b_home_screen_widget_del_bg.png"; + } + color_class: "AO044L1"; + align: 0.5 0.5; + min: DEL_IMAGE_MIN; + fixed: 1 1; + visible: 1; + map { + on: 0; + perspective: "normal"; + } + } + description { + state: "zoom" 0.0; + inherit: "default"; + map { + on: 1; + perspective: "zoom"; + } + } + description { + state: "on" 0.0; + inherit: "default"; + map { + on: 1; + } + } + } + part { + name: "del_line"; + type: IMAGE; + scale: 1; + mouse_events: 0; + clip_to: "del_clipper"; + description { + state: "default" 0.0; + rel1 { relative: 0.5 0.5; to: "del_image_region"; } + rel2 { relative: 0.5 0.5; to: "del_image_region"; } + image { + normal: "b_home_screen_widget_del_line.png"; + } + color_class: "AO044L2"; + align: 0.5 0.5; + min: DEL_IMAGE_MIN; + fixed: 1 1; + visible: 1; + map { + on: 0; + perspective: "normal"; + } + } + description { + state: "zoom" 0.0; + inherit: "default"; + map { + on: 1; + perspective: "zoom"; + } + } + description { + state: "on" 0.0; + inherit: "default"; + map { + on: 1; + } + } + } + part { + name: "del_icon"; + type: IMAGE; + scale: 1; + mouse_events: 0; + clip_to: "del_clipper"; + description { + state: "default" 0.0; + rel1 { relative: 0.5 0.5; to: "del_image_region"; } + rel2 { relative: 0.5 0.5; to: "del_image_region"; } + image { + normal: "b_home_screen_widget_del_icon.png"; + } + color_class: "AO044L3"; + align: 0.5 0.5; + min: DEL_IMAGE_MIN; + fixed: 1 1; + visible: 1; + map { + on: 0; + perspective: "normal"; + } + } + description { + state: "zoom" 0.0; + inherit: "default"; + map { + on: 1; + perspective: "zoom"; + } + } + description { + state: "on" 0.0; + inherit: "default"; + map { + on: 1; + } + } + } + part { + name: "remove_focus"; + type: SWALLOW; + scale: 1; + mouse_events: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to: "del_event_region"; } + rel2 { relative: 1.0 1.0; to: "del_event_region"; } + color: 0 0 0 0; + visible: 0; + } + description { + state: "show" 0.0; + rel1 { relative: 0.0 0.0; to: "del_event_region"; } + rel2 { relative: 1.0 1.0; to: "del_event_region"; } + visible: 1; + } + } + part { + name: "blocker"; + type: RECT; + mouse_events: 1; + scale: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to: "item"; } + rel2 { relative: 1.0 1.0; to: "item"; } + color: 0 0 0 0; + visible: 0; + } + description { + state: "enable" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + programs { + program { + signal: "show"; + source: "del"; + action: STATE_SET "show" 0.0; + target: "del_clipper"; + target: "del_event_region"; + target: "remove_focus"; + } + program { + signal: "hide"; + source: "del"; + action: STATE_SET "default" 0.0; + target: "del_clipper"; + target: "del_event_region"; + target: "remove_focus"; + } + program { + signal: "mouse,clicked,1"; + source: "focus"; + action: SIGNAL_EMIT "clicked" "page"; + } + program { + name: "enable,bg"; + signal: "enable"; + source: "gradient,bg"; + action: STATE_SET "show" 0.0; + target: "gradient,bg"; + } + program { + name: "disable,bg"; + signal: "disable"; + source: "gradient,bg"; + action: STATE_SET "default" 0.0; + target: "gradient,bg"; + } + program { + source: "blocker"; + signal: "enable"; + action: STATE_SET "enable" 0.0; + target: "blocker"; + } + program { + source: "blocker"; + signal: "disable"; + action: STATE_SET "default" 0.0; + target: "blocker"; + } + program { + signal: "deselect"; + source: "cover_clipper"; + action: STATE_SET "default" 0.0; + target: "cover_clipper"; + target: "cover_ef"; + } + program { + signal: "select"; + source: "cover_clipper"; + action: STATE_SET "select" 0.0; + target: "cover_clipper"; + target: "cover_ef"; + transition: LINEAR 0.5; + } + program { + signal: "disable"; + source: "line_ef"; + action: STATE_SET "disable" 0.0; + target: "cover_ef"; + target: "line_ef"; + target: "line"; + transition: LINEAR 0.5; + } + program { + signal: "deselect"; + source: "line"; + action: STATE_SET "default" 0.0; + target: "line_clipper"; + transition: LINEAR 0.5; + } + program{ + signal: "deselect,im"; + source: "line"; + action: STATE_SET "default" 0.0; + target: "line_clipper"; + } + program { + signal: "hide"; + source: "line,widget"; + action: STATE_SET "default" 0.0; + target: "line,widget"; + } + program { + signal: "show"; + source: "line,widget"; + action: STATE_SET "show" 0.0; + target: "line,widget"; + } + program { + signal: "select"; + source: "line"; + action: STATE_SET "select" 0.0; + target: "line_clipper"; + transition: LINEAR 0.5; + } + program { + signal: "on,zoom"; + source: "inner"; + action: STATE_SET "on" 0.0; + target: "item_event"; + target: "bg"; + target: "gradient,bg"; + target: "item"; + target: "del_bg"; + target: "del_line"; + target: "del_icon"; + target: "cover_ef"; + target: "line_ef"; + target: "line"; + after: "show,zoom"; + } + program { + name: "show,zoom"; + action: STATE_SET "zoom" 0.0; + transition: SIN_FAC 0.2 0.90; + target: "item_event"; + target: "bg"; + target: "gradient,bg"; + target: "item"; + target: "del_bg"; + target: "del_line"; + target: "del_icon"; + target: "cover_ef"; + target: "line_ef"; + target: "line"; + } + program { + signal: "reset,zoom"; + source: "inner"; + action: STATE_SET "on" 0.0; + transition: SIN_FAC 0.2 0.90; + target: "item_event"; + target: "bg"; + target: "gradient,bg"; + target: "item"; + target: "del_bg"; + target: "del_line"; + target: "del_icon"; + target: "cover_ef"; + target: "line_ef"; + target: "line"; + after: "off,zoom"; + } + program { + name: "off,zoom"; + action: STATE_SET "defalut" 0.0; + target: "item_event"; + target: "bg"; + target: "gradient,bg"; + target: "item"; + target: "del_bg"; + target: "del_line"; + target: "del_icon"; + after: "on,cover"; + } + program { + name: "on,cover"; + action: STATE_SET "select" 0.0; + target: "line_ef"; + target: "cover_ef"; + target: "cover_clipper"; + target: "line_clipper"; + } + } +} +group { + name: "plus_item"; + parts { + part { + name: "bg"; + type: RECT; + scale: 1; + mouse_events: 1; + repeat_events: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; } + rel2 { relative: 1.0 1.0; } + /* This size is different from "item" */ + min: ITEM_EDIT_WIDTH ITEM_EDIT_HEIGHT; + fixed: 1 1; + color: 0 0 0 0; + visible: 1; + } + } + part { + name: "add,bg"; + type: RECT; + scale: 1; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { relative: 0.5 0.5; to: "bg"; } + rel2 { relative: 0.5 0.5; to: "bg"; } + min: LINE_IMAGE_MIN; + fixed: 1 1; + color_class: "AO0111"; + visible: 1; + } + description { + state: "edit" 0.0; + inherit: "default" 0.0; + color_class: "AO0481"; + } + } + part { + name: "plus"; + type: IMAGE; + scale: 1; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { relative: 0.5 0.5; to: "add,bg"; } + rel2 { relative: 0.5 0.5; to: "add,bg"; } + image { + normal: "b_home_screen_widget_plus.png"; + } + color_class: "AO035"; + min: PLUS_IMAGE_MIN; + align: 0.5 0.5; + fixed: 1 1; + visible: 1; + } + description { + state: "press" 0.0; + inherit: "default" 0.0; + color_class: "AO035P"; + } + description { + state: "edit" 0.0; + inherit: "default" 0.0; + color_class: "AO034"; + } + description { + state: "edit,press" 0.0; + inherit: "default" 0.0; + color_class: "AO034P"; + } + description { + state: "max" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { + name: "max_text"; + type: TEXTBLOCK; + scale: 1; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { relative: 0.1 0.05; to: "bg"; } + rel2 { relative: 0.9 0.95; to: "bg"; } + fixed: 1 0; + text { + style: "max_text_style"; + } + visible: 0; + } + description { + state: "max" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + programs { + program { + name: "button,down"; + signal: "mouse,down,1"; + source: "bg"; + action: SIGNAL_EMIT "down" "plus_item"; + } + program { + source: "plus"; + signal: "press"; + action: STATE_SET "press" 0.0; + target: "plus"; + } + program { + name: "button,up"; + signal: "mouse,up,1"; + source: "bg"; + action: SIGNAL_EMIT "up" "plus_item"; + } + program { + name: "button,click"; + signal: "mouse,clicked,1"; + source: "bg"; + action: SIGNAL_EMIT "click" "plus_item"; + } + program { + source: "plus"; + signal: "release"; + action: STATE_SET "default" 0.0; + target: "plus"; + } + program { + source: "plus"; + signal: "edit,press"; + action: STATE_SET "edit,press" 0.0; + target: "plus"; + } + program { + source: "plus"; + signal: "edit,release"; + action: STATE_SET "edit" 0.0; + target: "plus"; + } + program { + name: "hide_plus"; + signal: "max"; + source: "plus_in_edit"; + action: STATE_SET "max" 0.0; + target: "max_text"; + target: "plus"; + } + program { + name: "show_plus"; + signal: "no_max"; + source: "plus_in_edit"; + action: STATE_SET "default" 0.0; + target: "max_text"; + after: "show,edit"; + } + program { + name: "show,widget"; + signal: "show,widget"; + source: "plus_item"; + action: STATE_SET "default" 0.0; + target: "add,bg"; + target: "plus"; + } + program { + name: "show,edit"; + signal: "show,edit"; + source: "plus_item"; + action: STATE_SET "edit" 0.0; + target: "add,bg"; + target: "plus"; + } + program { + name: "show,widget,ani"; + signal: "show,widget,ani"; + source: "plus_item"; + action: STATE_SET "edit" 0.0; + target: "add,bg"; + target: "plus"; + after: "show,widget,ani,2"; + } + program { + name: "show,widget,ani,2"; + action: STATE_SET "default" 0.0; + target: "add,bg"; + target: "plus"; + transition: LINEAR 0.5; + } + + } +}//end group +}//end collections diff --git a/home/res/edje/circle/page_clock.edc b/home/res/edje/circle/page_clock.edc new file mode 100755 index 0000000..9ba6749 --- /dev/null +++ b/home/res/edje/circle/page_clock.edc @@ -0,0 +1,1803 @@ +/* + * Samsung API + * Copyright (c) 2013 Samsung Electronics Co., Ltd. + * + * Licensed under the Flora License, Version 1.1 (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. + */ + +#include "conf.edc" +#include "../color_classes.edc" + +#define HIDDEN_AREA_H 256 +#define HIDDEN_QUICKBUTTON_W (29+90+29) +#define HIDDEN_QUICKBUTTON_H (90+7+33+33) +#define HIDDEN_BUTTON_TRANSIT_TIME 0.35 +#define CLOCK_INDICATOR_W 65 +#define CLOCK_INDICATOR_H 65 +#define CLOCK_INDICATOR_ICON_W 60 +#define CLOCK_INDICATOR_ICON_H 60 + +images { + image: "b_home_screen_clock_arrow_big.png" COMP; + image: "b_home_screen_clock_arrow_big_ef.png" COMP; + image: "Arrow_S_00015.png" COMP; + image: "Arrow_S_00016.png" COMP; + image: "Arrow_S_00017.png" COMP; + image: "Arrow_S_00018.png" COMP; + image: "Arrow_S_00019.png" COMP; + image: "Arrow_S_00020.png" COMP; + image: "Arrow_S_00021.png" COMP; + image: "Arrow_S_00022.png" COMP; + image: "Arrow_S_00023.png" COMP; + image: "Arrow_S_00024.png" COMP; + image: "Arrow_S_00025.png" COMP; + image: "Arrow_S_00026.png" COMP; + image: "Arrow_S_00027.png" COMP; + image: "Arrow_S_00028.png" COMP; + image: "Arrow_S_00029.png" COMP; + image: "Arrow_S_00030.png" COMP; + image: "Arrow_S_00031.png" COMP; + image: "Arrow_S_00032.png" COMP; + image: "Arrow_S_00033.png" COMP; + image: "B3_Data.png" COMP; + image: "do_not_ic_disturb.png" COMP; + image: "b_home_screen_block_btn_bg.png" COMP; + image: "b_home_screen_block_btn_line.png" COMP; + image: "b_home_screen_block_text_btn_bg.#.png" COMP; + image: "b_home_screen_block_text_btn_line.#.png" COMP; + image: "b_home_screen_block_btn_ic.png" COMP; + image: "b_home_screen_network_auto.png" COMP; + image: "b_home_screen_network_off.png" COMP; + image: "b_home_screen_network_on.png" COMP; +} + +collections { + + styles { + style { + name: "text,1,normal"; + base: "font=Tizen text_class=AT041 font_size=32 align=center color=#FFFFFF color_class=AT044 wrap=mixed"; # ellipsis=1.0 + } + style { + name: "text,1,pressed"; + base: "font=Tizen text_class=AT041S font_size=32 align=center color=#FFFFFF color_class=AT044P wrap=mixed"; # ellipsis=1.0 + } + style { + name: "name_style"; + base: "font=TIZEN:style=Regular text_class=tizen font_size="28" align=center color=#FFFFFF color_class=AT043 ellipsis=1 wrap=mixed"; + } + style { + name: "name_style_pressed"; + base: "font=TIZEN:style=Regular text_class=tizen font_size="28" align=center color=#FFFFFF color_class=AT043P ellipsis=1 wrap=mixed"; + } + } + group { + name: "clock_page"; + parts { + part { + name: "clock_bg"; + type: SWALLOW; + scale: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; } + rel2 { relative: 1.0 1.0; } + visible: 1; + } + } + part { + name: "item"; + type: SWALLOW; + scale: 1; + mouse_events: 1; + repeat_events: 0; + description { + state: "default" 0.0; + rel1 { relative: 0.5 0.5; to: "clock_bg";} + rel2 { relative: 0.5 0.5; to: "clock_bg";} + fixed: 1 1; + visible: 1; + align: 0.5 0.5; + } + } + part { + name: "hidden_region"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to: "clock_bg";} + rel2 { relative: 1.0 0.0; to: "clock_bg";} + min: 0 HIDDEN_AREA_H; + fixed: 1 1; + align: 0.0 1.0; + } + description { + state: "show" 0.0; + inherit: "default" 0.0; + min: 0 HIDDEN_AREA_H; + max: -1 HIDDEN_AREA_H; + rel1 { relative: 0.0 0.0; to: "clock_bg";} + rel2 { relative: 1.0 0.0; to: "clock_bg";} + align: 0.0 0.0; + } + description { + state: "show.short" 0.0; + inherit: "default" 0.0; + min: 0 HIDDEN_AREA_H; + max: -1 HIDDEN_AREA_H; + rel1 { relative: 0.0 0.0; to: "clock_bg"; offset: 0 -99;} + rel2 { relative: 1.0 0.0; to: "clock_bg";} + align: 0.0 0.0; + } + } + part { + name: "bottom_cue"; + type: SWALLOW; + scale: 1; + mouse_events: 0; + ignore_flags: ON_HOLD; + description { + state: "default" 0.0; + min: 75 75; + max: 75 75; + rel1 { relative: 0.5 1.0; to: "clock_bg"; } + rel2 { relative: 0.5 1.0; to: "clock_bg"; } + fixed: 1 1; + visible: 1; + align: 0.5 1.0; + } + } + part { + name: "bottom_cue_button_bg"; + type: IMAGE; + scale: 1; + mouse_events: 0; + description { + state: "default" 0.0; + min: 106 53; + max: 106 53; + rel1 { relative: 0.5 1.0; to: "clock_bg"; offset: 0 -19;} + rel2 { relative: 0.5 1.0; to: "clock_bg"; offset: 0 -19;} + image { + normal: "b_home_screen_clock_arrow_big_ef.png"; + } + color_class: "AO064"; + fixed: 1 1; + visible: 0; + align: 0.5 1.0; + } + description { + state: "enabled" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { + name: "bottom_cue_button"; + type: IMAGE; + scale: 1; + mouse_events: 0; + description { + state: "default" 0.0; + min: 106 53; + max: 106 53; + rel1 { relative: 0.5 1.0; to: "clock_bg"; offset: 0 -19;} + rel2 { relative: 0.5 1.0; to: "clock_bg"; offset: 0 -19;} + image { + normal: "b_home_screen_clock_arrow_big.png"; + } + color_class: "AO014"; + fixed: 1 1; + visible: 0; + align: 0.5 1.0; + } + description { + state: "enabled" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { + name: "focus"; + type: SWALLOW; + scale: 1; + mouse_events: 1; + repeat_events: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to: "clock_bg"; } + rel2 { relative: 1.0 1.0; to: "clock_bg"; } + align: 0.0 0.0; + visible: 0; + } + description { + state: "enabled" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { + name: "shortcut"; + type: SWALLOW; + scale: 1; + mouse_events: 1; + repeat_events: 0; + ignore_flags: ON_HOLD; + description { + state: "default" 0.0; + min: CLOCK_SHORTCUT_AREA_W CLOCK_SHORTCUT_AREA_W; + max: CLOCK_SHORTCUT_AREA_W CLOCK_SHORTCUT_AREA_W; + rel1 { relative: 1.0 0.0; to: "clock_bg"; } + rel2 { relative: 1.0 0.0; to: "clock_bg"; } + fixed: 1 1; + visible: 1; + align: 1.0 0.0; + } + } + part { + name: "indicator.1"; + type: SWALLOW; + scale: 1; + mouse_events: 1; + repeat_events: 0; + ignore_flags: ON_HOLD; + description { + state: "default" 0.0; + min: CLOCK_INDICATOR_W CLOCK_INDICATOR_H; + max: CLOCK_INDICATOR_W CLOCK_INDICATOR_H; + rel1 { relative: 0.0 0.0; to: "clock_bg"; } + rel2 { relative: 0.0 0.0; to: "clock_bg"; } + fixed: 1 1; + visible: 1; + align: 0.0 0.0; + } + } + part { + name: "indicator.2"; + type: SWALLOW; + scale: 1; + mouse_events: 1; + repeat_events: 0; + ignore_flags: ON_HOLD; + description { + state: "default" 0.0; + min: CLOCK_INDICATOR_W CLOCK_INDICATOR_H; + max: CLOCK_INDICATOR_W CLOCK_INDICATOR_H; + rel1 { relative: 1.0 0.0; to_x: "indicator.1"; to_y: "clock_bg"; } + rel2 { relative: 1.0 0.0; to_x: "indicator.1"; to_y: "clock_bg"; } + fixed: 1 1; + visible: 1; + align: 0.0 0.0; + } + } + part { + name: "hidden_item"; + type: SWALLOW; + scale: 1; + mouse_events: 1; + repeat_events: 0; + ignore_flags: ON_HOLD; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to: "hidden_region"; } + rel2 { relative: 1.0 1.0; to: "hidden_region"; } + fixed: 1 1; + visible: 1; + align: 0.0 0.0; + } + } + part { + name: "focus.bottom.cue"; + type: SWALLOW; + scale: 1; + mouse_events: 1; + repeat_events: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to: "bottom_cue_button"; } + rel2 { relative: 1.0 1.0; to: "bottom_cue_button"; } + align: 0.0 0.0; + visible: 0; + } + description { + state: "enabled" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { + name: "event_blocker"; + type: SWALLOW; + scale: 1; + mouse_events: 1; + repeat_events: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.5 0.5; to: "clock_bg"; } + rel2 { relative: 0.5 0.5; to: "clock_bg"; } + fixed: 1 1; + visible: 1; + align: 0.5 0.5; + } + } + + programs { + program { + signal: "hidden.show"; + source: "clock_bg"; + action: STATE_SET "show" 0.0; + target: "hidden_region"; + transition: SIN_FAC HIDDEN_BUTTON_TRANSIT_TIME 1.7; + after: "hidden.show,after"; + } + program { + signal: "hidden.show.short"; + source: "clock_bg"; + action: STATE_SET "show.short" 0.0; + target: "hidden_region"; + transition: SIN_FAC HIDDEN_BUTTON_TRANSIT_TIME 1.7; + after: "hidden.show,after"; + } + program { + name: "hidden.show,after"; + source: "clock_bg"; + action: SIGNAL_EMIT "drawer,displayed" "clock_bg"; + } + program { + signal: "hidden.hide"; + source: "clock_bg"; + action: STATE_SET "default" 0.0; + target: "hidden_region"; + transition: DECELERATE 0.2; + transition: SIN_FAC HIDDEN_BUTTON_TRANSIT_TIME 1.7; + after: "hidden.hide,after"; + } + program { + name: "hidden.hide,after"; + source: "clock_bg"; + action: SIGNAL_EMIT "drawer,hided" "clock_bg"; + } + program { + signal: "screenreader,on"; + source: "clock_bg"; + action: STATE_SET "enabled" 0.0; + target: "focus"; + } + program { + signal: "screenreader,off"; + source: "clock_bg"; + action: STATE_SET "default" 0.0; + target: "focus"; + } + program { + signal: "screenreader,apps,on"; + source: "clock_bg"; + action: STATE_SET "enabled" 0.0; + target: "focus.bottom.cue"; + target: "bottom_cue_button"; + } + program { + signal: "screenreader,apps,off"; + source: "clock_bg"; + action: STATE_SET "default" 0.0; + target: "focus.bottom.cue"; + target: "bottom_cue_button"; + } + } + } + } // end of group + + group { + name: "blockingmode"; + parts { + part { + name: "bg"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 1.0; + color_class: "AO053"; + fixed: 1 1; + visible: 1; + } + } + part { + name: "pad.top"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: 0 53; + rel1 { relative: 0.0 0.0; to: "bg"; } + rel2 { relative: 1.0 0.0; to: "bg"; } + align: 0.0 0.0; + fixed: 1 1; + } + } + part { + name: "line.1"; + type: RECT; + scale: 1; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { relative: 0.0 1.0; to: "pad.top"; } + rel2 { relative: 1.0 1.0; to: "pad.top"; } + min: 0 1; + max: -1 1; + fixed: 1 1; + align: 0.0 1.0; + color_class: "AO057"; + } + } + part { + name: "area.content"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.0 1.0; to_x: "bg"; to_y: "pad.top"; } + rel2 { relative: 1.0 1.0; to_x: "bg"; to_y: "bg"; } + align: 0.0 0.0; + fixed: 1 1; + } + } + part { + name: "area.button.1"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: 0 99; + max: -1 99; + rel1 { relative: 0.0 0.0; to_x:"area.content"; to_y:"area.content";} + rel2 { relative: 1.0 0.0; to_x:"area.content"; to_y:"area.content";} + align: 0.0 0.0; + fixed: 1 1; + } + } + part { + name: "line.2"; + type: RECT; + scale: 1; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { relative: 0.0 1.0; to: "area.button.1"; } + rel2 { relative: 1.0 1.0; to: "area.button.1"; } + min: 0 1; + max: -1 1; + fixed: 1 1; + align: 0.0 1.0; + color_class: "AO057"; + } + } + part { + name: "line.3"; + type: RECT; + scale: 1; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { relative: 0.0 1.0; to: "bg"; } + rel2 { relative: 1.0 1.0; to: "bg"; } + min: 0 2; + max: -1 2; + fixed: 1 1; + align: 0.0 1.0; + color_class: "AO0531"; + } + } + part { + name: "area.button.2"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: 0 100; + max: -1 100; + rel1 { relative: 0.0 1.0; to_x:"area.content"; to_y: "line.2";} + rel2 { relative: 1.0 1.0; to_x:"area.content"; to_y: "line.2";} + align: 0.0 0.0; + fixed: 1 1; + } + } + part { + name: "button.1"; + type: SWALLOW; + scale: 1; + mouse_events: 1; + repeat_events: 0; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to: "area.button.1";} + rel2 { relative: 1.0 1.0; to: "area.button.1";} + fixed: 1 1; + visible: 1; + align: 0.0 0.0; + } + description { + state: "hide" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { + name: "button.2"; + type: SWALLOW; + scale: 1; + mouse_events: 1; + repeat_events: 0; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to: "area.button.2";} + rel2 { relative: 1.0 1.0; to: "area.button.2";} + fixed: 1 1; + visible: 1; + align: 0.0 0.0; + } + description { + state: "hide" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + } + programs { + program { + signal: "button.1.show"; + source: "prog"; + script { + set_state(PART:"button.1", "default", 0.0); + } + } + program { + signal: "button.1.hide"; + source: "prog"; + script { + set_state(PART:"button.1", "hide", 0.0); + } + } + program { + signal: "button.2.hide"; + source: "prog"; + script { + set_state(PART:"button.2", "hide", 0.0); + } + } + } + } // end of group + group { + styles { + style { + name: "dnd,title,normal"; + base: "font=Tizen text_class=AT044 font_size=32 align=center color=#FFFFFF color_class=AT056 wrap=mixed"; # ellipsis=1.0 + } + style { + name: "dnd,title,pressed"; + base: "font=Tizen text_class=AT044 font_size=32 align=center color=#FFFFFF color_class=AT056P wrap=mixed"; # ellipsis=1.0 + } + style { + name: "dnd,title,enabled"; + base: "font=Tizen text_class=AT044 font_size=32 align=center color=#FFFFFF color_class=AT055 wrap=mixed"; # ellipsis=1.0 + } + style { + name: "dnd,title,enabled,pressed"; + base: "font=Tizen text_class=AT044 font_size=32 align=center color=#FFFFFF color_class=AT055P wrap=mixed"; # ellipsis=1.0 + } + } + name: "hidden_item_blocking_mode"; + parts { + part { + name: "bg"; + type: SPACER; + scale: 1; + mouse_events: 0; + description { + state: "default" 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 1.0; + min: 0 100; + max: -1 100; + fixed: 1 1; + } + } + part { + name: "pad.top"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: 0 16; + rel1 { relative: 0.0 0.0; to: "bg"; } + rel2 { relative: 1.0 0.0; to: "bg"; } + align: 0.0 0.0; + fixed: 1 1; + } + } + part { + name: "pad.left"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: 14 0; + fixed: 1 1; + rel1 { relative: 0.0 0.0; to: "bg"; } + rel2 { relative: 0.0 1.0; to: "bg"; } + align: 0.0 0.0; + } + } + part { + name: "pad.right"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: 14 0; + fixed: 1 1; + rel1 { relative: 1.0 0.0; to: "bg"; } + rel2 { relative: 1.0 1.0; to: "bg"; } + align: 1.0 0.0; + } + } + part { + name: "area.icon"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: 332 69; + max: 332 69; + fixed: 1 1; + rel1 { relative: 1.0 1.0; to_x:"pad.left"; to_y: "pad.top";} + rel2 { relative: 0.0 1.0; to_x:"pad.right"; to_y: "pad.top";} + align: 0.0 0.0; + } + } + part { + name: "icon.bg"; + type: IMAGE; + scale: 1; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { to: "area.icon"; } + rel2 { to: "area.icon"; } + image { + normal: "b_home_screen_block_text_btn_bg.#.png"; + } + color_class: "AO084L1"; + fixed: 1 1; + visible: 1; + } + description { + state: "pressed" 0.0; + inherit: "default" 0.0; + color_class: "AO084L1P"; + } + description { + state: "enabled" 0.0; + inherit: "default" 0.0; + color_class: "AO083L1"; + } + description { + state: "enabled_pressed" 0.0; + inherit: "default" 0.0; + color_class: "AO083L1P"; + } + } + part { + name: "icon"; + type: IMAGE; + scale: 1; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { to: "area.icon"; } + rel2 { to: "area.icon"; } + image { + normal: "b_home_screen_block_text_btn_line.#.png"; + } + color_class: "AO084L2"; + fixed: 1 1; + visible: 1; + } + description { + state: "pressed" 0.0; + inherit: "default" 0.0; + color_class: "AO084L2P"; + } + description { + state: "enabled" 0.0; + inherit: "default" 0.0; + color_class: "AO083L2"; + } + description { + state: "enabled_pressed" 0.0; + inherit: "default" 0.0; + color_class: "AO083L2P"; + } + } + part { + name: "name"; + type: TEXTBLOCK; + scale: 1; + multiline: 1; + description { + state: "default" 0.0; + min: 300 38; + max: 300 38; + fixed: 1 1; + rel1 { relative: 0.5 0.5; to:"icon";} + rel2 { relative: 0.5 0.5; to:"icon";} + text { + style: "dnd,title,normal"; + align: 0.5 0.5; + } + visible: 1; + } + description { + state: "pressed" 0.0; + inherit: "default" 0.0; + text { style: "dnd,title,pressed"; } + visible: 1; + } + description { + state: "enabled" 0.0; + inherit: "default" 0.0; + text { style: "dnd,title,enabled"; } + visible: 1; + } + description { + state: "enabled_pressed" 0.0; + inherit: "default" 0.0; + text { style: "dnd,title,enabled,pressed"; } + visible: 1; + } + } + part { + name: "focus"; + type: SWALLOW; + scale: 1; + mouse_events: 1; + repeat_events: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to: "bg"; } + rel2 { relative: 1.0 1.0; to: "bg"; } + color: 0 0 0 0; + visible: 1; + } + } + } + programs { + script { + public g_icon_enabled; + public g_is_graytone; + } + program { + signal: "gray,enable"; + source: "prog"; + script { + set_int(g_is_graytone, 1); + } + } + program { + signal: "gray,disable"; + source: "prog"; + script { + set_int(g_is_graytone, 0); + } + } + program { + signal: "icon,enable"; + source: "prog"; + script { + set_int(g_icon_enabled, 1); + set_state(PART:"icon.bg", "enabled", 0.0); + set_state(PART:"icon", "enabled", 0.0); + set_state(PART:"name", "enabled", 0.0); + } + } + program { + signal: "icon,disable"; + source: "prog"; + script { + set_int(g_icon_enabled, 0); + set_state(PART:"icon.bg", "default", 0.0); + set_state(PART:"icon", "default", 0.0); + set_state(PART:"name", "default", 0.0); + } + } + program { + signal: "mouse,down,1"; + source: "focus"; + script { + if (get_int(g_icon_enabled) == 1) { + if (get_int(g_is_graytone) == 1) { + set_state(PART:"icon.bg", "enabled_pressed", 0.0); + set_state(PART:"icon", "enabled_pressed", 0.0); + set_state(PART:"name", "enabled_pressed", 0.0); + } else { + set_state(PART:"icon.bg", "enabled_pressed", 0.0); + set_state(PART:"icon", "enabled_pressed", 0.0); + set_state(PART:"name", "enabled_pressed", 0.0); + } + } else { + if (get_int(g_is_graytone) == 1) { + set_state(PART:"icon.bg", "pressed", 0.0); + set_state(PART:"icon", "pressed", 0.0); + set_state(PART:"name", "pressed", 0.0); + } else { + set_state(PART:"icon.bg", "pressed", 0.0); + set_state(PART:"icon", "pressed", 0.0); + set_state(PART:"name", "pressed", 0.0); + } + } + } + } + program { + signal: "mouse,up,1"; + source: "focus"; + script { + if (get_int(g_is_graytone) == 1) { + if (get_int(g_icon_enabled) == 1) { + set_state(PART:"icon.bg", "enabled", 0.0); + set_state(PART:"icon", "enabled", 0.0); + set_state(PART:"name", "enabled", 0.0); + } else { + set_state(PART:"icon.bg", "default", 0.0); + set_state(PART:"icon", "default", 0.0); + set_state(PART:"name", "default", 0.0); + } + } else { + if (get_int(g_icon_enabled) == 1) { + set_state(PART:"icon.bg", "enabled", 0.0); + set_state(PART:"icon", "enabled", 0.0); + set_state(PART:"name", "enabled", 0.0); + } else { + set_state(PART:"icon.bg", "default", 0.0); + set_state(PART:"icon", "default", 0.0); + set_state(PART:"name", "default", 0.0); + } + } + } + } + program { + signal: "mouse,out"; + source: "focus"; + script { + if (get_int(g_is_graytone) == 1) { + if (get_int(g_icon_enabled) == 1) { + set_state(PART:"icon.bg", "enabled", 0.0); + set_state(PART:"icon", "enabled", 0.0); + set_state(PART:"name", "enabled", 0.0); + } else { + set_state(PART:"icon.bg", "default", 0.0); + set_state(PART:"icon", "default", 0.0); + set_state(PART:"name", "default", 0.0); + } + } else { + if (get_int(g_icon_enabled) == 1) { + set_state(PART:"icon.bg", "enabled", 0.0); + set_state(PART:"icon", "enabled", 0.0); + set_state(PART:"name", "enabled", 0.0); + } else { + set_state(PART:"icon.bg", "default", 0.0); + set_state(PART:"icon", "default", 0.0); + set_state(PART:"name", "default", 0.0); + } + } + } + } + } + } + + group { + name: "bottom_cue"; + parts { + part { + name: "bg"; + type: SPACER; + scale: 1; + mouse_events: 0; + description { + state: "default" 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 1.0; + fixed: 1 1; + } + } + part { + name: "cue_clip"; + type: RECT; + scale: 1; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to, "bg"; } + rel2 { relative: 1.0 1.0; to, "bg"; } + align: 0.0 0.0; + color: 0 0 0 0; + visible: 1; + } + description { + state: "show" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + } + } + part { + name: "cue"; + type: IMAGE; + scale: 1; + mouse_events: 0; + clip_to: "cue_clip"; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to, "bg"; } + rel2 { relative: 1.0 1.0; to, "bg"; } + image { + normal: "Arrow_S_00033.png"; + } + fixed: 1 1; + visible: 0; + } + description { + state: "idle" 0.0; + inherit: "default" 0.0; + visible: 0; + } + description { + state: "work" 0.0; + inherit: "default" 0.0; + image { + normal: "Arrow_S_00033.png"; + tween: "Arrow_S_00015.png"; + tween: "Arrow_S_00016.png"; + tween: "Arrow_S_00017.png"; + tween: "Arrow_S_00018.png"; + tween: "Arrow_S_00019.png"; + tween: "Arrow_S_00020.png"; + tween: "Arrow_S_00021.png"; + tween: "Arrow_S_00022.png"; + tween: "Arrow_S_00023.png"; + tween: "Arrow_S_00024.png"; + tween: "Arrow_S_00025.png"; + tween: "Arrow_S_00026.png"; + tween: "Arrow_S_00027.png"; + tween: "Arrow_S_00028.png"; + tween: "Arrow_S_00029.png"; + tween: "Arrow_S_00030.png"; + tween: "Arrow_S_00031.png"; + tween: "Arrow_S_00032.png"; + tween: "Arrow_S_00033.png"; + } + visible: 1; + } + } + } + + programs { + script { + public g_is_enabled; + public g_anim_count; + } + program{ + name: "cue,enable"; + in: 1.0 0.0; + signal: "cue,enable"; + source: "prog"; + script { + if (get_int(g_is_enabled) == 0) { + set_int(g_is_enabled, 1); + set_int(g_anim_count, 0); + + stop_programs_on(PART:"cue"); + + run_program(PROGRAM:"anim,cue,fadeout"); + run_program(PROGRAM:"anim,cue,image"); + } else { + set_int(g_anim_count, 0); + } + } + } + program{ + name: "cue,disable"; + signal: "cue,disable"; + source: "prog"; + script { + set_int(g_is_enabled, 0); + set_int(g_anim_count, 0); + + stop_programs_on(PART:"cue"); + + run_program(PROGRAM:"anim,cue,fadein"); + } + } + program { + name: "anim,cue,fadeout"; + signal: "anim,cue,fadeout"; + action: STATE_SET "show" 0.0; + target: "cue_clip"; + } + program { + name: "anim,cue,fadein"; + signal: "anim,cue,fadein"; + action: STATE_SET "default" 0.0; + target: "cue_clip"; + } + program { + name: "anim,cue,image"; + action: STATE_SET "work" 0.0; + target: "cue"; + transition: DECELERATE 1.3; + after: "anim,cue,image,idle"; + } + program { + name: "anim,cue,image,idle"; + action: STATE_SET "idle" 0.0; + target: "cue"; + after: "anim,cue,image,restart"; + } + program { + name: "anim,cue,image,restart"; + in: 0.5 0.0; + script { + set_int(g_anim_count, get_int(g_anim_count) + 1); + + if (get_int(g_is_enabled) == 1) { + run_program(PROGRAM:"anim,cue,image"); + } + if (get_int(g_anim_count) >= 1) { + run_program(PROGRAM:"cue,disable"); + } + } + } + } + } // end of group + group { + name: "modem_off_icon"; + parts { + part { + name: "bg"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 1.0; + } + } + part { + name: "icon"; + type: IMAGE; + scale: 1; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { relative: 0.5 0.5; to: "bg"; } + rel2 { relative: 0.5 0.5; to: "bg"; } + image { + normal: "B3_Data.png"; + } + //color_class: "AO013L2"; + color: 255 255 255 255; + min: CLOCK_INDICATOR_ICON_W CLOCK_INDICATOR_ICON_H; + max: CLOCK_INDICATOR_ICON_W CLOCK_INDICATOR_ICON_H; + align: 0.5 0.5; + fixed: 1 1; + visible: 1; + } + } + part { + name: "focus"; + type: SWALLOW; + scale: 1; + mouse_events: 1; + repeat_events: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to: "bg"; } + rel2 { relative: 1.0 1.0; to: "bg"; } + align: 0.0 0.0; + visible: 1; + } + } + } + } + group { + name: "dnd_icon"; + parts { + part { + name: "bg"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 1.0; + } + } + part { + name: "icon"; + type: IMAGE; + scale: 1; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { relative: 0.5 0.5; to: "bg"; } + rel2 { relative: 0.5 0.5; to: "bg"; } + image { + normal: "do_not_ic_disturb.png"; + } + min: CLOCK_INDICATOR_W CLOCK_INDICATOR_H; + max: CLOCK_INDICATOR_W CLOCK_INDICATOR_H; + align: 0.5 0.5; + fixed: 1 1; + visible: 1; + } + } + part { + name: "focus"; + type: SWALLOW; + scale: 1; + mouse_events: 1; + repeat_events: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to: "bg"; } + rel2 { relative: 1.0 1.0; to: "bg"; } + align: 0.0 0.0; + visible: 1; + } + } + } + } + group { + name: "item_1"; + parts { + part { + name: "bg"; + type: SPACER; + scale: 1; + mouse_events: 0; + description { + state: "default" 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 1.0; + min: HIDDEN_QUICKBUTTON_W HIDDEN_QUICKBUTTON_H; + max: HIDDEN_QUICKBUTTON_W HIDDEN_QUICKBUTTON_H; + fixed: 1 1; + } + } + part { + name : "color_clip_icon"; + type : RECT; + scale: 1; + mouse_events: 0; + description { + state: "default" 0.0; + fixed: 1 1; + rel1 { + to: "icon"; + } + rel2 { + to: "icon"; + } + align: 0.5 0.5; + color_class: "AO056L4"; + } + description { + state: "off" 0.0; + inherit: "default" 0.0; + } + description { + state: "off_p" 0.0; + inherit: "default" 0.0; + color_class: "AO056L4P"; + } + description { + state: "on" 0.0; + inherit: "default" 0.0; + color_class: "AO056L3"; + } + description { + state: "on_p" 0.0; + inherit: "default" 0.0; + color_class: "AO056L3P"; + } + description { + state: "e_off" 0.0; + inherit: "default" 0.0; + color_class: "AO056L4"; + } + description { + state: "e_off_p" 0.0; + inherit: "default" 0.0; + color_class: "AO056L4P"; + } + description { + state: "e_on" 0.0; + inherit: "default" 0.0; + color_class: "AO056L5"; + } + description { + state: "e_on_p" 0.0; + inherit: "default" 0.0; + color_class: "AO056L5P"; + } + } + part { + name: "icon_bg_1"; + type: IMAGE; + scale: 1; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { relative: 0.5 0.0; to: "bg"; } + rel2 { relative: 0.5 0.0; to: "bg"; } + image { + normal: "b_home_screen_block_btn_bg.png"; + } + min: 90 90; + align: 0.5 0.0; + fixed: 1 1; + visible: 1; + color_class: "AO056L1"; + } + description { + state: "pressed" 0.0; + inherit: "default" 0.0; + color_class: "AO056L1P"; + } + } + part { + name: "icon_bg_2"; + type: IMAGE; + scale: 1; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { relative: 0.5 0.0; to: "bg"; } + rel2 { relative: 0.5 0.0; to: "bg"; } + image { + normal: "b_home_screen_block_btn_line.png"; + } + min: 90 90; + align: 0.5 0.0; + fixed: 1 1; + visible: 1; + color_class: "AO056L2"; + } + description { + state: "pressed" 0.0; + inherit: "default" 0.0; + color_class: "AO056L1P"; + } + } + part { + name: "icon"; + type: IMAGE; + scale: 1; + clip_to: "color_clip_icon"; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { relative: 0.5 0.0; to: "bg"; } + rel2 { relative: 0.5 0.0; to: "bg"; } + image { + normal: "b_home_screen_block_btn_ic.png"; + } + min: 90 90; + align: 0.5 0.0; + fixed: 1 1; + visible: 1; + } + } + part { + name: "name"; + type: TEXTBLOCK; + scale: 1; + mouse_events: 0; + description { + state: "default" 0.0; + min: HIDDEN_QUICKBUTTON_W 70; + max: HIDDEN_QUICKBUTTON_W 70; + rel1 { relative: 0.0 1.0; to_x: "bg"; to_y: "icon"; offset: 0 7; } + rel2 { relative: 1.0 1.0; to: "bg"; } + text { + style: "name_style"; + align: 0.5 0.5; + } + visible: 1; + } + description { + state: "pressed" 0.0; + inherit: "default" 0.0; + text { + style: "name_style_pressed"; + align: 0.5 0.5; + } + } + } + part { + name: "focus"; + type: SWALLOW; + scale: 1; + mouse_events: 1; + repeat_events: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to: "bg"; } + rel2 { relative: 1.0 1.0; to: "bg"; } + color: 0 0 0 0; + visible: 1; + } + } + } + programs { + script { + public g_icon_enabled; + public g_is_graytone; + } + program { + signal: "gray,enable"; + source: "prog"; + script { + set_int(g_is_graytone, 1); + if (get_int(g_icon_enabled) == 1) { + set_state(PART:"color_clip_icon", "e_on", 0.0); + } else { + set_state(PART:"color_clip_icon", "e_off", 0.0); + } + } + } + program { + signal: "gray,disable"; + source: "prog"; + script { + set_int(g_is_graytone, 0); + if (get_int(g_icon_enabled) == 1) { + set_state(PART:"color_clip_icon", "on", 0.0); + } else { + set_state(PART:"color_clip_icon", "off", 0.0); + } + } + } + program { + signal: "icon,enable"; + source: "prog"; + script { + set_int(g_icon_enabled, 1); + set_state(PART:"color_clip_icon", "on", 0.0); + } + } + program { + signal: "icon,disable"; + source: "prog"; + script { + set_int(g_icon_enabled, 0); + set_state(PART:"color_clip_icon", "off", 0.0); + } + } + program { + signal: "mouse,down,1"; + source: "focus"; + script { + set_state(PART:"name", "pressed", 0.0); + set_state(PART:"icon_bg_1", "pressed", 0.0); + set_state(PART:"icon_bg_2", "pressed", 0.0); + if (get_int(g_icon_enabled) == 1) { + if (get_int(g_is_graytone) == 1) { + set_state(PART:"icon_bg_2", "e_on_p", 0.0); + } else { + set_state(PART:"icon_bg_2", "on_p", 0.0); + } + } else { + if (get_int(g_is_graytone) == 1) { + set_state(PART:"icon_bg_2", "e_off_p", 0.0); + } else { + set_state(PART:"icon_bg_2", "off_p", 0.0); + } + } + } + } + program { + signal: "mouse,up,1"; + source: "focus"; + script { + set_state(PART:"name", "default", 0.0); + set_state(PART:"icon_bg_1", "default", 0.0); + set_state(PART:"icon_bg_2", "default", 0.0); + if (get_int(g_icon_enabled) == 1) { + if (get_int(g_is_graytone) == 1) { + set_state(PART:"icon_bg_2", "e_on", 0.0); + } else { + set_state(PART:"icon_bg_2", "on", 0.0); + } + } else { + if (get_int(g_is_graytone) == 1) { + set_state(PART:"icon_bg_2", "e_off", 0.0); + } else { + set_state(PART:"icon_bg_2", "off", 0.0); + } + } + } + } + program { + signal: "mouse,out"; + source: "focus"; + script { + set_state(PART:"name", "default", 0.0); + set_state(PART:"icon_bg_1", "default", 0.0); + set_state(PART:"icon_bg_2", "default", 0.0); + if (get_int(g_icon_enabled) == 1) { + if (get_int(g_is_graytone) == 1) { + set_state(PART:"icon_bg_2", "e_on", 0.0); + } else { + set_state(PART:"icon_bg_2", "on", 0.0); + } + } else { + if (get_int(g_is_graytone) == 1) { + set_state(PART:"icon_bg_2", "e_off", 0.0); + } else { + set_state(PART:"icon_bg_2", "off", 0.0); + } + } + } + } + } + } + group { + name: "item_2"; + parts { + part { + name: "bg"; + type: SPACER; + scale: 1; + mouse_events: 0; + description { + state: "default" 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 1.0; + min: HIDDEN_QUICKBUTTON_W HIDDEN_QUICKBUTTON_H; + max: HIDDEN_QUICKBUTTON_W HIDDEN_QUICKBUTTON_H; + fixed: 1 1; + } + } + part { + name : "color_clip_icon"; + type : RECT; + scale: 1; + mouse_events: 0; + description { + state: "default" 0.0; + fixed: 1 1; + rel1 { + to: "icon"; + } + rel2 { + to: "icon"; + } + align: 0.5 0.5; + color_class: "AO056L4"; + } + description { + state: "off" 0.0; + inherit: "default" 0.0; + } + description { + state: "off_p" 0.0; + inherit: "default" 0.0; + color_class: "AO056L4P"; + } + description { + state: "on" 0.0; + inherit: "default" 0.0; + color_class: "AO056L3"; + } + description { + state: "on_p" 0.0; + inherit: "default" 0.0; + color_class: "AO056L3P"; + } + description { + state: "e_off" 0.0; + inherit: "default" 0.0; + color_class: "AO056L4"; + } + description { + state: "e_off_p" 0.0; + inherit: "default" 0.0; + color_class: "AO056L4P"; + } + description { + state: "e_on" 0.0; + inherit: "default" 0.0; + color_class: "AO056L5"; + } + description { + state: "e_on_p" 0.0; + inherit: "default" 0.0; + color_class: "AO056L5P"; + } + } + part { + name: "icon_bg_1"; + type: IMAGE; + scale: 1; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { relative: 0.5 0.0; to: "bg"; } + rel2 { relative: 0.5 0.0; to: "bg"; } + image { + normal: "b_home_screen_block_btn_bg.png"; + } + min: 90 90; + align: 0.5 0.0; + fixed: 1 1; + visible: 1; + color_class: "AO056L1"; + } + description { + state: "pressed" 0.0; + inherit: "default" 0.0; + color_class: "AO056L1P"; + } + } + part { + name: "icon_bg_2"; + type: IMAGE; + scale: 1; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { relative: 0.5 0.0; to: "bg"; } + rel2 { relative: 0.5 0.0; to: "bg"; } + image { + normal: "b_home_screen_block_btn_line.png"; + } + min: 90 90; + align: 0.5 0.0; + fixed: 1 1; + visible: 1; + color_class: "AO056L2"; + } + description { + state: "pressed" 0.0; + inherit: "default" 0.0; + color_class: "AO056L1P"; + } + } + part { + name: "icon"; + type: IMAGE; + scale: 1; + clip_to: "color_clip_icon"; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { relative: 0.5 0.0; to: "bg"; } + rel2 { relative: 0.5 0.0; to: "bg"; } + image { + normal: "b_home_screen_network_off.png"; + } + min: 90 90; + align: 0.5 0.0; + fixed: 1 1; + visible: 1; + } + description { + state: "off" 0.0; + inherit: "default" 0.0; + image { + normal: "b_home_screen_network_off.png"; + } + } + description { + state: "on" 0.0; + inherit: "default" 0.0; + image { + normal: "b_home_screen_network_on.png"; + } + } + description { + state: "auto" 0.0; + inherit: "default" 0.0; + image { + normal: "b_home_screen_network_auto.png"; + } + } + } + part { + name: "name"; + type: TEXTBLOCK; + scale: 1; + mouse_events: 0; + description { + state: "default" 0.0; + min: HIDDEN_QUICKBUTTON_W 70; + max: HIDDEN_QUICKBUTTON_W 70; + rel1 { relative: 0.0 1.0; to_x: "bg"; to_y: "icon"; offset: 0 7; } + rel2 { relative: 1.0 1.0; to: "bg"; } + text { + style: "name_style"; + align: 0.5 0.5; + } + visible: 1; + } + description { + state: "pressed" 0.0; + inherit: "default" 0.0; + text { + style: "name_style_pressed"; + align: 0.5 0.5; + } + } + } + part { + name: "focus"; + type: SWALLOW; + scale: 1; + mouse_events: 1; + repeat_events: 0; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to: "bg"; } + rel2 { relative: 1.0 1.0; to: "bg"; } + color: 0 0 0 0; + visible: 1; + } + } + } + programs { + script { + public g_icon_enabled; + public g_is_graytone; + } + program { + signal: "gray,enable"; + source: "prog"; + script { + set_int(g_is_graytone, 1); + if (get_int(g_icon_enabled) == 1) { + set_state(PART:"color_clip_icon", "e_on", 0.0); + } else { + set_state(PART:"color_clip_icon", "e_off", 0.0); + } + } + } + program { + signal: "gray,disable"; + source: "prog"; + script { + set_int(g_is_graytone, 0); + if (get_int(g_icon_enabled) == 1) { + set_state(PART:"color_clip_icon", "on", 0.0); + } else { + set_state(PART:"color_clip_icon", "off", 0.0); + } + } + } + program { + signal: "icon,enable"; + source: "prog"; + script { + set_int(g_icon_enabled, 1); + set_state(PART:"color_clip_icon", "on", 0.0); + } + } + program { + signal: "icon,disable"; + source: "prog"; + script { + set_int(g_icon_enabled, 0); + set_state(PART:"color_clip_icon", "off", 0.0); + } + } + program { + signal: "icon,set,off"; + source: "prog"; + script { + set_state(PART:"icon", "off", 0.0); + } + } + program { + signal: "icon,set,on"; + source: "prog"; + script { + set_state(PART:"icon", "on", 0.0); + } + } + program { + signal: "icon,set,auto"; + source: "prog"; + script { + set_state(PART:"icon", "auto", 0.0); + } + } + program { + signal: "mouse,down,1"; + source: "focus"; + script { + set_state(PART:"name", "pressed", 0.0); + set_state(PART:"icon_bg_1", "pressed", 0.0); + set_state(PART:"icon_bg_2", "pressed", 0.0); + if (get_int(g_icon_enabled) == 1) { + if (get_int(g_is_graytone) == 1) { + set_state(PART:"icon_bg_2", "e_on_p", 0.0); + } else { + set_state(PART:"icon_bg_2", "on_p", 0.0); + } + } else { + if (get_int(g_is_graytone) == 1) { + set_state(PART:"icon_bg_2", "e_off_p", 0.0); + } else { + set_state(PART:"icon_bg_2", "off_p", 0.0); + } + } + } + } + program { + signal: "mouse,up,1"; + source: "focus"; + script { + set_state(PART:"name", "default", 0.0); + set_state(PART:"icon_bg_1", "default", 0.0); + set_state(PART:"icon_bg_2", "default", 0.0); + if (get_int(g_icon_enabled) == 1) { + if (get_int(g_is_graytone) == 1) { + set_state(PART:"icon_bg_2", "e_on", 0.0); + } else { + set_state(PART:"icon_bg_2", "on", 0.0); + } + } else { + if (get_int(g_is_graytone) == 1) { + set_state(PART:"icon_bg_2", "e_off", 0.0); + } else { + set_state(PART:"icon_bg_2", "off", 0.0); + } + } + } + } + program { + signal: "mouse,out"; + source: "focus"; + script { + set_state(PART:"name", "default", 0.0); + set_state(PART:"icon_bg_1", "default", 0.0); + set_state(PART:"icon_bg_2", "default", 0.0); + if (get_int(g_icon_enabled) == 1) { + if (get_int(g_is_graytone) == 1) { + set_state(PART:"icon_bg_2", "e_on", 0.0); + } else { + set_state(PART:"icon_bg_2", "on", 0.0); + } + } else { + if (get_int(g_is_graytone) == 1) { + set_state(PART:"icon_bg_2", "e_off", 0.0); + } else { + set_state(PART:"icon_bg_2", "off", 0.0); + } + } + } + } + } + } +} // end of collection diff --git a/home/res/edje/circle/popup.edc b/home/res/edje/circle/popup.edc new file mode 100644 index 0000000..d3ae477 --- /dev/null +++ b/home/res/edje/circle/popup.edc @@ -0,0 +1,146 @@ +/* + * Samsung API + * Copyright (c) 2013 Samsung Electronics Co., Ltd. + * + * Licensed under the Flora License, Version 1.1 (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. + */ + +#include "conf.edc" +#include "../color_classes.edc" + + + +collections { + group { + name: "popup_checkview_internal"; + parts { + part { + name: "label"; + scale: 1; + type: SWALLOW; + description { + state: "default" 0.0; + fixed: 1 0; + rel1.relative: 1.0 0.15; + rel1.to_x: "left_pad"; + rel2 { + relative: 0.0 0.0; + to_x: "right_pad"; + to_y: "end_field"; + } + } + } + part { + name: "bottom_pad"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + align: 0.0 1.0; + min: 0 4; + fixed: 0 1; + rel1.relative: 0.0 1.0; + } + } + part { + name: "pad_b"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + align: 0.0 1.0; + min: 0 50; + fixed: 0 1; + rel1 { + relative: 0.0 0.0; + to: "bottom_pad"; + } + rel2 { + relative: 1.0 0.0; + to: "bottom_pad"; + } + } + } + part { + name: "left_pad"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + fixed: 1 0; + min: 50 0; + rel1 { + relative: 0.0 0.0; + } + rel2 { + relative: 0.0 1.0; + } + } + } + part { + name: "right_pad"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + fixed: 1 0; + min: 40 0; + rel1 { + relative: 1.0 0.0; + } + rel2 { + relative: 1.0 1.0; + } + } + } + part { + name: "end_field"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + align: 0.0 1.0; + min: 0 130; + max: 244 -1; + fixed: 0 1; + rel1 { + relative: 1.0 0.0; + to_x: "left_pad"; + to_y: "pad_b"; + } + rel2 { + relative: 0.0 0.0; + to_x: "right_pad"; + to_y: "pad_b"; + } + } + } + part { + name: "elm.swallow.end"; + type: SWALLOW; + scale: 1; + description { + state: "default" 0.0; + rel1.to: "end_field"; + rel2.to: "end_field"; + rel1 { + relative: 0.1 0.0; + } + rel2 { + relative: 1.0 1.0; + } + } + } + } + } //end group +} //end collections diff --git a/home/res/edje/circle/preview.edc b/home/res/edje/circle/preview.edc new file mode 100755 index 0000000..c08dc14 --- /dev/null +++ b/home/res/edje/circle/preview.edc @@ -0,0 +1,547 @@ +/* + * Samsung API + * Copyright (c) 2013 Samsung Electronics Co., Ltd. + * + * Licensed under the Flora License, Version 1.1 (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. + */ +#include "conf.edc" +#include "../color_classes.edc" + +styles { + style { + name: "preview,title"; + base: "font=Tizen text_class=AT0311 style=shadow shadow_color=#0000004C font_size=40 align=center color=#FFFFFF color_class=AT0311 wrap=word"; # ellipsis=1.0 + tag: "br" "\n"; + tag: "hilight" "+ font=Tizen:style=Bold"; + tag: "b" "+ font=Tizen:style=Bold"; + tag: "tag" "\t"; + } +} +styles { + style { + name: "preview,title,dim"; + base: "font=Tizen text_class=AT0312 style=shadow shadow_color=#0000004C font_size=40 align=center color=#FFFFFF color_class=AT0312 wrap=word"; # ellipsis=1.0 + tag: "br" "\n"; + tag: "hilight" "+ font=Tizen:style=Bold"; + tag: "b" "+ font=Tizen:style=Bold"; + tag: "tag" "\t"; + } +} + +styles { + style { + name: "preview,title,press"; + base: "font=Tizen text_class=AT0312 style=shadow shadow_color=#0000004C font_size=40 align=center color=#FFFFFF color_class=AT0312 wrap=word"; # ellipsis=1.0 + tag: "br" "\n"; + tag: "hilight" "+ font=Tizen:style=Bold"; + tag: "b" "+ font=Tizen:style=Bold"; + tag: "tag" "\t"; + } +} + +images { + image: "b_widget_favorite_bg.png" COMP; + image: "b_home_screen_widget_line.#.png" COMP; + image: "b_home_screen_widget_line_ef.png" COMP; + image: "b_home_screen_edit_cover.png" COMP; + image: "b_home_screen_edit_cover_ef.png" COMP; + image: "b_home_screen_widget_check.png" COMP; + image: "b_home_screen_widget_check_ef.png" COMP; +} + +#define HEIGHT (ADD_VIEWER_TEXT_HEIGHT + ADD_VIEWER_PAD + ADD_VIEWER_PREVIEW_HEIGHT) + +collections { + group { + name: "bg"; + parts { + part { + name: "bg_bottom"; + type: RECT; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; } + rel2 { relative: 1.0 1.0; } + color: 0 0 0 0; + } + } + part { + name: "bg"; + type: RECT; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; } + rel2 { relative: 1.0 1.0; } + color_class: "AO041"; + visible: 0; + } + } + part { + name: "empty"; + type: TEXT; + scale: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; } + rel2 { relative: 1.0 1.0; } + text { + text_class: "AT0132"; + align: 0.5 0.5; + ellipsis: 0.0; + min: 1 1; + } + visible: 1; + } + } + } + } + + /* Icon group */ + group { + name: "default,1x1"; + } + group { + name: "default,2x2"; + } + + /* Preview group */ + group { + name: "preview,1x1"; + } + group { + name: "preview,2x2"; + script { + public g_focus = 0; + } + parts { + part { + name: "entire,bg"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; } + rel2 { relative: 1.0 1.0; } + min: ADD_VIEWER_PREVIEW_WIDTH HEIGHT; + color: 0 0 0 0; + } + } + + part { + name: "title"; + type: TEXTBLOCK; + scale: 1; + multiline: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; } + rel2 { relative: 1.0 ADD_VIEWER_TEXT_HEIGHT/HEIGHT; } + text { + style: "preview,title"; + align: 0.5 1.0; + min: 0 1; + } + min: 0 ADD_VIEWER_TEXT_HEIGHT; + } + description { + state: "hide" 0.0; + inherit: "default" 0.0; + text { style: "preview,title,dim"; } + } + description { + state: "pressed" 0.0; + inherit: "default" 0.0; + text { style: "preview,title,press"; } + } + } + + part { + name: "pad"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.0 ADD_VIEWER_TEXT_HEIGHT/HEIGHT; } + rel2 { relative: 1.0 (ADD_VIEWER_TEXT_HEIGHT+ADD_VIEWER_PAD)/HEIGHT; } + min: 0 ADD_VIEWER_PAD; + } + } + + part { + name: "bg"; + type: SWALLOW; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to, "preview"; } + rel2 { relative: 1.0 1.0; to, "preview"; } + } + } + + part { + name: "gradient,bg"; + type: IMAGE; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to, "preview"; } + rel2 { relative: 1.0 1.0; to, "preview"; } + image { normal: "b_widget_favorite_bg.png"; } + color_class: "AO031"; + visible: 0; + } + description { + state: "show" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + + part { + name: "preview"; + type: SWALLOW; + scale: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.0 (ADD_VIEWER_TEXT_HEIGHT+ADD_VIEWER_PAD)/HEIGHT; } + rel2 { relative: 1.0 1.0; } + min: ADD_VIEWER_PREVIEW_WIDTH ADD_VIEWER_PREVIEW_HEIGHT; // 216, 288 + } + description { + state: "pressed" 0.0; + rel1 { relative: 5/ADD_VIEWER_PREVIEW_WIDTH (ADD_VIEWER_TEXT_HEIGHT+ADD_VIEWER_PAD+5)/HEIGHT; } + rel2 { relative: (ADD_VIEWER_PREVIEW_WIDTH-5)/ADD_VIEWER_PREVIEW_WIDTH (HEIGHT-5)/HEIGHT; } + min: (ADD_VIEWER_PREVIEW_WIDTH-10) (ADD_VIEWER_PREVIEW_HEIGHT-10); + } + } + part { + name: "check_ef"; + type: IMAGE; + description { + state: "default" 0.0; + rel1 { relative: (ADD_VIEWER_PREVIEW_WIDTH-54)/ADD_VIEWER_PREVIEW_WIDTH (ADD_VIEWER_TEXT_HEIGHT+ADD_VIEWER_PAD)/HEIGHT; } + rel2 { relative: 1.0 (ADD_VIEWER_TEXT_HEIGHT+ADD_VIEWER_PAD+54)/HEIGHT; } + image { + normal: "b_home_screen_widget_check_ef.png"; + } + color_class: "AO063"; + min: 54 54; + visible: 0; + } + description { + state: "show" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { + name: "check"; + type: IMAGE; + description { + state: "default" 0.0; + rel1 { relative: (ADD_VIEWER_PREVIEW_WIDTH-54)/ADD_VIEWER_PREVIEW_WIDTH (ADD_VIEWER_TEXT_HEIGHT+ADD_VIEWER_PAD)/HEIGHT; } + rel2 { relative: 1.0 (ADD_VIEWER_TEXT_HEIGHT+ADD_VIEWER_PAD+54)/HEIGHT; } + image { + normal: "b_home_screen_widget_check.png"; + } + color_class: "AO042"; + min: 54 54; + visible: 0; + } + description { + state: "show" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { + name: "cover_ef"; + type: IMAGE; + scale: 1; + mouse_events: 0; + description { + state: "default" 0.0; + rel1.to: "preview"; + rel2.to: "preview"; + image { + normal: "b_home_screen_edit_cover_ef.png"; + } + color_class: "AO065"; + fixed: 1 1; + min: ITEM_EDIT_EF_WIDTH ITEM_EDIT_EF_HEIGHT; + align: 0.5 0.5; + visible: 0; + } + description { + state: "hide" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { + name: "cover"; + type: IMAGE; + scale: 1; + mouse_events: 0; + description { + state: "default" 0.0; + rel1.to: "preview"; + rel2.to: "preview"; + image { + normal: "b_home_screen_edit_cover.png"; + } + color_class: "AO0482"; + min: ADD_VIEWER_PREVIEW_WIDTH ADD_VIEWER_PREVIEW_HEIGHT; + visible: 1; + } + description { + state: "pressed" 0.0; + inherit: "default" 0.0; + color_class: "AO0661"; + } + } + part { + name: "line_ef"; + type: IMAGE; + scale: 1; + mouse_events: 1; + clip_to: "line_clipper"; + description { + state: "default" 0.0; + rel1 { relative: 0.5 0.5; to: "preview"; } + rel2 { relative: 0.5 0.5; to: "preview"; } + image { + normal: "b_home_screen_widget_line_ef.png"; + } + color_class: "AO063"; + fixed: 1 1; + min: ITEM_EDIT_EF_WIDTH ITEM_EDIT_EF_HEIGHT; + align: 0.5 0.5; + visible: 1; + } + description { + state: "pressed" 0.0; + inherit: "default" 0.0; + color_class: "AO0663"; + } + } + part { + name: "line_clipper"; + type: RECT; + mouse_events: 0; + description { + state: "default" 0.0; + rel1.to: "line_ef"; + rel2.to: "line_ef"; + color: 255 255 255 255; + visible: 1; + } + description { + state: "hide" 0.0; + inherit: "default" 0.0; + color: 255 255 255 0; + } + } + part { + name: "line"; + type: IMAGE; + scale: 1; + mouse_events: 1; + clip_to: "line_clipper"; + description { + state: "default" 0.0; + rel1 { relative: 0.5 0.5; to: "preview"; } + rel2 { relative: 0.5 0.5; to: "preview"; } + image { + normal: "b_home_screen_widget_line.#.png"; + } + color_class: "AO043"; + min: ADD_VIEWER_PREVIEW_LINE_WIDTH ADD_VIEWER_PREVIEW_LINE_HEIGHT; + align: 0.5 0.5; + visible: 1; + } + description { + state: "pressed" 0.0; + inherit: "default" 0.0; + color_class: "AO0662"; + } + } + part { + name: "preview,dbg"; + type: RECT; + mouse_events: 1; + description { + state: "default" 0.0; + rel1 { to, "preview"; } + rel2 { to, "preview"; } + color: 0 0 0 0; + } + } + } // parts + + programs { + program { + name: "pressed"; + source: "preview,dbg"; + signal: "mouse,down,1"; + script { + if (get_int(g_focus) != 0) { + set_state(PART:"preview", "pressed", 0.0); + set_state(PART:"title", "pressed", 0.0); + set_state(PART:"cover", "pressed", 0.0); + set_state(PART:"line", "pressed", 0.0); + set_state(PART:"line_ef", "pressed", 0.0); + set_state(PART:"line_clipper", "default", 0.0); + set_state(PART:"cover_ef", "default", 0.0); + } else { + set_state(PART:"preview", "pressed", 0.0); + set_state(PART:"cover", "pressed", 0.0); + set_state(PART:"title", "hide", 0.0); + set_state(PART:"line", "pressed", 0.0); + set_state(PART:"line_ef", "pressed", 0.0); + set_state(PART:"line_clipper", "hide", 0.0); + set_state(PART:"cover_ef", "hide", 0.0); + } + } + } + program { + name: "released"; + source: "preview,dbg"; + signal: "mouse,up,1"; + script { + if (get_int(g_focus) != 0) { + set_state(PART:"preview", "default", 0.0); + set_state(PART:"title", "default", 0.0); + set_state(PART:"cover", "default", 0.0); + set_state(PART:"line", "default", 0.0); + set_state(PART:"line_ef", "default", 0.0); + set_state(PART:"line_clipper", "default", 0.0); + set_state(PART:"cover_ef", "default", 0.0); + } else { + set_state(PART:"preview", "default", 0.0); + set_state(PART:"cover", "default", 0.0); + set_state(PART:"line", "default", 0.0); + set_state(PART:"line_ef", "default", 0.0); + set_state(PART:"title", "hide", 0.0); + set_state(PART:"line_clipper", "hide", 0.0); + set_state(PART:"cover_ef", "hide", 0.0); + } + } + } + program { + name: "released,force"; + source: "preview,dbg"; + signal: "reset"; + action: STATE_SET "default" 0.0; + target: "preview"; + } + program { + name: "clicked"; + source: "preview,dbg"; + signal: "mouse,clicked,1"; + action: SIGNAL_EMIT "clicked" "preview"; + } + + program { + name: "enable,bg"; + source: "gradient,bg"; + signal: "enable"; + action: STATE_SET "show" 0.0; + target: "gradient,bg"; + } + program { + name: "disable,bg"; + source: "gradient,bg"; + signal: "disable"; + action: STATE_SET "default" 0.0; + target: "gradient,bg"; + } + program { + name: "show,line"; + signal: "show"; + source: "line"; + action: STATE_SET "default" 0.0; + target: "title"; + after: "show,after"; + } + program { + name: "show,after"; + script { + set_int(g_focus, 1); + } + after: "show,after,2"; + } + program { + name: "show,after,2"; + action: STATE_SET "default" 0.0; + target: "line_clipper"; + target: "cover_ef"; + transition: LINEAR 0.5; + } + program { + name: "hide,line"; + signal: "hide"; + source: "line"; + action: STATE_SET "hide" 0.0; + target: "title"; + after: "hide,after"; + } + program { + name: "hide,after"; + script { + set_int(g_focus, 0); + } + after: "hide,after,2"; + } + program { + name: "hide,after,2"; + action: STATE_SET "hide" 0.0; + target: "line_clipper"; + target: "cover_ef"; + transition: LINEAR 0.5; + } + program { + name: "hide,line,im"; + signal: "hide,im"; + source: "line"; + script { + set_int(g_focus, 0); + } + after: "hide,im,after"; + } + program { + name: "hide,im,after"; + action: STATE_SET "hide" 0.0; + target: "line_clipper"; + target: "title"; + target: "cover_ef"; + } + program { + name: "duplicated,mark,show"; + signal: "show"; + source: "duplicated"; + action: STATE_SET "show" 0.0; + target: "check_ef"; + target: "check"; + } + program { + name: "duplicated,mark,hide"; + signal: "hide"; + source: "duplicated"; + action: STATE_SET "default" 0.0; + target: "check_ef"; + target: "check"; + } + } // programs + } // group +} // collections + +/* End of a file */ diff --git a/home/res/edje/color_classes.edc b/home/res/edje/color_classes.edc new file mode 100644 index 0000000..bfa49c1 --- /dev/null +++ b/home/res/edje/color_classes.edc @@ -0,0 +1,683 @@ +/* + * Samsung API + * Copyright (c) 2013 Samsung Electronics Co., Ltd. + * + * Licensed under the Flora License, Version 1.1 (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. + */ + +color_classes { + color_class { + name: "AO0111"; + color: 0 0 0 102; + } + color_class { + name: "AO0112"; + color: 0 0 0 165; + } + color_class { + name: "AO0121L1"; + color: 21 191 52 255; + } + color_class { + name: "AO0121L1P"; + color: 21 191 52 127; + } + color_class { + name: "AO0121L2"; + color: 8 181 224 255; + } + color_class { + name: "AO0121L2P"; + color: 8 181 224 127; + } + color_class { + name: "AO0121L3"; + color: 23 144 237 255; + } + color_class { + name: "AO0121L3P"; + color: 23 144 237 127; + } + color_class { + name: "AO0121L4"; + color: 255 161 0 255; + } + color_class { + name: "AO0121L4P"; + color: 255 161 0 127; + } + color_class { + name: "AO0121L5"; + color: 255 114 0 255; + } + color_class { + name: "AO0121L5P"; + color: 255 114 0 127; + } + color_class { + name: "AO0121L6"; + color: 255 59 0 255; + } + color_class { + name: "AO0121L6P"; + color: 255 59 0 127; + } + color_class { + name: "AO0121L7"; + color: 160 91 239 255; + } + color_class { + name: "AO0121L7P"; + color: 160 91 239 127; + } + color_class { + name: "AO0121L8"; + color: 0 0 0 255; + } + color_class { + name: "AO0121L8P"; + color: 0 0 0 127; + } + color_class { + name: "AO0122L1"; + color: 255 255 255 255; + } + color_class { + name: "AO0122L2"; + color: 61 61 61 255; + } + color_class { + name: "AO0123L1"; + color: 51 51 51 255; + } + color_class { + name: "AO0123L2"; + color: 160 160 160 255; + } + color_class { + name: "AO013L1"; + color: 255 106 0 255; + } + color_class { + name: "AO013L2"; + color: 0 0 0 255; + } + color_class { + name: "AO014"; + color: 0 0 0 255; + } + color_class { + name: "AO14P"; + color: 0 0 0 127; + } + color_class { + name: "AO014P"; + color: 249 249 249 127; + } + color_class { + name: "AO0151"; + color: 0 0 0 102; + } + color_class { + name: "AO0151P"; + color: 0 0 0 165; + } + color_class { + name: "AO0151D"; + color: 0 0 0 51; + } + color_class { + name: "AO0152"; + color: 0 0 0 76; + } + color_class { + name: "AO0152P"; + color: 0 0 0 38; + } + color_class { + name: "AO0152D"; + color: 0 0 0 25; + } + color_class { + name: "AO0161"; + color: 0 0 0 102; + } + color_class { + name: "AO0161P"; + color: 0 0 0 165; + } + color_class { + name: "AO0161D"; + color: 0 0 0 51; + } + color_class { + name: "AO0162"; + color: 212 213 214 76; + } + color_class { + name: "AO0162P"; + color: 212 213 214 76; + } + color_class { + name: "AO0162D"; + color: 212 213 214 76; + } + color_class { + name: "AO021"; + color: 127 127 127 255; + } + color_class { + name: "AO021S"; + color: 165 63 56 255; + } + color_class { + name: "AO022"; + color: 0 105 147 255; + } + color_class { + name: "AO023"; + color: 0 0 0 102; + } + color_class { + name: "AO024"; + color: 0 0 0 255; + } + color_class { + name: "AO024P"; + color: 0 0 0 127; + } + color_class { + name: "AO0251L1"; + color: 255 255 255 255; + } + color_class { + name: "AO0251L2"; + color: 61 61 61 255; + } + color_class { + name: "AO0252L1"; + color: 51 51 51 255; + } + color_class { + name: "AO0252L2"; + color: 160 160 160 255; + } + color_class { + name: "AO031"; + color: 0 0 0 127; + } + color_class { + name: "AO032"; + color: 0 0 0 127; + } + color_class { + name: "AO0321"; + color: 0 0 0 255; + } + color_class { + name: "AO032S"; + color: 0 0 0 127; + } + color_class { + name: "AO033"; + color: 0 0 0 51; + } + color_class { + name: "AO033P"; + color: 0 0 0 51; + } + color_class { + name: "AO034"; + color: 0 0 0 255; + } + color_class { + name: "AO034P"; + color: 0 0 0 127; + } + color_class { + name: "AO035"; + color: 201 221 220 255; + } + color_class { + name: "AO035P"; + color: 201 221 220 127; + } + color_class { + name: "AO041"; + color: 0 0 0 127; + } + color_class { + name: "AO042"; + color: 0 0 0 255; + } + color_class { + name: "AO043"; + color: 0 0 0 255; + } + color_class { + name: "AO044L1"; + color: 0 0 0 255; + } + color_class { + name: "AO044L2"; + color: 0 0 0 255; + } + color_class { + name: "AO044L3"; + color: 255 0 0 255; + } + color_class { + name: "AO045"; + color: 0 0 0 127; + } + color_class { + name: "AO046"; + color: 0 0 0 127; + } + color_class { + name: "AO047"; + color: 0 0 0 127; + } + color_class { + name: "AO0481"; + color: 0 0 0 51; + } + color_class { + name: "AO0482"; + color: 0 0 0 25; + } + color_class { + name: "AO051S"; + color: 155 234 18 229; + } + color_class { + name: "AO051"; + color: 0 0 0 229; + } + color_class { + name: "AO051D"; + color: 155 234 18 127; + } + color_class { + name: "AO052L1S"; + color: 0 0 0 255; + } + color_class { + name: "AO052L1"; + color: 0 0 0 255; + } + color_class { + name: "AO052L1D"; + color: 0 0 0 255; + } + color_class { + name: "AO052L2S"; + color: 160 141 56 255; + } + color_class { + name: "AO052L2"; + color: 45 45 45 255; + } + color_class { + name: "AO052L2D"; + color: 160 141 56 127; + } + color_class { + name: "AO053"; + color: 0 0 0 255; + } + color_class { + name: "AO0531"; + color: 54 77 84 255; + } + color_class { + name: "AO054L1S"; + color: 0 20 28 255; + } + color_class { + name: "AO054L1"; + color: 0 20 28 255; + } + color_class { + name: "AO054L1D"; + color: 0 20 28 127; + } + color_class { + name: "AO054L2S"; + color: 172 234 0 229; + } + color_class { + name: "AO054L2"; + color: 255 255 255 255; + } + color_class { + name: "AO054L2D"; + color: 255 255 255 127; + } + color_class { + name: "AO056L1"; + color: 25 25 25 255; + } + color_class { + name: "AO056L1P"; + color: 25 25 25 127; + } + color_class { + name: "AO056L2"; + color: 76 76 76 255; + } + color_class { + name: "AO056L2P"; + color: 76 76 76 127; + } + color_class { + name: "AO056L3"; + color: 186 255 0 255; + } + color_class { + name: "AO056L3P"; + color: 186 255 0 127; + } + color_class { + name: "AO056L4"; + color: 0 0 0 127; + } + color_class { + name: "AO056L4P"; + color: 0 0 0 63; + } + color_class { + name: "AO056L5"; + color: 0 0 0 255; + } + color_class { + name: "AO056L5P"; + color: 0 0 0 127; + } + color_class { + name: "AO057"; + color: 56 56 56 255; + } + color_class { + name: "AO058"; + color: 0 0 0 255; + } + color_class { + name: "AO058P"; + color: 0 0 0 127; + } + color_class { + name: "AO058D"; + color: 0 0 0 38; + } + color_class { + name: "AO061"; + color: 0 0 0 102; + } + color_class { + name: "AO062"; + color: 0 0 0 63; + } + color_class { + name: "AO062P"; + color: 0 0 0 127; + } + color_class { + name: "AO063"; + color: 0 0 0 127; + } + color_class { + name: "AO064"; + color: 0 0 0 255; + } + color_class { + name: "AO064P"; + color: 0 0 0 127; + } + color_class { + name: "AO065"; + color: 0 0 0 63; + } + color_class { + name: "AO0661"; + color: 0 0 0 25; + } + color_class { + name: "AO0662"; + color: 0 0 0 127; + } + color_class { + name: "AO0663"; + color: 0 0 0 63; + } + color_class { + name: "AO0664"; + color: 255 255 255 127; + } + color_class { + name: "AO081S"; + color: 178 255 0 76; + } + color_class { + name: "AO081"; + color: 212 213 214 76; + } + color_class { + name: "AO081D"; + color: 212 213 214 38; + } + color_class { + name: "AO082"; + color: 0 0 0 178; + } + color_class { + name: "AO082P"; + color: 0 0 0 255; + } + color_class { + name: "AO082D"; + color: 0 0 0 51; + } + color_class { + name: "AO083L1"; + color: 0 0 0 102; + } + color_class { + name: "AO083L1P"; + color: 0 0 0 102; + } + color_class { + name: "AO083L2"; + color: 186 255 0 255; + } + color_class { + name: "AO083L2P"; + color: 186 255 0 127; + } + color_class { + name: "AO084L1"; + color: 0 0 0 102; + } + color_class { + name: "AO084L1P"; + color: 0 0 0 102; + } + color_class { + name: "AO084L2"; + color: 158 158 158 178; + } + color_class { + name: "AO084L2P"; + color: 158 158 158 89; + } + color_class { + name: "AO085L1"; + color: 0 0 0 102; + } + color_class { + name: "AO085L2"; + color: 0 0 0 51; + } + color_class { + name: "AO086L1"; + color: 0 0 0 102; + } + color_class { + name: "AO086L1P"; + color: 0 0 0 102; + } + color_class { + name: "AO086L2"; + color: 0 0 0 178; + } + color_class { + name: "AO086L2P"; + color: 0 0 0 89; + } + color_class { + name: "AT0111"; + color: 0 0 0 255; + } + color_class { + name: "AT0112"; + color: 0 0 0 255; + } + color_class { + name: "AT0121"; + color: 0 0 0 255; + } + color_class { + name: "AT0121P"; + color: 0 0 0 127; + } + color_class { + name: "AT0122"; + color: 0 0 0 255; + } + color_class { + name: "AT0122P"; + color: 0 0 0 127; + } + color_class { + name: "AT0131"; + color: 0 0 0 255; + } + color_class { + name: "AT0132"; + color: 0 0 0 255; + } + color_class { + name: "AT0133"; + color: 0 0 0 255; + } + color_class { + name: "AT0134"; + color: 0 0 0 255; + } + color_class { + name: "AT014"; + color: 0 0 0 255; + } + color_class { + name: "AT014P"; + color: 0 0 0 127; + } + color_class { + name: "AT014D"; + color: 0 0 0 51; + } + color_class { + name: "AT021"; + color: 249 249 249 255; + } + color_class { + name: "AT0311"; + color: 0 0 0 255; + } + color_class { + name: "AT0312"; + color: 255 255 255 127; + } + color_class { + name: "AT041S"; + color: 178 255 0 255; + } + color_class { + name: "AT041"; + color: 0 0 0 153; + } + color_class { + name: "AT041D"; + color: 0 0 0 63; + } + color_class { + name: "AT043"; + color: 0 0 0 255; + } + color_class { + name: "AT043P"; + color: 0 0 0 127; + } + color_class { + name: "AT043D"; + color: 0 0 0 38; + } + color_class { + name: "AT045"; + color: 0 0 0 255; + } + color_class { + name: "AT045P"; + color: 0 0 0 255; + } + color_class { + name: "AT054"; + color: 0 0 0 127; + } + color_class { + name: "AT054P"; + color: 0 0 0 63; + } + color_class { + name: "AT054D"; + color: 0 0 0 20; + } + color_class { + name: "AT055"; + color: 186 255 0 255; + } + color_class { + name: "AT055P"; + color: 186 255 0 127; + } + color_class { + name: "AT056"; + color: 0 0 0 127; + } + color_class { + name: "AT056P"; + color: 0 0 0 63; + } + color_class { + name: "AT057"; + color: 0 0 0 63; + } + color_class { + name: "B018E"; + color: 165 63 56 178; + } + color_class { + name: "B019"; + color: 165 63 56 255; + } +} diff --git a/home/res/edje/images/Arrow_S_00015.png b/home/res/edje/images/Arrow_S_00015.png Binary files differnew file mode 100755 index 0000000..69f2485 --- /dev/null +++ b/home/res/edje/images/Arrow_S_00015.png diff --git a/home/res/edje/images/Arrow_S_00016.png b/home/res/edje/images/Arrow_S_00016.png Binary files differnew file mode 100755 index 0000000..3031c31 --- /dev/null +++ b/home/res/edje/images/Arrow_S_00016.png diff --git a/home/res/edje/images/Arrow_S_00017.png b/home/res/edje/images/Arrow_S_00017.png Binary files differnew file mode 100755 index 0000000..f5a79b8 --- /dev/null +++ b/home/res/edje/images/Arrow_S_00017.png diff --git a/home/res/edje/images/Arrow_S_00018.png b/home/res/edje/images/Arrow_S_00018.png Binary files differnew file mode 100755 index 0000000..4c3d3b5 --- /dev/null +++ b/home/res/edje/images/Arrow_S_00018.png diff --git a/home/res/edje/images/Arrow_S_00019.png b/home/res/edje/images/Arrow_S_00019.png Binary files differnew file mode 100755 index 0000000..1b26644 --- /dev/null +++ b/home/res/edje/images/Arrow_S_00019.png diff --git a/home/res/edje/images/Arrow_S_00020.png b/home/res/edje/images/Arrow_S_00020.png Binary files differnew file mode 100755 index 0000000..1e977b6 --- /dev/null +++ b/home/res/edje/images/Arrow_S_00020.png diff --git a/home/res/edje/images/Arrow_S_00021.png b/home/res/edje/images/Arrow_S_00021.png Binary files differnew file mode 100755 index 0000000..b547ea8 --- /dev/null +++ b/home/res/edje/images/Arrow_S_00021.png diff --git a/home/res/edje/images/Arrow_S_00022.png b/home/res/edje/images/Arrow_S_00022.png Binary files differnew file mode 100755 index 0000000..658875f --- /dev/null +++ b/home/res/edje/images/Arrow_S_00022.png diff --git a/home/res/edje/images/Arrow_S_00023.png b/home/res/edje/images/Arrow_S_00023.png Binary files differnew file mode 100755 index 0000000..d372d7b --- /dev/null +++ b/home/res/edje/images/Arrow_S_00023.png diff --git a/home/res/edje/images/Arrow_S_00024.png b/home/res/edje/images/Arrow_S_00024.png Binary files differnew file mode 100755 index 0000000..c97b531 --- /dev/null +++ b/home/res/edje/images/Arrow_S_00024.png diff --git a/home/res/edje/images/Arrow_S_00025.png b/home/res/edje/images/Arrow_S_00025.png Binary files differnew file mode 100755 index 0000000..c491f5a --- /dev/null +++ b/home/res/edje/images/Arrow_S_00025.png diff --git a/home/res/edje/images/Arrow_S_00026.png b/home/res/edje/images/Arrow_S_00026.png Binary files differnew file mode 100755 index 0000000..cf545b5 --- /dev/null +++ b/home/res/edje/images/Arrow_S_00026.png diff --git a/home/res/edje/images/Arrow_S_00027.png b/home/res/edje/images/Arrow_S_00027.png Binary files differnew file mode 100755 index 0000000..4db14a9 --- /dev/null +++ b/home/res/edje/images/Arrow_S_00027.png diff --git a/home/res/edje/images/Arrow_S_00028.png b/home/res/edje/images/Arrow_S_00028.png Binary files differnew file mode 100755 index 0000000..0c7a48f --- /dev/null +++ b/home/res/edje/images/Arrow_S_00028.png diff --git a/home/res/edje/images/Arrow_S_00029.png b/home/res/edje/images/Arrow_S_00029.png Binary files differnew file mode 100755 index 0000000..be5bd13 --- /dev/null +++ b/home/res/edje/images/Arrow_S_00029.png diff --git a/home/res/edje/images/Arrow_S_00030.png b/home/res/edje/images/Arrow_S_00030.png Binary files differnew file mode 100755 index 0000000..5bd12d4 --- /dev/null +++ b/home/res/edje/images/Arrow_S_00030.png diff --git a/home/res/edje/images/Arrow_S_00031.png b/home/res/edje/images/Arrow_S_00031.png Binary files differnew file mode 100755 index 0000000..1925c20 --- /dev/null +++ b/home/res/edje/images/Arrow_S_00031.png diff --git a/home/res/edje/images/Arrow_S_00032.png b/home/res/edje/images/Arrow_S_00032.png Binary files differnew file mode 100755 index 0000000..1de629f --- /dev/null +++ b/home/res/edje/images/Arrow_S_00032.png diff --git a/home/res/edje/images/Arrow_S_00033.png b/home/res/edje/images/Arrow_S_00033.png Binary files differnew file mode 100755 index 0000000..067c9ae --- /dev/null +++ b/home/res/edje/images/Arrow_S_00033.png diff --git a/home/res/edje/images/B3_Data.png b/home/res/edje/images/B3_Data.png Binary files differnew file mode 100755 index 0000000..f4afdb1 --- /dev/null +++ b/home/res/edje/images/B3_Data.png diff --git a/home/res/edje/images/b_favorite_app_line.png b/home/res/edje/images/b_favorite_app_line.png Binary files differnew file mode 100755 index 0000000..673cea1 --- /dev/null +++ b/home/res/edje/images/b_favorite_app_line.png diff --git a/home/res/edje/images/b_home_screen_add_widget_line.#.png b/home/res/edje/images/b_home_screen_add_widget_line.#.png Binary files differnew file mode 100755 index 0000000..55a0938 --- /dev/null +++ b/home/res/edje/images/b_home_screen_add_widget_line.#.png diff --git a/home/res/edje/images/b_home_screen_badge_large_bg.#.png b/home/res/edje/images/b_home_screen_badge_large_bg.#.png Binary files differnew file mode 100755 index 0000000..9aee496 --- /dev/null +++ b/home/res/edje/images/b_home_screen_badge_large_bg.#.png diff --git a/home/res/edje/images/b_home_screen_badge_large_line.#.png b/home/res/edje/images/b_home_screen_badge_large_line.#.png Binary files differnew file mode 100755 index 0000000..e06e33e --- /dev/null +++ b/home/res/edje/images/b_home_screen_badge_large_line.#.png diff --git a/home/res/edje/images/b_home_screen_badge_large_shadow.#.png b/home/res/edje/images/b_home_screen_badge_large_shadow.#.png Binary files differnew file mode 100755 index 0000000..0c3620c --- /dev/null +++ b/home/res/edje/images/b_home_screen_badge_large_shadow.#.png diff --git a/home/res/edje/images/b_home_screen_block_btn_bg.#.png b/home/res/edje/images/b_home_screen_block_btn_bg.#.png Binary files differnew file mode 100755 index 0000000..8b2f8da --- /dev/null +++ b/home/res/edje/images/b_home_screen_block_btn_bg.#.png diff --git a/home/res/edje/images/b_home_screen_block_btn_bg.png b/home/res/edje/images/b_home_screen_block_btn_bg.png Binary files differnew file mode 100755 index 0000000..68a418d --- /dev/null +++ b/home/res/edje/images/b_home_screen_block_btn_bg.png diff --git a/home/res/edje/images/b_home_screen_block_btn_bg02.#.png b/home/res/edje/images/b_home_screen_block_btn_bg02.#.png Binary files differnew file mode 100755 index 0000000..c459e1f --- /dev/null +++ b/home/res/edje/images/b_home_screen_block_btn_bg02.#.png diff --git a/home/res/edje/images/b_home_screen_block_btn_ic.png b/home/res/edje/images/b_home_screen_block_btn_ic.png Binary files differnew file mode 100755 index 0000000..07cf628 --- /dev/null +++ b/home/res/edje/images/b_home_screen_block_btn_ic.png diff --git a/home/res/edje/images/b_home_screen_block_btn_line.#.png b/home/res/edje/images/b_home_screen_block_btn_line.#.png Binary files differnew file mode 100755 index 0000000..c204d34 --- /dev/null +++ b/home/res/edje/images/b_home_screen_block_btn_line.#.png diff --git a/home/res/edje/images/b_home_screen_block_btn_line.png b/home/res/edje/images/b_home_screen_block_btn_line.png Binary files differnew file mode 100755 index 0000000..a7ffe2b --- /dev/null +++ b/home/res/edje/images/b_home_screen_block_btn_line.png diff --git a/home/res/edje/images/b_home_screen_block_btn_line02.#.png b/home/res/edje/images/b_home_screen_block_btn_line02.#.png Binary files differnew file mode 100755 index 0000000..7d90848 --- /dev/null +++ b/home/res/edje/images/b_home_screen_block_btn_line02.#.png diff --git a/home/res/edje/images/b_home_screen_block_text_btn_bg.#.png b/home/res/edje/images/b_home_screen_block_text_btn_bg.#.png Binary files differnew file mode 100755 index 0000000..8b2f8da --- /dev/null +++ b/home/res/edje/images/b_home_screen_block_text_btn_bg.#.png diff --git a/home/res/edje/images/b_home_screen_block_text_btn_line.#.png b/home/res/edje/images/b_home_screen_block_text_btn_line.#.png Binary files differnew file mode 100755 index 0000000..c204d34 --- /dev/null +++ b/home/res/edje/images/b_home_screen_block_text_btn_line.#.png diff --git a/home/res/edje/images/b_home_screen_btn_bg.#.png b/home/res/edje/images/b_home_screen_btn_bg.#.png Binary files differnew file mode 100755 index 0000000..14b3712 --- /dev/null +++ b/home/res/edje/images/b_home_screen_btn_bg.#.png diff --git a/home/res/edje/images/b_home_screen_btn_line.#.png b/home/res/edje/images/b_home_screen_btn_line.#.png Binary files differnew file mode 100755 index 0000000..97ea649 --- /dev/null +++ b/home/res/edje/images/b_home_screen_btn_line.#.png diff --git a/home/res/edje/images/b_home_screen_clock_arrow.png b/home/res/edje/images/b_home_screen_clock_arrow.png Binary files differnew file mode 100755 index 0000000..97d2854 --- /dev/null +++ b/home/res/edje/images/b_home_screen_clock_arrow.png diff --git a/home/res/edje/images/b_home_screen_clock_arrow_big.png b/home/res/edje/images/b_home_screen_clock_arrow_big.png Binary files differnew file mode 100755 index 0000000..c034338 --- /dev/null +++ b/home/res/edje/images/b_home_screen_clock_arrow_big.png diff --git a/home/res/edje/images/b_home_screen_clock_arrow_big_ef.png b/home/res/edje/images/b_home_screen_clock_arrow_big_ef.png Binary files differnew file mode 100755 index 0000000..8cfd5db --- /dev/null +++ b/home/res/edje/images/b_home_screen_clock_arrow_big_ef.png diff --git a/home/res/edje/images/b_home_screen_clock_block_icon.png b/home/res/edje/images/b_home_screen_clock_block_icon.png Binary files differnew file mode 100755 index 0000000..c9567b5 --- /dev/null +++ b/home/res/edje/images/b_home_screen_clock_block_icon.png diff --git a/home/res/edje/images/b_home_screen_edit_cover.png b/home/res/edje/images/b_home_screen_edit_cover.png Binary files differnew file mode 100755 index 0000000..0127861 --- /dev/null +++ b/home/res/edje/images/b_home_screen_edit_cover.png diff --git a/home/res/edje/images/b_home_screen_edit_cover_ef.png b/home/res/edje/images/b_home_screen_edit_cover_ef.png Binary files differnew file mode 100755 index 0000000..2a86f81 --- /dev/null +++ b/home/res/edje/images/b_home_screen_edit_cover_ef.png diff --git a/home/res/edje/images/b_home_screen_favorite_badge_bg.#.png b/home/res/edje/images/b_home_screen_favorite_badge_bg.#.png Binary files differnew file mode 100755 index 0000000..3c1d1ba --- /dev/null +++ b/home/res/edje/images/b_home_screen_favorite_badge_bg.#.png diff --git a/home/res/edje/images/b_home_screen_favorite_badge_line.#.png b/home/res/edje/images/b_home_screen_favorite_badge_line.#.png Binary files differnew file mode 100755 index 0000000..64d564e --- /dev/null +++ b/home/res/edje/images/b_home_screen_favorite_badge_line.#.png diff --git a/home/res/edje/images/b_home_screen_favorite_edit_icon.png b/home/res/edje/images/b_home_screen_favorite_edit_icon.png Binary files differnew file mode 100755 index 0000000..be3278d --- /dev/null +++ b/home/res/edje/images/b_home_screen_favorite_edit_icon.png diff --git a/home/res/edje/images/b_home_screen_favorite_more_icon.png b/home/res/edje/images/b_home_screen_favorite_more_icon.png Binary files differnew file mode 100755 index 0000000..2e22894 --- /dev/null +++ b/home/res/edje/images/b_home_screen_favorite_more_icon.png diff --git a/home/res/edje/images/b_home_screen_network_auto.png b/home/res/edje/images/b_home_screen_network_auto.png Binary files differnew file mode 100755 index 0000000..06ead26 --- /dev/null +++ b/home/res/edje/images/b_home_screen_network_auto.png diff --git a/home/res/edje/images/b_home_screen_network_off.png b/home/res/edje/images/b_home_screen_network_off.png Binary files differnew file mode 100755 index 0000000..ae84409 --- /dev/null +++ b/home/res/edje/images/b_home_screen_network_off.png diff --git a/home/res/edje/images/b_home_screen_network_on.png b/home/res/edje/images/b_home_screen_network_on.png Binary files differnew file mode 100755 index 0000000..593721d --- /dev/null +++ b/home/res/edje/images/b_home_screen_network_on.png diff --git a/home/res/edje/images/b_home_screen_power_saving_block_icon.png b/home/res/edje/images/b_home_screen_power_saving_block_icon.png Binary files differnew file mode 100755 index 0000000..9d1ceca --- /dev/null +++ b/home/res/edje/images/b_home_screen_power_saving_block_icon.png diff --git a/home/res/edje/images/b_home_screen_recent_icon.png b/home/res/edje/images/b_home_screen_recent_icon.png Binary files differnew file mode 100755 index 0000000..cc28224 --- /dev/null +++ b/home/res/edje/images/b_home_screen_recent_icon.png diff --git a/home/res/edje/images/b_home_screen_widget_check.png b/home/res/edje/images/b_home_screen_widget_check.png Binary files differnew file mode 100755 index 0000000..3851009 --- /dev/null +++ b/home/res/edje/images/b_home_screen_widget_check.png diff --git a/home/res/edje/images/b_home_screen_widget_check_ef.png b/home/res/edje/images/b_home_screen_widget_check_ef.png Binary files differnew file mode 100755 index 0000000..2995bea --- /dev/null +++ b/home/res/edje/images/b_home_screen_widget_check_ef.png diff --git a/home/res/edje/images/b_home_screen_widget_del_bg.png b/home/res/edje/images/b_home_screen_widget_del_bg.png Binary files differnew file mode 100755 index 0000000..c4e87a9 --- /dev/null +++ b/home/res/edje/images/b_home_screen_widget_del_bg.png diff --git a/home/res/edje/images/b_home_screen_widget_del_icon.png b/home/res/edje/images/b_home_screen_widget_del_icon.png Binary files differnew file mode 100755 index 0000000..5101f62 --- /dev/null +++ b/home/res/edje/images/b_home_screen_widget_del_icon.png diff --git a/home/res/edje/images/b_home_screen_widget_del_line.png b/home/res/edje/images/b_home_screen_widget_del_line.png Binary files differnew file mode 100755 index 0000000..16b3c0a --- /dev/null +++ b/home/res/edje/images/b_home_screen_widget_del_line.png diff --git a/home/res/edje/images/b_home_screen_widget_line.#.png b/home/res/edje/images/b_home_screen_widget_line.#.png Binary files differnew file mode 100755 index 0000000..cb25821 --- /dev/null +++ b/home/res/edje/images/b_home_screen_widget_line.#.png diff --git a/home/res/edje/images/b_home_screen_widget_line_ef.png b/home/res/edje/images/b_home_screen_widget_line_ef.png Binary files differnew file mode 100755 index 0000000..6b77be7 --- /dev/null +++ b/home/res/edje/images/b_home_screen_widget_line_ef.png diff --git a/home/res/edje/images/b_home_screen_widget_plus.png b/home/res/edje/images/b_home_screen_widget_plus.png Binary files differnew file mode 100755 index 0000000..97922da --- /dev/null +++ b/home/res/edje/images/b_home_screen_widget_plus.png diff --git a/home/res/edje/images/b_home_screen_widget_plus_ef.png b/home/res/edje/images/b_home_screen_widget_plus_ef.png Binary files differnew file mode 100755 index 0000000..0c502d3 --- /dev/null +++ b/home/res/edje/images/b_home_screen_widget_plus_ef.png diff --git a/home/res/edje/images/b_home_screen_widget_plus_origin.png b/home/res/edje/images/b_home_screen_widget_plus_origin.png Binary files differnew file mode 100755 index 0000000..0d6af14 --- /dev/null +++ b/home/res/edje/images/b_home_screen_widget_plus_origin.png diff --git a/home/res/edje/images/b_widget_favorite_bg.png b/home/res/edje/images/b_widget_favorite_bg.png Binary files differnew file mode 100755 index 0000000..0ff8fd1 --- /dev/null +++ b/home/res/edje/images/b_widget_favorite_bg.png diff --git a/home/res/edje/images/bouncing_bottom_edge.png b/home/res/edje/images/bouncing_bottom_edge.png Binary files differnew file mode 100755 index 0000000..7259d14 --- /dev/null +++ b/home/res/edje/images/bouncing_bottom_edge.png diff --git a/home/res/edje/images/bouncing_bottom_glow.png b/home/res/edje/images/bouncing_bottom_glow.png Binary files differnew file mode 100755 index 0000000..5b150b0 --- /dev/null +++ b/home/res/edje/images/bouncing_bottom_glow.png diff --git a/home/res/edje/images/bouncing_left_edge.png b/home/res/edje/images/bouncing_left_edge.png Binary files differnew file mode 100755 index 0000000..413fccd --- /dev/null +++ b/home/res/edje/images/bouncing_left_edge.png diff --git a/home/res/edje/images/bouncing_left_glow.png b/home/res/edje/images/bouncing_left_glow.png Binary files differnew file mode 100755 index 0000000..11015e4 --- /dev/null +++ b/home/res/edje/images/bouncing_left_glow.png diff --git a/home/res/edje/images/bouncing_right_edge.png b/home/res/edje/images/bouncing_right_edge.png Binary files differnew file mode 100755 index 0000000..e14f69b --- /dev/null +++ b/home/res/edje/images/bouncing_right_edge.png diff --git a/home/res/edje/images/bouncing_right_glow.png b/home/res/edje/images/bouncing_right_glow.png Binary files differnew file mode 100755 index 0000000..69ed30b --- /dev/null +++ b/home/res/edje/images/bouncing_right_glow.png diff --git a/home/res/edje/images/do_not_ic_disturb.png b/home/res/edje/images/do_not_ic_disturb.png Binary files differnew file mode 100755 index 0000000..6ae3a40 --- /dev/null +++ b/home/res/edje/images/do_not_ic_disturb.png diff --git a/home/res/edje/images/do_not_ic_donot_now.png b/home/res/edje/images/do_not_ic_donot_now.png Binary files differnew file mode 100755 index 0000000..09427ca --- /dev/null +++ b/home/res/edje/images/do_not_ic_donot_now.png diff --git a/home/res/edje/images/favorite_contact_bg_cover.png b/home/res/edje/images/favorite_contact_bg_cover.png Binary files differnew file mode 100755 index 0000000..9d7eb1c --- /dev/null +++ b/home/res/edje/images/favorite_contact_bg_cover.png diff --git a/home/res/edje/images/indicator_clock_on_focused.png b/home/res/edje/images/indicator_clock_on_focused.png Binary files differnew file mode 100755 index 0000000..4c2a757 --- /dev/null +++ b/home/res/edje/images/indicator_clock_on_focused.png diff --git a/home/res/edje/images/indicator_clock_on_focused_ef.png b/home/res/edje/images/indicator_clock_on_focused_ef.png Binary files differnew file mode 100755 index 0000000..84a2ace --- /dev/null +++ b/home/res/edje/images/indicator_clock_on_focused_ef.png diff --git a/home/res/edje/images/indicator_clock_on_normal.png b/home/res/edje/images/indicator_clock_on_normal.png Binary files differnew file mode 100755 index 0000000..334e96d --- /dev/null +++ b/home/res/edje/images/indicator_clock_on_normal.png diff --git a/home/res/edje/images/indicator_clock_on_normal_ef.png b/home/res/edje/images/indicator_clock_on_normal_ef.png Binary files differnew file mode 100755 index 0000000..9978881 --- /dev/null +++ b/home/res/edje/images/indicator_clock_on_normal_ef.png diff --git a/home/res/edje/images/indicator_on_focused.png b/home/res/edje/images/indicator_on_focused.png Binary files differnew file mode 100755 index 0000000..0c84b5f --- /dev/null +++ b/home/res/edje/images/indicator_on_focused.png diff --git a/home/res/edje/images/indicator_on_focused_ef.png b/home/res/edje/images/indicator_on_focused_ef.png Binary files differnew file mode 100755 index 0000000..7e52913 --- /dev/null +++ b/home/res/edje/images/indicator_on_focused_ef.png diff --git a/home/res/edje/images/indicator_on_normal.png b/home/res/edje/images/indicator_on_normal.png Binary files differnew file mode 100755 index 0000000..a844317 --- /dev/null +++ b/home/res/edje/images/indicator_on_normal.png diff --git a/home/res/edje/images/indicator_on_normal_ef.png b/home/res/edje/images/indicator_on_normal_ef.png Binary files differnew file mode 100755 index 0000000..e2b20f6 --- /dev/null +++ b/home/res/edje/images/indicator_on_normal_ef.png diff --git a/home/res/edje/images/indicator_panel_on_focused.png b/home/res/edje/images/indicator_panel_on_focused.png Binary files differnew file mode 100755 index 0000000..cdaa564 --- /dev/null +++ b/home/res/edje/images/indicator_panel_on_focused.png diff --git a/home/res/edje/images/indicator_panel_on_focused_ef.png b/home/res/edje/images/indicator_panel_on_focused_ef.png Binary files differnew file mode 100755 index 0000000..f509daa --- /dev/null +++ b/home/res/edje/images/indicator_panel_on_focused_ef.png diff --git a/home/res/edje/images/indicator_panel_on_normal.png b/home/res/edje/images/indicator_panel_on_normal.png Binary files differnew file mode 100755 index 0000000..9965865 --- /dev/null +++ b/home/res/edje/images/indicator_panel_on_normal.png diff --git a/home/res/edje/images/indicator_panel_on_normal_ef.png b/home/res/edje/images/indicator_panel_on_normal_ef.png Binary files differnew file mode 100755 index 0000000..f11fe19 --- /dev/null +++ b/home/res/edje/images/indicator_panel_on_normal_ef.png diff --git a/home/res/edje/images/overlay000_image.png b/home/res/edje/images/overlay000_image.png Binary files differnew file mode 100755 index 0000000..b700c87 --- /dev/null +++ b/home/res/edje/images/overlay000_image.png diff --git a/home/res/edje/images/overlay00_bg_cover.png b/home/res/edje/images/overlay00_bg_cover.png Binary files differnew file mode 100755 index 0000000..95d1e63 --- /dev/null +++ b/home/res/edje/images/overlay00_bg_cover.png diff --git a/home/res/edje/images/overlay01_bg_cover.png b/home/res/edje/images/overlay01_bg_cover.png Binary files differnew file mode 100755 index 0000000..bed116a --- /dev/null +++ b/home/res/edje/images/overlay01_bg_cover.png diff --git a/home/res/edje/images/overlay05_bg_cover.png b/home/res/edje/images/overlay05_bg_cover.png Binary files differnew file mode 100755 index 0000000..45807bd --- /dev/null +++ b/home/res/edje/images/overlay05_bg_cover.png diff --git a/home/res/edje/images/overlay06_bg_cover.png b/home/res/edje/images/overlay06_bg_cover.png Binary files differnew file mode 100755 index 0000000..0528375 --- /dev/null +++ b/home/res/edje/images/overlay06_bg_cover.png diff --git a/home/res/edje/images/overlay08_bg_cover.png b/home/res/edje/images/overlay08_bg_cover.png Binary files differnew file mode 100755 index 0000000..07ed911 --- /dev/null +++ b/home/res/edje/images/overlay08_bg_cover.png diff --git a/home/res/edje/images/overlay_button.#.png b/home/res/edje/images/overlay_button.#.png Binary files differnew file mode 100755 index 0000000..b942f7a --- /dev/null +++ b/home/res/edje/images/overlay_button.#.png diff --git a/home/res/edje/images/overlay_button_press.#.png b/home/res/edje/images/overlay_button_press.#.png Binary files differnew file mode 100755 index 0000000..2fd68e2 --- /dev/null +++ b/home/res/edje/images/overlay_button_press.#.png diff --git a/home/res/edje/images/overlay_close.png b/home/res/edje/images/overlay_close.png Binary files differnew file mode 100755 index 0000000..0cf4539 --- /dev/null +++ b/home/res/edje/images/overlay_close.png diff --git a/home/res/edje/images/overlay_cue.png b/home/res/edje/images/overlay_cue.png Binary files differnew file mode 100755 index 0000000..78f9263 --- /dev/null +++ b/home/res/edje/images/overlay_cue.png diff --git a/home/res/edje/images/overlay_start_button.png b/home/res/edje/images/overlay_start_button.png Binary files differnew file mode 100755 index 0000000..8e479c4 --- /dev/null +++ b/home/res/edje/images/overlay_start_button.png diff --git a/home/res/edje/images/overlay_start_button_press.png b/home/res/edje/images/overlay_start_button_press.png Binary files differnew file mode 100755 index 0000000..9ba2878 --- /dev/null +++ b/home/res/edje/images/overlay_start_button_press.png diff --git a/home/res/edje/images/overlay_swipe_down.png b/home/res/edje/images/overlay_swipe_down.png Binary files differnew file mode 100755 index 0000000..988ac7b --- /dev/null +++ b/home/res/edje/images/overlay_swipe_down.png diff --git a/home/res/edje/images/overlay_swipe_left.png b/home/res/edje/images/overlay_swipe_left.png Binary files differnew file mode 100755 index 0000000..53415f0 --- /dev/null +++ b/home/res/edje/images/overlay_swipe_left.png diff --git a/home/res/edje/images/overlay_swipe_right.png b/home/res/edje/images/overlay_swipe_right.png Binary files differnew file mode 100755 index 0000000..45ae883 --- /dev/null +++ b/home/res/edje/images/overlay_swipe_right.png diff --git a/home/res/edje/images/overlay_swipe_up.png b/home/res/edje/images/overlay_swipe_up.png Binary files differnew file mode 100755 index 0000000..0801f9d --- /dev/null +++ b/home/res/edje/images/overlay_swipe_up.png diff --git a/home/res/edje/images/w_cover_view_ic_delete.png b/home/res/edje/images/w_cover_view_ic_delete.png Binary files differnew file mode 100755 index 0000000..493b397 --- /dev/null +++ b/home/res/edje/images/w_cover_view_ic_delete.png diff --git a/home/res/edje/images/widget_circle_bg.png b/home/res/edje/images/widget_circle_bg.png Binary files differnew file mode 100755 index 0000000..d4a849c --- /dev/null +++ b/home/res/edje/images/widget_circle_bg.png diff --git a/home/res/edje/images/widget_circle_bg_ef.png b/home/res/edje/images/widget_circle_bg_ef.png Binary files differnew file mode 100755 index 0000000..7339f2c --- /dev/null +++ b/home/res/edje/images/widget_circle_bg_ef.png diff --git a/home/res/edje/images/widget_circle_bg_stroke.png b/home/res/edje/images/widget_circle_bg_stroke.png Binary files differnew file mode 100755 index 0000000..748cd2a --- /dev/null +++ b/home/res/edje/images/widget_circle_bg_stroke.png diff --git a/home/res/edje/images/widget_music_player_bg_cover.png b/home/res/edje/images/widget_music_player_bg_cover.png Binary files differnew file mode 100755 index 0000000..86860a8 --- /dev/null +++ b/home/res/edje/images/widget_music_player_bg_cover.png diff --git a/home/res/edje/rectangle/CMakeLists.txt b/home/res/edje/rectangle/CMakeLists.txt new file mode 100755 index 0000000..2f8149a --- /dev/null +++ b/home/res/edje/rectangle/CMakeLists.txt @@ -0,0 +1,16 @@ +FILE(GLOB edc_files ${CMAKE_CURRENT_SOURCE_DIR}/*.edc) +FOREACH(edc_file ${edc_files}) + GET_FILENAME_COMPONENT( FName ${edc_file} NAME_WE ) + MESSAGE("${FName}") + ADD_CUSTOM_COMMAND(OUTPUT ${CMAKE_CURRENT_SOURCE_DIR}/${FName}.edj + COMMAND edje_cc -id ${CMAKE_CURRENT_SOURCE_DIR}/../images + -DCIRCLE_TYPE=${CIRCLE_TYPE} + ${CMAKE_CURRENT_SOURCE_DIR}/${FName}.edc ${FName}.edj ${EDJE_CFLAGS} + DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/${FName}.edc + ) + ADD_CUSTOM_TARGET(${FName}.edj DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/${FName}.edj) + ADD_DEPENDENCIES(${PROJECT_NAME} ${FName}.edj) +ENDFOREACH(edc_file) + +# install edc files +INSTALL(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/ DESTINATION ${EDJEDIR} FILES_MATCHING PATTERN "*.edj") diff --git a/home/res/edje/rectangle/apps_box.edc b/home/res/edje/rectangle/apps_box.edc new file mode 100755 index 0000000..b774f07 --- /dev/null +++ b/home/res/edje/rectangle/apps_box.edc @@ -0,0 +1,414 @@ +/* + * Samsung API + * Copyright (c) 2013 Samsung Electronics Co., Ltd. + * + * Licensed under the Flora License, Version 1.1 (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. + */ + +#include "apps_conf.edc" +#include "../color_classes.edc" + +images { + image: "b_home_screen_recent_icon.png" COMP; +} + + +styles { + style { + name: "button_text_style"; + base: "font=TIZEN:style=Regular text_class=AT014 font_size="32" color_class=AT014 text_class=AT014 align=middle color=#FFFFFF ellipsis=1 wrap=mixed"; + } + style { + name: "button_text_style,pressed"; + base: "font=TIZEN:style=Regular text_class=AT014P font_size="32" color_class=AT014P text_class=AT014P align=middle color=#FFFFFF ellipsis=1 wrap=mixed"; + } +} + +collections { + group { + name: "box"; + parts { + part { + name: "bg"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 1.0; + } + } + part { + name: "top_area"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to, "bg"; } + rel2 { relative: 1.0 0.0; to, "bg"; } + align: 0.0 0.0; + fixed: 1 1; + visible: 0; + /* Do not need buttons */ + //min: 0 BOX_TOP_MENU_HEIGHT; + min: 0 BOX_TOP_HEIGHT; + } + } +#if 0 /* Do not need buttons */ + part { + name: "top_button"; + type: SWALLOW; + scale: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to, "top_area"; } + rel2 { relative: 1.0 1.0; to, "top_area"; } + visible: 1; + } + } +#endif + part { + name: "top"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.0 1.0; to, "top_area"; } + rel2 { relative: 1.0 1.0; to, "top_area"; } + align: 0.0 0.0; + fixed: 1 1; + visible: 0; + min: 0 BOX_TOP_HEIGHT; + } + } + part { + name: "box"; + type: SWALLOW; + scale: 1; + description { + state: "default" 0.0; + rel1.relative: 0.0 1.0; + rel1.to: "top"; + rel2.relative: 1.0 0.0; + rel2.to: "bottom"; + visible: 1; + } + } + part { + name: "bottom"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.0 1.0; to, "bg"; } + rel2 { relative: 1.0 1.0; to, "bg"; } + align: 0.0 1.0; + fixed: 1 1; + visible: 0; + /* Do not need buttons */ + //min: 0 (BOX_BOTTOM_HEIGHT+BOX_BOTTOM_MENU_HEIGHT); + min: 0 0; + } + } +#if 0 /* Do not need buttons */ + part { + name: "bottom_button"; + type: SWALLOW; + scale: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.0 BOX_BOTTOM_HEIGHT/BOX_BOTTOM_MENU_HEIGHT; to, "bottom"; } + rel2 { relative: 1.0 1.0; to, "bottom"; } + visible: 1; + } + } +#endif + } + } + +#if 0 /* Do not need bottom button */ + group { + name: "bottom_button"; + parts { + part { + name: "bg"; + type: SPACER; + scale: 1; + mouse_events: 0; + description { + state: "default" 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 1.0; + min: 0 BOX_BOTTOM_MENU_HEIGHT; + fixed: 1 1; + } + } + part { + name: "button,line"; + type: RECT; + scale: 1; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to: "bg"; } + rel2 { relative: 1.0 0.0; to: "bg"; } + color_class: "AO0152"; + min: 0 1; + align: 0.5 0.0; + fixed: 1 1; + } + description { + state: "pressed" 0.0; + inherit: "default" 0.0; + color_class: "AO0152P"; + } + } + part { + name: "button,body"; + type: RECT; + scale: 1; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to: "bg"; } + rel2 { relative: 1.0 1.0; to: "bg"; } + color_class: "AO0151"; + fixed: 1 1; + } + description { + state: "pressed" 0.0; + inherit: "default" 0.0; + color_class: "AO0151P"; + } + } + part { + name: "button,txt"; + type: TEXTBLOCK; + scale: 1; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to: "button,body"; offset: 16 5; } + rel2 { relative: 1.0 1.0; to: "button,body"; offset: -16 -5; } + color_class: "AT014"; + text { + style: "button_text_style"; + align: 0.0 0.5; + } + align: 0.5 0.5; + } + description { + state: "pressed" 0.0; + inherit: "default" 0.0; + color_class: "AT014P"; + text { + style: "button_text_style,pressed"; + align: 0.0 0.5; + } + } + } + part { + name: "focus"; + type: SWALLOW; + scale: 1; + mouse_events: 1; + repeat_events: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to: "bg"; } + rel2 { relative: 1.0 1.0; to: "bg"; } + color: 0 0 0 0; + visible: 1; + } + } + } + + programs { + program { + signal: "mouse,down,1"; + source: "focus"; + action: STATE_SET "pressed" 0.0; + target: "button,line"; + target: "button,body"; + target: "button,txt"; + } + program { + signal: "mouse,up,1"; + source: "focus"; + action: STATE_SET "default" 0.0; + target: "button,line"; + target: "button,body"; + target: "button,txt"; + } + program { + signal: "mouse,out"; + source: "focus"; + action: STATE_SET "default" 0.0; + target: "button,line"; + target: "button,body"; + target: "button,txt"; + } + } + } //button group + + + group { + name: "top_button"; + parts { + part { + name: "bg"; + type: SPACER; + scale: 1; + mouse_events: 0; + description { + state: "default" 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 1.0; + fixed: 1 1; + } + } + part { + name: "button,bg"; + type: RECT; + scale: 1; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to: "bg"; } + rel2 { relative: 1.0 1.0; to: "bg"; } + align: 0.5 0.0; + min: BOX_TOP_MENU_WIDTH BOX_TOP_MENU_HEIGHT; + max: BOX_TOP_MENU_WIDTH BOX_TOP_MENU_HEIGHT; + fixed: 1 1; + visible: 0; + } + } + part { + name: "button,txt"; + type: SWALLOW; + scale: 1; + mouse_events: 1; + repeat_events: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.5 0.5; to: "button,bg"; } + rel2 { relative: 0.5 0.5; to: "button,bg"; } + align: 0.5 0.5; + visible: 1; + fixed: 1 1; + } + } + part { + name: "focus"; + type: SWALLOW; + scale: 1; + mouse_events: 1; + repeat_events: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to: "button,bg"; } + rel2 { relative: 1.0 1.0; to: "button,bg"; } + color: 0 0 0 0; + visible: 1; + } + } + } + } //button group + + group { + name: "top_button_text"; + parts { + part { + name: "bg"; + type: SPACER; + scale: 1; + mouse_events: 0; + description { + state: "default" 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 1.0; + fixed: 1 1; + } + } + part { + name: "icon"; + type: IMAGE; + scale: 1; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.5; to: "bg"; } + rel2 { relative: 0.0 0.5; to: "bg"; } + align: 0.0 0.5; + min: 55 37; + image { + normal: "b_home_screen_recent_icon.png"; + } + color_class: "AO017"; + fixed: 1 1; + } + description { + state: "pressed" 0.0; + inherit: "default" 0.0; + color_class: "AO017P"; + } + } + part { + name: "txt"; + type: TEXT; + scale: 1; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { relative: 1.0 0.0; to_x: "icon"; to_y: "bg"; offset: 3 0; } + rel2 { relative: 1.0 1.0; to: "bg"; } + color_class: "AT014"; + text { + text_class: "AT014"; + align: 0.0 0.5; + min: 1 0; + } + align: 0.0 0.5; + } + description { + state: "pressed" 0.0; + inherit: "default" 0.0; + color_class: "AT014P"; + text { + text_class: "AT014P"; + align: 0.0 0.5; + min: 1 0; + } + } + } + } + + programs { + program { + signal: "press,button"; + source: "button"; + action: STATE_SET "pressed" 0.0; + target: "txt"; + target: "icon"; + } + program { + signal: "release,button"; + source: "button"; + action: STATE_SET "default" 0.0; + target: "txt"; + target: "icon"; + } + } + } //button group +#endif +} diff --git a/home/res/edje/rectangle/apps_button.edc b/home/res/edje/rectangle/apps_button.edc new file mode 100755 index 0000000..aa5da7e --- /dev/null +++ b/home/res/edje/rectangle/apps_button.edc @@ -0,0 +1,126 @@ +/* + * Samsung API + * Copyright (c) 2013 Samsung Electronics Co., Ltd. + * + * Licensed under the Flora License, Version 1.1 (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. + */ + +#include "apps_conf.edc" +#include "../color_classes.edc" + +collections { + group { + name : "button"; + images { + image: "b_home_screen_favorite_more_icon.png" COMP; + } + parts { + part { + name: "bg"; + type: SPACER; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; } + rel2 { relative: 1.0 1.0; } + } + } + part { + name : "image"; + type: IMAGE; + scale: 1; + mouse_events: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.24 0.5; to, "bg"; } + rel2 { relative: 0.24 0.5; to, "bg"; } + image { + normal: "b_home_screen_favorite_more_icon.png"; + } + min: 37 37; + max: 37 37; + align: 0.5 0.5; + color_class: AO0351; + } + } + part { + name : "center_padding"; + type: SPACER; + description { + state: "default" 0.0; + rel1 { relative: 1.0 0.0; to, "image"; } + rel2 { relative: 1.0 1.0; to, "image"; } + min: 13 69; + align: 0.0 0.5; + } + } + part { + name : "button_txt"; + type: TEXT; + scale: 1; + mouse_events: 1; + description { + state: "default" 0.0; + rel1 { relative: 1.0 0.0; to, "center_padding"; } + rel2 { relative: 1.0 1.0; to, "center_padding"; } + color: 255 255 255 255; + text { + font: "Tizen:style=Bold"; + text_class: "tizen"; + size: 27; + align: 0.0 0.5; + ellipsis: 1; + } + min: 157 69; + align: 0.0 0.5; + visible: 1; + } + } + part { + name : "event"; + type: RECT; + scale: 1; + mouse_events: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to, "bg"; } + rel2 { relative: 1.0 1.0; to, "bg"; } + color : 0 0 0 0; + visible : 1; + } + description { + state: "pressed" 0.0; + inherit: "default"; + color : 255 255 255 50; + } + } + } + programs { + program { + signal: "pressed"; + source: "button"; + action: STATE_SET "pressed" 0.0; + target: "event"; + } + program { + signal: "unpressed"; + source: "button"; + action: STATE_SET "default" 0.0; + target: "event"; + } + } + } //group +} //collections + + + +// End of file diff --git a/home/res/edje/rectangle/apps_conf.edc b/home/res/edje/rectangle/apps_conf.edc new file mode 120000 index 0000000..d61af6c --- /dev/null +++ b/home/res/edje/rectangle/apps_conf.edc @@ -0,0 +1 @@ +../../../include/apps/apps_conf.h
\ No newline at end of file diff --git a/home/res/edje/rectangle/apps_grid.edc b/home/res/edje/rectangle/apps_grid.edc new file mode 100755 index 0000000..a2d9824 --- /dev/null +++ b/home/res/edje/rectangle/apps_grid.edc @@ -0,0 +1,198 @@ +/* + * Samsung API + * Copyright (c) 2013 Samsung Electronics Co., Ltd. + * + * Licensed under the Flora License, Version 1.1 (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. + */ + +#include "apps_conf.edc" +#include "../color_classes.edc" + +#define STYLE(NAME, SIZE) style {\ + name: "style_name_"NAME;\ + base: "font=TIZEN:style=MEDIUM text_class=tizen font_size="SIZE" align=center valign=top color=#FFFFFF ellipsis=1 wrap=mixed";\ + tag: "br" "\n";\ + } + +styles { + STYLE("27", 27) +} + +collections { + group { + name: "elm/gengrid/item/recent-apps/default"; + /* content_get reads these data */ + data.item: "contents" "bg icon_image selected"; + data.item: "texts" "txt"; + + parts { + part { + name: "bg"; + type: SWALLOW; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; } + rel2 { relative: 1.0 1.0; } + visible: 1; + } + } + part { + name: "icon_bg"; + type: SPACER; + scale: 1; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { relative: 0.5 ITEM_ICON_Y/ITEM_HEIGHT; to, "bg"; } + rel2 { relative: 0.5 ITEM_ICON_Y/ITEM_HEIGHT; to, "bg"; } + } + } + part { + name: "selected"; + type: SWALLOW; + scale: 1; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { relative: 0.5 0.5; to, "bg"; } + rel2 { relative: 0.5 0.5; to, "bg"; } + visible: 1; + } + } + part { + name: "icon_image"; + type: SWALLOW; + scale: 1; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { relative: 0.5 0.5; to, "icon_bg"; } + rel2 { relative: 0.5 0.5; to, "icon_bg"; } + align: 0.5 0.5; + fixed: 1 1; + } + description { + state: "bigger" 0.0; + inherit: "default" 0.0; + } + } + part { + name: "txt_region"; + type: SPACER; + scale: 1; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { relative: 0.0 ITEM_TEXT_Y/ITEM_HEIGHT; to, "bg"; } + rel2 { relative: 1.0 1.0; to, "bg"; } + } + } + part { + name: "txt"; + type: TEXTBLOCK; + effect: SOFT_SHADOW; + scale: 1; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to: "txt_region"; } + rel2 { relative: 1.0 1.0; to: "txt_region"; } + color: 255 255 255 255; + color2: 0 0 0 35; + color3: 0 0 0 35; + text { + style: "style_name_27"; + align: 0.5 0.0; + } + visible: 1; + } + description + { + state: "hide" 0.0; + inherit: "default" 0.0; + visible: 0; + color: 0 0 0 0; + } + } + part { + name: "icon_image_event"; + type: RECT; + scale: 1; + mouse_events: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to, "bg"; } + rel2 { relative: 1.0 1.0; to, "bg"; } + color: 0 0 0 0; + visible: 1; + } + } + } + + programs { + program { + name: "item,down"; + signal: "mouse,down,1"; + source: "icon_image_event"; + action: SIGNAL_EMIT "item,down" "menu"; + } + program { + name: "item,up"; + signal: "mouse,up,1"; + source: "icon_image_event"; + action: SIGNAL_EMIT "item,up" "menu"; + } + + program { + name: "txt,single"; + signal: "txt,single"; + source: "txt"; + script { + set_state(PART:"txt", "default", 0.0); + } + } + program { + name: "txt,dual"; + signal: "txt,dual"; + source: "txt"; + script { + set_state(PART:"txt", "dual", 0.0); + } + } + program { + name: "txt,single,full"; + signal: "txt,single,full"; + source: "txt"; + script { + set_state(PART:"txt", "single_full", 0.0); + } + } + program { + name: "txt,hide"; + signal: "hide"; + source: "txt"; + action: STATE_SET "hide" 0.0; + target: "txt"; + } + program { + name: "txt,show"; + signal: "show"; + source: "txt"; + action: STATE_SET "default" 0.0; + target: "txt"; + } + } + } // group +} diff --git a/home/res/edje/rectangle/apps_item.edc b/home/res/edje/rectangle/apps_item.edc new file mode 100755 index 0000000..f664fa3 --- /dev/null +++ b/home/res/edje/rectangle/apps_item.edc @@ -0,0 +1,430 @@ +/* + * Samsung API + * Copyright (c) 2013 Samsung Electronics Co., Ltd. + * + * Licensed under the Flora License, Version 1.1 (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. + */ + +#include "apps_conf.edc" +#include "../color_classes.edc" + +styles { + style { + name: "name_style"; + base: "font=Tizen:style=Regular text_class=AT0121 font_size="28" align=middle color=#FFFFFF color_class=AT0121 ellipsis=1.0"; + } +} + +images { + image: "b_home_screen_badge_large_bg.#.png" COMP; + image: "b_home_screen_badge_large_line.#.png" COMP; + image: "b_home_screen_badge_large_shadow.#.png" COMP; +} + +collections { +base_scale: 1.2; +group { + name: "item"; + parts { + part { + name: "bg"; + type: RECT; + scale: 1; + mouse_events: 0; + description { + state: "default" 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 1.0; + min: ITEM_WIDTH ITEM_HEIGHT; + align: 0.0 0.0; + color: 0 0 0 0; + visible: 1; + } + description { + state: "edit" 0.0; + inherit: "default" 0.0; + min: ITEM_EDIT_WIDTH ITEM_EDIT_HEIGHT; + } + } + part { + name: "item_inner"; + type: SWALLOW; + scale: 1; + mouse_events: 1; + repeat_events: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.5 0.5; to: "bg"; } + rel2 { relative: 0.5 0.5; to: "bg"; } + align: 0.5 0.5; + fixed: 1 1; + visible: 1; + } + } + part { + name: "focus"; + type: SWALLOW; + scale: 1; + mouse_events: 1; + repeat_events: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to: "bg"; } + rel2 { relative: 1.0 1.0; to: "bg"; } + color: 0 0 0 0; + visible: 1; + } + } + } + programs { + program { + signal: "unedit"; + source: "item"; + action: STATE_SET "default" 0.0; + target: "bg"; + } + program { + signal: "edit"; + source: "item"; + action: STATE_SET "edit" 0.0; + target: "bg"; + } + } +} + +group { + name: "item_inner"; + parts { + part { + name: "bg"; + type: SPACER; + scale: 1; + mouse_events: 0; + description { + state: "default" 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 1.0; + min: ITEM_WIDTH ITEM_HEIGHT; + fixed: 1 1; + } + description { + state: "edit" 0.0; + inherit: "default" 0.0; + min: ITEM_EDIT_WIDTH ITEM_EDIT_HEIGHT; + } + } + part { + name: "icon"; + type: SWALLOW; + scale: 1; + clip_to: "event,clip"; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { relative: 0.5 0.0; to: "bg"; } + rel2 { relative: 0.5 0.0; to: "bg"; } + min: ITEM_ICON_WIDTH ITEM_ICON_HEIGHT; + align: 0.5 0.0; + fixed: 1 1; + visible: 1; + } + description { + state: "edit" 0.0; + inherit: "default" 0.0; + min: ITEM_SMALL_ICON_WIDTH ITEM_SMALL_ICON_HEIGHT; + } + } + part { + name: "name"; + type: TEXTBLOCK; + scale: 1; + clip_to: "event,clip"; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { relative: 0.0 1.0; to_x: "bg"; to_y: "icon"; } + rel2 { relative: 1.0 1.0; to: "bg"; } + text { + style: "name_style"; + min: 0 0; + align: 0.0 0.0; + } + fixed: 1 1; + visible: 1; + } + description { + state: "hide" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { + name: "badge_bg"; + type: SPACER; + scale: 1; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { relative: (ITEM_BADGE_X/ITEM_WIDTH) (ITEM_BADGE_Y/ITEM_HEIGHT); to, "bg"; } + rel2 { relative: (ITEM_BADGE_X/ITEM_WIDTH) (ITEM_BADGE_Y/ITEM_HEIGHT); to, "bg"; } + } + } + part { + name: "badge_image"; + type: IMAGE; + scale: 1; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to, "badge_txt"; offset: -1 -1; } + rel2 { relative: 1.0 1.0; to, "badge_txt"; offset: -1 -1; } + image { + normal: "b_home_screen_badge_large_bg.#.png"; + } + color_class: "AO013L1"; + min: ITEM_BADGE_W ITEM_BADGE_H; + fixed: 1 1; + visible: 0; + } + description { + state: "1" 0.0; + inherit: "default" 0.0; + visible: 1; + min: ITEM_BADGE_W ITEM_BADGE_H; + } + description { + state: "2" 0.0; + inherit: "1" 0.0; + rel1 { relative: 0.0 0.0; to, "badge_txt"; offset: 0 -1; } + rel2 { relative: 1.0 1.0; to, "badge_txt"; offset: 0 -1; } + min: ITEM_BADGE_2W ITEM_BADGE_H; + } + description { + state: "3" 0.0; + inherit: "1" 0.0; + rel1 { relative: 0.0 0.0; to, "badge_txt"; offset: 0 -1; } + rel2 { relative: 1.0 1.0; to, "badge_txt"; offset: 0 -1; } + min: ITEM_BADGE_3W ITEM_BADGE_H; + } + } + part { + name: "badge_line"; + type: IMAGE; + scale: 1; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to, "badge_image"; } + rel2 { relative: 1.0 1.0; to, "badge_image"; } + image { + normal: "b_home_screen_badge_large_line.#.png"; + } + color_class: "AO013L2"; + fixed: 1 1; + visible: 0; + } + description { + state: "1" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { + state: "2" 0.0; + inherit: "1" 0.0; + } + description { + state: "3" 0.0; + inherit: "1" 0.0; + } + } + part { + name: "badge_shadow"; + type: IMAGE; + scale: 1; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to, "badge_image"; } + rel2 { relative: 1.0 1.0; to, "badge_image"; } + image { + normal: "b_home_screen_badge_large_shadow.#.png"; + } + color_class: "AO061"; + fixed: 1 1; + visible: 0; + } + description { + state: "1" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { + state: "2" 0.0; + inherit: "1" 0.0; + } + description { + state: "3" 0.0; + inherit: "1" 0.0; + } + } + + part { + name: "badge_txt"; + type: TEXT; + scale: 1; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { relative: 0.5 0.5; to, "badge_bg"; } + rel2 { relative: 0.5 0.5; to, "badge_bg"; } + align: 0.5 0.5; + color_class: "AT0132"; + text { + text_class: "AT0132"; + ellipsis: 0.0; + align: 0.5 0.5; + min: 1 1; + } + fixed: 1 1; + visible: 0; + } + description { + state: "1" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { + state: "2" 0.0; + inherit: "1" 0.0; + } + description { + state: "3" 0.0; + inherit: "1" 0.0; + } + } + part { + name: "event,clip"; + type: RECT; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to, "bg"; } + rel2 { relative: 1.0 1.0; to, "bg"; } + color: 255 255 255 255; + visible: 1; + } + description { + state: "pressed" 0.0; + inherit: "default" 0.0; + color: 255 255 255 127; + } + } + } + programs { + program { + signal: "item,pressed"; + source: "item_inner"; + action: STATE_SET "pressed" 0.0; + target: "event,clip"; + } + program { + signal: "item,released"; + source: "item_inner"; + action: STATE_SET "default" 0.0; + target: "event,clip"; + } + program { + signal: "name,show"; + source: "item_inner"; + action: STATE_SET "default" 0.0; + target: "name"; + } + program { + signal: "name,hide"; + source: "item_inner"; + action: STATE_SET "hide" 0.0; + target: "name"; + } + program { + signal: "unedit"; + source: "item_inner"; + action: STATE_SET "default" 0.0; + target: "bg"; + target: "icon"; + } + program { + signal: "edit"; + source: "item_inner"; + action: STATE_SET "edit" 0.0; + target: "bg"; + target: "icon"; + } + // Badge + program { + signal: "badge,on,1"; + source: "item"; + action: STATE_SET "1" 0.0; + target: "badge_image"; + target: "badge_line"; + target: "badge_txt"; + } + program { + signal: "badge,on,2"; + source: "item"; + action: STATE_SET "2" 0.0; + target: "badge_image"; + target: "badge_line"; + target: "badge_shadow"; + target: "badge_txt"; + } + program { + signal: "badge,on,3"; + source: "item"; + action: STATE_SET "3" 0.0; + target: "badge_image"; + target: "badge_line"; + target: "badge_shadow"; + target: "badge_txt"; + } + program { + signal: "badge,off"; + source: "item"; + action: STATE_SET "default" 0.0; + target: "badge_image"; + target: "badge_line"; + target: "badge_shadow"; + target: "badge_txt"; + } + } +} +group { + name: "center"; + parts { + part { + name: "bg"; + type: RECT; + scale: 1; + mouse_events: 1; + repeat_events: 1; + description { + state: "default" 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 1.0; + color: 0 0 0 0; + visible: 1; + } + } + } +} + + +} diff --git a/home/res/edje/rectangle/apps_layout.edc b/home/res/edje/rectangle/apps_layout.edc new file mode 100755 index 0000000..535c751 --- /dev/null +++ b/home/res/edje/rectangle/apps_layout.edc @@ -0,0 +1,229 @@ +/* + * Samsung API + * Copyright (c) 2013 Samsung Electronics Co., Ltd. + * + * Licensed under the Flora License, Version 1.1 (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. + */ + +#include "apps_conf.edc" +#include "../color_classes.edc" + +collections { + group { + name: "layout"; + parts { + part { + name: "bg"; + type: RECT; + mouse_events: 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; + visible: 1; + perspective { + zplane: 0; + } + } + } + part { + name: "focus"; + type: SWALLOW; + scale: 1; + mouse_events: 1; + repeat_events: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to: "bg"; } + rel2 { relative: 1.0 1.0; to: "bg"; } + color: 0 0 0 0; + visible: 1; + } + } + part { + name: "container"; + type: SWALLOW; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to: "bg"; } + rel2 { relative: 1.0 1.0; to: "bg"; } + visible: 1; + } + } + part { + name: "zoom"; + type: RECT; + description { + state: "default" 0.0; + color: 0 0 0 0; + perspective { + zplane: -140; + } + } + } + part { + name: "scroller"; + type: SWALLOW; + mouse_events: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to: "bg"; } + rel2 { relative: 1.0 1.0; to, "bg"; } + align: 0.5 0.0; + visible: 1; + map { + on: 0; + } + } + description { + state: "on" 0.0; + inherit: "default" 0.0; + map { + on: 1; + perspective: "bg"; + } + } + description { + state: "zoom" 0.0; + inherit: "on"; + map { + perspective: "zoom"; + } + } + } + part { + name: "top_checker"; + type: SWALLOW; + mouse_events: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to: "bg"; } + rel2 { relative: 1.0 0.2; to: "bg"; } + visible: 0; + } + description { + state: "show" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { + name: "bottom_checker"; + type: SWALLOW; + mouse_events: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.8; to: "bg"; } + rel2 { relative: 1.0 1.0; to: "bg"; } + visible: 0; + } + description { + state: "show" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + + part { + name: "blocker"; + type: RECT; + mouse_events: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to: "bg"; } + rel2 { relative: 1.0 1.0; to: "bg"; } + color: 0 0 0 0; + visible: 0; + } + description { + state: "enable" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + programs { + program { + name: "bg,down"; + signal: "mouse,down,1"; + source: "bg"; + action: SIGNAL_EMIT "bg,down" "bg"; + } + program { + name: "bg,up"; + signal: "mouse,up,1"; + source: "bg"; + action: SIGNAL_EMIT "bg,up" "bg"; + } + program { + signal: "show"; + source: "checker"; + action: STATE_SET "show" 0.0; + target: "top_checker"; + target: "bottom_checker"; + } + program { + signal: "hide"; + source: "checker"; + action: STATE_SET "default" 0.0; + target: "top_checker"; + target: "bottom_checker"; + } + program { + signal: "block"; + source: "layout"; + action: STATE_SET "enable" 0.0; + target: "blocker"; + } + program { + signal: "unblock"; + source: "layout"; + action: STATE_SET "default" 0.0; + target: "blocker"; + } + program { + signal: "show,zoom"; + source: "scroller"; + action: STATE_SET "on" 0.0; + target: "scroller"; + after: "show,zoom,after"; + } + program { + name: "show,zoom,after"; + action: STATE_SET "zoom" 0.0; + transition: SIN_FAC 0.2 0.90; + target: "scroller"; + } + program { + signal: "reset,zoom"; + source: "scroller"; + action: STATE_SET "on" 0.0; + transition: SIN_FAC 0.2 0.90; + target: "scroller"; + after: "reset,zoom,after"; + } + program { + name: "reset,zoom,after"; + action: STATE_SET "default" 0.0; + target: "scroller"; + } + } + } // layout group + +} // collections + + + +// End of file diff --git a/home/res/edje/rectangle/apps_page.edc b/home/res/edje/rectangle/apps_page.edc new file mode 100755 index 0000000..f9d5182 --- /dev/null +++ b/home/res/edje/rectangle/apps_page.edc @@ -0,0 +1,144 @@ +/* + * Samsung API + * Copyright (c) 2013 Samsung Electronics Co., Ltd. + * + * Licensed under the Flora License, Version 1.1 (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. + */ + +#include "apps_conf.edc" +#include "../color_classes.edc" + + + +#define ITEM_CENTER_PART(part_name, rel_x, rel_y, off_x, off_y, align_x, align_y) \ + part { \ + name: "item_center_"part_name; \ + type: SWALLOW; \ + mouse_events: 1; \ + description { \ + state: "default" 0.0; \ + rel1 { relative: (rel_x) (rel_y); offset: off_x off_y; to: "bg"; } \ + rel2 { relative: (rel_x) (rel_y); offset: off_x off_y; to: "bg"; } \ + align: align_x align_y; \ + min: ITEM_WIDTH ITEM_HEIGHT; \ + fixed: 1 1; \ + } \ + description { \ + state: "edit" 0.0; \ + inherit: "default" 0.0; \ + min: ITEM_EDIT_WIDTH ITEM_EDIT_HEIGHT; \ + } \ + } + +#define ITEM_CENTER_PROGRAM(part_name) \ + program { \ + signal: "unedit"; \ + source: "item_center_"part_name; \ + action: STATE_SET "default" 0.0; \ + target: "item_center_"part_name; \ + transition: DECELERATE 0.1; \ + } \ + program { \ + signal: "edit"; \ + source: "item_center_"part_name; \ + action: STATE_SET "edit" 0.0; \ + target: "item_center_"part_name; \ + transition: DECELERATE 0.1; \ + } + +#define ITEM_PART(part_name, pre_center, next_center) \ + part { \ + name: "item_"part_name; \ + type: SWALLOW; \ + scale: 1; \ + mouse_events: 1; \ + repeat_events: 1; \ + description { \ + state: "default" 0.0; \ + visible: 1; \ + rel1 { relative: 0.5 0.5; to: "item_center_"part_name; } \ + rel2 { relative: 0.5 0.5; to: "item_center_"part_name; } \ + align: 0.5 0.5; \ + fixed: 1 1; \ + } \ + description { \ + state: "prev" 0.0; \ + inherit: "default" 0.0; \ + rel1 { relative: 0.5 0.5; to: "item_center_"pre_center; } \ + rel2 { relative: 0.5 0.5; to: "item_center_"pre_center; } \ + } \ + description { \ + state: "next" 0.0; \ + inherit: "default" 0.0; \ + rel1 { relative: 0.5 0.5; to: "item_center_"next_center; } \ + rel2 { relative: 0.5 0.5; to: "item_center_"next_center; } \ + } \ + } + +#define ITEM_PROGRAM(part_name) \ + program { \ + signal: "prev"; \ + source: "item_"part_name; \ + action: STATE_SET "prev" 0.0; \ + target: "item_"part_name; \ + } \ + program { \ + signal: "next"; \ + source: "item_"part_name; \ + action: STATE_SET "next" 0.0; \ + target: "item_"part_name; \ + } \ + program { \ + signal: "return"; \ + source: "item_"part_name; \ + action: STATE_SET "default" 0.0; \ + target: "item_"part_name; \ + transition: LINEAR 0.2; \ + } + +collections { + group { + name: "page"; + parts { + part { + name: "bg"; + type: SWALLOW; + scale: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; } + rel2 { relative: 1.0 1.0; } + visible: 0; + } + } + + ITEM_CENTER_PART("-1", 0.5, -0.5, 1, 0, 0.0, 0.5) + ITEM_CENTER_PART("0", 0.5, 0.5, 0, 0, 1.0, 0.5) + ITEM_CENTER_PART("1", 0.5, 0.5, 1, 0, 0.0, 0.5) + ITEM_CENTER_PART("2", 0.5, 1.5, 0, 0, 1.0, 0.5) + + ITEM_PART("0", "-1", "1") + ITEM_PART("1", "0", "2") + } + + programs { + ITEM_CENTER_PROGRAM("-1"); + ITEM_CENTER_PROGRAM("0"); + ITEM_CENTER_PROGRAM("1"); + ITEM_CENTER_PROGRAM("2"); + + ITEM_PROGRAM("0") + ITEM_PROGRAM("1") + } + } // group +} // collections diff --git a/home/res/edje/rectangle/box_layout.edc b/home/res/edje/rectangle/box_layout.edc new file mode 100755 index 0000000..d875381 --- /dev/null +++ b/home/res/edje/rectangle/box_layout.edc @@ -0,0 +1,50 @@ +/* + * Samsung API + * Copyright (c) 2013 Samsung Electronics Co., Ltd. + * + * Licensed under the Flora License, Version 1.1 (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. + */ + +#include "conf.edc" +#include "../color_classes.edc" + +collections { + group { + name: "box"; + parts { + part { + name: "bg"; + type: SWALLOW; + scale: 1; + description { + state: "default" 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 1.0; + } + } + part { + name: "box"; + type: SWALLOW; + scale: 1; + description { + state: "default" 0.0; + rel1.relative: 0.0 0.0; + rel1.to: "bg"; + rel2.relative: 1.0 1.0; + rel2.to: "bg"; + visible: 1; + } + } + } + } +} diff --git a/home/res/edje/rectangle/clock_shortcut.edc b/home/res/edje/rectangle/clock_shortcut.edc new file mode 100755 index 0000000..6c0d3cc --- /dev/null +++ b/home/res/edje/rectangle/clock_shortcut.edc @@ -0,0 +1,160 @@ +/* + * Samsung API + * Copyright (c) 2013 Samsung Electronics Co., Ltd. + * + * Licensed under the Flora License, Version 1.1 (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. + */ + +#include "conf.edc" +#include "../color_classes.edc" + +#define CLOCK_SHORTCUT_W 65 +#define CLOCK_SHORTCUT_H 65 + +images { + image: "do_not_ic_donot_now.png" COMP; +} + +collections { +group { + name: "shortcut"; + parts { + part { + name: "bg"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 1.0; + } + } + part { + name: "shortcut,icon"; + type: SWALLOW; + scale: 1; + mouse_events: 0; + description { + state: "default" 0.0; + min: CLOCK_SHORTCUT_W CLOCK_SHORTCUT_H; + max: CLOCK_SHORTCUT_W CLOCK_SHORTCUT_H; + rel1 { relative: 1.0 0.0; to: "bg"; } + rel2 { relative: 1.0 0.0; to: "bg"; } + align: 1.0 0.0; + fixed: 1 1; + visible: 0; + } + description { + state: "show" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { + name: "block"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + rel1.to: "focus"; + rel2.to: "focus"; + color: 0 0 0 0; + visible: 0; + } + description { + state: "show" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { + name: "focus"; + type: SWALLOW; + scale: 1; + mouse_events: 1; + description { + state: "default" 0.0; + fixed: 1 1; + rel1 { relative: 0.0 0.0; to: "bg"; } + rel2 { relative: 1.0 1.0; to: "bg"; } + align: 0.0 0.0; + visible: 0; + } + description { + state: "show" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + programs { + program { + name: "icon,show"; + signal: "icon,show"; + source: "prog"; + action: STATE_SET "show" 0.0; + target: "shortcut,icon"; + target: "focus"; + target: "block"; + } + program { + name: "icon,hide"; + signal: "icon,hide"; + source: "prog"; + action: STATE_SET "default" 0.0; + target: "shortcut,icon"; + target: "focus"; + target: "block"; + } + } +} + +group { + name: "shortcut_default_icon"; + parts { + part { + name: "bg"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 1.0; + } + } + part { + name: "shortcut,icon"; + type: IMAGE; + scale: 1; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { relative: 0.5 0.5; to: "bg"; } + rel2 { relative: 0.5 0.5; to: "bg"; } + image { + normal: "do_not_ic_donot_now.png"; + } + min: CLOCK_SHORTCUT_W CLOCK_SHORTCUT_H; + max: CLOCK_SHORTCUT_W CLOCK_SHORTCUT_H; + align: 0.5 0.5; + fixed: 1 1; + visible: 1; + } + } + } +} +} // collections + + + +// End of file diff --git a/home/res/edje/rectangle/conf.edc b/home/res/edje/rectangle/conf.edc new file mode 120000 index 0000000..f925e7c --- /dev/null +++ b/home/res/edje/rectangle/conf.edc @@ -0,0 +1 @@ +../../../include/conf.h
\ No newline at end of file diff --git a/home/res/edje/rectangle/dynamicbox.edc b/home/res/edje/rectangle/dynamicbox.edc new file mode 100644 index 0000000..ccd5f09 --- /dev/null +++ b/home/res/edje/rectangle/dynamicbox.edc @@ -0,0 +1,429 @@ +/* + * Samsung API + * Copyright (c) 2013 Samsung Electronics Co., Ltd. + * + * Licensed under the Flora License, Version 1.1 (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. + */ + +#include "../color_classes.edc" + +collections { + styles { + style { + name: "overlay,text"; + base: "font=Tizen text_class=tizen font_size=30 align=center color=#FFFFFF ellipsis=1.0 wrap=char"; + tag: "br" "\n"; + tag: "hilight" "+ font=Tizen:style=Bold"; + tag: "b" "+ font=Tizen:style=Bold"; + tag: "tab" "\t"; + } + } + + group + { + name: "overlay"; + parts + { + part { + name: "preview"; + type: SWALLOW; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; } + rel2 { relative: 1.0 1.0; } + } + } + + part { + name: "bg,img"; + type: RECT; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; } + rel2 { relative: 1.0 1.0; } + color: 100 100 100 100; + } + description { + state: "hide" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + + part { + name: "text"; + type: TEXTBLOCK; + description { + state: "default" 0.0; + rel1 { relative: 0.5 200/320; } + rel2 { relative: 0.5 320/320; } + max: 280 -1; + fixed: 1 0; + text { + style: "overlay,text"; + min: 0 0; + } + } + description { + state: "hide" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + } + + programs { + program { + name: "disable,text"; + signal: "disable"; + source: "text"; + action: STATE_SET "hide" 0.0; + target: "text"; + target: "bg,img"; + } + + program { + name: "enable,text"; + signal: "enable"; + source: "text"; + action: STATE_SET "default" 0.0; + target: "text"; + target: "bg,img"; + } + } + } + + group + { + name: "widget,image"; + parts + { + part { + name: "front"; + type: RECT; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; } + rel2 { relative: 1.0 1.0; } + visible: 1; + } + description { + state: "to,back" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + + part { + name: "front,content"; + type: SWALLOW; + clip_to: "front"; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; } + rel2 { relative: 1.0 1.0; } + } + } + + part { + name: "back"; + type: RECT; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; } + rel2 { relative: 1.0 1.0; } + visible: 0; + } + description { + state: "to,back" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + + part { + name: "back,content"; + type: SWALLOW; + clip_to: "back"; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; } + rel2 { relative: 1.0 1.0; } + } + } + } + + programs + { + program { + name: "turn,to,back,front"; + signal: "to,back"; + source: "turn"; + action: STATE_SET "to,back" 0.0; + target: "front"; + target: "back"; + transition: LINEAR 0.5; + after: "play,end"; + } + + program { + name: "turn,to,front"; + signal: "to,front"; + source: "turn"; + action: STATE_SET "default" 0.0; + target: "front"; + target: "back"; + transition: LINEAR 0.5; + after: "play,end"; + } + + program { + name: "play,end"; + action: SIGNAL_EMIT "done" "turn"; + } + } + } + + group + { + name: "widget"; + parts + { + part { + name: "widget,content"; + type: SWALLOW; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; } + rel2 { relative: 1.0 1.0; } + map { + on: 0; + } + } + description { + state: "tilt" 0.0; + inherit: "default" 0.0; + map { + on: 1; + rotation { + x: 30.0; + } + } + } + description { + state: "move,down" 0.0; + inherit: "default" 0.0; + rel1 { relative: 0.0 0.2; } + rel2 { relative: 1.0 1.2; } + } + } + + part { + name: "scroller"; + mouse_events: 1; + repeat_events: 1; + type: SWALLOW; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; } + rel2 { relative: 1.0 1.0; } + } + } + + part { + name: "overlay"; + mouse_events: 1; + type: RECT; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; } + rel2 { relative: 1.0 1.0; } + color: 255 255 255 255; + visible: 1; + } + description { + state: "disable,overlay" 0.0; + inherit: "default" 0.0; + color: 0 0 0 0; + visible: 0; + } + } + + part { + name: "overlay,content"; + mouse_events: 1; + type: SWALLOW; + clip_to: "overlay"; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; } + rel2 { relative: 1.0 1.0; } + } + } + } + + programs + { + program { + name: "reset,overlay"; + signal: "reset"; + source: "overlay"; + action: STATE_SET "disable,overlay" 0.0; + target: "overlay"; + } + program { + name: "enable,overlay"; + signal: "enable"; + source: "overlay"; + action: STATE_SET "default" 0.0; + target: "overlay"; + transition: LINEAR 0.5; + after: "animation,done"; + } + + program { + name: "disable,overlay"; + signal: "disable"; + source: "overlay"; + action: STATE_SET "disable,overlay" 0.0; + target: "overlay"; + transition: LINEAR 0.5; + after: "animation,done"; + } + + program { + name: "tilt,start"; + signal: "tilt"; + source: "content"; + action: STATE_SET "tilt" 0.0; + target: "widget,content"; + transition: LINEAR 0.15; + after: "tilt,end"; + } + + program { + name: "tilt,end"; + action: STATE_SET "default" 0.0; + target: "widget,content"; + transition: LINEAR 0.15; + after: "animation,done"; + } + + program { + name: "move,down,start"; + signal: "move,down"; + source: "content"; + action: STATE_SET "move,down" 0.0; + target: "widget,content"; + transition: LINEAR 0.15; + after: "move,down,end"; + } + + program { + name: "move,down,end"; + action: STATE_SET "default" 0.0; + target: "widget,content"; + transition: LINEAR 0.15; + after: "animation,done"; + } + + program { + name: "animation,done"; + action: SIGNAL_EMIT "finished" "animation"; + } + } + } + + group + { + name: "gbar"; + parts + { + part { + name: "gbar,content"; + type: SWALLOW; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; } + rel2 { relative: 1.0 1.0; } + } + } + + part { + name: "overlay"; + type: RECT; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; } + rel2 { relative: 1.0 1.0; } + color: 255 255 255 255; + visible: 1; + } + description { + state: "disable,overlay" 0.0; + inherit: "default" 0.0; + color: 0 0 0 0; + visible: 0; + } + } + + part { + name: "overlay,content"; + type: SWALLOW; + clip_to: "overlay"; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; } + rel2 { relative: 1.0 1.0; } + } + } + } + + programs + { + program { + name: "reset,overlay"; + signal: "reset"; + source: "overlay"; + action: STATE_SET "disable,overlay" 0.0; + target: "overlay"; + } + program { + name: "enable,overlay"; + signal: "enable"; + source: "overlay"; + action: STATE_SET "default" 0.0; + target: "overlay"; + transition: LINEAR 0.15; + after: "animation,done"; + } + + program { + name: "disable,overlay"; + signal: "disable"; + source: "overlay"; + action: STATE_SET "disable,overlay" 0.0; + target: "overlay"; + transition: LINEAR 0.15; + after: "animation,done"; + } + + program { + name: "animation,done"; + action: SIGNAL_EMIT "finished" "animation"; + } + } + } +} + +/* End of a file */ diff --git a/home/res/edje/rectangle/edit.edc b/home/res/edje/rectangle/edit.edc new file mode 100755 index 0000000..7d32d65 --- /dev/null +++ b/home/res/edje/rectangle/edit.edc @@ -0,0 +1,170 @@ +/* + * Samsung API + * Copyright (c) 2013 Samsung Electronics Co., Ltd. + * + * Licensed under the Flora License, Version 1.1 (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. + */ + +#include "conf.edc" +#include "../color_classes.edc" + +#define PLUS_MIN 90 90 + +styles { + style { + name: "max_text_style"; + base: "font=TIZEN:style=Regular text_class=tizen style=shadow shadow_color=#0000004C font_size="25" color_class=AT0121 align=middle color=#FFFFFF ellipsis=1 wrap=mixed"; + } +} + +images { + image: "b_home_screen_widget_line.#.png" COMP; + image: "b_home_screen_widget_line_ef.png" COMP; + image: "b_home_screen_widget_plus.png" COMP; + image: "b_home_screen_widget_plus_ef.png" COMP; + image: "b_home_screen_edit_cover.png" COMP; + image: "b_home_screen_edit_cover_ef.png" COMP; +} + +collections { +group { + name: "edit"; + parts { + part { + name: "bottom_bg"; + type: SPACER; + scale: 1; + mouse_events: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; } + rel2 { relative: 1.0 1.0; } + } + } + part { + name: "bg"; + type: RECT; + scale: 1; + mouse_events: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; } + rel2 { relative: 1.0 1.0; } + color_class: "AO041"; + visible: 0; + } + } + part { + name: "scroller_region"; + type: SPACER; + scale: 1; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to, "bg"; } + rel2 { relative: 1.0 1.0; to, "bg"; } + } + } + part { + name: "scroller"; + type: SWALLOW; + scale: 1; + mouse_events: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to, "scroller_region";} + rel2 { relative: 1.0 1.0; to, "scroller_region";} + visible: 1; + } + } + part { + name: "index_region"; + type: SPACER; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { relative: 0.0 INDICATOR_START_Y/BASE_HEIGHT; to, "bg"; } + rel2 { relative: 1.0 (INDICATOR_START_Y+INDICATOR_HEIGHT)/BASE_HEIGHT; to, "bg"; } + } + } + part { + name: "index_clipper"; + type: RECT; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to: "index_region"; } + rel2 { relative: 1.0 1.0; to: "index_region"; } + color: 255 255 255 0; + visible: 1; + } + description { + state: "init" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + } + } + part { + name: "index"; + type: SWALLOW; + scale: 1; + mouse_events: 1; + clip_to: "index_clipper"; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to, "index_region";} + rel2 { relative: 1.0 1.0; to, "index_region";} + visible: 1; + } + } + } // parts + programs { + program { + signal: "init"; + source: "edit"; + action: STATE_SET "init" 0.0; + target: "index_clipper"; + transition: LINEAR 0.5; + } + program { + signal: "hide"; + source: "edit"; + action: STATE_SET "default" 0.0; + target: "index_clipper"; + } + } // programs +} // group + +group { + name: "proxy_item"; + parts { + part { + name: "proxy_item"; + type: SWALLOW; + mouse_events: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; } + rel2 { relative: 1.0 1.0; } + min: ITEM_EDIT_WIDTH ITEM_EDIT_HEIGHT; + max: ITEM_EDIT_WIDTH ITEM_EDIT_HEIGHT; + visible: 1; + } + } + } +} // group +} // collections + + + +// End of file diff --git a/home/res/edje/rectangle/index.edc b/home/res/edje/rectangle/index.edc new file mode 100755 index 0000000..9eed13c --- /dev/null +++ b/home/res/edje/rectangle/index.edc @@ -0,0 +1,357 @@ +/* + * Samsung API + * Copyright (c) 2013 Samsung Electronics Co., Ltd. + * + * Licensed under the Flora License, Version 1.1 (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. + */ + +#include "conf.edc" +#include "../color_classes.edc" + +collections { + group { + name: "elm/index/item/vertical/clock/thumbnail"; + alias: "elm/index/item_odd/vertical/clock/thumbnail"; + alias: "elm/index/item/horizontal/clock/thumbnail"; + alias: "elm/index/item_odd/horizontal/clock/thumbnail"; + images { + image: "indicator_clock_on_normal.png" COMP; + image: "indicator_clock_on_focused.png" COMP; + image: "indicator_clock_on_normal_ef.png" COMP; + image: "indicator_clock_on_focused_ef.png" COMP; + } + parts { + part { name:"bg"; + type : RECT; + scale: 1; + description { state: "default" 0.0; + color: 0 0 0 0; + min: INDEX_THUMBNAIL_HOME_BG_SIZE; + max: INDEX_THUMBNAIL_HOME_BG_SIZE; + visible: 0; + align: 0.5 0.5; + } + } + part { name: "indicator1_ef"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + align: 0.5 0.5; + fixed: 1 1; + min: INDEX_THUMBNAIL_HOME_IND_SIZE; + max: INDEX_THUMBNAIL_HOME_IND_SIZE; + image.normal: "indicator_clock_on_normal_ef.png"; + color_class: "AO062"; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "indicator1"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + align: 0.5 0.5; + fixed: 1 1; + min: INDEX_THUMBNAIL_HOME_IND_SIZE; + max: INDEX_THUMBNAIL_HOME_IND_SIZE; + image.normal: "indicator_clock_on_normal.png"; + color_class: "AO032"; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "indicator2_ef"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + align: 0.5 0.5; + fixed: 1 1; + min: INDEX_THUMBNAIL_HOME_IND_SIZE; + max: INDEX_THUMBNAIL_HOME_IND_SIZE; + image.normal: "indicator_clock_on_focused_ef.png"; + color_class: "AO062P"; + visible: 0; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "indicator2"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + align: 0.5 0.5; + fixed: 1 1; + min: INDEX_THUMBNAIL_HOME_IND_SIZE; + max: INDEX_THUMBNAIL_HOME_IND_SIZE; + image.normal: "indicator_clock_on_focused.png"; + color_class: "AO0321"; + visible: 0; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } //parts + programs { + program { name: "active"; + signal: "elm,state,active"; + source: "elm"; + action: STATE_SET "active" 0.0; + target: "indicator1"; + target: "indicator2"; + target: "indicator1_ef"; + target: "indicator2_ef"; + } + program { name: "inactive"; + signal: "elm,state,inactive"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "indicator1"; + target: "indicator2"; + target: "indicator1_ef"; + target: "indicator2_ef"; + } + } //programs + } // group + group { + name: "elm/index/item/vertical/noti/thumbnail"; + alias: "elm/index/item_odd/vertical/noti/thumbnail"; + alias: "elm/index/item/horizontal/noti/thumbnail"; + alias: "elm/index/item_odd/horizontal/noti/thumbnail"; + images { + image: "indicator_panel_on_normal.png" COMP; + image: "indicator_panel_on_focused.png" COMP; + image: "indicator_panel_on_normal_ef.png" COMP; + image: "indicator_panel_on_focused_ef.png" COMP; + } + parts { + part { name:"bg"; + type : RECT; + scale: 1; + description { state: "default" 0.0; + color: 0 0 0 0; + min: INDEX_THUMBNAIL_HOME_BG_SIZE; + max: INDEX_THUMBNAIL_HOME_BG_SIZE; + visible: 0; + align: 0.5 0.5; + } + } + part { name: "indicator1_ef"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + align: 0.5 0.5; + fixed: 1 1; + min: INDEX_THUMBNAIL_HOME_IND_SIZE; + max: INDEX_THUMBNAIL_HOME_IND_SIZE; + image.normal: "indicator_panel_on_normal_ef.png"; + color_class: "AO062"; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "indicator1"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + align: 0.5 0.5; + fixed: 1 1; + min: INDEX_THUMBNAIL_HOME_IND_SIZE; + max: INDEX_THUMBNAIL_HOME_IND_SIZE; + image.normal: "indicator_panel_on_normal.png"; + color_class: "AO032"; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "indicator2_ef"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + align: 0.5 0.5; + fixed: 1 1; + min: INDEX_THUMBNAIL_HOME_IND_SIZE; + max: INDEX_THUMBNAIL_HOME_IND_SIZE; + image.normal: "indicator_panel_on_focused_ef.png"; + color_class: "AO062P"; + visible: 0; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "indicator2"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + align: 0.5 0.5; + fixed: 1 1; + min: INDEX_THUMBNAIL_HOME_IND_SIZE; + max: INDEX_THUMBNAIL_HOME_IND_SIZE; + image.normal: "indicator_panel_on_focused.png"; + color_class: "AO0321"; + visible: 0; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } //parts + programs { + program { name: "active"; + signal: "elm,state,active"; + source: "elm"; + action: STATE_SET "active" 0.0; + target: "indicator1"; + target: "indicator2"; + target: "indicator1_ef"; + target: "indicator2_ef"; + } + program { name: "inactive"; + signal: "elm,state,inactive"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "indicator1"; + target: "indicator2"; + target: "indicator1_ef"; + target: "indicator2_ef"; + } + } //programs + } // group + group { + name: "elm/index/item/vertical/page/thumbnail"; + alias: "elm/index/item_odd/vertical/page/thumbnail"; + alias: "elm/index/item/horizontal/page/thumbnail"; + alias: "elm/index/item_odd/horizontal/page/thumbnail"; + images { + image: "indicator_on_normal.png" COMP; + image: "indicator_on_focused.png" COMP; + image: "indicator_on_normal_ef.png" COMP; + image: "indicator_on_focused_ef.png" COMP; + } + parts { + part { name:"bg"; + type : RECT; + scale: 1; + description { state: "default" 0.0; + color: 0 0 0 0; + min: INDEX_THUMBNAIL_HOME_BG_SIZE; + max: INDEX_THUMBNAIL_HOME_BG_SIZE; + visible: 0; + align: 0.5 0.5; + } + } + part { name: "indicator1_ef"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + align: 0.5 0.5; + fixed: 1 1; + min: INDEX_THUMBNAIL_HOME_IND_SIZE; + max: INDEX_THUMBNAIL_HOME_IND_SIZE; + image.normal: "indicator_on_normal_ef.png"; + color_class: "AO062"; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "indicator1"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + align: 0.5 0.5; + fixed: 1 1; + min: INDEX_THUMBNAIL_HOME_IND_SIZE; + max: INDEX_THUMBNAIL_HOME_IND_SIZE; + image.normal: "indicator_on_normal.png"; + color_class: "AO032"; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "indicator2_ef"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + align: 0.5 0.5; + fixed: 1 1; + min: INDEX_THUMBNAIL_HOME_IND_SIZE; + max: INDEX_THUMBNAIL_HOME_IND_SIZE; + image.normal: "indicator_on_focused_ef.png"; + color_class: "AO062P"; + visible: 0; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "indicator2"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + align: 0.5 0.5; + fixed: 1 1; + min: INDEX_THUMBNAIL_HOME_IND_SIZE; + max: INDEX_THUMBNAIL_HOME_IND_SIZE; + image.normal: "indicator_on_focused.png"; + color_class: "AO0321"; + visible: 0; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } //parts + programs { + program { name: "active"; + signal: "elm,state,active"; + source: "elm"; + action: STATE_SET "active" 0.0; + target: "indicator1"; + target: "indicator2"; + target: "indicator1_ef"; + target: "indicator2_ef"; + } + program { name: "inactive"; + signal: "elm,state,inactive"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "indicator1"; + target: "indicator2"; + target: "indicator1_ef"; + target: "indicator2_ef"; + } + } // programs + } //group +} // collections + +/* End of a file */ diff --git a/home/res/edje/rectangle/layout.edc b/home/res/edje/rectangle/layout.edc new file mode 100755 index 0000000..d2557a3 --- /dev/null +++ b/home/res/edje/rectangle/layout.edc @@ -0,0 +1,668 @@ +/* + * Samsung API + * Copyright (c) 2013 Samsung Electronics Co., Ltd. + * + * Licensed under the Flora License, Version 1.1 (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. + */ + +#include "conf.edc" +#include "../color_classes.edc" + +images { + image: "bouncing_bottom_edge.png" COMP; + image: "bouncing_bottom_glow.png" COMP; + image: "bouncing_left_edge.png" COMP; + image: "bouncing_left_glow.png" COMP; + image: "bouncing_right_edge.png" COMP; + image: "bouncing_right_glow.png" COMP; +} + +collections { + group { + name: "layout"; + parts { + part { + name: "bg"; + type: SPACER; + scale: 1; + mouse_events: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; } + rel2 { relative: 1.0 1.0; } + } + } + part { + name: "opacity"; + type: RECT; + scale: 1; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { to: "bg"; } + rel2 { to: "bg"; } + color: 0 0 0 64; + visible: 0; + } + description { + state: "opacity" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { + name: "scroller,clip"; + type: RECT; + scale: 1; + mouse_events: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to, "bg";} + rel2 { relative: 1.0 1.0; to, "bg";} + color: 255 255 255 255; + visible: 1; + } + description { + state: "show" 0.0; + inherit: "default" 0.0; + color: 255 255 255 0; + } + } + part { + name: "scroller_region"; + type: SPACER; + scale: 1; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { to, "bg"; } + rel2 { to, "bg"; } + } + } + part { + name: "scroller"; + type: SWALLOW; + clip_to: "scroller,clip"; + scale: 1; + mouse_events: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to, "scroller_region";} + rel2 { relative: 1.0 1.0; to, "scroller_region";} + visible: 1; + } + description { + state: "hide" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { + name: "index_region"; + type: SPACER; + scale: 1; + mouse_events: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.0 INDICATOR_START_Y/BASE_HEIGHT; to, "bg"; } + rel2 { relative: 1.0 (INDICATOR_START_Y+INDICATOR_HEIGHT)/BASE_HEIGHT; to, "bg"; } + } + } + part { + name: "left_index,clip"; + type: RECT; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to, "index_region"; } + rel2 { relative: 1.0 1.0; to, "index_region"; } + color: 255 255 255 255; + visible: 1; + } + description { + state: "hide" 0.0; + inherit: "default" 0.0; + color: 0 0 0 0; + } + } + part { + name: "left_index"; + type: SWALLOW; + scale: 1; + clip_to: "left_index,clip"; + mouse_events: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to, "index_region";} + rel2 { relative: 1.0 1.0; to, "index_region";} + visible: 1; + } + description { + state: "hide" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { + name: "right_index,clip"; + type: RECT; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to, "index_region"; } + rel2 { relative: 1.0 1.0; to, "index_region"; } + color: 255 255 255 255; + visible: 1; + } + description { + state: "hide" 0.0; + inherit: "default" 0.0; + color: 255 255 255 0; + } + } + part { + name: "right_index"; + type: SWALLOW; + scale: 1; + clip_to: "right_index,clip"; + mouse_events: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to, "index_region";} + rel2 { relative: 1.0 1.0; to, "index_region";} + visible: 1; + } + description { + state: "hide" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { + name: "edit_region"; + type: SPACER; + scale: 1; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { to, "bg"; } + rel2 { to, "bg"; } + } + } + part { + name: "edit"; + type: SWALLOW; + clip_to: "scroller,clip"; + scale: 1; + mouse_events: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to, "edit_region";} + rel2 { relative: 1.0 1.0; to, "edit_region";} + visible: 0; + } + description { + state: "show" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { + name: "add_viewer_region"; + type: SPACER; + scale: 1; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { to, "bg"; } + rel2 { to, "bg"; } + } + } + part { + name: "add_viewer,clip"; + type: RECT; + scale: 1; + mouse_events: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to, "bg";} + rel2 { relative: 1.0 1.0; to, "bg";} + color: 255 255 255 0; + visible: 1; + } + description { + state: "show" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + } + } + part { + name: "add_viewer"; + type: SWALLOW; + scale: 1; + mouse_events: 1; + clip_to: "add_viewer,clip"; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to, "add_viewer_region";} + rel2 { relative: 1.0 1.0; to, "add_viewer_region";} + visible: 0; + } + description { + state: "show" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { + name: "left_checker"; + type: SWALLOW; + mouse_events: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to: "bg"; } + rel2 { relative: 0.2 1.0; to: "bg"; } + visible: 0; + } + description { + state: "show" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { + name: "right_checker"; + type: SWALLOW; + mouse_events: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.8 0.0; to: "bg"; } + rel2 { relative: 1.0 1.0; to: "bg"; } + visible: 0; + } + description { + state: "show" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { + name: "blocker"; + type: RECT; + scale: 1; + mouse_events: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to: "bg"; } + rel2 { relative: 1.0 1.0; to: "bg"; } + color: 0 0 0 0; + visible: 0; + } + description { + state: "enable" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { + name: "bottom,clipper"; + type: RECT; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { relative: 0.0 1.0; to: "bouncing,bottom,edge"; } + rel2 { relative: 1.0 1.0; to: "bouncing,bottom,edge"; } + visible: 1; + } + description { + state: "show"; + inherit: "default" 0.0; + rel1 { relative: 0.0 0.0; to: "bouncing,bottom,glow"; } + rel2 { relative: 1.0 1.0; to: "bouncing,bottom,edge"; } + } + } + part { + name: "bouncing,bottom,edge"; + type: IMAGE; + scale: 1; + mouse_events: 0; + clip_to: "bottom,clipper"; + description { + state: "default" 0.0; + rel1 { relative: 0.0 1.0; to: "bg"; } + rel2 { relative: 1.0 1.0; to: "bg"; } + image { + normal: "bouncing_bottom_edge.png"; + } + color_class: "B019"; + min: 360 2; + fixed: 1 1; + align: 0.5 1.0; + visible: 1; + } + } + part { + name: "bouncing,bottom,glow"; + type: IMAGE; + scale: 1; + mouse_events: 0; + clip_to: "bottom,clipper"; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to: "bouncing,bottom,edge"; } + rel2 { relative: 1.0 0.0; to: "bouncing,bottom,edge"; } + image { + normal: "bouncing_bottom_glow.png"; + } + color_class: "B018E"; + min: 360 50; + fixed: 1 1; + align: 0.5 1.0; + visible: 1; + } + } + part { + name: "left,clipper"; + type: RECT; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to: "bouncing,left,edge"; } + rel2 { relative: 0.0 1.0; to: "bouncing,left,edge"; } + visible: 1; + } + description { + state: "show"; + inherit: "default" 0.0; + rel1 { relative: 0.0 0.0; to: "bouncing,left,edge"; } + rel2 { relative: 1.0 1.0; to: "bouncing,left,glow"; } + } + } + part { + name: "bouncing,left,edge"; + type: IMAGE; + scale: 1; + mouse_events: 0; + clip_to: "left,clipper"; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to: "bg"; } + rel2 { relative: 0.0 1.0; to: "bg"; } + image { + normal: "bouncing_left_edge.png"; + } + color_class: "B019"; + min: 1 480; + fixed: 1 1; + align: 0.0 0.5; + visible: 1; + } + } + part { + name: "bouncing,left,glow"; + type: IMAGE; + scale: 1; + mouse_events: 0; + clip_to: "left,clipper"; + description { + state: "default" 0.0; + rel1 { relative: 1.0 0.0; to: "bouncing,left,edge"; } + rel2 { relative: 1.0 1.0; to: "bouncing,left,edge"; } + image { + normal: "bouncing_left_glow.png"; + } + color_class: "B018E"; + min: 50 480; + fixed: 1 1; + align: 0.0 0.5; + visible: 1; + } + } + part { + name: "right,clipper"; + type: RECT; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { relative: 1.0 0.0; to: "bouncing,right,edge"; } + rel2 { relative: 1.0 1.0; to: "bouncing,right,edge"; } + visible: 1; + } + description { + state: "show"; + inherit: "default" 0.0; + rel1 { relative: 0.0 0.0; to: "bouncing,right,glow"; } + rel2 { relative: 1.0 1.0; to: "bouncing,right,edge"; offset: 1 0; } + } + } + + part { + name: "bouncing,right,edge"; + type: IMAGE; + scale: 1; + mouse_events: 0; + clip_to: "right,clipper"; + description { + state: "default" 0.0; + rel1 { relative: 1.0 0.0; to: "bg"; } + rel2 { relative: 1.0 1.0; to: "bg"; } + image { + normal: "bouncing_right_edge.png"; + } + color_class: "B019"; + min: 1 480; + fixed: 1 1; + align: 1.0 0.5; + visible: 1; + } + } + part { + name: "bouncing,right,glow"; + type: IMAGE; + scale: 1; + mouse_events: 0; + clip_to: "right,clipper"; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to: "bouncing,right,edge"; } + rel2 { relative: 0.0 1.0; to: "bouncing,right,edge"; } + image { + normal: "bouncing_right_glow.png"; + } + color_class: "B018E"; + min: 50 480; + fixed: 1 1; + align: 1.0 0.5; + visible: 1; + } + } + } + programs { + program { + signal: "opacity"; + source: "layout"; + action: STATE_SET "opacity" 0.0; + target: "opacity"; + } + program { + signal: "transparent"; + source: "layout"; + action: STATE_SET "default" 0.0; + target: "opacity"; + } + program { + signal: "show"; + source: "checker"; + action: STATE_SET "show" 0.0; + target: "left_checker"; + target: "right_checker"; + } + program { + signal: "hide"; + source: "checker"; + action: STATE_SET "default" 0.0; + target: "left_checker"; + target: "right_checker"; + } + program { + signal: "block"; + source: "layout"; + action: STATE_SET "enable" 0.0; + target: "blocker"; + } + program { + signal: "unblock"; + source: "layout"; + action: STATE_SET "default" 0.0; + target: "blocker"; + } + program { + signal: "show"; + source: "left_index"; + action: STATE_SET "default" 0.0; + target: "left_index,clip"; + } + program { + signal: "hide"; + source: "left_index"; + action: STATE_SET "hide" 0.0; + target: "left_index,clip"; + transition: LINEAR 0.2; + } + program { + signal: "show"; + source: "right_index"; + action: STATE_SET "default" 0.0; + target: "right_index,clip"; + } + program { + signal: "hide"; + source: "right_index"; + action: STATE_SET "hide" 0.0; + target: "right_index,clip"; + transition: LINEAR 0.2; + } + program { + signal: "show"; + source: "edit"; + action: STATE_SET "show" 0.0; + target: "edit"; + } + program { + signal: "hide"; + source: "edit"; + action: STATE_SET "default" 0.0; + target: "edit"; + } + program { + signal: "show"; + source: "scroller"; + action: STATE_SET "default" 0.0; + target: "scroller"; + target: "left_index"; + target: "right_index"; + } + program { + signal: "hide"; + source: "scroller"; + action: STATE_SET "hide" 0.0; + target: "scroller"; + target: "left_index"; + target: "right_index"; + } + program { + signal: "show"; + source: "add_viewer"; + action: STATE_SET "show" 0.0; + target: "add_viewer,clip"; + target: "add_viewer"; + target: "scroller,clip"; + transition: LINEAR 0.1; + } + program { + signal: "hide"; + source: "add_viewer"; + action: STATE_SET "default" 0.0; + target: "add_viewer,clip"; + target: "add_viewer"; + target: "scroller,clip"; + transition: LINEAR 0.1; + after: "hide,after"; + } + program { + signal: "hide,instant"; + source: "add_viewer"; + action: STATE_SET "default" 0.0; + target: "add_viewer,clip"; + target: "add_viewer"; + target: "scroller,clip"; + after: "hide,after"; + } + program { + name: "hide,after"; + source: "add_viewer"; + action: SIGNAL_EMIT "add_viewer,hide" "add_viewer"; + } + program { + name: "bottom,show"; + signal: "bottom,show"; + source: "layout"; + action: STATE_SET "show" 0.0; + target: "bottom,clipper"; + transition: LINEAR 0.2; + after: "bottom,hide"; + } + program { + name: "bottom,hide"; + signal: "bottom,hide"; + source: "layout"; + action: STATE_SET "default" 0.0; + target: "bottom,clipper"; + } + program { + name: "left,show"; + signal: "left,show"; + source: "layout"; + action: STATE_SET "show" 0.0; + target: "left,clipper"; + transition: LINEAR 0.2; + after: "left,hide"; + } + program { + name: "left,hide"; + signal: "left,hide"; + source: "layout"; + action: STATE_SET "default" 0.0; + target: "left,clipper"; + } + program { + name: "right,show"; + signal: "right,show"; + source: "layout"; + action: STATE_SET "show" 0.0; + target: "right,clipper"; + transition: LINEAR 0.2; + after: "right,hide"; + } + program { + name: "right,hide"; + signal: "right,hide"; + source: "layout"; + action: STATE_SET "default" 0.0; + target: "right,clipper"; + } + } + } // group +} // collections + + + +// End of file diff --git a/home/res/edje/rectangle/noti.edc b/home/res/edje/rectangle/noti.edc new file mode 100755 index 0000000..7204f81 --- /dev/null +++ b/home/res/edje/rectangle/noti.edc @@ -0,0 +1,514 @@ +/* + * Samsung API + * Copyright (c) 2013 Samsung Electronics Co., Ltd. + * + * Licensed under the Flora License, Version 1.1 (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. + */ + +#include "conf.edc" +#include "../color_classes.edc" + +styles { + style { + name: "summary_text_style"; + base: "font=TIZEN:style=Regular text_class=tizen style=shadow shadow_color=#0000004C font_size=25 align=middle ellipsis=1 color=#FFFFFF wrap=mixed"; + } +} + +styles { + style { + name: "detail_text_style"; + base: "font=TIZEN:style=Regular text_class=tizen style=shadow shadow_color=#0000004C font_size=25 align=middle color=#FFFFFF wrap=mixed"; + } +} + +images { + image: "w_cover_view_ic_delete.png" COMP; +} + +collections { + base_scale: 1.2; + group { + name: "summary"; + parts { + part { + name: "bg"; + type: SWALLOW; + scale: 1; + mouse_events: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; } + rel2 { relative: 1.0 1.0; } + visible: 1; + } + } + part { + name: "bg,rect"; + type: RECT; + scale: 1; + mouse_events: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to: "bg"; } + rel2 { relative: 1.0 1.0; to: "bg"; } + color: 0 0 0 255; + visible: 1; + } + } + part { + name: "icon"; + type: SWALLOW; + scale: 1; + mouse_events: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.5 0.0; to: "bg"; offset: 0 3; } + rel2 { relative: 0.5 0.0; to: "bg"; offset: 0 3; } + align: 0.5 0.0; + fixed: 1 1; + visible: 1; + } + } + part { + name: "title"; + type: TEXT; + scale: 1; + mouse_events: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.2 1.0; to_x: "bg"; to_y: "icon"; } + rel2 { relative: 0.8 1.0; to_x: "bg"; to_y: "icon"; } + align: 0.5 0.0; + min: 0 47; + color: 255 255 255 255; + text { + size: 30; + font: "TIZEN"; + align: 0.5 0.5; + min: 0 1; + } + visible: 1; + } + } + part { + name: "time"; + type: TEXT; + scale: 1; + mouse_events: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.1 1.0; to_x: "bg"; to_y: "title"; } + rel2 { relative: 0.9 1.0; to_x: "bg"; to_y: "title"; } + align: 0.5 0.0; + min: 0 32; + color: 255 255 255 255; + text { + size: 20; + font: "TIZEN"; + align: 0.5 0.5; + min: 0 1; + } + visible: 1; + } + } + part { + name: "time,pad"; + type: SPACER; + scale: 1; + mouse_events: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.0 1.0; to_x: "bg"; to_y: "time"; } + rel2 { relative: 1.0 1.0; to_y: "bg"; to_y: "time"; } + align: 0.5 0.0; + min: 0 16; + } + } + part { + name: "text"; + type: TEXTBLOCK; + mouse_events: 1; + repeat_events: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.1 1.0; to_x: "bg"; to_y: "time,pad"; } + rel2 { relative: 0.9 0.0; to_x: "bg"; to_y: "count,up,pad"; } + align: 0.5 0.5; + min: 0 74; + text { + style: "summary_text_style"; + align: 0.5 0.5; + min: 0 1; + } + } + } + part { + name: "launch,btn"; + type: SWALLOW; + mouse_events: 1; + repeat_events: 0; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to: "bg"; } + rel2 { relative: 1.0 1.0; to_x: "bg"; to_y: "text"; } + align: 0.0 0.0; + visible: 1; + } + } + part { + name: "del,btn"; + type: SWALLOW; + scale: 1; + mouse_events: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.5 1.0; to: "bg"; offset: 0 -5; } + rel2 { relative: 0.5 1.0; to: "bg"; offset: 0 -5; } + align: 0.5 1.0; + min: 52 52; + fixed: 1 1; + align: 0.5 0.5; + visible: 1; + } + } + part { + name: "del,btn,icon"; + type: IMAGE; + scale: 1; + mouse_events: 1; + repeat_events: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.5 0.5; to: "del,btn"; } + rel2 { relative: 0.5 0.5; to: "del,btn"; } + image { + normal: "w_cover_view_ic_delete.png"; + } + align: 0.5 1.0; + min: 52 52; + fixed: 1 1; + visible: 1; + } + } + part { + name: "count,down,pad"; + type: SPACER; + scale: 1; + mouse_events: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to_x: "bg"; to_y: "del,btn,icon"; } + rel2 { relative: 1.0 0.0; to_y: "bg"; to_y: "del,btn,icon"; } + align: 0.5 0.0; + min: 0 12; + } + } + part { + name: "count"; + type: TEXT; + scale: 1; + mouse_events: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.1 0.0; to_x: "bg"; to_y: "count,down,pad"; } + rel2 { relative: 0.9 0.0; to_x: "bg"; to_y: "count,down,pad"; } + align: 0.5 1.0; + min: 0 32; + color: 255 255 255 255; + text { + size: 20; + font: "TIZEN"; + align: 0.5 0.5; + min: 0 1; + } + visible: 1; + } + } + part { + name: "count,up,pad"; + type: SPACER; + scale: 1; + mouse_events: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to_x: "bg"; to_y: "count"; } + rel2 { relative: 1.0 0.0; to_x: "bg"; to_y: "count"; } + align: 0.5 1.0; + min: 0 15; + } + } + } + } + group { + name: "detail"; + parts { + part { + name: "bg"; + type: SWALLOW; + scale: 1; + mouse_events: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; } + rel2 { relative: 1.0 1.0; } + visible: 1; + } + } + part { + name: "bg,rect"; + type: RECT; + scale: 1; + mouse_events: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to: "bg"; } + rel2 { relative: 1.0 1.0; to: "bg"; } + color: 10 10 10 255; + visible: 1; + } + } + part { + name: "icon"; + type: SWALLOW; + scale: 1; + mouse_events: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.5 0.0; to: "bg"; offset: 0 3; } + rel2 { relative: 0.5 0.0; to: "bg"; offset: 0 3; } + align: 0.5 0.0; + fixed: 1 1; + visible: 1; + } + } + part { + name: "title,pad"; + type: RECT; + scale: 1; + mouse_events: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to: "bg"; } + rel2 { relative: 1.0 0.0; to: "bg"; } + align: 0.5 0.0; + min: 0 30; + color: 0 0 0 255; + visible: 1; + } + description { + state: "show,icon" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { + name: "title"; + type: TEXT; + scale: 1; + mouse_events: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.2 1.0; to_x: "bg"; to_y: "title,pad"; } + rel2 { relative: 0.8 1.0; to_x: "bg"; to_y: "title,pad"; } + align: 0.5 0.0; + min: 0 47; + color: 255 255 255 255; + text { + size: 30; + font: "TIZEN"; + align: 0.5 0.5; + min: 0 1; + } + visible: 1; + } + description { + state: "show,icon" 0.0; + inherit: "default" 0.0; + rel1 { relative: 0.2 1.0; to_x: "bg"; to_y: "icon"; } + rel2 { relative: 0.8 1.0; to_x: "bg"; to_y: "icon"; } + } + } + part { + name: "time"; + type: TEXT; + scale: 1; + mouse_events: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.1 1.0; to_x: "bg"; to_y: "title"; } + rel2 { relative: 0.9 1.0; to_x: "bg"; to_y: "title"; } + align: 0.5 0.0; + min: 0 32; + color: 255 255 255 255; + text { + size: 20; + font: "TIZEN"; + align: 0.5 0.5; + min: 0 1; + } + visible: 1; + } + } + part { + name: "time,pad"; + type: SPACER; + scale: 1; + mouse_events: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.0 1.0; to_x: "bg"; to_y: "time"; } + rel2 { relative: 1.0 1.0; to_y: "bg"; to_y: "time"; } + align: 0.5 0.0; + min: 0 16; + } + } + part { + name: "text"; + type: TEXTBLOCK; + mouse_events: 1; + repeat_events: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.1 1.0; to_x: "bg"; to_y: "time,pad"; } + rel2 { relative: 0.9 1.0; to_x: "bg"; to_y: "time,pad"; } + align: 0.5 0.0; + text { + style: "detail_text_style"; + align: 0.5 0.5; + min: 0 1; + } + } + } + part { + name: "del,btn"; + type: SWALLOW; + scale: 1; + mouse_events: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.5 1.0; to: "bg"; offset: 0 -5; } + rel2 { relative: 0.5 1.0; to: "bg"; offset: 0 -5; } + align: 0.5 1.0; + min: 52 52; + fixed: 1 1; + align: 0.5 0.5; + visible: 1; + } + } + part { + name: "del,btn,icon"; + type: IMAGE; + scale: 1; + mouse_events: 1; + repeat_events: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.5 0.5; to: "del,btn"; } + rel2 { relative: 0.5 0.5; to: "del,btn"; } + image { + normal: "w_cover_view_ic_delete.png"; + } + align: 0.5 1.0; + min: 52 52; + fixed: 1 1; + visible: 1; + } + } + } + programs { + program { + signal: "show,icon"; + source: "icon"; + action: STATE_SET "show,icon" 0.0; + target: "title,pad"; + target: "title"; + } + program { + signal: "hide,icon"; + source: "icon"; + action: STATE_SET "defualt" 0.0; + target: "title,pad"; + target: "title"; + } + } + } + group { + name: "simple"; + parts { + part { + name: "bg"; + type: SPACER; + scale: 1; + mouse_events: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; } + rel2 { relative: 1.0 1.0; } + } + } + part { + name: "bg,rect"; + type: RECT; + scale: 1; + mouse_events: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to: "bg"; } + rel2 { relative: 1.0 1.0; to: "bg"; } + color: 100 100 100 255; + visible: 1; + } + } + part { + name: "icon"; + type: SWALLOW; + scale: 1; + mouse_events: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.5 0.0; to: "bg,rect"; offset: 0 8; } + rel2 { relative: 0.5 0.0; to: "bg,rect"; offset: 0 8; } + align: 0.5 0.0; + fixed: 1 1; + visible: 1; + } + } + part { + name: "title"; + type: TEXT; + scale: 1; + mouse_events: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.0 1.0; to: "bg"; } + rel2 { relative: 1.0 1.0; to: "bg"; } + align: 0.5 1.0; + min: 0 47; + color: 255 255 255 255; + text { + size: 24; + font: "TIZEN"; + align: 0.5 0.5; + min: 0 1; + } + visible: 1; + } + } + } + } +} + + + +// End of file diff --git a/home/res/edje/rectangle/page.edc b/home/res/edje/rectangle/page.edc new file mode 100755 index 0000000..ba755f0 --- /dev/null +++ b/home/res/edje/rectangle/page.edc @@ -0,0 +1,1150 @@ +/* + * Samsung API + * Copyright (c) 2013 Samsung Electronics Co., Ltd. + * + * Licensed under the Flora License, Version 1.1 (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. + */ + +#include "conf.edc" +#include "../color_classes.edc" + +#define DEL_IMAGE_MIN 54 54 +#define PLUS_IMAGE_MIN 90 90 +#define LINE_IMAGE_MIN (216+4) (288+4) +#define TEXT_MIN 300 420 + + + +styles { + style { + name: "max_text_style"; + base: "font=TIZEN:style=Regular text_class=tizen style=shadow shadow_color=#0000004C font_size="25" color_class=AT0121 align=middle color=#FFFFFF ellipsis=1 wrap=mixed"; + } +} + +images { + image: "b_home_screen_widget_del_bg.png" COMP; + image: "b_home_screen_widget_del_line.png" COMP; + image: "b_home_screen_widget_del_icon.png" COMP; + image: "b_widget_favorite_bg.png" COMP; + image: "b_home_screen_widget_plus_origin.png" COMP; + image: "b_home_screen_widget_plus_ef.png" COMP; + image: "b_home_screen_add_widget_line.#.png" COMP; + image: "b_home_screen_widget_line_ef.png" COMP; + image: "b_home_screen_edit_cover.png" COMP; + image: "b_home_screen_edit_cover_ef.png" COMP; +} + +collections { +base_scale: 1.3; +group { + name: "page"; + parts { + part { + name: "bg"; + type: SWALLOW; + scale: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; } + rel2 { relative: 1.0 1.0; } + } + } + part { + name: "inner"; + type: SWALLOW; + scale: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to: "bg"; } + rel2 { relative: 1.0 1.0; to: "bg"; } + fixed: 1 1; + visible: 1; + } + } + } +} +group { + name: "page_inner"; + parts { + part { + name: "focus"; + type: SWALLOW; + scale : 1; + mouse_events: 1; + repeat_events: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to: "item"; } + rel2 { relative: 1.0 1.0; to: "item"; } + color: 0 0 0 0; + fixed: 1 1; + visible: 1; + } + } + part { + name: "area"; + type: SWALLOW; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 1.0; + fixed: 1 1; + visible: 1; + } + } + part { + name: "normal"; + type: RECT; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + color: 0 0 0 0; + perspective { + zplane: 0; + } + } + } + part { + name: "zoom"; + type: RECT; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + color: 0 0 0 0; + perspective { + zplane: 120; + } + } + } + part { + name: "bg"; + type: SWALLOW; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to: "item"; } + rel2 { relative: 1.0 1.0; to: "item"; } + fixed: 1 1; + visible: 1; + map { + on: 0; + perspective: "normal"; + } + } + description { + state: "zoom" 0.0; + inherit: "default"; + map { + on: 1; + perspective: "zoom"; + } + } + description { + state: "on" 0.0; + inherit: "default"; + map { + on: 1; + } + } + } + part { + name: "gradient,bg"; + type: IMAGE; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to: "item"; } + rel2 { relative: 1.0 1.0; to: "item"; } + color_class: "AO031"; + image { + normal: "b_widget_favorite_bg.png"; + } + visible: 0; + } + description { + state: "show" 0.0; + inherit: "default" 0.0; + visible: 1; + map { + on: 0; + perspective: "normal"; + } + } + description { + state: "zoom" 0.0; + inherit: "default"; + map { + on: 1; + perspective: "zoom"; + } + } + description { + state: "on" 0.0; + inherit: "default"; + map { + on: 1; + } + } + } + part { + name: "item"; + type: SWALLOW; + scale: 1; + mouse_events: 1; + repeat_events: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.5 0.5; to: "area"; } + rel2 { relative: 0.5 0.5; to: "area"; } + fixed: 1 1; + align: 0.5 0.5; + visible: 1; + map { + on: 0; + perspective: "normal"; + } + } + description { + state: "zoom" 0.0; + inherit: "default"; + map { + on: 1; + perspective: "zoom"; + } + } + description { + state: "on" 0.0; + inherit: "default"; + map { + on: 1; + } + } + } + part { + name: "cover_clipper"; + type: RECT; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to: "cover_ef"; } + rel2 { relative: 1.0 1.0; to: "cover_ef"; } + color: 0 0 0 0; + visible: 1; + } + description { + state: "select" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + } + } + part { + name: "cover_ef"; + type: IMAGE; + clip_to: "cover_clipper"; + scale: 1; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { relative: 0.5 0.5; to: "item"; } + rel2 { relative: 0.5 0.5; to: "item"; } + image { + normal: "b_home_screen_edit_cover_ef.png"; + } + color_class: "AO063"; + /* This size is different from "item" */ + min: ITEM_EDIT_EF_WIDTH ITEM_EDIT_EF_HEIGHT; + fixed: 1 1; + align: 0.5 0.5; + visible: 0; + map { + on: 0; + perspective: "normal"; + } + } + description { + state: "select" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { + state: "disable" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { + state: "zoom" 0.0; + inherit: "select" 0.0; + map { + on: 1; + perspective: "zoom"; + } + } + description { + state: "on" 0.0; + inherit: "default" 0.0; + map { + on: 1; + } + } + } + part { + name: "cover"; + type: IMAGE; + scale: 1; + mouse_events: 0; + clip_to: "cover_clipper"; + description { + state: "default" 0.0; + rel1 { relative: 0.5 0.5; to: "item"; } + rel2 { relative: 0.5 0.5; to: "item"; } + image { + normal: "b_home_screen_edit_cover.png"; + } + color_class: "AO0482"; + min: ITEM_EDIT_WIDTH ITEM_EDIT_HEIGHT; + fixed: 1 1; + visible: 1; + map { + on: 0; + perspective: "normal"; + } + } + description { + state: "deselect" 0.0; + inherit: "default" 0.0; + visible: 0; + } + description { + state: "select" 0.0; + inherit: "default" 0.0; + color_class: "AO0482"; + } + description { + state: "disable" 0.0; + inherit: "default" 0.0; + color_class: "AO047"; + } + description { + state: "zoom" 0.0; + inherit: "select" 0.0; + map { + on: 1; + perspective: "zoom"; + } + } + description { + state: "on" 0.0; + inherit: "default" 0.0; + map { + on: 1; + } + } + } + part { + name: "line_clipper"; + type: RECT; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to: "line_ef"; offset: -30 -30; } + rel2 { relative: 1.0 1.0; to: "line_ef"; offset: 30 30; } + color: 255 255 255 0; + visible: 1; + } + description { + state: "select" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + } + } + part { + name: "line,widget"; + type: IMAGE; + scale: 1; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { relative: 0.5 0.5; to: "cover"; } + rel2 { relative: 0.5 0.5; to: "cover"; } + image { + normal: "b_home_screen_add_widget_line.#.png"; + } + /* this color class code is AO033 */ + //color_class: "AO033"; + color_class: "AO0481"; + min: 222 294; + visible: 0; + } + description { + state: "show" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { + name: "line_ef"; + type: IMAGE; + scale: 1; + mouse_events: 0; + clip_to: "line_clipper"; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to: "cover_ef"; } + rel2 { relative: 1.0 1.0; to: "cover_ef"; } + image { + normal: "b_home_screen_widget_line_ef.png"; + } + color_class: "AO063"; + align: 0.5 0.5; + visible: 1; + map { + on: 0; + perspective: "normal"; + } + } + description { + state: "disable" 0.0; + inherit: "default" 0.0; + visible: 0; + } + description { + state: "zoom" 0.0; + inherit: "default" 0.0; + map { + on: 1; + perspective: "zoom"; + } + } + description { + state: "on" 0.0; + inherit: "default" 0.0; + map { + on: 1; + } + + } + } + part { + name: "line"; + type: SWALLOW; + scale: 1; + mouse_events: 0; + clip_to: "line_clipper"; + description { + state: "default" 0.0; + rel1 { relative: 0.5 0.5; to: "item"; } + rel2 { relative: 0.5 0.5; to: "item"; } + color_class: "AO043"; + min: ITEM_EDIT_LINE_WIDTH ITEM_EDIT_LINE_HEIGHT; + align: 0.5 0.5; + visible: 1; + fixed: 1 1; + map { + on: 0; + perspective: "normal"; + } + } + description { + state: "disable" 0.0; + inherit: "default" 0.0; + visible: 0; + } + description { + state: "zoom" 0.0; + inherit: "default" 0.0; + map { + on: 1; + perspective: "zoom"; + } + } + description { + state: "on" 0.0; + inherit: "default" 0.0; + map { + on: 1; + } + } + } + part { + name: "item_event"; + type: RECT; + scale: 1; + mouse_events: 1; + repeat_events: 1; + description { + state: "default" 0.0; + rel1.to: "item"; + rel2.to: "item"; + color: 0 0 0 0; + visible: 1; + map { + on: 0; + perspective: "normal"; + } + } + description { + state: "zoom" 0.0; + inherit: "default"; + map { + on: 1; + perspective: "zoom"; + } + } + description { + state: "on" 0.0; + inherit: "default"; + map { + on: 1; + } + } + } + part { + name: "del_clipper"; + type: RECT; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to: "del_event_region"; } + rel2 { relative: 1.0 1.0; to: "del_event_region"; } + color: 255 255 255 0; + visible: 1; + } + description { + state: "show" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + } + } + part { + name: "del_image_region"; + type: SPACER; + scale: 1; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { relative: 1.0 0.0; to: "item"; offset: 0 -2; } + rel2 { relative: 1.0 0.0; to: "item"; offset: 0 -2; } + align: 0.5 0.5; + min: DEL_IMAGE_MIN; + fixed: 1 1; + } + } + /* This part blocks events */ + part { + name: "del_event_region"; + type: RECT; + mouse_events: 1; + description { + state: "default" 0.0; + rel1 { relative: -0.5 -0.5; to: "del_image_region"; } + rel2 { relative: 1.5 1.5; to: "del_image_region"; } + color: 0 0 0 0; + visible: 0; + } + description { + state: "show" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { + name: "del_bg"; + type: IMAGE; + scale: 1; + mouse_events: 0; + clip_to: "del_clipper"; + description { + state: "default" 0.0; + rel1 { relative: 0.5 0.5; to: "del_image_region"; } + rel2 { relative: 0.5 0.5; to: "del_image_region"; } + image { + normal: "b_home_screen_widget_del_bg.png"; + } + color_class: "AO044L1"; + align: 0.5 0.5; + min: DEL_IMAGE_MIN; + fixed: 1 1; + visible: 1; + map { + on: 0; + perspective: "normal"; + } + } + description { + state: "zoom" 0.0; + inherit: "default"; + map { + on: 1; + perspective: "zoom"; + } + } + description { + state: "on" 0.0; + inherit: "default"; + map { + on: 1; + } + } + } + part { + name: "del_line"; + type: IMAGE; + scale: 1; + mouse_events: 0; + clip_to: "del_clipper"; + description { + state: "default" 0.0; + rel1 { relative: 0.5 0.5; to: "del_image_region"; } + rel2 { relative: 0.5 0.5; to: "del_image_region"; } + image { + normal: "b_home_screen_widget_del_line.png"; + } + color_class: "AO044L2"; + align: 0.5 0.5; + min: DEL_IMAGE_MIN; + fixed: 1 1; + visible: 1; + map { + on: 0; + perspective: "normal"; + } + } + description { + state: "zoom" 0.0; + inherit: "default"; + map { + on: 1; + perspective: "zoom"; + } + } + description { + state: "on" 0.0; + inherit: "default"; + map { + on: 1; + } + } + } + part { + name: "del_icon"; + type: IMAGE; + scale: 1; + mouse_events: 0; + clip_to: "del_clipper"; + description { + state: "default" 0.0; + rel1 { relative: 0.5 0.5; to: "del_image_region"; } + rel2 { relative: 0.5 0.5; to: "del_image_region"; } + image { + normal: "b_home_screen_widget_del_icon.png"; + } + color_class: "AO044L3"; + align: 0.5 0.5; + min: DEL_IMAGE_MIN; + fixed: 1 1; + visible: 1; + map { + on: 0; + perspective: "normal"; + } + } + description { + state: "zoom" 0.0; + inherit: "default"; + map { + on: 1; + perspective: "zoom"; + } + } + description { + state: "on" 0.0; + inherit: "default"; + map { + on: 1; + } + } + } + part { + name: "remove_focus"; + type: SWALLOW; + scale: 1; + mouse_events: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to: "del_event_region"; } + rel2 { relative: 1.0 1.0; to: "del_event_region"; } + color: 0 0 0 0; + visible: 0; + } + description { + state: "show" 0.0; + rel1 { relative: 0.0 0.0; to: "del_event_region"; } + rel2 { relative: 1.0 1.0; to: "del_event_region"; } + visible: 1; + } + } + part { + name: "blocker"; + type: RECT; + mouse_events: 1; + scale: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to: "cover"; } + rel2 { relative: 1.0 1.0; to: "cover"; } + color: 0 0 0 0; + visible: 0; + } + description { + state: "enable" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + programs { + program { + signal: "show"; + source: "del"; + action: STATE_SET "show" 0.0; + target: "del_clipper"; + target: "del_event_region"; + target: "remove_focus"; + } + program { + signal: "hide"; + source: "del"; + action: STATE_SET "default" 0.0; + target: "del_clipper"; + target: "del_event_region"; + target: "remove_focus"; + } + program { + signal: "mouse,clicked,1"; + source: "focus"; + action: SIGNAL_EMIT "clicked" "page"; + } + program { + name: "enable,bg"; + signal: "enable"; + source: "gradient,bg"; + action: STATE_SET "show" 0.0; + target: "gradient,bg"; + } + program { + name: "disable,bg"; + signal: "disable"; + source: "gradient,bg"; + action: STATE_SET "default" 0.0; + target: "gradient,bg"; + } + program { + source: "blocker"; + signal: "enable"; + action: STATE_SET "enable" 0.0; + target: "blocker"; + } + program { + source: "blocker"; + signal: "disable"; + action: STATE_SET "default" 0.0; + target: "blocker"; + } + program { + signal: "deselect"; + source: "cover_clipper"; + action: STATE_SET "default" 0.0; + target: "cover_clipper"; + target: "cover_ef"; + } + program { + signal: "select"; + source: "cover_clipper"; + action: STATE_SET "select" 0.0; + target: "cover_clipper"; + target: "cover_ef"; + transition: LINEAR 0.5; + } + program { + signal: "deselect"; + source: "cover"; + action: STATE_SET "deselect" 0.0; + target: "cover"; + transition: LINEAR 0.5; + } + program { + signal: "select"; + source: "cover"; + action: STATE_SET "select" 0.0; + target: "cover"; + transition: LINEAR 0.5; + } + program { + signal: "disable"; + source: "cover"; + action: STATE_SET "disable" 0.0; + target: "cover"; + target: "cover_ef"; + target: "line_ef"; + target: "line"; + transition: LINEAR 0.5; + } + program { + signal: "deselect"; + source: "line"; + action: STATE_SET "default" 0.0; + target: "line_clipper"; + transition: LINEAR 0.5; + } + program{ + signal: "deselect,im"; + source: "line"; + action: STATE_SET "default" 0.0; + target: "line_clipper"; + } + program { + signal: "hide"; + source: "line,widget"; + action: STATE_SET "default" 0.0; + target: "line,widget"; + } + program { + signal: "show"; + source: "line,widget"; + action: STATE_SET "show" 0.0; + target: "line,widget"; + } + program { + signal: "select"; + source: "line"; + action: STATE_SET "select" 0.0; + target: "line_clipper"; + transition: LINEAR 0.5; + } + program { + signal: "on,zoom"; + source: "inner"; + action: STATE_SET "on" 0.0; + target: "item_event"; + target: "bg"; + target: "gradient,bg"; + target: "item"; + target: "del_bg"; + target: "del_line"; + target: "del_icon"; + target: "cover_ef"; + target: "cover"; + target: "line_ef"; + target: "line"; + after: "show,zoom"; + } + program { + name: "show,zoom"; + action: STATE_SET "zoom" 0.0; + transition: SIN_FAC 0.2 0.90; + target: "item_event"; + target: "bg"; + target: "gradient,bg"; + target: "item"; + target: "del_bg"; + target: "del_line"; + target: "del_icon"; + target: "cover_ef"; + target: "cover"; + target: "line_ef"; + target: "line"; + } + program { + signal: "reset,zoom"; + source: "inner"; + action: STATE_SET "on" 0.0; + transition: SIN_FAC 0.2 0.90; + target: "item_event"; + target: "bg"; + target: "gradient,bg"; + target: "item"; + target: "del_bg"; + target: "del_line"; + target: "del_icon"; + target: "cover_ef"; + target: "cover"; + target: "line_ef"; + target: "line"; + after: "off,zoom"; + } + program { + name: "off,zoom"; + action: STATE_SET "defalut" 0.0; + target: "item_event"; + target: "bg"; + target: "gradient,bg"; + target: "item"; + target: "del_bg"; + target: "del_line"; + target: "del_icon"; + after: "on,cover"; + } + program { + name: "on,cover"; + action: STATE_SET "select" 0.0; + target: "line_ef"; + target: "cover_ef"; + target: "cover_clipper"; + target: "line_clipper"; + } + } +} +group { + name: "plus_item"; + parts { + part { + name: "bg"; + type: RECT; + scale: 1; + mouse_events: 1; + repeat_events: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; } + rel2 { relative: 1.0 1.0; } + /* This size is different from "item" */ + min: ITEM_EDIT_WIDTH ITEM_EDIT_HEIGHT; + fixed: 1 1; + color: 0 0 0 0; + visible: 1; + } + } + part { + name: "add,bg"; + type: RECT; + scale: 1; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { relative: 0.5 0.5; to: "bg"; } + rel2 { relative: 0.5 0.5; to: "bg"; } + min: LINE_IMAGE_MIN; + fixed: 1 1; + color_class: "AO0111"; + visible: 1; + } + description { + state: "edit" 0.0; + inherit: "default" 0.0; + color_class: "AO0481"; + } + } + part { + name: "plus_ef"; + type: IMAGE; + scale: 1; + mouse_events: 0; + description { + rel1 { relative: 0.5 0.5; to: "add,bg"; } + rel2 { relative: 0.5 0.5; to: "add,bg"; } + image { + normal: "b_home_screen_widget_plus_ef.png"; + } + color_class: "AO063"; + min: PLUS_IMAGE_MIN; + align: 0.5 0.5; + fixed: 1 1; + visible: 1; + } + description { + state: "press" 0.0; + inherit: "default" 0.0; + color_class: "AO0663"; + } + description { + state: "edit" 0.0; + inherit: "default" 0.0; + } + description { + state: "edit,press" 0.0; + inherit: "press" 0.0; + } + description { + state: "max" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { + name: "plus"; + type: IMAGE; + scale: 1; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { relative: 0.5 0.5; to: "add,bg"; } + rel2 { relative: 0.5 0.5; to: "add,bg"; } + image { + normal: "b_home_screen_widget_plus_origin.png"; + } + color_class: "AO035"; + min: PLUS_IMAGE_MIN; + align: 0.5 0.5; + fixed: 1 1; + visible: 1; + } + description { + state: "press" 0.0; + inherit: "default" 0.0; + color_class: "AO035P"; + } + description { + state: "edit" 0.0; + inherit: "default" 0.0; + color_class: "AO034"; + } + description { + state: "edit,press" 0.0; + inherit: "default" 0.0; + color_class: "AO034P"; + } + description { + state: "max" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { + name: "max_text"; + type: TEXTBLOCK; + scale: 1; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { relative: 0.1 0.05; to: "bg"; } + rel2 { relative: 0.9 0.95; to: "bg"; } + fixed: 1 0; + text { + style: "max_text_style"; + } + visible: 0; + } + description { + state: "max" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + programs { + program { + name: "button,down"; + signal: "mouse,down,1"; + source: "bg"; + action: SIGNAL_EMIT "down" "plus_item"; + } + program { + source: "plus"; + signal: "press"; + action: STATE_SET "press" 0.0; + target: "plus"; + target: "plus_ef"; + } + program { + name: "button,up"; + signal: "mouse,up,1"; + source: "bg"; + action: SIGNAL_EMIT "up" "plus_item"; + } + program { + name: "button,click"; + signal: "mouse,clicked,1"; + source: "bg"; + action: SIGNAL_EMIT "click" "plus_item"; + } + program { + source: "plus"; + signal: "release"; + action: STATE_SET "default" 0.0; + target: "plus"; + target: "plus_ef"; + } + program { + source: "plus"; + signal: "edit,press"; + action: STATE_SET "edit,press" 0.0; + target: "plus"; + target: "plus_ef"; + } + program { + source: "plus"; + signal: "edit,release"; + action: STATE_SET "edit" 0.0; + target: "plus"; + target: "plus_ef"; + } + program { + name: "hide_plus"; + signal: "max"; + source: "plus_in_edit"; + action: STATE_SET "max" 0.0; + target: "max_text"; + target: "plus"; + target: "plus_ef"; + } + program { + name: "show_plus"; + signal: "no_max"; + source: "plus_in_edit"; + action: STATE_SET "default" 0.0; + target: "max_text"; + after: "show,edit"; + } + program { + name: "show,widget"; + signal: "show,widget"; + source: "plus_item"; + action: STATE_SET "default" 0.0; + target: "add,bg"; + target: "plus"; + } + program { + name: "show,edit"; + signal: "show,edit"; + source: "plus_item"; + action: STATE_SET "edit" 0.0; + target: "add,bg"; + target: "plus"; + target: "plus_ef"; + } + program { + name: "show,widget,ani"; + signal: "show,widget,ani"; + source: "plus_item"; + action: STATE_SET "edit" 0.0; + target: "add,bg"; + target: "plus"; + after: "show,widget,ani,2"; + } + program { + name: "show,widget,ani,2"; + action: STATE_SET "default" 0.0; + target: "add,bg"; + target: "plus"; + transition: LINEAR 0.5; + } + + } +}//end group +}//end collections diff --git a/home/res/edje/rectangle/page_clock.edc b/home/res/edje/rectangle/page_clock.edc new file mode 100755 index 0000000..9ba6749 --- /dev/null +++ b/home/res/edje/rectangle/page_clock.edc @@ -0,0 +1,1803 @@ +/* + * Samsung API + * Copyright (c) 2013 Samsung Electronics Co., Ltd. + * + * Licensed under the Flora License, Version 1.1 (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. + */ + +#include "conf.edc" +#include "../color_classes.edc" + +#define HIDDEN_AREA_H 256 +#define HIDDEN_QUICKBUTTON_W (29+90+29) +#define HIDDEN_QUICKBUTTON_H (90+7+33+33) +#define HIDDEN_BUTTON_TRANSIT_TIME 0.35 +#define CLOCK_INDICATOR_W 65 +#define CLOCK_INDICATOR_H 65 +#define CLOCK_INDICATOR_ICON_W 60 +#define CLOCK_INDICATOR_ICON_H 60 + +images { + image: "b_home_screen_clock_arrow_big.png" COMP; + image: "b_home_screen_clock_arrow_big_ef.png" COMP; + image: "Arrow_S_00015.png" COMP; + image: "Arrow_S_00016.png" COMP; + image: "Arrow_S_00017.png" COMP; + image: "Arrow_S_00018.png" COMP; + image: "Arrow_S_00019.png" COMP; + image: "Arrow_S_00020.png" COMP; + image: "Arrow_S_00021.png" COMP; + image: "Arrow_S_00022.png" COMP; + image: "Arrow_S_00023.png" COMP; + image: "Arrow_S_00024.png" COMP; + image: "Arrow_S_00025.png" COMP; + image: "Arrow_S_00026.png" COMP; + image: "Arrow_S_00027.png" COMP; + image: "Arrow_S_00028.png" COMP; + image: "Arrow_S_00029.png" COMP; + image: "Arrow_S_00030.png" COMP; + image: "Arrow_S_00031.png" COMP; + image: "Arrow_S_00032.png" COMP; + image: "Arrow_S_00033.png" COMP; + image: "B3_Data.png" COMP; + image: "do_not_ic_disturb.png" COMP; + image: "b_home_screen_block_btn_bg.png" COMP; + image: "b_home_screen_block_btn_line.png" COMP; + image: "b_home_screen_block_text_btn_bg.#.png" COMP; + image: "b_home_screen_block_text_btn_line.#.png" COMP; + image: "b_home_screen_block_btn_ic.png" COMP; + image: "b_home_screen_network_auto.png" COMP; + image: "b_home_screen_network_off.png" COMP; + image: "b_home_screen_network_on.png" COMP; +} + +collections { + + styles { + style { + name: "text,1,normal"; + base: "font=Tizen text_class=AT041 font_size=32 align=center color=#FFFFFF color_class=AT044 wrap=mixed"; # ellipsis=1.0 + } + style { + name: "text,1,pressed"; + base: "font=Tizen text_class=AT041S font_size=32 align=center color=#FFFFFF color_class=AT044P wrap=mixed"; # ellipsis=1.0 + } + style { + name: "name_style"; + base: "font=TIZEN:style=Regular text_class=tizen font_size="28" align=center color=#FFFFFF color_class=AT043 ellipsis=1 wrap=mixed"; + } + style { + name: "name_style_pressed"; + base: "font=TIZEN:style=Regular text_class=tizen font_size="28" align=center color=#FFFFFF color_class=AT043P ellipsis=1 wrap=mixed"; + } + } + group { + name: "clock_page"; + parts { + part { + name: "clock_bg"; + type: SWALLOW; + scale: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; } + rel2 { relative: 1.0 1.0; } + visible: 1; + } + } + part { + name: "item"; + type: SWALLOW; + scale: 1; + mouse_events: 1; + repeat_events: 0; + description { + state: "default" 0.0; + rel1 { relative: 0.5 0.5; to: "clock_bg";} + rel2 { relative: 0.5 0.5; to: "clock_bg";} + fixed: 1 1; + visible: 1; + align: 0.5 0.5; + } + } + part { + name: "hidden_region"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to: "clock_bg";} + rel2 { relative: 1.0 0.0; to: "clock_bg";} + min: 0 HIDDEN_AREA_H; + fixed: 1 1; + align: 0.0 1.0; + } + description { + state: "show" 0.0; + inherit: "default" 0.0; + min: 0 HIDDEN_AREA_H; + max: -1 HIDDEN_AREA_H; + rel1 { relative: 0.0 0.0; to: "clock_bg";} + rel2 { relative: 1.0 0.0; to: "clock_bg";} + align: 0.0 0.0; + } + description { + state: "show.short" 0.0; + inherit: "default" 0.0; + min: 0 HIDDEN_AREA_H; + max: -1 HIDDEN_AREA_H; + rel1 { relative: 0.0 0.0; to: "clock_bg"; offset: 0 -99;} + rel2 { relative: 1.0 0.0; to: "clock_bg";} + align: 0.0 0.0; + } + } + part { + name: "bottom_cue"; + type: SWALLOW; + scale: 1; + mouse_events: 0; + ignore_flags: ON_HOLD; + description { + state: "default" 0.0; + min: 75 75; + max: 75 75; + rel1 { relative: 0.5 1.0; to: "clock_bg"; } + rel2 { relative: 0.5 1.0; to: "clock_bg"; } + fixed: 1 1; + visible: 1; + align: 0.5 1.0; + } + } + part { + name: "bottom_cue_button_bg"; + type: IMAGE; + scale: 1; + mouse_events: 0; + description { + state: "default" 0.0; + min: 106 53; + max: 106 53; + rel1 { relative: 0.5 1.0; to: "clock_bg"; offset: 0 -19;} + rel2 { relative: 0.5 1.0; to: "clock_bg"; offset: 0 -19;} + image { + normal: "b_home_screen_clock_arrow_big_ef.png"; + } + color_class: "AO064"; + fixed: 1 1; + visible: 0; + align: 0.5 1.0; + } + description { + state: "enabled" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { + name: "bottom_cue_button"; + type: IMAGE; + scale: 1; + mouse_events: 0; + description { + state: "default" 0.0; + min: 106 53; + max: 106 53; + rel1 { relative: 0.5 1.0; to: "clock_bg"; offset: 0 -19;} + rel2 { relative: 0.5 1.0; to: "clock_bg"; offset: 0 -19;} + image { + normal: "b_home_screen_clock_arrow_big.png"; + } + color_class: "AO014"; + fixed: 1 1; + visible: 0; + align: 0.5 1.0; + } + description { + state: "enabled" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { + name: "focus"; + type: SWALLOW; + scale: 1; + mouse_events: 1; + repeat_events: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to: "clock_bg"; } + rel2 { relative: 1.0 1.0; to: "clock_bg"; } + align: 0.0 0.0; + visible: 0; + } + description { + state: "enabled" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { + name: "shortcut"; + type: SWALLOW; + scale: 1; + mouse_events: 1; + repeat_events: 0; + ignore_flags: ON_HOLD; + description { + state: "default" 0.0; + min: CLOCK_SHORTCUT_AREA_W CLOCK_SHORTCUT_AREA_W; + max: CLOCK_SHORTCUT_AREA_W CLOCK_SHORTCUT_AREA_W; + rel1 { relative: 1.0 0.0; to: "clock_bg"; } + rel2 { relative: 1.0 0.0; to: "clock_bg"; } + fixed: 1 1; + visible: 1; + align: 1.0 0.0; + } + } + part { + name: "indicator.1"; + type: SWALLOW; + scale: 1; + mouse_events: 1; + repeat_events: 0; + ignore_flags: ON_HOLD; + description { + state: "default" 0.0; + min: CLOCK_INDICATOR_W CLOCK_INDICATOR_H; + max: CLOCK_INDICATOR_W CLOCK_INDICATOR_H; + rel1 { relative: 0.0 0.0; to: "clock_bg"; } + rel2 { relative: 0.0 0.0; to: "clock_bg"; } + fixed: 1 1; + visible: 1; + align: 0.0 0.0; + } + } + part { + name: "indicator.2"; + type: SWALLOW; + scale: 1; + mouse_events: 1; + repeat_events: 0; + ignore_flags: ON_HOLD; + description { + state: "default" 0.0; + min: CLOCK_INDICATOR_W CLOCK_INDICATOR_H; + max: CLOCK_INDICATOR_W CLOCK_INDICATOR_H; + rel1 { relative: 1.0 0.0; to_x: "indicator.1"; to_y: "clock_bg"; } + rel2 { relative: 1.0 0.0; to_x: "indicator.1"; to_y: "clock_bg"; } + fixed: 1 1; + visible: 1; + align: 0.0 0.0; + } + } + part { + name: "hidden_item"; + type: SWALLOW; + scale: 1; + mouse_events: 1; + repeat_events: 0; + ignore_flags: ON_HOLD; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to: "hidden_region"; } + rel2 { relative: 1.0 1.0; to: "hidden_region"; } + fixed: 1 1; + visible: 1; + align: 0.0 0.0; + } + } + part { + name: "focus.bottom.cue"; + type: SWALLOW; + scale: 1; + mouse_events: 1; + repeat_events: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to: "bottom_cue_button"; } + rel2 { relative: 1.0 1.0; to: "bottom_cue_button"; } + align: 0.0 0.0; + visible: 0; + } + description { + state: "enabled" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { + name: "event_blocker"; + type: SWALLOW; + scale: 1; + mouse_events: 1; + repeat_events: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.5 0.5; to: "clock_bg"; } + rel2 { relative: 0.5 0.5; to: "clock_bg"; } + fixed: 1 1; + visible: 1; + align: 0.5 0.5; + } + } + + programs { + program { + signal: "hidden.show"; + source: "clock_bg"; + action: STATE_SET "show" 0.0; + target: "hidden_region"; + transition: SIN_FAC HIDDEN_BUTTON_TRANSIT_TIME 1.7; + after: "hidden.show,after"; + } + program { + signal: "hidden.show.short"; + source: "clock_bg"; + action: STATE_SET "show.short" 0.0; + target: "hidden_region"; + transition: SIN_FAC HIDDEN_BUTTON_TRANSIT_TIME 1.7; + after: "hidden.show,after"; + } + program { + name: "hidden.show,after"; + source: "clock_bg"; + action: SIGNAL_EMIT "drawer,displayed" "clock_bg"; + } + program { + signal: "hidden.hide"; + source: "clock_bg"; + action: STATE_SET "default" 0.0; + target: "hidden_region"; + transition: DECELERATE 0.2; + transition: SIN_FAC HIDDEN_BUTTON_TRANSIT_TIME 1.7; + after: "hidden.hide,after"; + } + program { + name: "hidden.hide,after"; + source: "clock_bg"; + action: SIGNAL_EMIT "drawer,hided" "clock_bg"; + } + program { + signal: "screenreader,on"; + source: "clock_bg"; + action: STATE_SET "enabled" 0.0; + target: "focus"; + } + program { + signal: "screenreader,off"; + source: "clock_bg"; + action: STATE_SET "default" 0.0; + target: "focus"; + } + program { + signal: "screenreader,apps,on"; + source: "clock_bg"; + action: STATE_SET "enabled" 0.0; + target: "focus.bottom.cue"; + target: "bottom_cue_button"; + } + program { + signal: "screenreader,apps,off"; + source: "clock_bg"; + action: STATE_SET "default" 0.0; + target: "focus.bottom.cue"; + target: "bottom_cue_button"; + } + } + } + } // end of group + + group { + name: "blockingmode"; + parts { + part { + name: "bg"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 1.0; + color_class: "AO053"; + fixed: 1 1; + visible: 1; + } + } + part { + name: "pad.top"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: 0 53; + rel1 { relative: 0.0 0.0; to: "bg"; } + rel2 { relative: 1.0 0.0; to: "bg"; } + align: 0.0 0.0; + fixed: 1 1; + } + } + part { + name: "line.1"; + type: RECT; + scale: 1; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { relative: 0.0 1.0; to: "pad.top"; } + rel2 { relative: 1.0 1.0; to: "pad.top"; } + min: 0 1; + max: -1 1; + fixed: 1 1; + align: 0.0 1.0; + color_class: "AO057"; + } + } + part { + name: "area.content"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.0 1.0; to_x: "bg"; to_y: "pad.top"; } + rel2 { relative: 1.0 1.0; to_x: "bg"; to_y: "bg"; } + align: 0.0 0.0; + fixed: 1 1; + } + } + part { + name: "area.button.1"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: 0 99; + max: -1 99; + rel1 { relative: 0.0 0.0; to_x:"area.content"; to_y:"area.content";} + rel2 { relative: 1.0 0.0; to_x:"area.content"; to_y:"area.content";} + align: 0.0 0.0; + fixed: 1 1; + } + } + part { + name: "line.2"; + type: RECT; + scale: 1; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { relative: 0.0 1.0; to: "area.button.1"; } + rel2 { relative: 1.0 1.0; to: "area.button.1"; } + min: 0 1; + max: -1 1; + fixed: 1 1; + align: 0.0 1.0; + color_class: "AO057"; + } + } + part { + name: "line.3"; + type: RECT; + scale: 1; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { relative: 0.0 1.0; to: "bg"; } + rel2 { relative: 1.0 1.0; to: "bg"; } + min: 0 2; + max: -1 2; + fixed: 1 1; + align: 0.0 1.0; + color_class: "AO0531"; + } + } + part { + name: "area.button.2"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: 0 100; + max: -1 100; + rel1 { relative: 0.0 1.0; to_x:"area.content"; to_y: "line.2";} + rel2 { relative: 1.0 1.0; to_x:"area.content"; to_y: "line.2";} + align: 0.0 0.0; + fixed: 1 1; + } + } + part { + name: "button.1"; + type: SWALLOW; + scale: 1; + mouse_events: 1; + repeat_events: 0; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to: "area.button.1";} + rel2 { relative: 1.0 1.0; to: "area.button.1";} + fixed: 1 1; + visible: 1; + align: 0.0 0.0; + } + description { + state: "hide" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { + name: "button.2"; + type: SWALLOW; + scale: 1; + mouse_events: 1; + repeat_events: 0; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to: "area.button.2";} + rel2 { relative: 1.0 1.0; to: "area.button.2";} + fixed: 1 1; + visible: 1; + align: 0.0 0.0; + } + description { + state: "hide" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + } + programs { + program { + signal: "button.1.show"; + source: "prog"; + script { + set_state(PART:"button.1", "default", 0.0); + } + } + program { + signal: "button.1.hide"; + source: "prog"; + script { + set_state(PART:"button.1", "hide", 0.0); + } + } + program { + signal: "button.2.hide"; + source: "prog"; + script { + set_state(PART:"button.2", "hide", 0.0); + } + } + } + } // end of group + group { + styles { + style { + name: "dnd,title,normal"; + base: "font=Tizen text_class=AT044 font_size=32 align=center color=#FFFFFF color_class=AT056 wrap=mixed"; # ellipsis=1.0 + } + style { + name: "dnd,title,pressed"; + base: "font=Tizen text_class=AT044 font_size=32 align=center color=#FFFFFF color_class=AT056P wrap=mixed"; # ellipsis=1.0 + } + style { + name: "dnd,title,enabled"; + base: "font=Tizen text_class=AT044 font_size=32 align=center color=#FFFFFF color_class=AT055 wrap=mixed"; # ellipsis=1.0 + } + style { + name: "dnd,title,enabled,pressed"; + base: "font=Tizen text_class=AT044 font_size=32 align=center color=#FFFFFF color_class=AT055P wrap=mixed"; # ellipsis=1.0 + } + } + name: "hidden_item_blocking_mode"; + parts { + part { + name: "bg"; + type: SPACER; + scale: 1; + mouse_events: 0; + description { + state: "default" 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 1.0; + min: 0 100; + max: -1 100; + fixed: 1 1; + } + } + part { + name: "pad.top"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: 0 16; + rel1 { relative: 0.0 0.0; to: "bg"; } + rel2 { relative: 1.0 0.0; to: "bg"; } + align: 0.0 0.0; + fixed: 1 1; + } + } + part { + name: "pad.left"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: 14 0; + fixed: 1 1; + rel1 { relative: 0.0 0.0; to: "bg"; } + rel2 { relative: 0.0 1.0; to: "bg"; } + align: 0.0 0.0; + } + } + part { + name: "pad.right"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: 14 0; + fixed: 1 1; + rel1 { relative: 1.0 0.0; to: "bg"; } + rel2 { relative: 1.0 1.0; to: "bg"; } + align: 1.0 0.0; + } + } + part { + name: "area.icon"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + min: 332 69; + max: 332 69; + fixed: 1 1; + rel1 { relative: 1.0 1.0; to_x:"pad.left"; to_y: "pad.top";} + rel2 { relative: 0.0 1.0; to_x:"pad.right"; to_y: "pad.top";} + align: 0.0 0.0; + } + } + part { + name: "icon.bg"; + type: IMAGE; + scale: 1; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { to: "area.icon"; } + rel2 { to: "area.icon"; } + image { + normal: "b_home_screen_block_text_btn_bg.#.png"; + } + color_class: "AO084L1"; + fixed: 1 1; + visible: 1; + } + description { + state: "pressed" 0.0; + inherit: "default" 0.0; + color_class: "AO084L1P"; + } + description { + state: "enabled" 0.0; + inherit: "default" 0.0; + color_class: "AO083L1"; + } + description { + state: "enabled_pressed" 0.0; + inherit: "default" 0.0; + color_class: "AO083L1P"; + } + } + part { + name: "icon"; + type: IMAGE; + scale: 1; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { to: "area.icon"; } + rel2 { to: "area.icon"; } + image { + normal: "b_home_screen_block_text_btn_line.#.png"; + } + color_class: "AO084L2"; + fixed: 1 1; + visible: 1; + } + description { + state: "pressed" 0.0; + inherit: "default" 0.0; + color_class: "AO084L2P"; + } + description { + state: "enabled" 0.0; + inherit: "default" 0.0; + color_class: "AO083L2"; + } + description { + state: "enabled_pressed" 0.0; + inherit: "default" 0.0; + color_class: "AO083L2P"; + } + } + part { + name: "name"; + type: TEXTBLOCK; + scale: 1; + multiline: 1; + description { + state: "default" 0.0; + min: 300 38; + max: 300 38; + fixed: 1 1; + rel1 { relative: 0.5 0.5; to:"icon";} + rel2 { relative: 0.5 0.5; to:"icon";} + text { + style: "dnd,title,normal"; + align: 0.5 0.5; + } + visible: 1; + } + description { + state: "pressed" 0.0; + inherit: "default" 0.0; + text { style: "dnd,title,pressed"; } + visible: 1; + } + description { + state: "enabled" 0.0; + inherit: "default" 0.0; + text { style: "dnd,title,enabled"; } + visible: 1; + } + description { + state: "enabled_pressed" 0.0; + inherit: "default" 0.0; + text { style: "dnd,title,enabled,pressed"; } + visible: 1; + } + } + part { + name: "focus"; + type: SWALLOW; + scale: 1; + mouse_events: 1; + repeat_events: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to: "bg"; } + rel2 { relative: 1.0 1.0; to: "bg"; } + color: 0 0 0 0; + visible: 1; + } + } + } + programs { + script { + public g_icon_enabled; + public g_is_graytone; + } + program { + signal: "gray,enable"; + source: "prog"; + script { + set_int(g_is_graytone, 1); + } + } + program { + signal: "gray,disable"; + source: "prog"; + script { + set_int(g_is_graytone, 0); + } + } + program { + signal: "icon,enable"; + source: "prog"; + script { + set_int(g_icon_enabled, 1); + set_state(PART:"icon.bg", "enabled", 0.0); + set_state(PART:"icon", "enabled", 0.0); + set_state(PART:"name", "enabled", 0.0); + } + } + program { + signal: "icon,disable"; + source: "prog"; + script { + set_int(g_icon_enabled, 0); + set_state(PART:"icon.bg", "default", 0.0); + set_state(PART:"icon", "default", 0.0); + set_state(PART:"name", "default", 0.0); + } + } + program { + signal: "mouse,down,1"; + source: "focus"; + script { + if (get_int(g_icon_enabled) == 1) { + if (get_int(g_is_graytone) == 1) { + set_state(PART:"icon.bg", "enabled_pressed", 0.0); + set_state(PART:"icon", "enabled_pressed", 0.0); + set_state(PART:"name", "enabled_pressed", 0.0); + } else { + set_state(PART:"icon.bg", "enabled_pressed", 0.0); + set_state(PART:"icon", "enabled_pressed", 0.0); + set_state(PART:"name", "enabled_pressed", 0.0); + } + } else { + if (get_int(g_is_graytone) == 1) { + set_state(PART:"icon.bg", "pressed", 0.0); + set_state(PART:"icon", "pressed", 0.0); + set_state(PART:"name", "pressed", 0.0); + } else { + set_state(PART:"icon.bg", "pressed", 0.0); + set_state(PART:"icon", "pressed", 0.0); + set_state(PART:"name", "pressed", 0.0); + } + } + } + } + program { + signal: "mouse,up,1"; + source: "focus"; + script { + if (get_int(g_is_graytone) == 1) { + if (get_int(g_icon_enabled) == 1) { + set_state(PART:"icon.bg", "enabled", 0.0); + set_state(PART:"icon", "enabled", 0.0); + set_state(PART:"name", "enabled", 0.0); + } else { + set_state(PART:"icon.bg", "default", 0.0); + set_state(PART:"icon", "default", 0.0); + set_state(PART:"name", "default", 0.0); + } + } else { + if (get_int(g_icon_enabled) == 1) { + set_state(PART:"icon.bg", "enabled", 0.0); + set_state(PART:"icon", "enabled", 0.0); + set_state(PART:"name", "enabled", 0.0); + } else { + set_state(PART:"icon.bg", "default", 0.0); + set_state(PART:"icon", "default", 0.0); + set_state(PART:"name", "default", 0.0); + } + } + } + } + program { + signal: "mouse,out"; + source: "focus"; + script { + if (get_int(g_is_graytone) == 1) { + if (get_int(g_icon_enabled) == 1) { + set_state(PART:"icon.bg", "enabled", 0.0); + set_state(PART:"icon", "enabled", 0.0); + set_state(PART:"name", "enabled", 0.0); + } else { + set_state(PART:"icon.bg", "default", 0.0); + set_state(PART:"icon", "default", 0.0); + set_state(PART:"name", "default", 0.0); + } + } else { + if (get_int(g_icon_enabled) == 1) { + set_state(PART:"icon.bg", "enabled", 0.0); + set_state(PART:"icon", "enabled", 0.0); + set_state(PART:"name", "enabled", 0.0); + } else { + set_state(PART:"icon.bg", "default", 0.0); + set_state(PART:"icon", "default", 0.0); + set_state(PART:"name", "default", 0.0); + } + } + } + } + } + } + + group { + name: "bottom_cue"; + parts { + part { + name: "bg"; + type: SPACER; + scale: 1; + mouse_events: 0; + description { + state: "default" 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 1.0; + fixed: 1 1; + } + } + part { + name: "cue_clip"; + type: RECT; + scale: 1; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to, "bg"; } + rel2 { relative: 1.0 1.0; to, "bg"; } + align: 0.0 0.0; + color: 0 0 0 0; + visible: 1; + } + description { + state: "show" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + } + } + part { + name: "cue"; + type: IMAGE; + scale: 1; + mouse_events: 0; + clip_to: "cue_clip"; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to, "bg"; } + rel2 { relative: 1.0 1.0; to, "bg"; } + image { + normal: "Arrow_S_00033.png"; + } + fixed: 1 1; + visible: 0; + } + description { + state: "idle" 0.0; + inherit: "default" 0.0; + visible: 0; + } + description { + state: "work" 0.0; + inherit: "default" 0.0; + image { + normal: "Arrow_S_00033.png"; + tween: "Arrow_S_00015.png"; + tween: "Arrow_S_00016.png"; + tween: "Arrow_S_00017.png"; + tween: "Arrow_S_00018.png"; + tween: "Arrow_S_00019.png"; + tween: "Arrow_S_00020.png"; + tween: "Arrow_S_00021.png"; + tween: "Arrow_S_00022.png"; + tween: "Arrow_S_00023.png"; + tween: "Arrow_S_00024.png"; + tween: "Arrow_S_00025.png"; + tween: "Arrow_S_00026.png"; + tween: "Arrow_S_00027.png"; + tween: "Arrow_S_00028.png"; + tween: "Arrow_S_00029.png"; + tween: "Arrow_S_00030.png"; + tween: "Arrow_S_00031.png"; + tween: "Arrow_S_00032.png"; + tween: "Arrow_S_00033.png"; + } + visible: 1; + } + } + } + + programs { + script { + public g_is_enabled; + public g_anim_count; + } + program{ + name: "cue,enable"; + in: 1.0 0.0; + signal: "cue,enable"; + source: "prog"; + script { + if (get_int(g_is_enabled) == 0) { + set_int(g_is_enabled, 1); + set_int(g_anim_count, 0); + + stop_programs_on(PART:"cue"); + + run_program(PROGRAM:"anim,cue,fadeout"); + run_program(PROGRAM:"anim,cue,image"); + } else { + set_int(g_anim_count, 0); + } + } + } + program{ + name: "cue,disable"; + signal: "cue,disable"; + source: "prog"; + script { + set_int(g_is_enabled, 0); + set_int(g_anim_count, 0); + + stop_programs_on(PART:"cue"); + + run_program(PROGRAM:"anim,cue,fadein"); + } + } + program { + name: "anim,cue,fadeout"; + signal: "anim,cue,fadeout"; + action: STATE_SET "show" 0.0; + target: "cue_clip"; + } + program { + name: "anim,cue,fadein"; + signal: "anim,cue,fadein"; + action: STATE_SET "default" 0.0; + target: "cue_clip"; + } + program { + name: "anim,cue,image"; + action: STATE_SET "work" 0.0; + target: "cue"; + transition: DECELERATE 1.3; + after: "anim,cue,image,idle"; + } + program { + name: "anim,cue,image,idle"; + action: STATE_SET "idle" 0.0; + target: "cue"; + after: "anim,cue,image,restart"; + } + program { + name: "anim,cue,image,restart"; + in: 0.5 0.0; + script { + set_int(g_anim_count, get_int(g_anim_count) + 1); + + if (get_int(g_is_enabled) == 1) { + run_program(PROGRAM:"anim,cue,image"); + } + if (get_int(g_anim_count) >= 1) { + run_program(PROGRAM:"cue,disable"); + } + } + } + } + } // end of group + group { + name: "modem_off_icon"; + parts { + part { + name: "bg"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 1.0; + } + } + part { + name: "icon"; + type: IMAGE; + scale: 1; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { relative: 0.5 0.5; to: "bg"; } + rel2 { relative: 0.5 0.5; to: "bg"; } + image { + normal: "B3_Data.png"; + } + //color_class: "AO013L2"; + color: 255 255 255 255; + min: CLOCK_INDICATOR_ICON_W CLOCK_INDICATOR_ICON_H; + max: CLOCK_INDICATOR_ICON_W CLOCK_INDICATOR_ICON_H; + align: 0.5 0.5; + fixed: 1 1; + visible: 1; + } + } + part { + name: "focus"; + type: SWALLOW; + scale: 1; + mouse_events: 1; + repeat_events: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to: "bg"; } + rel2 { relative: 1.0 1.0; to: "bg"; } + align: 0.0 0.0; + visible: 1; + } + } + } + } + group { + name: "dnd_icon"; + parts { + part { + name: "bg"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 1.0; + } + } + part { + name: "icon"; + type: IMAGE; + scale: 1; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { relative: 0.5 0.5; to: "bg"; } + rel2 { relative: 0.5 0.5; to: "bg"; } + image { + normal: "do_not_ic_disturb.png"; + } + min: CLOCK_INDICATOR_W CLOCK_INDICATOR_H; + max: CLOCK_INDICATOR_W CLOCK_INDICATOR_H; + align: 0.5 0.5; + fixed: 1 1; + visible: 1; + } + } + part { + name: "focus"; + type: SWALLOW; + scale: 1; + mouse_events: 1; + repeat_events: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to: "bg"; } + rel2 { relative: 1.0 1.0; to: "bg"; } + align: 0.0 0.0; + visible: 1; + } + } + } + } + group { + name: "item_1"; + parts { + part { + name: "bg"; + type: SPACER; + scale: 1; + mouse_events: 0; + description { + state: "default" 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 1.0; + min: HIDDEN_QUICKBUTTON_W HIDDEN_QUICKBUTTON_H; + max: HIDDEN_QUICKBUTTON_W HIDDEN_QUICKBUTTON_H; + fixed: 1 1; + } + } + part { + name : "color_clip_icon"; + type : RECT; + scale: 1; + mouse_events: 0; + description { + state: "default" 0.0; + fixed: 1 1; + rel1 { + to: "icon"; + } + rel2 { + to: "icon"; + } + align: 0.5 0.5; + color_class: "AO056L4"; + } + description { + state: "off" 0.0; + inherit: "default" 0.0; + } + description { + state: "off_p" 0.0; + inherit: "default" 0.0; + color_class: "AO056L4P"; + } + description { + state: "on" 0.0; + inherit: "default" 0.0; + color_class: "AO056L3"; + } + description { + state: "on_p" 0.0; + inherit: "default" 0.0; + color_class: "AO056L3P"; + } + description { + state: "e_off" 0.0; + inherit: "default" 0.0; + color_class: "AO056L4"; + } + description { + state: "e_off_p" 0.0; + inherit: "default" 0.0; + color_class: "AO056L4P"; + } + description { + state: "e_on" 0.0; + inherit: "default" 0.0; + color_class: "AO056L5"; + } + description { + state: "e_on_p" 0.0; + inherit: "default" 0.0; + color_class: "AO056L5P"; + } + } + part { + name: "icon_bg_1"; + type: IMAGE; + scale: 1; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { relative: 0.5 0.0; to: "bg"; } + rel2 { relative: 0.5 0.0; to: "bg"; } + image { + normal: "b_home_screen_block_btn_bg.png"; + } + min: 90 90; + align: 0.5 0.0; + fixed: 1 1; + visible: 1; + color_class: "AO056L1"; + } + description { + state: "pressed" 0.0; + inherit: "default" 0.0; + color_class: "AO056L1P"; + } + } + part { + name: "icon_bg_2"; + type: IMAGE; + scale: 1; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { relative: 0.5 0.0; to: "bg"; } + rel2 { relative: 0.5 0.0; to: "bg"; } + image { + normal: "b_home_screen_block_btn_line.png"; + } + min: 90 90; + align: 0.5 0.0; + fixed: 1 1; + visible: 1; + color_class: "AO056L2"; + } + description { + state: "pressed" 0.0; + inherit: "default" 0.0; + color_class: "AO056L1P"; + } + } + part { + name: "icon"; + type: IMAGE; + scale: 1; + clip_to: "color_clip_icon"; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { relative: 0.5 0.0; to: "bg"; } + rel2 { relative: 0.5 0.0; to: "bg"; } + image { + normal: "b_home_screen_block_btn_ic.png"; + } + min: 90 90; + align: 0.5 0.0; + fixed: 1 1; + visible: 1; + } + } + part { + name: "name"; + type: TEXTBLOCK; + scale: 1; + mouse_events: 0; + description { + state: "default" 0.0; + min: HIDDEN_QUICKBUTTON_W 70; + max: HIDDEN_QUICKBUTTON_W 70; + rel1 { relative: 0.0 1.0; to_x: "bg"; to_y: "icon"; offset: 0 7; } + rel2 { relative: 1.0 1.0; to: "bg"; } + text { + style: "name_style"; + align: 0.5 0.5; + } + visible: 1; + } + description { + state: "pressed" 0.0; + inherit: "default" 0.0; + text { + style: "name_style_pressed"; + align: 0.5 0.5; + } + } + } + part { + name: "focus"; + type: SWALLOW; + scale: 1; + mouse_events: 1; + repeat_events: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to: "bg"; } + rel2 { relative: 1.0 1.0; to: "bg"; } + color: 0 0 0 0; + visible: 1; + } + } + } + programs { + script { + public g_icon_enabled; + public g_is_graytone; + } + program { + signal: "gray,enable"; + source: "prog"; + script { + set_int(g_is_graytone, 1); + if (get_int(g_icon_enabled) == 1) { + set_state(PART:"color_clip_icon", "e_on", 0.0); + } else { + set_state(PART:"color_clip_icon", "e_off", 0.0); + } + } + } + program { + signal: "gray,disable"; + source: "prog"; + script { + set_int(g_is_graytone, 0); + if (get_int(g_icon_enabled) == 1) { + set_state(PART:"color_clip_icon", "on", 0.0); + } else { + set_state(PART:"color_clip_icon", "off", 0.0); + } + } + } + program { + signal: "icon,enable"; + source: "prog"; + script { + set_int(g_icon_enabled, 1); + set_state(PART:"color_clip_icon", "on", 0.0); + } + } + program { + signal: "icon,disable"; + source: "prog"; + script { + set_int(g_icon_enabled, 0); + set_state(PART:"color_clip_icon", "off", 0.0); + } + } + program { + signal: "mouse,down,1"; + source: "focus"; + script { + set_state(PART:"name", "pressed", 0.0); + set_state(PART:"icon_bg_1", "pressed", 0.0); + set_state(PART:"icon_bg_2", "pressed", 0.0); + if (get_int(g_icon_enabled) == 1) { + if (get_int(g_is_graytone) == 1) { + set_state(PART:"icon_bg_2", "e_on_p", 0.0); + } else { + set_state(PART:"icon_bg_2", "on_p", 0.0); + } + } else { + if (get_int(g_is_graytone) == 1) { + set_state(PART:"icon_bg_2", "e_off_p", 0.0); + } else { + set_state(PART:"icon_bg_2", "off_p", 0.0); + } + } + } + } + program { + signal: "mouse,up,1"; + source: "focus"; + script { + set_state(PART:"name", "default", 0.0); + set_state(PART:"icon_bg_1", "default", 0.0); + set_state(PART:"icon_bg_2", "default", 0.0); + if (get_int(g_icon_enabled) == 1) { + if (get_int(g_is_graytone) == 1) { + set_state(PART:"icon_bg_2", "e_on", 0.0); + } else { + set_state(PART:"icon_bg_2", "on", 0.0); + } + } else { + if (get_int(g_is_graytone) == 1) { + set_state(PART:"icon_bg_2", "e_off", 0.0); + } else { + set_state(PART:"icon_bg_2", "off", 0.0); + } + } + } + } + program { + signal: "mouse,out"; + source: "focus"; + script { + set_state(PART:"name", "default", 0.0); + set_state(PART:"icon_bg_1", "default", 0.0); + set_state(PART:"icon_bg_2", "default", 0.0); + if (get_int(g_icon_enabled) == 1) { + if (get_int(g_is_graytone) == 1) { + set_state(PART:"icon_bg_2", "e_on", 0.0); + } else { + set_state(PART:"icon_bg_2", "on", 0.0); + } + } else { + if (get_int(g_is_graytone) == 1) { + set_state(PART:"icon_bg_2", "e_off", 0.0); + } else { + set_state(PART:"icon_bg_2", "off", 0.0); + } + } + } + } + } + } + group { + name: "item_2"; + parts { + part { + name: "bg"; + type: SPACER; + scale: 1; + mouse_events: 0; + description { + state: "default" 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 1.0; + min: HIDDEN_QUICKBUTTON_W HIDDEN_QUICKBUTTON_H; + max: HIDDEN_QUICKBUTTON_W HIDDEN_QUICKBUTTON_H; + fixed: 1 1; + } + } + part { + name : "color_clip_icon"; + type : RECT; + scale: 1; + mouse_events: 0; + description { + state: "default" 0.0; + fixed: 1 1; + rel1 { + to: "icon"; + } + rel2 { + to: "icon"; + } + align: 0.5 0.5; + color_class: "AO056L4"; + } + description { + state: "off" 0.0; + inherit: "default" 0.0; + } + description { + state: "off_p" 0.0; + inherit: "default" 0.0; + color_class: "AO056L4P"; + } + description { + state: "on" 0.0; + inherit: "default" 0.0; + color_class: "AO056L3"; + } + description { + state: "on_p" 0.0; + inherit: "default" 0.0; + color_class: "AO056L3P"; + } + description { + state: "e_off" 0.0; + inherit: "default" 0.0; + color_class: "AO056L4"; + } + description { + state: "e_off_p" 0.0; + inherit: "default" 0.0; + color_class: "AO056L4P"; + } + description { + state: "e_on" 0.0; + inherit: "default" 0.0; + color_class: "AO056L5"; + } + description { + state: "e_on_p" 0.0; + inherit: "default" 0.0; + color_class: "AO056L5P"; + } + } + part { + name: "icon_bg_1"; + type: IMAGE; + scale: 1; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { relative: 0.5 0.0; to: "bg"; } + rel2 { relative: 0.5 0.0; to: "bg"; } + image { + normal: "b_home_screen_block_btn_bg.png"; + } + min: 90 90; + align: 0.5 0.0; + fixed: 1 1; + visible: 1; + color_class: "AO056L1"; + } + description { + state: "pressed" 0.0; + inherit: "default" 0.0; + color_class: "AO056L1P"; + } + } + part { + name: "icon_bg_2"; + type: IMAGE; + scale: 1; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { relative: 0.5 0.0; to: "bg"; } + rel2 { relative: 0.5 0.0; to: "bg"; } + image { + normal: "b_home_screen_block_btn_line.png"; + } + min: 90 90; + align: 0.5 0.0; + fixed: 1 1; + visible: 1; + color_class: "AO056L2"; + } + description { + state: "pressed" 0.0; + inherit: "default" 0.0; + color_class: "AO056L1P"; + } + } + part { + name: "icon"; + type: IMAGE; + scale: 1; + clip_to: "color_clip_icon"; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { relative: 0.5 0.0; to: "bg"; } + rel2 { relative: 0.5 0.0; to: "bg"; } + image { + normal: "b_home_screen_network_off.png"; + } + min: 90 90; + align: 0.5 0.0; + fixed: 1 1; + visible: 1; + } + description { + state: "off" 0.0; + inherit: "default" 0.0; + image { + normal: "b_home_screen_network_off.png"; + } + } + description { + state: "on" 0.0; + inherit: "default" 0.0; + image { + normal: "b_home_screen_network_on.png"; + } + } + description { + state: "auto" 0.0; + inherit: "default" 0.0; + image { + normal: "b_home_screen_network_auto.png"; + } + } + } + part { + name: "name"; + type: TEXTBLOCK; + scale: 1; + mouse_events: 0; + description { + state: "default" 0.0; + min: HIDDEN_QUICKBUTTON_W 70; + max: HIDDEN_QUICKBUTTON_W 70; + rel1 { relative: 0.0 1.0; to_x: "bg"; to_y: "icon"; offset: 0 7; } + rel2 { relative: 1.0 1.0; to: "bg"; } + text { + style: "name_style"; + align: 0.5 0.5; + } + visible: 1; + } + description { + state: "pressed" 0.0; + inherit: "default" 0.0; + text { + style: "name_style_pressed"; + align: 0.5 0.5; + } + } + } + part { + name: "focus"; + type: SWALLOW; + scale: 1; + mouse_events: 1; + repeat_events: 0; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to: "bg"; } + rel2 { relative: 1.0 1.0; to: "bg"; } + color: 0 0 0 0; + visible: 1; + } + } + } + programs { + script { + public g_icon_enabled; + public g_is_graytone; + } + program { + signal: "gray,enable"; + source: "prog"; + script { + set_int(g_is_graytone, 1); + if (get_int(g_icon_enabled) == 1) { + set_state(PART:"color_clip_icon", "e_on", 0.0); + } else { + set_state(PART:"color_clip_icon", "e_off", 0.0); + } + } + } + program { + signal: "gray,disable"; + source: "prog"; + script { + set_int(g_is_graytone, 0); + if (get_int(g_icon_enabled) == 1) { + set_state(PART:"color_clip_icon", "on", 0.0); + } else { + set_state(PART:"color_clip_icon", "off", 0.0); + } + } + } + program { + signal: "icon,enable"; + source: "prog"; + script { + set_int(g_icon_enabled, 1); + set_state(PART:"color_clip_icon", "on", 0.0); + } + } + program { + signal: "icon,disable"; + source: "prog"; + script { + set_int(g_icon_enabled, 0); + set_state(PART:"color_clip_icon", "off", 0.0); + } + } + program { + signal: "icon,set,off"; + source: "prog"; + script { + set_state(PART:"icon", "off", 0.0); + } + } + program { + signal: "icon,set,on"; + source: "prog"; + script { + set_state(PART:"icon", "on", 0.0); + } + } + program { + signal: "icon,set,auto"; + source: "prog"; + script { + set_state(PART:"icon", "auto", 0.0); + } + } + program { + signal: "mouse,down,1"; + source: "focus"; + script { + set_state(PART:"name", "pressed", 0.0); + set_state(PART:"icon_bg_1", "pressed", 0.0); + set_state(PART:"icon_bg_2", "pressed", 0.0); + if (get_int(g_icon_enabled) == 1) { + if (get_int(g_is_graytone) == 1) { + set_state(PART:"icon_bg_2", "e_on_p", 0.0); + } else { + set_state(PART:"icon_bg_2", "on_p", 0.0); + } + } else { + if (get_int(g_is_graytone) == 1) { + set_state(PART:"icon_bg_2", "e_off_p", 0.0); + } else { + set_state(PART:"icon_bg_2", "off_p", 0.0); + } + } + } + } + program { + signal: "mouse,up,1"; + source: "focus"; + script { + set_state(PART:"name", "default", 0.0); + set_state(PART:"icon_bg_1", "default", 0.0); + set_state(PART:"icon_bg_2", "default", 0.0); + if (get_int(g_icon_enabled) == 1) { + if (get_int(g_is_graytone) == 1) { + set_state(PART:"icon_bg_2", "e_on", 0.0); + } else { + set_state(PART:"icon_bg_2", "on", 0.0); + } + } else { + if (get_int(g_is_graytone) == 1) { + set_state(PART:"icon_bg_2", "e_off", 0.0); + } else { + set_state(PART:"icon_bg_2", "off", 0.0); + } + } + } + } + program { + signal: "mouse,out"; + source: "focus"; + script { + set_state(PART:"name", "default", 0.0); + set_state(PART:"icon_bg_1", "default", 0.0); + set_state(PART:"icon_bg_2", "default", 0.0); + if (get_int(g_icon_enabled) == 1) { + if (get_int(g_is_graytone) == 1) { + set_state(PART:"icon_bg_2", "e_on", 0.0); + } else { + set_state(PART:"icon_bg_2", "on", 0.0); + } + } else { + if (get_int(g_is_graytone) == 1) { + set_state(PART:"icon_bg_2", "e_off", 0.0); + } else { + set_state(PART:"icon_bg_2", "off", 0.0); + } + } + } + } + } + } +} // end of collection diff --git a/home/res/edje/rectangle/popup.edc b/home/res/edje/rectangle/popup.edc new file mode 100644 index 0000000..524059c --- /dev/null +++ b/home/res/edje/rectangle/popup.edc @@ -0,0 +1,139 @@ +/* + * Samsung API + * Copyright (c) 2013 Samsung Electronics Co., Ltd. + * + * Licensed under the Flora License, Version 1.1 (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. + */ + +#include "conf.edc" +#include "../color_classes.edc" + + + +collections { + group { + name: "popup_checkview_internal"; + parts { + part { + name: "label"; + scale: 1; + type: SWALLOW; + description { + state: "default" 0.0; + fixed: 1 0; + rel2 { + relative: 1.0 0.0; + to_y: "end_field"; + } + } + } + part { + name: "bottom_pad"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + align: 0.0 1.0; + min: 0 4; + fixed: 0 1; + rel1.relative: 0.0 1.0; + } + } + 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 0.0; + to: "bottom_pad"; + } + rel2 { + relative: 1.0 0.0; + to: "bottom_pad"; + } + } + } + part { + name: "left_pad"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + fixed: 1 0; + min: 16 0; + rel1 { + relative: 0.0 0.0; + } + rel2 { + relative: 0.0 1.0; + } + } + } + part { + name: "right_pad"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + fixed: 1 0; + min: 16 0; + rel1 { + relative: 1.0 0.0; + } + rel2 { + relative: 1.0 1.0; + } + } + } + part { + name: "end_field"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + align: 0.0 1.0; + min: 0 90; + fixed: 0 1; + rel1 { + relative: 1.0 1.0; + to_x: "left_pad"; + to_y: "pad_b"; + } + rel2 { + relative: 0.0 1.0; + to_x: "right_pad"; + to_y: "pad_b"; + } + } + } + part { + name: "elm.swallow.end"; + type: SWALLOW; + scale: 1; + description { + state: "default" 0.0; + fixed: 1 1; + align: 0.0 0.5; + rel1.to: "end_field"; + rel1.offset: 1 0; + rel2.to: "end_field"; + } + } + } + } //end group +} //end collections diff --git a/home/res/edje/rectangle/preview.edc b/home/res/edje/rectangle/preview.edc new file mode 100755 index 0000000..c08dc14 --- /dev/null +++ b/home/res/edje/rectangle/preview.edc @@ -0,0 +1,547 @@ +/* + * Samsung API + * Copyright (c) 2013 Samsung Electronics Co., Ltd. + * + * Licensed under the Flora License, Version 1.1 (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. + */ +#include "conf.edc" +#include "../color_classes.edc" + +styles { + style { + name: "preview,title"; + base: "font=Tizen text_class=AT0311 style=shadow shadow_color=#0000004C font_size=40 align=center color=#FFFFFF color_class=AT0311 wrap=word"; # ellipsis=1.0 + tag: "br" "\n"; + tag: "hilight" "+ font=Tizen:style=Bold"; + tag: "b" "+ font=Tizen:style=Bold"; + tag: "tag" "\t"; + } +} +styles { + style { + name: "preview,title,dim"; + base: "font=Tizen text_class=AT0312 style=shadow shadow_color=#0000004C font_size=40 align=center color=#FFFFFF color_class=AT0312 wrap=word"; # ellipsis=1.0 + tag: "br" "\n"; + tag: "hilight" "+ font=Tizen:style=Bold"; + tag: "b" "+ font=Tizen:style=Bold"; + tag: "tag" "\t"; + } +} + +styles { + style { + name: "preview,title,press"; + base: "font=Tizen text_class=AT0312 style=shadow shadow_color=#0000004C font_size=40 align=center color=#FFFFFF color_class=AT0312 wrap=word"; # ellipsis=1.0 + tag: "br" "\n"; + tag: "hilight" "+ font=Tizen:style=Bold"; + tag: "b" "+ font=Tizen:style=Bold"; + tag: "tag" "\t"; + } +} + +images { + image: "b_widget_favorite_bg.png" COMP; + image: "b_home_screen_widget_line.#.png" COMP; + image: "b_home_screen_widget_line_ef.png" COMP; + image: "b_home_screen_edit_cover.png" COMP; + image: "b_home_screen_edit_cover_ef.png" COMP; + image: "b_home_screen_widget_check.png" COMP; + image: "b_home_screen_widget_check_ef.png" COMP; +} + +#define HEIGHT (ADD_VIEWER_TEXT_HEIGHT + ADD_VIEWER_PAD + ADD_VIEWER_PREVIEW_HEIGHT) + +collections { + group { + name: "bg"; + parts { + part { + name: "bg_bottom"; + type: RECT; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; } + rel2 { relative: 1.0 1.0; } + color: 0 0 0 0; + } + } + part { + name: "bg"; + type: RECT; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; } + rel2 { relative: 1.0 1.0; } + color_class: "AO041"; + visible: 0; + } + } + part { + name: "empty"; + type: TEXT; + scale: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; } + rel2 { relative: 1.0 1.0; } + text { + text_class: "AT0132"; + align: 0.5 0.5; + ellipsis: 0.0; + min: 1 1; + } + visible: 1; + } + } + } + } + + /* Icon group */ + group { + name: "default,1x1"; + } + group { + name: "default,2x2"; + } + + /* Preview group */ + group { + name: "preview,1x1"; + } + group { + name: "preview,2x2"; + script { + public g_focus = 0; + } + parts { + part { + name: "entire,bg"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; } + rel2 { relative: 1.0 1.0; } + min: ADD_VIEWER_PREVIEW_WIDTH HEIGHT; + color: 0 0 0 0; + } + } + + part { + name: "title"; + type: TEXTBLOCK; + scale: 1; + multiline: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; } + rel2 { relative: 1.0 ADD_VIEWER_TEXT_HEIGHT/HEIGHT; } + text { + style: "preview,title"; + align: 0.5 1.0; + min: 0 1; + } + min: 0 ADD_VIEWER_TEXT_HEIGHT; + } + description { + state: "hide" 0.0; + inherit: "default" 0.0; + text { style: "preview,title,dim"; } + } + description { + state: "pressed" 0.0; + inherit: "default" 0.0; + text { style: "preview,title,press"; } + } + } + + part { + name: "pad"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.0 ADD_VIEWER_TEXT_HEIGHT/HEIGHT; } + rel2 { relative: 1.0 (ADD_VIEWER_TEXT_HEIGHT+ADD_VIEWER_PAD)/HEIGHT; } + min: 0 ADD_VIEWER_PAD; + } + } + + part { + name: "bg"; + type: SWALLOW; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to, "preview"; } + rel2 { relative: 1.0 1.0; to, "preview"; } + } + } + + part { + name: "gradient,bg"; + type: IMAGE; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to, "preview"; } + rel2 { relative: 1.0 1.0; to, "preview"; } + image { normal: "b_widget_favorite_bg.png"; } + color_class: "AO031"; + visible: 0; + } + description { + state: "show" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + + part { + name: "preview"; + type: SWALLOW; + scale: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.0 (ADD_VIEWER_TEXT_HEIGHT+ADD_VIEWER_PAD)/HEIGHT; } + rel2 { relative: 1.0 1.0; } + min: ADD_VIEWER_PREVIEW_WIDTH ADD_VIEWER_PREVIEW_HEIGHT; // 216, 288 + } + description { + state: "pressed" 0.0; + rel1 { relative: 5/ADD_VIEWER_PREVIEW_WIDTH (ADD_VIEWER_TEXT_HEIGHT+ADD_VIEWER_PAD+5)/HEIGHT; } + rel2 { relative: (ADD_VIEWER_PREVIEW_WIDTH-5)/ADD_VIEWER_PREVIEW_WIDTH (HEIGHT-5)/HEIGHT; } + min: (ADD_VIEWER_PREVIEW_WIDTH-10) (ADD_VIEWER_PREVIEW_HEIGHT-10); + } + } + part { + name: "check_ef"; + type: IMAGE; + description { + state: "default" 0.0; + rel1 { relative: (ADD_VIEWER_PREVIEW_WIDTH-54)/ADD_VIEWER_PREVIEW_WIDTH (ADD_VIEWER_TEXT_HEIGHT+ADD_VIEWER_PAD)/HEIGHT; } + rel2 { relative: 1.0 (ADD_VIEWER_TEXT_HEIGHT+ADD_VIEWER_PAD+54)/HEIGHT; } + image { + normal: "b_home_screen_widget_check_ef.png"; + } + color_class: "AO063"; + min: 54 54; + visible: 0; + } + description { + state: "show" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { + name: "check"; + type: IMAGE; + description { + state: "default" 0.0; + rel1 { relative: (ADD_VIEWER_PREVIEW_WIDTH-54)/ADD_VIEWER_PREVIEW_WIDTH (ADD_VIEWER_TEXT_HEIGHT+ADD_VIEWER_PAD)/HEIGHT; } + rel2 { relative: 1.0 (ADD_VIEWER_TEXT_HEIGHT+ADD_VIEWER_PAD+54)/HEIGHT; } + image { + normal: "b_home_screen_widget_check.png"; + } + color_class: "AO042"; + min: 54 54; + visible: 0; + } + description { + state: "show" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { + name: "cover_ef"; + type: IMAGE; + scale: 1; + mouse_events: 0; + description { + state: "default" 0.0; + rel1.to: "preview"; + rel2.to: "preview"; + image { + normal: "b_home_screen_edit_cover_ef.png"; + } + color_class: "AO065"; + fixed: 1 1; + min: ITEM_EDIT_EF_WIDTH ITEM_EDIT_EF_HEIGHT; + align: 0.5 0.5; + visible: 0; + } + description { + state: "hide" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { + name: "cover"; + type: IMAGE; + scale: 1; + mouse_events: 0; + description { + state: "default" 0.0; + rel1.to: "preview"; + rel2.to: "preview"; + image { + normal: "b_home_screen_edit_cover.png"; + } + color_class: "AO0482"; + min: ADD_VIEWER_PREVIEW_WIDTH ADD_VIEWER_PREVIEW_HEIGHT; + visible: 1; + } + description { + state: "pressed" 0.0; + inherit: "default" 0.0; + color_class: "AO0661"; + } + } + part { + name: "line_ef"; + type: IMAGE; + scale: 1; + mouse_events: 1; + clip_to: "line_clipper"; + description { + state: "default" 0.0; + rel1 { relative: 0.5 0.5; to: "preview"; } + rel2 { relative: 0.5 0.5; to: "preview"; } + image { + normal: "b_home_screen_widget_line_ef.png"; + } + color_class: "AO063"; + fixed: 1 1; + min: ITEM_EDIT_EF_WIDTH ITEM_EDIT_EF_HEIGHT; + align: 0.5 0.5; + visible: 1; + } + description { + state: "pressed" 0.0; + inherit: "default" 0.0; + color_class: "AO0663"; + } + } + part { + name: "line_clipper"; + type: RECT; + mouse_events: 0; + description { + state: "default" 0.0; + rel1.to: "line_ef"; + rel2.to: "line_ef"; + color: 255 255 255 255; + visible: 1; + } + description { + state: "hide" 0.0; + inherit: "default" 0.0; + color: 255 255 255 0; + } + } + part { + name: "line"; + type: IMAGE; + scale: 1; + mouse_events: 1; + clip_to: "line_clipper"; + description { + state: "default" 0.0; + rel1 { relative: 0.5 0.5; to: "preview"; } + rel2 { relative: 0.5 0.5; to: "preview"; } + image { + normal: "b_home_screen_widget_line.#.png"; + } + color_class: "AO043"; + min: ADD_VIEWER_PREVIEW_LINE_WIDTH ADD_VIEWER_PREVIEW_LINE_HEIGHT; + align: 0.5 0.5; + visible: 1; + } + description { + state: "pressed" 0.0; + inherit: "default" 0.0; + color_class: "AO0662"; + } + } + part { + name: "preview,dbg"; + type: RECT; + mouse_events: 1; + description { + state: "default" 0.0; + rel1 { to, "preview"; } + rel2 { to, "preview"; } + color: 0 0 0 0; + } + } + } // parts + + programs { + program { + name: "pressed"; + source: "preview,dbg"; + signal: "mouse,down,1"; + script { + if (get_int(g_focus) != 0) { + set_state(PART:"preview", "pressed", 0.0); + set_state(PART:"title", "pressed", 0.0); + set_state(PART:"cover", "pressed", 0.0); + set_state(PART:"line", "pressed", 0.0); + set_state(PART:"line_ef", "pressed", 0.0); + set_state(PART:"line_clipper", "default", 0.0); + set_state(PART:"cover_ef", "default", 0.0); + } else { + set_state(PART:"preview", "pressed", 0.0); + set_state(PART:"cover", "pressed", 0.0); + set_state(PART:"title", "hide", 0.0); + set_state(PART:"line", "pressed", 0.0); + set_state(PART:"line_ef", "pressed", 0.0); + set_state(PART:"line_clipper", "hide", 0.0); + set_state(PART:"cover_ef", "hide", 0.0); + } + } + } + program { + name: "released"; + source: "preview,dbg"; + signal: "mouse,up,1"; + script { + if (get_int(g_focus) != 0) { + set_state(PART:"preview", "default", 0.0); + set_state(PART:"title", "default", 0.0); + set_state(PART:"cover", "default", 0.0); + set_state(PART:"line", "default", 0.0); + set_state(PART:"line_ef", "default", 0.0); + set_state(PART:"line_clipper", "default", 0.0); + set_state(PART:"cover_ef", "default", 0.0); + } else { + set_state(PART:"preview", "default", 0.0); + set_state(PART:"cover", "default", 0.0); + set_state(PART:"line", "default", 0.0); + set_state(PART:"line_ef", "default", 0.0); + set_state(PART:"title", "hide", 0.0); + set_state(PART:"line_clipper", "hide", 0.0); + set_state(PART:"cover_ef", "hide", 0.0); + } + } + } + program { + name: "released,force"; + source: "preview,dbg"; + signal: "reset"; + action: STATE_SET "default" 0.0; + target: "preview"; + } + program { + name: "clicked"; + source: "preview,dbg"; + signal: "mouse,clicked,1"; + action: SIGNAL_EMIT "clicked" "preview"; + } + + program { + name: "enable,bg"; + source: "gradient,bg"; + signal: "enable"; + action: STATE_SET "show" 0.0; + target: "gradient,bg"; + } + program { + name: "disable,bg"; + source: "gradient,bg"; + signal: "disable"; + action: STATE_SET "default" 0.0; + target: "gradient,bg"; + } + program { + name: "show,line"; + signal: "show"; + source: "line"; + action: STATE_SET "default" 0.0; + target: "title"; + after: "show,after"; + } + program { + name: "show,after"; + script { + set_int(g_focus, 1); + } + after: "show,after,2"; + } + program { + name: "show,after,2"; + action: STATE_SET "default" 0.0; + target: "line_clipper"; + target: "cover_ef"; + transition: LINEAR 0.5; + } + program { + name: "hide,line"; + signal: "hide"; + source: "line"; + action: STATE_SET "hide" 0.0; + target: "title"; + after: "hide,after"; + } + program { + name: "hide,after"; + script { + set_int(g_focus, 0); + } + after: "hide,after,2"; + } + program { + name: "hide,after,2"; + action: STATE_SET "hide" 0.0; + target: "line_clipper"; + target: "cover_ef"; + transition: LINEAR 0.5; + } + program { + name: "hide,line,im"; + signal: "hide,im"; + source: "line"; + script { + set_int(g_focus, 0); + } + after: "hide,im,after"; + } + program { + name: "hide,im,after"; + action: STATE_SET "hide" 0.0; + target: "line_clipper"; + target: "title"; + target: "cover_ef"; + } + program { + name: "duplicated,mark,show"; + signal: "show"; + source: "duplicated"; + action: STATE_SET "show" 0.0; + target: "check_ef"; + target: "check"; + } + program { + name: "duplicated,mark,hide"; + signal: "hide"; + source: "duplicated"; + action: STATE_SET "default" 0.0; + target: "check_ef"; + target: "check"; + } + } // programs + } // group +} // collections + +/* End of a file */ diff --git a/home/res/edje/rectangle/tutorial.edc b/home/res/edje/rectangle/tutorial.edc new file mode 100755 index 0000000..787d50e --- /dev/null +++ b/home/res/edje/rectangle/tutorial.edc @@ -0,0 +1,1183 @@ +/* + * Samsung API + * Copyright (c) 2013 Samsung Electronics Co., Ltd. + * + * Licensed under the Flora License, Version 1.1 (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. + */ + +#include "conf.edc" +#include "../color_classes.edc" + +styles { + style { + name: "main_text_style"; + base: "font=TIZEN:style=REGULAR text_class=tizen font_size="40" align=center valign=top color=#FFFFFF ellipsis=1 wrap=mixed"; + tag: "<br/>" "\n"; + } + style { + name: "sub_text_style"; + base: "font=TIZEN:style=REGULAR text_class=tizen font_size="32" color=#FFFFFF ellipsis=1 wrap=mixed"; + tag: "<br/>" "\n"; + } + style { + name: "main_text_style,medium"; + base: "font=TIZEN:style=REGULAR text_class=tizen font_size="38" align=center valign=top color=#FFFFFF ellipsis=1 wrap=mixed"; + tag: "<br/>" "\n"; + } + style { + name: "sub_text_style,medium"; + base: "font=TIZEN:style=REGULAR text_class=tizen font_size="30" color=#FFFFFF ellipsis=1 wrap=mixed"; + tag: "<br/>" "\n"; + } + style { + name: "main_text_style,small"; + base: "font=TIZEN:style=REGULAR text_class=tizen font_size="34" align=center valign=top color=#FFFFFF ellipsis=1 wrap=mixed"; + tag: "<br/>" "\n"; + } + style { + name: "sub_text_style,small"; + base: "font=TIZEN:style=REGULAR text_class=tizen font_size="24" color=#FFFFFF ellipsis=1 wrap=mixed"; + tag: "<br/>" "\n"; + } + style { + name: "button_text_style"; + base: "font=TIZEN:style=BOLD text_class=tizen font_size="28" align=center color=#FFFFFF ellipsis=1.0 wrap=mixed"; + tag: "<br/>" "\n"; + } +} + +images { + image: "overlay00_bg_cover.png" COMP; + image: "overlay01_bg_cover.png" COMP; + image: "overlay05_bg_cover.png" COMP; + image: "overlay06_bg_cover.png" COMP; + image: "overlay08_bg_cover.png" COMP; + image: "overlay_swipe_right.png" COMP; + image: "overlay_swipe_left.png" COMP; + image: "overlay_swipe_up.png" COMP; + image: "overlay_swipe_down.png" COMP; + image: "overlay_start_button.png" COMP; + image: "overlay_start_button_press.png" COMP; + image: "overlay_cue.png" COMP; + image: "overlay_close.png" COMP; + image: "overlay_button.#.png" COMP; + image: "overlay_button_press.#.png" COMP; + image: "overlay000_image.png" COMP; +} + +collections { + group { + name: "tutorial"; + parts { + part { + name: "bg_area"; + type: SWALLOW; + scale: 1; + mouse_events: 1; + repeat_events: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; } + rel2 { relative: 1.0 1.0; } + visible: 0; + } + } + part { + name: "page0"; + type: IMAGE; + scale: 1; + mouse_events: 1; + repeat_events: 0; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to: "bg_area"; } + rel2 { relative: 1.0 1.0; to: "bg_area"; } + image { + normal: "overlay00_bg_cover.png"; + } + color: 255 255 255 0; + visible: 1; + } + description { + state: "in" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + } + } + part { + name: "page1"; + type: IMAGE; + scale: 1; + mouse_events: 1; + repeat_events: 0; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to: "bg_area"; } + rel2 { relative: 1.0 1.0; to: "bg_area"; } + image { + normal: "overlay01_bg_cover.png"; + } + color: 255 255 255 0; + visible: 1; + } + description { + state: "in" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + } + } + part { + name: "page2"; + type: IMAGE; + scale: 1; + mouse_events: 1; + repeat_events: 0; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to: "bg_area"; } + rel2 { relative: 1.0 1.0; to: "bg_area"; } + image { + normal: "overlay01_bg_cover.png"; + } + color: 255 255 255 0; + visible: 1; + } + description { + state: "in" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + } + } + part { + name: "page3"; + type: IMAGE; + scale: 1; + mouse_events: 1; + repeat_events: 0; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to: "bg_area"; } + rel2 { relative: 1.0 1.0; to: "bg_area"; } + image { + normal: "overlay01_bg_cover.png"; + } + color: 255 255 255 0; + visible: 1; + } + description { + state: "in" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + } + } + part { + name: "page4"; + type: IMAGE; + scale: 1; + mouse_events: 1; + repeat_events: 0; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to: "bg_area"; } + rel2 { relative: 1.0 1.0; to: "bg_area"; } + image { + normal: "overlay01_bg_cover.png"; + } + color: 255 255 255 0; + visible: 1; + } + description { + state: "in" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + } + } + part { + name: "page5"; + type: IMAGE; + scale: 1; + mouse_events: 1; + repeat_events: 0; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to: "bg_area"; } + rel2 { relative: 1.0 1.0; to: "bg_area"; } + image { + normal: "overlay05_bg_cover.png"; + } + color: 255 255 255 0; + visible: 1; + } + description { + state: "in" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + } + } + part { + name: "page6"; + type: IMAGE; + scale: 1; + mouse_events: 1; + repeat_events: 0; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to: "bg_area"; } + rel2 { relative: 1.0 1.0; to: "bg_area"; } + image { + normal: "overlay06_bg_cover.png"; + } + color: 255 255 255 0; + visible: 1; + } + description { + state: "in" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + } + } + part { + name: "page7"; + type: IMAGE; + scale: 1; + mouse_events: 1; + repeat_events: 0; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to: "bg_area"; } + rel2 { relative: 1.0 1.0; to: "bg_area"; } + image { + normal: "overlay06_bg_cover.png"; + } + color: 255 255 255 0; + visible: 1; + } + description { + state: "in" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + } + } + part { + name: "page8"; + type: IMAGE; + scale: 1; + mouse_events: 1; + repeat_events: 0; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to: "bg_area"; } + rel2 { relative: 1.0 1.0; to: "bg_area"; } + image { + normal: "overlay08_bg_cover.png"; + } + color: 255 255 255 0; + visible: 1; + } + description { + state: "in" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + } + } + part { + name: "structure"; + type: IMAGE; + scale: 1; + mouse_events: 1; + repeat_events: 0; + description { + state: "default" 0.0; + rel1 { relative: 0.5 IMAGE_Y/BASE_HEIGHT; to: "bg_area"; } + rel2 { relative: 0.5 IMAGE_Y/BASE_HEIGHT; to: "bg_area"; } + image { + normal: "overlay000_image.png"; + } + min: 360 260; + visible: 0; + } + description { + state: "show" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + visible: 1; + } + description { + state: "hide" 0.0; + inherit: "show" 0.0; + color: 255 255 255 0; + } + } + part { + name: "text_area"; + type: SPACER; + description { + state: "default" 0.0; + rel1 { relative: 16/BASE_WIDTH 269/BASE_HEIGHT; to: "bg_area"; } + rel2 { relative: 344/BASE_WIDTH 386/BASE_HEIGHT; to: "bg_area"; } + } + description { + state: "structure" 0.0; + inherit: "default" 0.0; + rel1 { relative: 16/BASE_WIDTH 242/BASE_HEIGHT; to: "bg_area"; } + rel2 { relative: 344/BASE_WIDTH 359/BASE_HEIGHT; to: "bg_area"; } + } + description { + state: "down" 0.0; + inherit: "default" 0.0; + rel1 { relative: 16/BASE_WIDTH 209/BASE_HEIGHT; to: "bg_area"; } + rel2 { relative: 344/BASE_WIDTH 365/BASE_HEIGHT; to: "bg_area"; } + } + description { // use page 8 + state: "down,indi" 0.0; + inherit: "default" 0.0; + rel1 { relative: 16/BASE_WIDTH 331/BASE_HEIGHT; to: "bg_area"; } + rel2 { relative: 344/BASE_WIDTH 448/BASE_HEIGHT; to: "bg_area"; } + } + description { + state: "up" 0.0; + inherit: "default" 0.0; + rel1 { relative: 16/BASE_WIDTH 112/BASE_HEIGHT; to: "bg_area"; } + rel2 { relative: 344/BASE_WIDTH 307/BASE_HEIGHT; to: "bg_area"; } + } + description { + state: "center" 0.0; + inherit: "default" 0.0; + rel1 { relative: 16/BASE_WIDTH 77/BASE_HEIGHT; to: "bg_area"; } + rel2 { relative: 344/BASE_WIDTH 383/BASE_HEIGHT; to: "bg_area"; } + } + description { + state: "center,done" 0.0; + inherit: "center" 0.0; + rel1 { relative: 16/BASE_WIDTH 112/BASE_HEIGHT; to: "bg_area"; } + rel2 { relative: 344/BASE_WIDTH 316/BASE_HEIGHT; to: "bg_area"; } + } + } + part { + name: "text,clipper"; + type: RECT; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to: "bg_area"; } + rel2 { relative: 1.0 1.0; to: "bg_area"; } + color: 255 255 255 255; + } + description { + state: "hide" 0.0; + inherit: "default" 0.0; + color: 255 255 255 0; + } + } + part { + name: "text"; + type: TEXTBLOCK; + mouse_events: 1; + repeat_events: 1; + clip_to: "text,clipper"; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to: "text_area"; } + rel2 { relative: 1.0 1.0; to: "text_area"; } + align: 0.5 0.5; + text { + style: "sub_text_style"; + align: 0.5 0.5; + min: 0 1; + } + visible: 1; + } + description { + state: "sub_up" 0.0; + inherit: "default" 0.0; + text { + style: "sub_text_style"; + align: 0.5 0.1; + min: 0 1; + } + } + description { + state: "center" 0.0; + inherit: "default" 0.0; + text { + style: "main_text_style"; + align: 0.5 0.2; + min: 0 1; + } + } + description { + state: "sub_medium" 0.0; + inherit: "default" 0.0; + text { + style: "sub_text_style,medium"; + align: 0.5 0.5; + min: 0 1; + } + } + description { + state: "center_medium" 0.0; + inherit: "default" 0.0; + text { + style: "main_text_style,medium"; + align: 0.5 0.2; + min: 0 1; + } + } + description { + state: "sub_small" 0.0; + inherit: "default" 0.0; + text { + style: "sub_text_style,small"; + align: 0.5 0.5; + min: 0 1; + } + } + description { + state: "center_small" 0.0; + inherit: "default" 0.0; + text { + style: "main_text_style,small"; + align: 0.5 0.2; + min: 0 1; + } + } + } + part { + name: "focus,text"; + type: SWALLOW; + scale : 1; + mouse_events: 1; + repeat_events: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to: "text"; } + rel2 { relative: 1.0 1.0; to: "text"; } + color: 0 0 0 0; + visible: 1; + } + description { + state: "hide" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { + name: "swipe"; + type: IMAGE; + scale: 1; + mouse_events: 1; + repeat_events: 1; + description { + state: "default" 0.0; //right + rel1 { relative: 100/BASE_WIDTH 419/BASE_HEIGHT; to: "bg_area"; } + rel2 { relative: 260/BASE_WIDTH 461/BASE_HEIGHT; to: "bg_area"; } + image { + normal: "overlay_swipe_right.png"; + } + align: 0.5 0.5; + visible: 1; + } + description { + state: "left" 0.0; + inherit: "default" 0.0; + rel1 { relative: 100/BASE_WIDTH 419/BASE_HEIGHT; to: "bg_area"; } + rel2 { relative: 260/BASE_WIDTH 461/BASE_HEIGHT; to: "bg_area"; } + image { + normal: "overlay_swipe_left.png"; + } + } + description { + state: "down" 0.0; + inherit: "default" 0.0; + rel1 { relative: 159/BASE_WIDTH 384/BASE_HEIGHT; to: "bg_area"; } + rel2 { relative: 201/BASE_WIDTH 464/BASE_HEIGHT; to: "bg_area"; } + image { + normal: "overlay_swipe_up.png"; + } + } + description { // use page 8 + state: "down,indi" 0.0; + inherit: "down" 0.0; + rel1 { relative: 159/BASE_WIDTH 241/BASE_HEIGHT; to: "bg_area"; } + rel2 { relative: 201/BASE_WIDTH 321/BASE_HEIGHT; to: "bg_area"; } + } + description { + state: "up" 0.0; + inherit: "default" 0.0; + rel1 { relative: 159/BASE_WIDTH 16/BASE_HEIGHT; to: "bg_area"; } + rel2 { relative: 201/BASE_WIDTH 96/BASE_HEIGHT; to: "bg_area"; } + image { + normal: "overlay_swipe_down.png"; + } + } + description { + state: "hide" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { + name: "swipe_cue"; + type: IMAGE; + scale: 1; + mouse_events: 1; + repeat_events: 1; + description { + state: "default" 0.0; // hide + rel1 { relative: 159/BASE_WIDTH -24/BASE_HEIGHT; to: "bg_area"; } + rel2 { relative: 201/BASE_WIDTH 18/BASE_HEIGHT; to: "bg_area"; } + image { + normal: "overlay_cue.png"; + } + visible: 0; + } + description { + state: "down" 0.0; + inherit: "default" 0.0; + rel1 { relative: 148/BASE_WIDTH 453/BASE_HEIGHT; to: "bg_area"; } + rel2 { relative: 213/BASE_WIDTH 518/BASE_HEIGHT; to: "bg_area"; } + visible: 1; + } + description { + state: "up" 0.0; + inherit: "default" 0.0; + rel1 { relative: 148/BASE_WIDTH -38/BASE_HEIGHT; to: "bg_area"; } + rel2 { relative: 213/BASE_WIDTH 27/BASE_HEIGHT; to: "bg_area"; } + visible: 1; + } + } + part { + name: "close_button"; + type: SWALLOW; + scale: 1; + mouse_events: 1; + description { + state: "default" 0.0; + rel1 { relative: CLOSE_BUTTON_X/BASE_WIDTH CLOSE_BUTTON_Y/BASE_HEIGHT; to: "bg_area"; } + rel2 { relative: CLOSE_BUTTON_X/BASE_WIDTH CLOSE_BUTTON_Y/BASE_HEIGHT; to: "bg_area"; } + min: 66 66; + fixed: 1 1; + align: 0.5 0.5; + visible: 0; + } + description { + state: "show" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { + name: "close_button,line"; + type: IMAGE; + scale: 1; + mouse_events: 1; + repeat_events: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.5 0.5; to: "close_button"; } + rel2 { relative: 0.5 0.5; to: "close_button"; } + image { + normal: "overlay_close.png"; + } + min: 66 66; + fixed: 1 1; + align: 0.5 0.5; + visible: 0; + } + description { + state: "show" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { + name: "button_bg"; + type: SPACER; + scale: 1; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { relative: 0.5 BUTTON_LOCATION/BASE_HEIGHT; to: "bg_area"; } + rel2 { relative: 0.5 BUTTON_LOCATION/BASE_HEIGHT; to: "bg_area"; } + } + } + part { + name: "button"; + type: SWALLOW; + scale: 1; + mouse_events: 1; + description { + state: "default" 0.0; // hide + rel1 { relative: 0.0 0.0; to: "button_text"; offset: -16 0; } + rel2 { relative: 1.0 1.0; to: "button_text"; offset: 16 0; } + min: 174 71; + max: 334 71; + fixed: 1 1; + align: 0.5 0.5; + visible: 0; + } + description { + state: "show" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { + name: "button_line"; + type: IMAGE; + scale: 1; + mouse_events: 1; + repeat_events: 1; + description { + state: "default" 0.0; // hide + rel1 { relative: 0.0 0.0; to: "button_text"; offset: -16 0; } + rel2 { relative: 1.0 1.0; to: "button_text"; offset: 16 0; } + image { + normal: "overlay_button.#.png"; + } + min: 174 71; + max: 334 71; + fixed: 1 1; + align: 0.5 0.5; + visible: 0; + } + description { + state: "show" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { + state: "press" 0.0; + inherit: "default" 0.0; + image { + normal: "overlay_button_press.#.png"; + } + visible: 1; + } + } + part { + name: "button_text"; + type: TEXTBLOCK; + scale: 1; + mouse_events: 1; + repeat_events: 1; + description { // hide + state: "default" 0.0; + rel1 { relative: 0.5 0.5; to: "button_bg"; } + rel2 { relative: 0.5 0.5; to: "button_bg"; } + align: 0.5 0.5; + text { + style: "button_text_style"; + align: 0.5 0.5; + min: 0 0; + } + fixed: 1 1; + visible: 0; + } + description { + state: "show" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { + name: "focus,tutorial"; + type: SWALLOW; + scale : 1; + mouse_events: 1; + repeat_events: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to: "bg_area"; } + rel2 { relative: 1.0 1.0; to: "bg_area"; } + color: 0 0 0 0; + visible: 1; + } + } + }// end parts + + programs { + program { // start + signal: "start"; + source: "start"; + action: STATE_SET "center" 0.0; + target: "text_area"; + after: "bg,show"; + } + program { + name: "bg,show"; + action: STATE_SET "in" 0.0; + target: "page0"; + after: "init,show"; + } + program { + name: "init,show"; + action: STATE_SET "default" 0.0; + target: "text,clipper"; + target: "focus,text"; + after: "swipe,hide"; + } + program { + name: "swipe,hide"; + action: STATE_SET "hide" 0.0; + target: "swipe"; + target: "swipe_cue"; + after: "button,show"; + } + program { + name: "button,show"; + action: STATE_SET "show" 0.0; + target: "button"; + target: "button_line"; + target: "button_text"; + target: "close_button"; + target: "close_button,line"; + } + program { // start, pressed + signal: "show"; + source: "start,pressed"; + action: STATE_SET "press" 0.0; + target: "button_line"; + after: "text,hide"; + } + program { + name: "text,hide"; + action: STATE_SET "hide" 0.0; + target: "text,clipper"; + transition: LINEAR 0.5; + after: "button,hide"; + } + program { + name: "button,hide"; + action: STATE_SET "default" 0.0; + target: "button_line"; + target: "button_text"; + target: "close_button"; + target: "close_button,line"; + after: "tutorial,start"; + } + program { + name: "tutorial,start"; + action: SIGNAL_EMIT "start" "button"; + } + program { // structure page + signal: "show"; + source: "structure_page"; + action: STATE_SET "default" 0.0; + target: "text,clipper"; + after: "image,show"; + } + program { + name: "image,show"; + action: STATE_SET "show" 0.0; + target: "button_line"; + target: "button_text"; + target: "structure"; + after: "structure_page,text"; + } + program { + name: "structure_page,text"; + action: STATE_SET "structure" 0.0; + target: "text_area"; + } + program { // start 2, pressed + signal: "show"; + source: "start2,pressed"; + action: STATE_SET "press" 0.0; + target: "button_line"; + after: "text2,hide"; + } + program { + name: "text2,hide"; + action: STATE_SET "hide" 0.0; + target: "text,clipper"; + target: "structure"; + transition: LINEAR 0.5; + after: "button2,hide"; + } + program { + name: "button2,hide"; + action: STATE_SET "default" 0.0; + target: "structure"; + target: "button_line"; + target: "button_text"; + after: "tutorial,start2"; + } + program { + name: "tutorial,start2"; + action: SIGNAL_EMIT "start2" "button"; + } + program { // structure page out + signal: "hide"; + source: "page0"; + action: STATE_SET "default" 0.0; + target: "page0"; + transition: LINEAR 0.3; + } + program { // page 1 + signal: "show"; + source: "page1"; + action: STATE_SET "default" 0.0; + target: "page1"; + target: "text_area"; + target: "text,clipper"; + target: "swipe"; + target: "swipe_cue"; + after: "page1,in"; + } + program { + name: "page1,in"; + action: STATE_SET "in" 0.0; + target: "page1"; + transition: LINEAR 0.3; + } + program { // page 1 out + signal: "hide"; + source: "page1"; + action: STATE_SET "default" 0.0; + target: "page1"; + transition: LINEAR 0.3; + } + program { // page 2 + signal: "show"; + source: "page2"; + action: STATE_SET "default" 0.0; + target: "page2"; + after: "page2,in"; + } + program { + name: "page2,in"; + action: STATE_SET "in" 0.0; + target: "page2"; + transition: LINEAR 0.3; + after: "swipe,left"; + } + program { + name: "swipe,left"; + action: STATE_SET "left" 0.0; + target: "swipe"; + after: "text,show"; + } + program { + name: "text,show"; + action: STATE_SET "default" 0.0; + target: "text,clipper"; + } + program { // page 2 out + signal: "hide"; + source: "page2"; + action: STATE_SET "default" 0.0; + target: "page2"; + transition: LINEAR 0.3; + } + program { // page 3 + signal: "show"; + source: "page3"; + action: STATE_SET "default" 0.0; + target: "page3"; + after: "page3,in"; + } + program { + name: "page3,in"; + action: STATE_SET "in" 0.0; + target: "page3"; + transition: LINEAR 0.3; + after: "text,show"; + } + program { // page 3 out + signal: "hide"; + source: "page3"; + action: STATE_SET "default" 0.0; + target: "page3"; + transition: LINEAR 0.3; + } + program { // page 4 + signal: "show"; + source: "page4"; + action: STATE_SET "default" 0.0; + target: "page4"; + after: "page4,in"; + } + program { + name: "page4,in"; + action: STATE_SET "in" 0.0; + target: "page4"; + transition: LINEAR 0.3; + after: "swipe,right"; + } + program { + name: "swipe,right"; + action: STATE_SET "default" 0.0; + target: "swipe"; + after: "text,show"; + } + program { // page 4 out + signal: "hide"; + source: "page4"; + action: STATE_SET "hide" 0.0; + target: "text,clipper"; + after: "page4,out"; + } + program { + name: "page4,out"; + action: STATE_SET "default" 0.0; + target: "page4"; + transition: LINEAR 0.3; + } + program { // page 5 + signal: "show"; + source: "page5"; + action: STATE_SET "default" 0.0; + target: "page5"; + after: "page5,in"; + } + program { + name: "page5,in"; + action: STATE_SET "in" 0.0; + target: "page5"; + transition: LINEAR 0.3; + after: "down"; + } + program { + name: "down"; + action: STATE_SET "down" 0.0; + target: "text_area"; + target: "swipe"; + target: "swipe_cue"; + after: "text,show"; + } + program { // page 5 out + signal: "hide"; + source: "page5"; + action: STATE_SET "hide" 0.0; + target: "text,clipper"; + after: "page5,out"; + } + program { + name: "page5,out"; + action: STATE_SET "default" 0.0; + target: "page5"; + transition: LINEAR 0.3; + } + program { // page 6 + signal: "show"; + source: "page6"; + action: STATE_SET "default" 0.0; + target: "page6"; + after: "page6,in"; + } + program { + name: "page6,in"; + action: STATE_SET "in" 0.0; + target: "page6"; + transition: LINEAR 0.3; + after: "up"; + } + program { + name: "up"; + action: STATE_SET "up" 0.0; + target: "text_area"; + target: "swipe"; + target: "swipe_cue"; + after: "text,show"; + } + program { // page 6 out + signal: "hide"; + source: "page6"; + action: STATE_SET "default" 0.0; + target: "page6"; + transition: LINEAR 0.4; + } + program { // page 7 + signal: "show"; + source: "page7"; + action: STATE_SET "default" 0.0; + target: "page7"; + after: "page7,in"; + } + program { + name: "page7,in"; + action: STATE_SET "in" 0.0; + target: "page7"; + transition: LINEAR 0.3; + after: "text,show"; + } + program { // page 7 out + signal: "hide"; + source: "page7"; + action: STATE_SET "hide" 0.0; + target: "text,clipper"; + after: "page7,out"; + } + program { + name: "page7,out"; + action: STATE_SET "default" 0.0; + target: "page7"; + transition: LINEAR 0.3; + } + program { // page 8 + signal: "show"; + source: "page8"; + action: STATE_SET "default" 0.0; + target: "page8"; + after: "page8,in"; + } + program { + name: "page8,in"; + action: STATE_SET "in" 0.0; + target: "page8"; + transition: LINEAR 0.3; + after: "indicator,down"; + } + program { + name: "indicator,down"; + action: STATE_SET "down,indi" 0.0; + target: "text_area"; + target: "swipe"; + after: "cue,hide"; + } + program { + name: "cue,hide"; + action: STATE_SET "default" 0.0; + target: "swipe_cue"; + after: "text,show"; + } + program { // page 8 out + signal: "hide"; + source: "page8"; + action: STATE_SET "hide" 0.0; + target: "text,clipper"; + target: "swipe"; + after: "page8,out"; + } + program { + name: "page8,out"; + action: STATE_SET "default" 0.0; + target: "page8"; + transition: LINEAR 0.3; + } + program { // page 9 + signal: "show"; + source: "page9"; + action: STATE_SET "default" 0.0; + target: "page0"; + after: "page9,in"; + } + program { + name: "page9,in"; + action: STATE_SET "in" 0.0; + target: "page0"; + transition: LINEAR 0.3; + after: "swipe,hide2"; + } + program { + name: "swipe,hide2"; + action: STATE_SET "hide" 0.0; + target: "swipe"; + after: "button,show2"; + } + program { + name: "button,show2"; + action: STATE_SET "show" 0.0; + target: "button"; + target: "button_line"; + target: "button_text"; + after: "text,center"; + } + program { + name: "text,center"; + action: STATE_SET "center,done" 0.0; + target: "text_area"; + after: "text,show"; + } + program { // page 9, pressed + signal: "show"; + source: "page9,pressed"; + action: STATE_SET "press" 0.0; + target: "button_line"; + after: "text,hide2"; + } + program { + name: "text,hide2"; + action: STATE_SET "hide" 0.0; + target: "text,clipper"; + transition: LINEAR 0.5; + after: "button,hide2"; + } + program { + name: "button,hide2"; + action: STATE_SET "default" 0.0; + target: "button_line"; + target: "button_text"; + after: "tutorial,done"; + } + program { + name: "tutorial,done"; + action: SIGNAL_EMIT "done" "button"; + } + program { + signal: "standard"; + source: "sub"; + action: STATE_SET "default" 0.0; + target: "text"; + } + program { + signal: "up"; + source: "sub"; + action: STATE_SET "sub_up" 0.0; + target: "text"; + } + program { + signal: "medium"; + source: "sub"; + action: STATE_SET "sub_medium" 0.0; + target: "text"; + } + program { + signal: "small"; + source: "sub"; + action: STATE_SET "sub_small" 0.0; + target: "text"; + } + program { + signal: "standard"; + source: "center"; + action: STATE_SET "center" 0.0; + target: "text"; + } + program { + signal: "medium"; + source: "center"; + action: STATE_SET "center_medium" 0.0; + target: "text"; + } + program { + signal: "small"; + source: "center"; + action: STATE_SET "center_small" 0.0; + target: "text"; + } + program { + signal: "show"; + source: "text"; + action: STATE_SET "default" 0.0; + target: "text,clipper"; + } + program { + signal: "hide"; + source: "text"; + action: STATE_SET "hide" 0.0; + target: "text,clipper"; + } + }// end programs + }// end group +}// end collection |