summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorHyerim Kim <rimi.kim@samsung.com>2017-09-05 21:13:14 +0900
committerHyerim Kim <rimi.kim@samsung.com>2017-09-06 16:24:08 +0900
commitb6609f50613e23d1882331fa5911adca5836b7f9 (patch)
treecf3632c7140369494fd8c831bb745f45b180d714 /data
parentf0e37edfb011436627c84eef75af65014a57ad6d (diff)
downloadair_livetv-tizen_6.0.tar.gz
air_livetv-tizen_6.0.tar.bz2
air_livetv-tizen_6.0.zip
Modifies Live-tv application for displaying background image on Hometizen_8.0_m2_releasetizen_7.0_m2_releasetizen_6.5.m2_releasetizen_6.0.m2_releasetizen_5.5.m2_releasetizen_4.0.m2_releasetizen_4.0.IoT.p2_releasetizen_4.0.IoT.p1_releasesubmit/tizen_6.5/20211029.140001submit/tizen_6.5/20211028.164001submit/tizen_6.0_hotfix/20201103.115105submit/tizen_6.0_hotfix/20201102.192905submit/tizen_6.0/20201029.205505submit/tizen_5.5_wearable_hotfix/20201026.184309submit/tizen_5.5_mobile_hotfix/20201026.185109submit/tizen_5.5/20191031.000013submit/tizen_5.5/20191031.000011submit/tizen_5.5/20191031.000009submit/tizen_5.0/20181106.000001submit/tizen_5.0/20181101.000009submit/tizen_4.0/20170907.043947submit/tizen/20170906.103347accepted/tizen/unified/20170911.155614accepted/tizen/8.0/unified/20231005.100105accepted/tizen/7.0/unified/hotfix/20221116.112006accepted/tizen/7.0/unified/20221110.061740accepted/tizen/6.0/unified/hotfix/20201103.044959accepted/tizen/6.0/unified/20201030.103300accepted/tizen/5.5/unified/wearable/hotfix/20201027.095200accepted/tizen/5.5/unified/mobile/hotfix/20201027.071204accepted/tizen/5.5/unified/20191031.034729accepted/tizen/5.0/unified/20181106.202933accepted/tizen/4.0/unified/20170911.154210tizen_8.0tizen_7.0_hotfixtizen_7.0tizen_6.5tizen_6.0_hotfixtizen_6.0tizen_5.5_wearable_hotfixtizen_5.5_tvtizen_5.5_mobile_hotfixtizen_5.5tizen_5.0tizen_4.0tizenaccepted/tizen_unifiedaccepted/tizen_8.0_unifiedaccepted/tizen_7.0_unified_hotfixaccepted/tizen_7.0_unifiedaccepted/tizen_6.0_unified_hotfixaccepted/tizen_6.0_unifiedaccepted/tizen_5.5_unified_wearable_hotfixaccepted/tizen_5.5_unified_mobile_hotfixaccepted/tizen_5.5_unifiedaccepted/tizen_5.0_unifiedaccepted/tizen_4.0_unified
Change-Id: I4081ad312fd6e77169e55d33a3c9a3755ec8770e Signed-off-by: Hyerim Kim <rimi.kim@samsung.com>
Diffstat (limited to 'data')
-rwxr-xr-x[-rw-r--r--]data/CMakeLists.txt9
-rw-r--r--data/live-tv-theme.edc23
-rwxr-xr-x[-rw-r--r--]data/live-tv.edc42
-rw-r--r--data/view/action_menu.edc370
-rw-r--r--data/view/channelinfo.edc1058
-rw-r--r--data/view/channelnumber.edc394
-rw-r--r--data/view/error.edc112
-rw-r--r--data/widget/button.edc1264
-rw-r--r--data/widget/notify.edc157
9 files changed, 38 insertions, 3391 deletions
diff --git a/data/CMakeLists.txt b/data/CMakeLists.txt
index 500ddff..b9bdc81 100644..100755
--- a/data/CMakeLists.txt
+++ b/data/CMakeLists.txt
@@ -21,12 +21,3 @@ ADD_CUSTOM_TARGET(${TARGET_EDJ}
)
ADD_DEPENDENCIES(${PROJECT_NAME} ${TARGET_EDJ})
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/${TARGET_EDJ} DESTINATION ${EDJEDIR})
-
-ADD_CUSTOM_TARGET(${THEME_EDJ}
- COMMAND edje_cc -id ../res/images -sd ../res/sounds
- ${CMAKE_CURRENT_SOURCE_DIR}/${PROJECT_NAME}-theme.edc
- ${CMAKE_CURRENT_BINARY_DIR}/${THEME_EDJ}
- DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/${PROJECT_NAME}-theme.edc
-)
-ADD_DEPENDENCIES(${PROJECT_NAME} ${THEME_EDJ})
-INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/${THEME_EDJ} DESTINATION ${EDJEDIR})
diff --git a/data/live-tv-theme.edc b/data/live-tv-theme.edc
deleted file mode 100644
index 8be3ca4..0000000
--- a/data/live-tv-theme.edc
+++ /dev/null
@@ -1,23 +0,0 @@
-/*
- * Copyright (c) 2015 Samsung Electronics Co., Ltd.
- *
- * Licensed under the Apache License, Version 2.0 (the License);
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an AS IS BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "../include/define.h"
-
-collections {
- base_scale: 2.0;
- #include "widget/button.edc"
- #include "widget/notify.edc"
-}
diff --git a/data/live-tv.edc b/data/live-tv.edc
index 544a84a..c61e167 100644..100755
--- a/data/live-tv.edc
+++ b/data/live-tv.edc
@@ -18,8 +18,42 @@
collections {
base_scale: 2.0;
- #include "view/channelinfo.edc"
- #include "view/channelnumber.edc"
- #include "view/error.edc"
- #include "view/action_menu.edc"
+ group {
+ name, GRP_VIEW_BGIMAGE;
+ images {
+ image, "background.png" COMP;
+ }
+ parts {
+ part {
+ name, "bg";
+ type, RECT;
+ scale, 1;
+ description {
+ state, "default" 0.0;
+ color, 244 244 244 255;
+ }
+ }
+ part {
+ name, "part.bgimage";
+ type, IMAGE;
+ scale, 1;
+ description {
+ state, "default" 0.0;
+ image.normal, "background.png";
+ rel1 {
+ to, "bg";
+ relative, 0.0 0.0;
+ }
+ rel2 {
+ to, "bg";
+ relative, 1.0 1.0;
+ }
+ visible, 1;
+ min, 1920 1080;
+ align, 0.0 0.0;
+ fixed, 1 1;
+ }
+ }
+ }
+ }
}
diff --git a/data/view/action_menu.edc b/data/view/action_menu.edc
deleted file mode 100644
index d7b9485..0000000
--- a/data/view/action_menu.edc
+++ /dev/null
@@ -1,370 +0,0 @@
-/*
- * Copyright (c) 2015 Samsung Electronics Co., Ltd All Rights Reserved
- *
- * Licensed under the Apache License, Version 2.0 (the License);
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an AS IS BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-group {
- name, GRP_VIEW_ACTION_MENU;
- parts {
- part {
- name, "bg";
- type, RECT;
- scale, 1;
- description {
- state, "default" 0.0;
- color, 0 0 0 150;
- }
- }
- part {
- name, "menu_bg";
- type, RECT;
- scale, 1;
- description {
- state, "default" 0.0;
- color, 255 255 255 255;
- rel1.to, PART_CONTENT;
- rel2.to, PART_CONTENT;
- }
- }
-
- part {
- name, PART_CONTENT;
- type, SWALLOW;
- scale, 1;
- description {
- state, "default" 0.0;
- rel1.relative, 1.0 0.0;
- min, 500 0;
- align, 0.0 0.0;
- fixed, 1 0;
- }
- description {
- state, "show" 0.0;
- inherit, "default" 0.0;
- align, 1.0 0.0;
- }
- }
-
- part {
- name, "view.divider";
- type, RECT;
- scale, 1;
- description {
- state, "default" 0.0;
- color, 0 0 0 25;
- rel1.to, PART_CONTENT;
- rel2 {
- to, PART_CONTENT;
- relative, 0.0 1.0;
- }
- min, 1 0;
- align, 1.0 0.5;
- fixed, 1 0;
- }
- }
-
- part {
- name, "padding.channelinfo";
- type, SPACER;
- scale, 1;
- description {
- state, "default" 0.0;
- rel1.relative, 0.0 0.0;
- rel2.relative, 0.0 0.0;
- min, 40 40;
- align, 0.0 0.0;
- fixed, 1 1;
- }
- }
-
- part {
- name, PART_CHANNELINFO;
- type, SWALLOW;
- scale, 1;
- description {
- state, "default" 0.0;
- rel1 {
- to, "padding.channelinfo";
- relative, 1.0 1.0;
- }
- rel2 {
- to, "padding.channelinfo";
- relative, 1.0 1.0;
- }
- min, 536 174;
- align, 0.0 0.0;
- fixed, 1 1;
- }
- }
-
- }
- programs {
- program {
- signal, SIGNAL_SHOW;
- action, STATE_SET "show" 0.0;
- target, PART_CONTENT;
- transition, CUBIC_BEZIER 0.667 TRANSITION_EASE_IN_OUT;
- }
- program {
- signal, SIGNAL_HIDE;
- source, SOURCE_ELM;
- action, STATE_SET "default" 0.0;
- target, PART_CONTENT;
- transition, CUBIC_BEZIER 0.334 TRANSITION_EASE_OUT;
- after, "hide_finished";
- }
- program {
- name, "hide_finished";
- action, SIGNAL_EMIT SIGNAL_HIDE_FINISHED SOURCE_ELM;
- }
- }
-}
-
-group {
- name, GRP_ACTION_MENU_TOP;
- parts {
- part {
- name, "area";
- type, SPACER;
- scale, 1;
- description {
- state, "default" 0.0;
- min, 500 346;
- }
- }
- part {
- name, "padding.livetv.btn";
- type, SPACER;
- scale, 1;
- description {
- state, "default" 0.0;
- rel2.relative, 1.0 0.0;
- min, 0 120;
- align, 0.5 0.0;
- fixed, 0 1;
- }
- }
-
- part {
- name, PART_TOP_BUTTON;
- type, SWALLOW;
- scale, 1;
- description {
- state, "default" 0.0;
- rel1 {
- to, "padding.livetv.btn";
- relative, 0.5 0.5;
- }
- rel2 {
- to, "padding.livetv.btn";
- relative, 0.5 0.5;
- }
- min, 327 64;
- align, 0.5 0.5;
- fixed, 1 1;
- }
- }
-
- part {
- name, "padding.menu.divider.up";
- type, RECT;
- scale, 1;
- description {
- state, "default" 0.0;
- color, 224 224 224 255;
- rel1 {
- to, "padding.livetv.btn";
- relative, 0.0 1.0;
- }
- rel2.to, "padding.livetv.btn";
- min, 0 1;
- align, 0.0 1.0;
- fixed, 0 1;
- }
- }
-
- part {
- name, "part.menu.bg";
- type, RECT;
- scale, 1;
- description {
- state, "default" 0.0;
- rel1.to, PART_MENU;
- rel2.to, PART_MENU;
- align, 0.0 0.0;
- color, 224 224 224 255;
- }
- }
-
- part {
- name, PART_MENU;
- type, SWALLOW;
- scale, 1;
- description {
- state, "default" 0.0;
- rel1 {
- to, "padding.menu.divider.up";
- relative, 0.5 1.0;
- }
- rel2 {
- to, "padding.menu.divider.up";
- relative, 0.5 1.0;
- }
- min, 500 126;
- align, 0.5 0.0;
- fixed, 1 1;
- }
- }
-
- part {
- name, "padding.menu.divider.down";
- type, RECT;
- scale, 1;
- description {
- state, "default" 0.0;
- color, 224 224 224 255;
- rel1 {
- to, PART_MENU;
- relative, 0.0 1.0;
- }
- rel2 {
- to, PART_MENU;
- relative, 0.0 1.0;
- }
- min, 500 1;
- align, 0.0 0.0;
- fixed, 1 1;
- }
- }
-
- part {
- name, "padding.favorite";
- type, SPACER;
- scale, 1;
- description {
- state, "default" 0.0;
- rel1 {
- to, "padding.menu.divider.down";
- relative, 0.0 1.0;
- }
- rel2 {
- to, "padding.menu.divider.down";
- relative, 1.0 1.0;
- }
- min, 0 40;
- align, 0.0 0.0;
- fixed, 1 1;
- }
- }
-
- part {
- name, "part.favorite.title";
- type, TEXT;
- scale, 1;
- description {
- state: "default" 0.0;
- rel1 {
- to, "padding.favorite";
- relative, 0.5 1.0;
- }
- rel2 {
- to, "padding.favorite";
- relative, 0.5 1.0;
- }
- text {
- font, FONT_LIGHT;
- size, 32;
- align, 0.0 0.5;
- text, STR_BUTTON_FAVORITE;
- }
- color, 77 77 77 255;
- min, 440 32;
- align, 0.5 0.0;
- fixed, 1 1;
- }
- }
-
- part {
- name, "padding.favorite.list";
- type, SPACER;
- scale, 1;
- description {
- state, "default" 0.0;
- rel1 {
- to, "part.favorite.title";
- relative, 0.0 1.0;
- }
- rel2 {
- to, "part.favorite.title";
- relative, 1.0 1.0;
- }
- min, 0 30;
- align, 0.0 0.0;
- fixed, 1 1;
- }
- }
- }
-}
-
-group {
- name, GRP_ACTION_MENU_BOTTOM;
- parts {
- part {
- name, PART_MORE_BUTTON;
- type, SWALLOW;
- scale, 1;
- description {
- state, "default" 0.0;
- min, 184 116;
- align, 0.5 0.0;
- }
- }
- }
-}
-
-group {
- name, GRP_ACTION_MENU_NO_FAVORITE;
- parts {
- part {
- name, "part.favorite.no_favorite";
- type, RECT;
- scale, 1;
- description {
- state, "default" 0.0;
- rel1.relative, 0.5 0.0;
- rel2.relative, 0.5 0.0;
- min, 440 616;
- align, 0.5 0.0;
- color, COLOR_NOFAVORITE_BG;
- }
- }
- part {
- name, "part.favorite.no_favorite.text";
- type, TEXT;
- scale, 1;
- description {
- state, "default" 0.0;
- rel1.to, "part.favorite.no_favorite";
- rel2.to, "part.favorite.no_favorite";
- text {
- font, FONT_LIGHT;
- size, 28;
- align, 0.5 0.5;
- text, STR_NOFAVORITE;
- }
- color, COLOR_NOFAVORITE_TEXT;
- }
- }
- }
-}
diff --git a/data/view/channelinfo.edc b/data/view/channelinfo.edc
deleted file mode 100644
index 6ead49c..0000000
--- a/data/view/channelinfo.edc
+++ /dev/null
@@ -1,1058 +0,0 @@
-/*
- * Copyright (c) 2015 Samsung Electronics Co., Ltd.
- *
- * Licensed under the Apache License, Version 2.0 (the License);
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http,//www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an AS IS BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "../../include/define.h"
-
-group {
- name, GRP_VIEW_CHANNELINFO;
- parts {
- part {
- name, PART_CONTENT;
- type, SWALLOW;
- scale, 1;
- description {
- state, "default" 0.0;
- rel1.relative, 1.0 0.0;
- rel2.relative, 1.0 1.0;
- min, 536 0;
- align, 1.0 0.5;
- fixed, 1 0;
- }
- }
- }
-}
-
-group {
- name, GRP_LAYOUT_CHANNELINFO;
- parts {
- part {
- name, PART_CONTENT;
- type, SWALLOW;
- scale, 1;
- description {
- state, "default" 0.0;
- rel1.relative, 1.0 0.5;
- rel2.relative, 1.0 0.5;
- min, 536 486;
- align, 0.0 0.5;
- fixed, 1 1;
- visible, 0;
- }
- description {
- state, "show" 0.0;
- inherit, "default" 0.0;
- align, 1.0 0.5;
- visible, 1;
- }
- }
- }
- programs {
- program {
- signal, SIGNAL_SHOW;
- action, STATE_SET "show" 0.0;
- target, PART_CONTENT;
- transition, CUBIC_BEZIER 0.5 TRANSITION_EASE_IN_OUT;
- }
- program {
- signal, SIGNAL_HIDE;
- source, SOURCE_ELM;
- action, STATE_SET "default" 0.0;
- target, PART_CONTENT;
- transition, CUBIC_BEZIER 0.167 TRANSITION_EASE_OUT;
- after, "hide_finished";
- }
- program {
- name, "hide_finished";
- action, SIGNAL_EMIT SIGNAL_HIDE_FINISHED SOURCE_ELM;
- }
- }
-}
-
-group {
- name, GRP_LAYOUT_CHANNELINFO_LIST;
- images {
- image, "btn_navigation_up.png" COMP;
- image, "btn_navigation_down.png" COMP;
- }
- parts {
- part {
- name, "bg";
- type, SPACER;
- scale, 1;
- description {
- state, "default" 0.0;
- rel1.relative, 1.0 0.5;
- rel2.relative, 1.0 0.5;
- min, 536 486;
- align, 0.0 0.5;
- fixed, 1 1;
- }
- description {
- state, "show" 0.0;
- inherit, "default" 0.0;
- align, 1.0 0.5;
- }
- }
- part {
- name, "part.navigation_up";
- type, IMAGE;
- scale, 1;
- description {
- state, "default" 0.0;
- image.normal, "btn_navigation_up.png";
- rel1 {
- to, "bg";
- relative, 0.5 0.0;
- }
- rel2 {
- to, "bg";
- relative, 0.5 0.0;
- }
- min, 98 34;
- align, 0.5 0.0;
- fixed, 1 1;
- visible, 1;
- }
- }
- part {
- name, "padding.next_channel";
- type, SPACER;
- description {
- state, "default" 0.0;
- rel1 {
- to, "part.navigation_up";
- relative, 0.5 1.0;
- }
- rel2 {
- to, "part.navigation_up";
- relative, 0.5 1.0;
- }
- min, 0 20;
- align, 0.5 0.0;
- fixed, 1 1;
- }
- }
- part {
- name, "clip_next";
- type, RECT;
- description {
- state, "default" 0.0;
- rel1 {
- to, "padding.next_channel";
- relative, 0.5 1.0;
- }
- rel2 {
- to, "padding.next_channel";
- relative, 0.5 1.0;
- }
- min, 536 70;
- align, 0.5 0.0;
- fixed, 1 1;
- color, 255 255 255 0;
- }
- description {
- state, "show" 0.0;
- inherit, "default" 0.0;
- color, 255 255 255 255;
- }
- }
- part {
- name, PART_CHANNELINFO_LIST_NEXT;
- type, SWALLOW;
- clip_to, "clip_next";
- description {
- state, "default" 0.0;
- rel1 {
- to, "clip_next";
- relative, 0.0 0.5;
- offset, 0 20;
- }
- rel2 {
- to, "clip_next";
- relative, 1.0 0.5;
- offset, 0 20;
- }
- align, 0.0 0.5;
- }
- description {
- state, "show" 0.0;
- inherit, "default" 0.0;
- rel1.offset, 0 0;
- rel2.offset, 0 0;
- }
- description {
- state, "up" 0.0;
- inherit, "show" 0.0;
- rel1.relative, 0.0 0.0;
- rel2.relative, 1.0 0.0;
- align, 0.0 0.0;
- }
- description {
- state, "down" 0.0;
- inherit, "show" 0.0;
- rel1.relative, 0.0 1.0;
- rel2.relative, 1.0 1.0;
- align, 0.0 1.0;
- }
- }
- part {
- name, "padding.current_channel";
- type, SPACER;
- description {
- state, "default" 0.0;
- rel1 {
- to, "clip_next";
- relative, 0.5 1.0;
- }
- rel2 {
- to, "clip_next";
- relative, 0.5 1.0;
- }
- min, 0 32;
- align, 0.5 0.0;
- fixed, 1 1;
- }
- }
- part {
- name, "clip_current";
- type, RECT;
- description {
- state, "default" 0.0;
- rel1 {
- to, "padding.current_channel";
- relative, 0.5 1.0;
- }
- rel2 {
- to, "padding.current_channel";
- relative, 0.5 1.0;
- }
- min, 536 174;
- align, 0.5 0.0;
- fixed, 1 1;
- color, 255 255 255 0;
- }
- description {
- state, "show" 0.0;
- inherit, "default" 0.0;
- color, 255 255 255 255;
- }
- }
- part {
- name, PART_CHANNELINFO_LIST_CURRENT;
- type, SWALLOW;
- clip_to, "clip_current";
- description {
- state, "default" 0.0;
- rel1 {
- to, "clip_current";
- relative, 0.0 0.5;
- }
- rel2 {
- to, "clip_current";
- relative, 1.0 0.5;
- }
- align, 0.0 0.5;
- }
- description {
- state, "up" 0.0;
- inherit, "default" 0.0;
- rel1.relative, 0.0 0.0;
- rel2.relative, 1.0 0.0;
- align, 0.0 0.0;
- }
- description {
- state, "down" 0.0;
- inherit, "default" 0.0;
- rel1.relative, 0.0 1.0;
- rel2.relative, 1.0 1.0;
- align, 0.0 1.0;
- }
- }
- part {
- name, "padding.prev_channel";
- type, SPACER;
- description {
- state, "default" 0.0;
- rel1 {
- to, "clip_current";
- relative, 0.5 1.0;
- }
- rel2 {
- to, "clip_current";
- relative, 0.5 1.0;
- }
- min, 0 32;
- align, 0.5 0.0;
- fixed, 1 1;
- }
- }
- part {
- name, "clip_prev";
- type, RECT;
- description {
- state, "default" 0.0;
- rel1 {
- to, "padding.prev_channel";
- relative, 0.5 1.0;
- }
- rel2 {
- to, "padding.prev_channel";
- relative, 0.5 1.0;
- }
- min, 536 70;
- align, 0.5 0.0;
- fixed, 1 1;
- color, 255 255 255 0;
- }
- description {
- state, "show" 0.0;
- inherit, "default" 0.0;
- color, 255 255 255 255;
- }
- }
- part {
- name, PART_CHANNELINFO_LIST_PREV;
- type, SWALLOW;
- clip_to, "clip_prev";
- description {
- state, "default" 0.0;
- rel1 {
- to, "clip_prev";
- relative, 0.0 0.5;
- offset, 0 -20;
- }
- rel2 {
- to, "clip_prev";
- relative, 1.0 0.5;
- offset, 0 -20;
- }
- align, 0.0 0.5;
- }
- description {
- state, "show" 0.0;
- inherit, "default" 0.0;
- rel1.offset, 0 0;
- rel2.offset, 0 0;
- }
- description {
- state, "up" 0.0;
- inherit, "show" 0.0;
- rel1.relative, 0.0 0.0;
- rel2.relative, 1.0 0.0;
- align, 0.0 0.0;
- }
- description {
- state, "down" 0.0;
- inherit, "show" 0.0;
- rel1.relative, 0.0 1.0;
- rel2.relative, 1.0 1.0;
- align, 0.0 1.0;
- }
- }
- part {
- name, "padding.navigation_down";
- type, SPACER;
- description {
- state, "default" 0.0;
- rel1 {
- to, "clip_prev";
- relative, 0.5 1.0;
- }
- rel2 {
- to, "clip_prev";
- relative, 0.5 1.0;
- }
- min, 0 20;
- align, 0.0 0.0;
- fixed, 1 1;
- }
- }
- part {
- name, "part.navigation_down";
- type, IMAGE;
- scale, 1;
- description {
- state, "default" 0.0;
- image.normal, "btn_navigation_down.png";
- rel1 {
- to, "padding.navigation_down";
- relative, 0.5 1.0;
- }
- rel2 {
- to, "padding.navigation_down";
- relative, 0.5 1.0;
- }
- min, 98 34;
- align, 0.5 0.0;
- fixed, 1 1;
- visible, 1;
- }
- }
- }
- programs {
- program {
- signal, SIGNAL_SHOW;
- action, STATE_SET "show" 0.0;
- target, "bg";
- after, "show_current";
- after, "show_other";
- }
- program {
- name, "show_current";
- action, STATE_SET "show" 0.0;
- target, "clip_current";
- transition, CUBIC_BEZIER 0.334 TRANSITION_EASE_IN_OUT;
- }
- program {
- name, "show_other";
- action, STATE_SET "show" 0.0;
- target, "clip_next";
- target, PART_CHANNELINFO_LIST_NEXT;
- target, "clip_prev";
- target, PART_CHANNELINFO_LIST_PREV;
- transition, CUBIC_BEZIER 0.401 TRANSITION_EASE_IN_OUT;
- }
- program {
- signal, SIGNAL_HIDE;
- source, SOURCE_ELM;
- action, STATE_SET "default" 0.0;
- target, "bg";
- transition, CUBIC_BEZIER 0.167 TRANSITION_EASE_OUT;
- sequence {
- action, STATE_SET "default" 0.0;
- target, "clip_next";
- target, PART_CHANNELINFO_LIST_NEXT;
- target, "clip_prev";
- target, PART_CHANNELINFO_LIST_PREV;
- target, "clip_current";
-
- action, SIGNAL_EMIT SIGNAL_HIDE_FINISHED SOURCE_ELM;
- }
- }
- program {
- signal, SIGNAL_ANIM_MOVE_UP;
- source, SOURCE_PROGRAM;
- action, STATE_SET "show" 0.0;
- target, PART_CHANNELINFO_LIST_NEXT;
- target, PART_CHANNELINFO_LIST_CURRENT;
- target, PART_CHANNELINFO_LIST_PREV;
- sequence {
- action, STATE_SET "up" 0.0;
- transition, CUBIC_BEZIER 0.667 TRANSITION_EASE_IN_OUT;
- target, PART_CHANNELINFO_LIST_NEXT;
- target, PART_CHANNELINFO_LIST_CURRENT;
- target, PART_CHANNELINFO_LIST_PREV;
- after, "anim_end";
- }
- }
- program {
- signal, SIGNAL_ANIM_MOVE_DOWN;
- source, SOURCE_PROGRAM;
- action, STATE_SET "show" 0.0;
- target, PART_CHANNELINFO_LIST_NEXT;
- target, PART_CHANNELINFO_LIST_CURRENT;
- target, PART_CHANNELINFO_LIST_PREV;
- sequence {
- action, STATE_SET "down" 0.0;
- transition, CUBIC_BEZIER 0.667 TRANSITION_EASE_IN_OUT;
- target, PART_CHANNELINFO_LIST_NEXT;
- target, PART_CHANNELINFO_LIST_CURRENT;
- target, PART_CHANNELINFO_LIST_PREV;
- after, "anim_end";
- }
- }
- program {
- name, "anim_end";
- action, SIGNAL_EMIT SIGNAL_ANIM_FINISHED SOURCE_ELM;
- }
- }
-}
-
-group {
- name, GRP_LAYOUT_CHANNELINFO_SEARCH;
- parts {
- part {
- name, PART_CONTENT;
- type, SWALLOW;
- scale, 1;
- description {
- state, "default" 0.0;
- rel1.relative, 1.0 0.0;
- rel2.relative, 1.0 1.0;
- min, 536 0;
- align, 1.0 0.0;
- fixed, 1 0;
- }
- }
- }
-}
-
-group {
- name, GRP_CHANNELINFO;
- images {
- image, "ic_thumbnail_favorite_01.png" COMP;
- image, "ic_thumbnail_lock_01_foc.png" COMP;
- image, "ic_thumbnail_lock_01_nor.png" COMP;
- }
- script {
- public is_locked=0, is_favorite=0, is_focused=0;
-
- public set_states() {
- new focused;
- new locked;
- new favorite;
-
- focused = get_int(is_focused);
- locked = get_int(is_locked);
- favorite = get_int(is_favorite);
-
- if (locked == 1) {
- if (focused == 1)
- run_program(PROGRAM:"do_focus_locked");
- else
- run_program(PROGRAM:"do_locked");
- }
-
- if (favorite == 1)
- run_program(PROGRAM:"do_favorite");
- }
- }
- parts {
- part {
- name, "bg";
- type, RECT;
- scale, 1;
- description {
- state, "default" 0.0;
- rel1.relative, 0.0 0.5;
- rel2.relative, 0.0 0.5;
- min, 536 174;
- align, 0.0 0.5;
- }
- description {
- state, "focused" 0.0;
- inherit, "default" 0.0;
- color, COLOR_BG_FOCUSED;
- }
- }
- part {
- name, "padding.left_top";
- type, SPACER;
- scale, 1;
- description {
- state, "default" 0.0;
- rel1 {
- to, "bg";
- relative, 0.0 0.0;
- }
- rel2 {
- to, "bg";
- relative, 0.0 0.0;
- }
- min, 28 26;
- align, 0.0 0.0;
- fixed, 1 1;
- }
- }
- part {
- name, PART_CHANNELINFO_CHANNEL;
- type, TEXT;
- scale, 1;
- description {
- state, "default" 0.0;
- rel1 {
- to, "padding.left_top";
- relative, 1.0 1.0;
- }
- rel2 {
- to, "padding.left_top";
- relative, 1.0 1.0;
- }
- text {
- font, FONT_LIGHT;
- size, 28;
- align, 0.0 0.5;
- }
- color, COLOR_TEXT_NORMAL;
- min, 344 32;
- align, 0.0 0.0;
- fixed, 1 1;
- }
- description {
- state, "focused" 0.0;
- inherit, "default" 0.0;
- color, COLOR_TEXT_FOCUSED;
- }
- }
- part {
- name, "padding.title";
- type, SPACER;
- scale, 1;
- description {
- state, "default" 0.0;
- rel1 {
- to, PART_CHANNELINFO_CHANNEL;
- relative, 0.0 1.0;
- }
- rel2 {
- to, PART_CHANNELINFO_CHANNEL;
- relative, 0.0 1.0;
- }
- min, 0 6;
- align, 0.0 0.0;
- fixed, 1 1;
- }
- }
- part {
- name, PART_CHANNELINFO_TITLE;
- type, TEXT;
- scale, 1;
- description {
- state, "default" 0.0;
- rel1 {
- to, "padding.title";
- relative, 0.0 1.0;
- }
- rel2 {
- to, "padding.title";
- relative, 0.0 1.0;
- }
- text {
- font, FONT_LIGHT;
- size, 28;
- align, 0.0 0.5;
- }
- color, COLOR_TEXT_NORMAL;
- min, 484 32;
- align, 0.0 0.0;
- fixed, 1 1;
- }
- description {
- state, "focused" 0.0;
- inherit, "default" 0.0;
- color, COLOR_TEXT_FOCUSED;
- }
- }
- part {
- name, "padding.time";
- type, SPACER;
- scale, 1;
- description {
- state, "default" 0.0;
- rel1 {
- to, PART_CHANNELINFO_TITLE;
- relative, 0.0 1.0;
- }
- rel2 {
- to, PART_CHANNELINFO_TITLE;
- relative, 0.0 1.0;
- }
- min, 0 24;
- align, 0.0 0.0;
- fixed, 1 1;
- }
- }
- part {
- name, PART_CHANNELINFO_TIME;
- type, TEXT;
- scale, 1;
- description {
- state, "default" 0.0;
- rel1 {
- to, "padding.time";
- relative, 0.0 1.0;
- }
- rel2 {
- to, "padding.time";
- relative, 0.0 1.0;
- }
- text {
- font, FONT_LIGHT;
- size, 28;
- align, 0.0 0.5;
- }
- color, 112 112 112 255;
- min, 484 28;
- align, 0.0 0.0;
- fixed, 1 1;
- }
- description {
- state, "focused" 0.0;
- inherit, "default" 0.0;
- color, COLOR_TEXT_FOCUSED;
- }
- }
- part {
- name, "padding.right_top";
- type, SPACER;
- scale, 1;
- description {
- state, "default" 0.0;
- rel1 {
- to, "bg";
- relative, 1.0 0.0;
- }
- rel2 {
- to, "bg";
- relative, 1.0 0.0;
- }
- min, 22 28;
- align, 1.0 0.0;
- fixed, 1 1;
- }
- }
- part {
- name, PART_CHANNELINFO_STATUS;
- type, SPACER;
- scale, 1;
- description {
- state, "default" 0.0;
- rel1 {
- to, "padding.right_top";
- relative, 0.0 1.0;
- }
- rel2 {
- to, "padding.right_top";
- relative, 0.0 1.0;
- }
- min, 142 28;
- align, 1.0 0.0;
- fixed, 1 1;
- }
- }
-
- part {
- name, PART_CHANNELINFO_LOCKED;
- type, IMAGE;
- scale, 1;
- description {
- state, "default" 0.0;
- image.normal, "ic_thumbnail_lock_01_nor.png";
- rel1 {
- to, PART_CHANNELINFO_STATUS;
- relative, 1.0 0.0;
- }
- rel2 {
- to, PART_CHANNELINFO_STATUS;
- relative, 1.0 0.0;
- }
- min, 0 0;
- align, 1.0 0.0;
- fixed, 1 1;
- visible, 0;
- }
- description {
- state, "visible" 0.0;
- inherit, "default" 0.0;
- min, 28 28;
- visible, 1;
- }
- description {
- state, "focused" 0.0;
- inherit, "default" 0.0;
- image.normal, "ic_thumbnail_lock_01_foc.png";
- min, 28 28;
- visible, 1;
- }
- }
- part {
- name, "padding.channelinfo.locked";
- type, SPACER;
- scale, 1;
- description {
- state, "default" 0.0;
- rel1 {
- to, PART_CHANNELINFO_LOCKED;
- relative, 0.0 0.0;
- }
- rel2 {
- to, PART_CHANNELINFO_LOCKED;
- relative, 0.0 0.0;
- }
- min, 0 0;
- align, 1.0 0.0;
- fixed, 1 1;
- }
- description {
- state, "visible" 0.0;
- inherit, "default" 0.0;
- min, 10 0;
- }
- description {
- state, "focused" 0.0;
- inherit, "default" 0.0;
- min, 10 0;
- }
- }
- part {
- name, PART_CHANNELINFO_FAVORITE;
- type, IMAGE;
- scale, 1;
- description {
- state, "default" 0.0;
- image.normal, "ic_thumbnail_favorite_01.png";
- rel1 {
- to, "padding.channelinfo.locked";
- relative, 0.0 0.0;
- }
- rel2 {
- to, "padding.channelinfo.locked";
- relative, 0.0 0.0;
- }
- min, 0 0;
- align, 1.0 0.0;
- fixed, 1 1;
- visible, 0;
- }
- description {
- state, "visible" 0.0;
- inherit, "default" 0.0;
- min, 28 28;
- visible, 1;
- }
- }
- part {
- name, "padding.channelinfo.favorite";
- type, SPACER;
- scale, 1;
- description {
- state, "default" 0.0;
- rel1 {
- to, PART_CHANNELINFO_FAVORITE;
- relative, 0.0 0.0;
- }
- rel2 {
- to, PART_CHANNELINFO_FAVORITE;
- relative, 0.0 0.0;
- }
- min, 0 0;
- align, 1.0 0.0;
- fixed, 1 1;
- }
- description {
- state, "visible" 0.0;
- inherit, "default" 0.0;
- min, 10 0;
- }
- }
- }
- programs {
- program {
- name, "focused";
- signal, SIGNAL_FOCUSED;
- source, SOURCE_ELM;
- script {
- set_int(is_focused, 1);
- set_states();
- run_program(PROGRAM:"do_focused");
- }
- }
- program {
- name, "do_focused";
- action, STATE_SET "focused" 0.0;
- target, "bg";
- target, PART_CHANNELINFO_CHANNEL;
- target, PART_CHANNELINFO_TITLE;
- target, PART_CHANNELINFO_TIME;
- }
- program {
- name, "unfocused";
- signal, SIGNAL_UNFOCUSED;
- source, SOURCE_ELM;
- script {
- set_int(is_focused, 0);
- set_states();
- run_program(PROGRAM:"do_unfocused");
- }
- }
- program {
- name, "do_unfocused";
- action, STATE_SET "default" 0.0;
- target, "bg";
- target, PART_CHANNELINFO_CHANNEL;
- target, PART_CHANNELINFO_TITLE;
- target, PART_CHANNELINFO_TIME;
- }
- program {
- name, "reset";
- signal, SIGNAL_RESET;
- source, SOURCE_PROGRAM;
- script {
- set_int(is_locked, 0);
- set_int(is_favorite, 0);
- run_program(PROGRAM:"do_reset");
- }
- }
- program {
- name, "do_reset";
- action, STATE_SET "default" 0.0;
- target, PART_CHANNELINFO_FAVORITE;
- target, "padding.channelinfo.favorite";
- target, PART_CHANNELINFO_LOCKED;
- target, "padding.channelinfo.locked";
- }
- program {
- name, "set_locked";
- signal, SIGNAL_LOCKED;
- source, SOURCE_PROGRAM;
- script {
- set_int(is_locked, 1);
- set_states();
- }
- }
- program {
- name, "set_favorite";
- signal, SIGNAL_FAVORITE;
- source, SOURCE_PROGRAM;
- script {
- set_int(is_favorite, 1);
- set_states();
- }
- }
- program {
- name, "do_favorite";
- action, STATE_SET "visible" 0.0;
- target, PART_CHANNELINFO_FAVORITE;
- target, "padding.channelinfo.favorite";
- }
- program {
- name, "do_locked";
- action, STATE_SET "visible" 0.0;
- target, PART_CHANNELINFO_LOCKED;
- target, "padding.channelinfo.locked";
- }
- program {
- name, "do_focus_locked";
- action, STATE_SET "focused" 0.0;
- target, PART_CHANNELINFO_LOCKED;
- target, "padding.channelinfo.locked";
- }
- }
-}
-
-group {
- name, GRP_CHANNELINFO_SIMPLE;
- parts {
- part {
- name, "bg";
- type, RECT;
- scale, 1;
- description {
- state, "default" 0.0;
- min, 536 70;
- align, 0.0 0.0;
- visible, 0;
- }
- }
- part {
- name, "padding.left";
- type, SPACER;
- scale, 1;
- description {
- state, "default" 0.0;
- rel1 {
- to, "bg";
- relative, 0.0 0.0;
- }
- rel2 {
- to, "bg";
- relative, 0.0 0.0;
- }
- min, 28 0;
- align, 0.0 0.0;
- fixed, 1 1;
- }
- }
- part {
- name, PART_CHANNELINFO_CHANNEL;
- type, TEXT;
- scale, 1;
- description {
- state, "default" 0.0;
- rel1 {
- to, "padding.left";
- relative, 1.0 0.0;
- }
- rel2 {
- to, "padding.left";
- relative, 1.0 0.0;
- }
- text {
- font, FONT_LIGHT;
- size, 32;
- align, 0.0 0.5;
- }
- color, COLOR_TEXT_TRANS;
- min, 480 32;
- align, 0.0 0.0;
- fixed, 1 1;
- }
- }
- part {
- name, "padding.title";
- type, SPACER;
- scale, 1;
- description {
- state, "default" 0.0;
- rel1 {
- to, PART_CHANNELINFO_CHANNEL;
- relative, 0.0 1.0;
- }
- rel2 {
- to, PART_CHANNELINFO_CHANNEL;
- relative, 0.0 1.0;
- }
- min, 0 6;
- align, 0.0 0.0;
- fixed, 1 1;
- }
- }
- part {
- name, PART_CHANNELINFO_TITLE;
- type, TEXT;
- scale, 1;
- description {
- state, "default" 0.0;
- rel1 {
- to, "padding.title";
- relative, 0.0 1.0;
- }
- rel2 {
- to, "padding.title";
- relative, 0.0 1.0;
- }
- text {
- font, FONT_LIGHT;
- size, 32;
- align, 0.0 0.5;
- }
- color, COLOR_TEXT_TRANS;
- min, 480 32;
- align, 0.0 0.0;
- fixed, 1 1;
- }
- }
- part {
- name, PART_CHANNELINFO_TIME;
- type, TEXT;
- scale, 1;
- description {
- state, "default" 0.0;
- visible, 0;
- }
- }
- }
-}
diff --git a/data/view/channelnumber.edc b/data/view/channelnumber.edc
deleted file mode 100644
index e1caabd..0000000
--- a/data/view/channelnumber.edc
+++ /dev/null
@@ -1,394 +0,0 @@
-/*
- * Copyright (c) 2015 Samsung Electronics Co., Ltd.
- *
- * Licensed under the Apache License, Version 2.0 (the License);
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http,//www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an AS IS BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "../../include/define.h"
-
-group {
- name, GRP_VIEW_CHANNELNUMBER;
- parts {
- part {
- name, "padding.channelnumber";
- type, SPACER;
- description {
- state, "default" 0.0;
- rel1.relative, 0.0 0.0;
- rel2.relative, 0.0 0.0;
- align, 0.0 0.0;
- min, 62 48;
- fixed, 1 1;
- }
- }
- part {
- name, "part.channelnumber.info";
- type, RECT;
- scale, 1;
- description {
- state, "default" 0.0;
- rel1 {
- to, "padding.channelnumber";
- relative, 1.0 1.0;
- }
- rel2 {
- to, "padding.channelnumber";
- relative, 1.0 1.0;
- }
- min, 340 90;
- align, 0.0 0.0;
- fixed, 1 1;
- visible, 0;
- }
-
- part {
- name, "padding.channelnumber.channel_prefix";
- type, SPACER;
- scale, 1;
- description {
- state, "default" 0.0;
- rel1.relative, 0.0 0.0;
- rel2.relative, 0.0 0.0;
- min, 0 34;
- align, 0.0 0.0;
- fixed, 1 1;
- }
- }
- part {
- name, "part.channelnumber.channel_prefix";
- type, TEXT;
- scale, 1;
- description {
- state, "default" 0.0;
- rel1 {
- to, "padding.channelnumber.channel_prefix";
- relative, 0.0 1.0;
- }
- rel2 {
- to, "padding.channelnumber.channel_prefix";
- relative, 0.0 1.0;
- }
- text {
- font, FONT_LIGHT;
- text, STR_CHANNEL_PREFIX;
- size, 46;
- align, 1.0 0.5;
- min, 1 0;
- ellipsis, -1;
- }
- color, COLOR_TEXT_TRANS;
- min, 0 46;
- align, 0.0 0.0;
- fixed, 1 1;
- }
- }
- part {
- name, "padding.channelnumber.channel";
- type, SPACER;
- scale, 1;
- description {
- state, "default" 0.0;
- rel1 {
- to_x, "part.channelnumber.channel_prefix";
- relative, 1.0 0.0;
- }
- rel2 {
- to_x, "part.channelnumber.channel_prefix";
- relative, 1.0 1.0;
- }
- min, 8 0;
- align, 0.0 0.0;
- fixed, 1 1;
- }
- }
- part {
- name, PART_CHANNELNUMBER_NUMBER;
- type, TEXT;
- scale, 1;
- description {
- state, "default" 0.0;
- rel1 {
- to_x, "padding.channelnumber.channel";
- relative, 1.0 0.0;
- }
- rel2 {
- to_x, "padding.channelnumber.channel";
- relative, 1.0 0.0;
- }
- text {
- font, FONT_LIGHT;
- size, 80;
- align, 0.0 0.5;
- min, 1 0;
- ellipsis, -1;
- }
- color, COLOR_TEXT_TRANS;
- min, 0 90;
- align, 0.0 0.0;
- fixed, 1 1;
- }
- }
- }
- part {
- name, "padding.list";
- type, SPACER;
- scale, 1;
- description {
- state, "default" 0.0;
- rel1 {
- to, "part.channelnumber.info";
- relative, 0.0 1.0;
- }
- rel2 {
- to, "part.channelnumber.info";
- relative, 1.0 1.0;
- }
- min, 0 38;
- align, 0.0 0.0;
- fixed, 1 1;
- }
- }
- part {
- name, PART_CHANNELNUMBER_LIST;
- type, SWALLOW;
- scale, 1;
- description {
- state, "default" 0.0;
- rel1 {
- to, "padding.list";
- relative, 0.0 1.0;
- }
- rel2 {
- to, "padding.list";
- relative, 0.0 1.0;
- }
- min, 292 224;
- align, 0.0 0.0;
- fixed, 1 1;
- }
- }
- }
-}
-
-group {
- name, GRP_CHANNELNUMBER_LIST_ITEM;
- parts {
- part {
- name, "bg";
- type, RECT;
- scale, 1;
- description {
- state, "default" 0.0;
- color, COLOR_BG_NORMAL;
- min, 292 56;
- align, 0.0 0.0;
- }
- description {
- state, "focused" 0.0;
- inherit, "default" 0.0;
- color, COLOR_BG_FOCUSED;
- }
- }
- part {
- name, "padding.left";
- type, SPACER;
- scale, 1;
- description {
- state, "default" 0.0;
- rel1 {
- to, "bg";
- relative, 0.0 0.0;
- }
- rel2 {
- to, "bg";
- relative, 0.0 1.0;
- }
- align, 0.0 0.0;
- min, 30 0;
- fixed, 1 1;
- }
- }
- part {
- name, "padding.right";
- type, SPACER;
- scale, 1;
- description {
- state, "default" 0.0;
- rel1 {
- to, "bg";
- relative, 1.0 0.0;
- }
- rel2 {
- to, "bg";
- relative, 1.0 1.0;
- }
- align, 1.0 0.0;
- min, 30 0;
- fixed, 1 1;
- }
- }
- part {
- name, PART_TEXT;
- type, TEXT;
- scale, 1;
- description {
- state, "default" 0.0;
- rel1 {
- to_x, "padding.left";
- relative, 1.0 0.0;
- }
- rel2 {
- to_x, "padding.right";
- relative, 0.0 1.0;
- }
- text {
- font, FONT_LIGHT;
- size, 28;
- align, 0.0 0.5;
- }
- color, COLOR_OPTION_TEXT_NORMAL;
- align, 0.0 0.0;
- }
- description {
- state, "focused" 0.0;
- inherit, "default" 0.0;
- color, COLOR_TEXT_FOCUSED;
- }
- }
- part {
- name, "border.top";
- type, RECT;
- scale, 1;
- description {
- state, "default" 0.0;
- rel1 {
- to, "bg";
- relative, 0.0 0.0;
- }
- rel2 {
- to, "bg";
- relative, 1.0 0.0;
- }
- color, COLOR_OPTION_BORDER;
- min, 0 1;
- align, 0.0 0.0;
- fixed, 0 1;
- visible, 0;
- }
- description {
- state, "first" 0.0;
- inherit, "default" 0.0;
- visible, 1;
- }
- }
- part {
- name, "border.left";
- type, RECT;
- scale, 1;
- description {
- state, "default" 0.0;
- rel1 {
- to, "bg";
- relative, 0.0 0.0;
- }
- rel2 {
- to, "bg";
- relative, 0.0 1.0;
- }
- color, COLOR_OPTION_BORDER;
- min, 1 0;
- align, 0.0 0.0;
- fixed, 1 0;
- }
- }
- part {
- name, "border.bottom";
- type, RECT;
- scale, 1;
- description {
- state, "default" 0.0;
- rel1 {
- to, "bg";
- relative, 0.0 1.0;
- }
- rel2 {
- to, "bg";
- relative, 1.0 1.0;
- }
- color, COLOR_OPTION_BORDER;
- min, 0 1;
- align, 0.0 1.0;
- fixed, 0 1;
- visible, 0;
- }
- description {
- state, "last" 0.0;
- inherit, "default" 0.0;
- visible, 1;
- }
- }
- part {
- name, "border.right";
- type, RECT;
- scale, 1;
- description {
- state, "default" 0.0;
- rel1 {
- to, "bg";
- relative, 1.0 0.0;
- }
- rel2 {
- to, "bg";
- relative, 1.0 1.0;
- }
- color, COLOR_OPTION_BORDER;
- min, 1 0;
- align, 1.0 0.0;
- fixed, 1 0;
- }
- }
- }
- programs {
- program {
- name, "focused";
- signal, SIGNAL_FOCUSED;
- source, SOURCE_ELM;
- action, STATE_SET "focused" 0.0;
- target, "bg";
- target, PART_TEXT;
- }
- program {
- name, "unfocused";
- signal, SIGNAL_UNFOCUSED;
- source, SOURCE_ELM;
- action, STATE_SET "default" 0.0;
- target, "bg";
- target, PART_TEXT;
- }
- program {
- name, "first";
- signal, SIGNAL_FIRST;
- source, "";
- action, STATE_SET "first" 0.0;
- target, "border.top";
- }
- program {
- name, "last";
- signal, SIGNAL_LAST;
- source, "";
- action, STATE_SET "last" 0.0;
- target, "border.bottom";
- }
- }
-}
-
diff --git a/data/view/error.edc b/data/view/error.edc
deleted file mode 100644
index a405185..0000000
--- a/data/view/error.edc
+++ /dev/null
@@ -1,112 +0,0 @@
-/*
- * Copyright (c) 2015 Samsung Electronics Co., Ltd.
- *
- * Licensed under the Apache License, Version 2.0 (the License);
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http,//www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an AS IS BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "../../include/define.h"
-
-group {
- name, GRP_VIEW_ERROR;
- images {
- image, "background.jpg" COMP;
- }
- parts {
- part {
- name, "bg";
- type, RECT;
- scale, 1;
- description {
- state, "default" 0.0;
- color, 244 244 244 255;
- }
- }
- part {
- name, "part.bgimage";
- type, IMAGE;
- scale, 1;
- description {
- state, "default" 0.0;
- image.normal, "background.jpg";
- rel1 {
- to, "bg";
- relative, 0.0 0.0;
- }
- rel2 {
- to, "bg";
- relative, 1.0 1.0;
- }
- visible, 0;
- min, 1920 1080;
- align, 0.0 0.0;
- fixed, 1 1;
- }
- }
- part {
- name, "part.error";
- type, RECT;
- scale, 1;
- description {
- state, "default" 0.0;
- rel1.relative, 0.5 0.5;
- rel2.relative, 0.5 0.5;
- min, 0 82;
- align, 0.5 0.5;
- fixed, 0 1;
- }
-
- part {
- name, PART_ERROR_TITLE;
- type, TEXT;
- scale, 1;
- description {
- rel1.relative, 0.0 0.0;
- rel2.relative, 1.0 0.0;
- text {
- font, FONT_LIGHT;
- size, 36;
- align, 0.5 0.5;
- min, 1 0;
- ellipsis, -1;
- }
- color, 228 51 51 255;
- min, 0 36;
- align, 0.5 0.0;
- fixed, 1 1;
- visible, 0;
- }
- }
- part {
- name, PART_ERROR_TEXT;
- type, TEXT;
- scale, 1;
- description {
- rel1.relative, 0.0 1.0;
- rel2.relative, 1.0 1.0;
- text {
- font, FONT_LIGHT;
- size, 28;
- align, 0.5 1.0;
- min, 1 0;
- ellipsis, -1;
- }
- color, 116 116 116 255;
- min, 0 48;
- align, 0.5 1.0;
- fixed, 1 1;
- visible, 0;
- }
- }
- }
- }
-}
diff --git a/data/widget/button.edc b/data/widget/button.edc
deleted file mode 100644
index 330dd36..0000000
--- a/data/widget/button.edc
+++ /dev/null
@@ -1,1264 +0,0 @@
-/*
- * Copyright (c) 2015 Samsung Electronics Co., Ltd All Rights Reserved
- *
- * Licensed under the Apache License, Version 2.0 (the License);
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an AS IS BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#define STATE_NORMAL 0
-#define STATE_SELECTED 1
-
-group {
- name, "elm/button/base/style.livetv.button";
- data.item, "focus_highlight" "on";
- parts {
- part {
- name, "part.bg";
- type, RECT;
- scale, 1;
- description {
- state, "default" 0.0;
- min, 0 64;
- }
- description {
- state: "focused" 0.0;
- inherit: "default" 0.0;
- color: 0 119 246 255;
- }
- }
-
- part {
- name, "padding.text.left";
- type, SPACER;
- scale, 1;
- description {
- state, "default" 0.0;
- min, 20 0;
- rel1.to, "part.bg";
- rel2 {
- to, "part.bg";
- relative, 0.0 1.0;
- }
- align, 0.0 0.5;
- fixed, 1 0;
- }
- }
-
- part {
- name, "padding.text.right";
- type, SPACER;
- scale, 1;
- description {
- state, "default" 0.0;
- min, 20 0;
- rel1 {
- to, "part.bg";
- relative, 1.0 0.0;
- }
- rel2.to, "part.bg";
- align, 1.0 0.5;
- fixed, 1 0;
- }
- }
-
- part {
- name, "elm.text";
- type, TEXT;
- scale, 1;
- description {
- state, "default" 0.0;
- color, 87 87 87 255;
- rel1 {
- to, "padding.text.left";
- relative, 1.0 0.0;
- }
- rel2 {
- to, "padding.text.right";
- relative, 0.0 1.0;
- }
- text {
- font, FONT_LIGHT;
- size, 28;
- align, 0.5 0.5;
- }
- }
- description {
- state: "focused" 0.0;
- inherit: "default" 0.0;
- color: 255 255 255 255;
- }
- description {
- state: "disabled" 0.0;
- inherit: "default" 0.0;
- color: 87 87 87 128;
- }
- }
-
- part {
- name, "part.inside.line.up";
- type, RECT;
- scale, 1;
- description {
- state, "default" 0.0;
- color, 194 194 194 255;
- rel1.to, "part.bg";
- rel2 {
- to, "part.bg";
- relative, 1.0 0.0;
- }
- min, 0 1;
- align, 0.5 0.0;
- fixed, 0 1;
- }
- }
-
- part {
- name, "part.inside.line.left";
- type, RECT;
- scale, 1;
- description {
- state, "default" 0.0;
- color, 194 194 194 255;
- rel1 {
- to, "part.inside.line.up";
- relative, 0.0 1.0;
- }
- rel2 {
- to, "part.bg";
- relative, 0.0 1.0;
- }
- min, 1 0;
- align, 0.0 0.5;
- fixed, 1 0;
- }
- }
-
- part {
- name, "part.inside.line.down";
- type, RECT;
- scale, 1;
- description {
- state, "default" 0.0;
- color, 194 194 194 255;
- rel1 {
- to, "part.inside.line.left";
- relative, 1.0 1.0;
- }
- rel2.to, "part.bg";
- min, 0 1;
- align, 0.5 1.0;
- fixed, 0 1;
- }
- }
-
- part {
- name, "part.inside.line.right";
- type, RECT;
- scale, 1;
- description {
- state, "default" 0.0;
- color, 194 194 194 255;
- rel1 {
- to, "part.inside.line.up";
- relative, 1.0 1.0;
- }
- rel2 {
- to, "part.inside.line.down";
- relative, 1.0 0.0;
- }
- min, 1 0;
- align, 1.0 0.5;
- fixed, 1 0;
- }
- }
- }
- programs {
- program {
- name: "disabled";
- signal: "elm,state,disabled";
- source: "elm";
- action: STATE_SET "disabled" 0.0;
- target: "part.bg";
- target: "elm.text";
- }
- program {
- name: "focused";
- signal: "elm,action,focus";
- source: "elm";
- action: STATE_SET "focused" 0.0;
- target: "part.bg";
- target: "elm.text";
- }
- program {
- name: "unfocused";
- signal: "elm,action,unfocus";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "part.bg";
- target: "elm.text";
- }
- }
-}
-
-group {
- name, "elm/button/base/style.more.button";
- inherit, "elm/button/base/style.livetv.button";
- data.item, "focus_highlight" "on";
- parts {
- part {
- name, "area";
- type, SPACER;
- mouse_events, 0;
- scale, 1;
- description {
- state, "default" 0.0;
- min, 184 116;
- }
- }
-
- part {
- name, "part.bg";
- type, RECT;
- scale, 1;
- description {
- state, "default" 0.0;
- rel1.relative, 0.0 0.5;
- rel2.relative, 1.0 0.5;
- min, 0 60;
- align, 0.0 0.5;
- }
- description {
- state: "focused" 0.0;
- inherit: "default" 0.0;
- color: 0 119 246 255;
- }
- }
- }
-}
-
-#define DEFAULT 1
-#define SELECTED 2
-#define FOCUSED 3
-#define DISABLED 4
-
-group {
- name, "elm/button/base/style.action.menu.button";
- data.item, "focus_highlight" "on";
- script {
- public is_toggle, is_selected, is_enabled, is_focused, is_init, cur_state;
-
- public init_values() {
- if(get_int(is_init)==0)
- {
- set_int(is_toggle, 0);
- set_int(is_enabled, 1);
- set_int(is_focused, 0);
- set_int(is_init, 1);
- set_int(cur_state, -1);
- }
- }
- public set_states() {
- new togg;
- new enab;
- new foc;
- new sel;
- new c_state;
- togg = get_int(is_toggle);
- enab = get_int(is_enabled);
- foc = get_int(is_focused);
- sel = get_int(is_selected);
- c_state = get_int(cur_state);
-
- if(enab == 0)
- {
- if(c_state != DISABLED)
- {
- if (togg == 0)
- {
- run_program(PROGRAM:"do_disable");
- run_program(PROGRAM:"do_hide.1");
- }
- else {
- run_program(PROGRAM:"do_disable.1");
- run_program(PROGRAM:"do_hide");
- }
- }
- }
- else
- {
- if(foc == 1)
- {
- if(c_state != FOCUSED)
- {
- if (togg == 0)
- {
- run_program(PROGRAM:"do_focus");
- run_program(PROGRAM:"do_hide.1");
- }
- else {
- run_program(PROGRAM:"do_focus.1");
- run_program(PROGRAM:"do_hide");
- }
- }
- }
- else if(sel == 1)
- {
- if(c_state != SELECTED)
- {
- if (togg == 0)
- {
- run_program(PROGRAM:"do_select");
- run_program(PROGRAM:"do_hide.1");
- }
- else {
- run_program(PROGRAM:"do_select.1");
- run_program(PROGRAM:"do_hide");
- }
- }
- }
- else
- {
- if(c_state != DEFAULT)
- {
- if (togg == 0)
- {
- run_program(PROGRAM:"do_default");
- run_program(PROGRAM:"do_hide.1");
- }
- else {
- run_program(PROGRAM:"do_default.1");
- run_program(PROGRAM:"do_hide");
- }
- }
- }
- }
- }
- }
- parts {
- part {
- name, "part.bg";
- type, RECT;
- scale, 1;
- description {
- state, "default" 0.0;
- min, 124 124;
- color, 255 255 255 255;
- }
- description {
- state, "focused" 0.0;
- inherit, "default" 0.0;
- color, 0 119 246 255;
- }
- }
-
- part {
- name, "padding.icon1";
- type, SPACER;
- scale, 1;
- description {
- state, "default" 0.0;
- rel1.to, "part.bg";
- rel2 {
- to, "part.bg";
- relative, 1.0 0.0;
- }
- min, 0 14;
- align, 0.5 0.0;
- fixed, 0 1;
- }
- }
-
- part {
- name, "padding.icon2";
- type, SPACER;
- scale, 1;
- description {
- state, "default" 0.0;
- rel1 {
- to, "part.bg";
- relative, 0.0 1.0;
- }
- rel2.to, "part.bg";
- min, 0 50;
- align, 0.5 1.0;
- fixed, 0 1;
- }
- }
-
- part {
- name, "part.icon.bg";
- type, RECT;
- scale, 1;
- description {
- state, "default" 0.0;
- rel1 {
- to, "padding.icon1";
- relative, 0.0 1.0;
- }
- rel2 {
- to, "padding.icon2";
- relative, 1.0 0.0;
- }
- align, 0.5 0.5;
- min, 60 60;
- }
- }
-
- part {
- name, "elm.swallow.icon";
- type, SWALLOW;
- scale, 1;
- clip_to: "part.icon.bg";
- description {
- state, "default" 0.0;
- aspect, 1.0 1.0;
- aspect_preference, BOTH;
- rel1 {
- to, "part.icon.bg";
- relative, 0.5 0.5;
- }
- rel2 {
- to, "part.icon.bg";
- relative, 0.5 0.5;
- }
- align, 0.5 0.5;
- fixed, 1 1;
- min, 60 60;
- }
- description {
- state, "focused" 0.0;
- inherit, "default" 0.0;
- visible, 0;
- }
- description {
- state, "selected" 0.0;
- inherit, "default" 0.0;
- visible, 0;
- }
- description {
- state, "disabled" 0.0;
- inherit, "default" 0.0;
- visible, 0;
- }
- description {
- state, "invisible" 0.0;
- inherit, "default" 0.0;
- visible, 0;
- }
- }
- part {
- name, "elm.swallow.icon.focus";
- type, SWALLOW;
- scale, 1;
- clip_to: "part.icon.bg";
- description {
- state, "default" 0.0;
- aspect: 1.0 1.0;
- aspect_preference: BOTH;
- rel1 {
- to, "part.icon.bg";
- relative, 0.5 0.5;
- }
- rel2 {
- to, "part.icon.bg";
- relative, 0.5 0.5;
- }
- align, 0.5 0.5;
- fixed, 1 1;
- min, 60 60;
- visible, 0;
- }
- description {
- state, "focused" 0.0;
- inherit, "default" 0.0;
- visible, 1;
- }
- description {
- state, "selected" 0.0;
- inherit, "default" 0.0;
- visible, 0;
- }
- description {
- state, "disabled" 0.0;
- inherit, "default" 0.0;
- visible, 0;
- }
- description {
- state, "invisible" 0.0;
- inherit, "default" 0.0;
- visible, 0;
- }
- }
- part {
- name, "elm.swallow.icon.select";
- type, SWALLOW;
- scale, 1;
- clip_to: "part.icon.bg";
- description {
- state, "default" 0.0;
- aspect: 1.0 1.0;
- aspect_preference: BOTH;
- rel1 {
- to, "part.icon.bg";
- relative, 0.5 0.5;
- }
- rel2 {
- to, "part.icon.bg";
- relative, 0.5 0.5;
- }
- align, 0.5 0.5;
- fixed, 1 1;
- min, 60 60;
- visible, 0;
- }
- description {
- state, "focused" 0.0;
- inherit, "default" 0.0;
- visible, 0;
- }
- description {
- state, "selected" 0.0;
- inherit, "default" 0.0;
- visible, 1;
- }
- description {
- state, "disabled" 0.0;
- inherit, "default" 0.0;
- visible, 0;
- }
- description {
- state, "invisible" 0.0;
- inherit, "default" 0.0;
- visible, 0;
- }
- }
- part {
- name, "elm.swallow.icon.disable";
- type, SWALLOW;
- scale, 1;
- clip_to: "part.icon.bg";
- description {
- state, "default" 0.0;
- aspect: 1.0 1.0;
- aspect_preference: BOTH;
- rel1 {
- to, "part.icon.bg";
- relative, 0.5 0.5;
- }
- rel2 {
- to, "part.icon.bg";
- relative, 0.5 0.5;
- }
- align, 0.5 0.5;
- fixed, 1 1;
- min, 60 60;
- visible, 0;
- }
- description {
- state, "focused" 0.0;
- inherit, "default" 0.0;
- visible, 0;
- }
- description {
- state, "selected" 0.0;
- inherit, "default" 0.0;
- visible, 0;
- }
- description {
- state, "disabled" 0.0;
- inherit, "default" 0.0;
- visible, 1;
- }
- description {
- state, "invisible" 0.0;
- inherit, "default" 0.0;
- visible, 0;
- }
- }
-
- part {
- name, "elm.swallow.icon.1";
- type, SWALLOW;
- scale, 1;
- clip_to: "part.icon.bg";
- description {
- state, "default" 0.0;
- aspect, 1.0 1.0;
- aspect_preference, BOTH;
- rel1 {
- to, "part.icon.bg";
- relative, 0.5 0.5;
- }
- rel2 {
- to, "part.icon.bg";
- relative, 0.5 0.5;
- }
- align, 0.5 0.5;
- fixed, 1 1;
- min, 60 60;
- }
- description {
- state, "focused" 0.0;
- inherit, "default" 0.0;
- visible, 0;
- }
- description {
- state, "selected" 0.0;
- inherit, "default" 0.0;
- visible, 0;
- }
- description {
- state, "disabled" 0.0;
- inherit, "default" 0.0;
- visible, 0;
- }
- description {
- state, "invisible" 0.0;
- inherit, "default" 0.0;
- visible, 0;
- }
- }
- part {
- name, "elm.swallow.icon.1.focus";
- type, SWALLOW;
- scale, 1;
- clip_to: "part.icon.bg";
- description {
- state, "default" 0.0;
- aspect: 1.0 1.0;
- aspect_preference: BOTH;
- rel1 {
- to, "part.icon.bg";
- relative, 0.5 0.5;
- }
- rel2 {
- to, "part.icon.bg";
- relative, 0.5 0.5;
- }
- align, 0.5 0.5;
- fixed, 1 1;
- min, 60 60;
- visible, 0;
- }
- description {
- state, "focused" 0.0;
- inherit, "default" 0.0;
- visible, 1;
- }
- description {
- state, "selected" 0.0;
- inherit, "default" 0.0;
- visible, 0;
- }
- description {
- state, "disabled" 0.0;
- inherit, "default" 0.0;
- visible, 0;
- }
- description {
- state, "invisible" 0.0;
- inherit, "default" 0.0;
- visible, 0;
- }
- }
- part {
- name, "elm.swallow.icon.1.select";
- type, SWALLOW;
- scale, 1;
- clip_to: "part.icon.bg";
- description {
- state, "default" 0.0;
- aspect: 1.0 1.0;
- aspect_preference: BOTH;
- rel1 {
- to, "part.icon.bg";
- relative, 0.5 0.5;
- }
- rel2 {
- to, "part.icon.bg";
- relative, 0.5 0.5;
- }
- align, 0.5 0.5;
- fixed, 1 1;
- min, 60 60;
- visible, 0;
- }
- description {
- state, "focused" 0.0;
- inherit, "default" 0.0;
- visible, 0;
- }
- description {
- state, "selected" 0.0;
- inherit, "default" 0.0;
- visible, 1;
- }
- description {
- state, "disabled" 0.0;
- inherit, "default" 0.0;
- visible, 0;
- }
- description {
- state, "invisible" 0.0;
- inherit, "default" 0.0;
- visible, 0;
- }
- }
- part {
- name, "elm.swallow.icon.1.disable";
- type, SWALLOW;
- scale, 1;
- clip_to: "part.icon.bg";
- description {
- state, "default" 0.0;
- aspect: 1.0 1.0;
- aspect_preference: BOTH;
- rel1 {
- to, "part.icon.bg";
- relative, 0.5 0.5;
- }
- rel2 {
- to, "part.icon.bg";
- relative, 0.5 0.5;
- }
- align, 0.5 0.5;
- fixed, 1 1;
- min, 60 60;
- visible, 0;
- }
- description {
- state, "focused" 0.0;
- inherit, "default" 0.0;
- visible, 0;
- }
- description {
- state, "selected" 0.0;
- inherit, "default" 0.0;
- visible, 0;
- }
- description {
- state, "disabled" 0.0;
- inherit, "default" 0.0;
- visible, 1;
- }
- description {
- state, "invisible" 0.0;
- inherit, "default" 0.0;
- visible, 0;
- }
- }
-
- part {
- name, "padding.text";
- type, SPACER;
- scale, 1;
- description {
- state, "default" 0.0;
- rel1 {
- to, "part.bg";
- relative, 0.0 1.0;
- }
- rel2.to, "part.bg";
- min, 0 24;
- align, 0.5 1.0;
- fixed, 0 1;
- }
- }
-
- part {
- name, "elm.text";
- type, TEXT;
- scale, 1;
- description {
- state, "default" 0.0;
- color, 104 104 104 255;
- rel1.to, "padding.text";
- rel2 {
- to, "padding.text";
- relative, 1.0 0.0;
- }
- min, 0 20;
- align, 0.5 1.0;
- fixed, 0 1;
- text {
- font, FONT_LIGHT;
- size, 20;
- align, 0.5 0.5;
- }
- }
- description {
- state, "focused" 0.0;
- inherit, "default" 0.0;
- color, 255 255 255 255;
- }
- description {
- state, "selected" 0.0;
- inherit, "default" 0.0;
- color, 64 136 211 255;
- }
- description {
- state: "disabled" 0.0;
- inherit: "default" 0.0;
- color: 104 104 104 128;
- }
- description {
- state, "invisible" 0.0;
- inherit, "default" 0.0;
- visible, 0;
- }
- }
-
- part {
- name, "elm.text.1";
- type, TEXT;
- scale, 1;
- description {
- state, "default" 0.0;
- color, 104 104 104 255;
- rel1.to, "padding.text";
- rel2 {
- to, "padding.text";
- relative, 1.0 0.0;
- }
- min, 0 20;
- align, 0.5 1.0;
- fixed, 0 1;
- text {
- font, FONT_LIGHT;
- size, 20;
- align, 0.5 0.5;
- }
- }
- description {
- state, "focused" 0.0;
- inherit, "default" 0.0;
- color, 255 255 255 255;
- }
- description {
- state, "selected" 0.0;
- inherit, "default" 0.0;
- color, 64 136 211 255;
- }
- description {
- state: "disabled" 0.0;
- inherit: "default" 0.0;
- color: 104 104 104 128;
- }
- description {
- state, "invisible" 0.0;
- inherit, "default" 0.0;
- visible, 0;
- }
- }
- }
- programs {
- program {
- name: "go_toggle";
- signal: "elm,state,toggle";
- source: "elm";
- script {
- init_values();
- set_int(is_toggle, 1);
- set_states();
- }
- }
- program {
- name: "go_untoggle";
- signal: "elm,state,untoggle";
- source: "elm";
- script {
- init_values();
- set_int(is_toggle, 0);
- set_states();
- }
- }
- program {
- name: "go_focused";
- signal: "elm,action,focus";
- source: "elm";
- script {
- init_values();
- set_int(is_focused, 1);
- set_states();
- }
- }
- program {
- name: "go_unfocused";
- signal: "elm,action,unfocus";
- source: "elm";
- script {
- init_values();
- set_int(is_focused, 0);
- set_states();
- }
- }
- program {
- name: "go_active";
- signal: "elm,state,selected";
- source: "elm";
- script {
- init_values();
- set_int(is_selected, 1);
- set_states();
- }
- }
- program {
- name: "go_passive";
- signal: "elm,state,unselected";
- source: "elm";
- script {
- init_values();
- set_int(is_selected, 0);
- set_states();
- }
- }
- program {
- name: "go_disabled";
- signal: "elm,state,disabled";
- source: "elm";
- script {
- init_values();
- set_int(is_enabled, 0);
- set_states();
- }
- }
- program {
- name: "go_enabled";
- signal: "elm,state,enabled";
- source: "elm";
- script {
- init_values();
- set_int(is_enabled, 1);
- set_states();
- }
- }
- program {
- name: "do_hide";
- action: STATE_SET "invisible" 0.0;
- target: "elm.text";
- target: "elm.swallow.icon";
- target: "elm.swallow.icon.focus";
- target: "elm.swallow.icon.select";
- target: "elm.swallow.icon.disable";
- }
- program {
- name: "do_default";
- action: STATE_SET "default" 0.0;
- target: "part.bg";
- target: "elm.text";
- target: "elm.swallow.icon";
- target: "elm.swallow.icon.focus";
- target: "elm.swallow.icon.select";
- target: "elm.swallow.icon.disable";
- }
- program {
- name: "do_focus";
- action: STATE_SET "focused" 0.0;
- target: "part.bg";
- target: "elm.text";
- target: "elm.swallow.icon";
- target: "elm.swallow.icon.focus";
- target: "elm.swallow.icon.select";
- target: "elm.swallow.icon.disable";
- }
-
- program {
- name: "do_select";
- action: STATE_SET "selected" 0.0;
- target: "part.bg";
- target: "elm.text";
- target: "elm.swallow.icon";
- target: "elm.swallow.icon.focus";
- target: "elm.swallow.icon.select";
- target: "elm.swallow.icon.disable";
- }
-
- program {
- name: "do_disable";
- action: STATE_SET "disabled" 0.0;
- target: "part.bg";
- target: "elm.text";
- target: "elm.swallow.icon";
- target: "elm.swallow.icon.focus";
- target: "elm.swallow.icon.select";
- target: "elm.swallow.icon.disable";
- }
-
- program {
- name: "do_hide.1";
- action: STATE_SET "invisible" 0.0;
- target: "elm.text.1";
- target: "elm.swallow.icon.1";
- target: "elm.swallow.icon.1.focus";
- target: "elm.swallow.icon.1.select";
- target: "elm.swallow.icon.1.disable";
- }
-
- program {
- name: "do_default.1";
- action: STATE_SET "default" 0.0;
- target: "part.bg";
- target: "elm.text.1";
- target: "elm.swallow.icon.1";
- target: "elm.swallow.icon.1.focus";
- target: "elm.swallow.icon.1.select";
- target: "elm.swallow.icon.1.disable";
- }
- program {
- name: "do_focus.1";
- action: STATE_SET "focused" 0.0;
- target: "part.bg";
- target: "elm.text.1";
- target: "elm.swallow.icon.1";
- target: "elm.swallow.icon.1.focus";
- target: "elm.swallow.icon.1.select";
- target: "elm.swallow.icon.1.disable";
- }
-
- program {
- name: "do_select.1";
- action: STATE_SET "selected" 0.0;
- target: "part.bg";
- target: "elm.text.1";
- target: "elm.swallow.icon.1";
- target: "elm.swallow.icon.1.focus";
- target: "elm.swallow.icon.1.select";
- target: "elm.swallow.icon.1.disable";
- }
-
- program {
- name: "do_disable.1";
- action: STATE_SET "disabled" 0.0;
- target: "part.bg";
- target: "elm.text.1";
- target: "elm.swallow.icon.1";
- target: "elm.swallow.icon.1.focus";
- target: "elm.swallow.icon.1.select";
- target: "elm.swallow.icon.1.disable";
- }
- }
-}
-
-group {
- name, "elm/button/base/style.action.menu.favorite";
- data.item: "focus_highlight" "on";
- parts {
- part {
- name: "area";
- type: SPACER;
- description {
- state: "default" 0.0;
- min: 440 292;
- fixed: 0 0;
- }
- }
- part {
- name: "elm.swallow.content_bg";
- type: SWALLOW;
- scale: 1;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- align: 0.0 0.0;
- min: 440 210;
- fixed: 1 1;
- }
- }
- part {
- name: "elm.swallow.content";
- type: SWALLOW;
- scale: 1;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- align: 0.0 0.0;
- min: 440 210;
- fixed: 1 1;
- }
- }
- part {
- name: "elm.swallow.text_bg";
- type: SWALLOW;
- scale: 1;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- min: 440 82;
- align: 0.0 1.0;
- fixed: 1 1;
- }
- }
- part {
- name: "content.border_top";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- rel1.to: "elm.swallow.content";
- rel2 {
- to: "elm.swallow.content";
- relative: 1.0 0.0;
- }
- min: 0 6;
- align: 0.5 0.0;
- color: 0 119 246 255;
- fixed: 0 1;
- visible: 0;
- }
- description {
- state: "focused" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part {
- name: "content.border_left";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- rel1.to: "elm.swallow.content";
- rel2 {
- to: "elm.swallow.content";
- relative: 0.0 1.0;
- }
- min: 6 0;
- align: 0.0 0.5;
- color: 0 119 246 255;
- fixed: 1 0;
- visible: 0;
- }
- description {
- state: "focused" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part {
- name: "content.border_right";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- rel1 {
- to: "elm.swallow.content";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "elm.swallow.content";
- relative: 1.0 1.0;
- }
- min: 6 0;
- align: 1.0 0.5;
- color: 0 119 246 255;
- fixed: 1 0;
- visible: 0;
- }
- description {
- state: "focused" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part {
- name: "content.border_bottom";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- rel1 {
- to: "elm.swallow.content";
- relative: 0.0 1.0;
- }
- align: 0.0 0.0;
- color: 0 119 246 255;
- fixed: 1 1;
- visible: 0;
- }
- description {
- state: "focused" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part {
- name: "elm.text";
- type: TEXT;
- scale: 1;
- description {
- state: "default" 0.0;
- rel1 {
- to: "elm.swallow.text_bg";
- relative: 0.5 0.5;
- }
- rel2 {
- to: "elm.swallow.text_bg";
- relative: 0.5 0.5;
- }
- text {
- font: FONT_LIGHT;
- size: 28;
- align: 0.0 0.5;
- }
- align: 0.5 0.5;
- color: 255 255 255 255;
- min: 404 28;
- fixed: 1 1;
- }
- }
- part {
- name: "event";
- type: RECT;
- description {
- state: "default" 0.0;
- color: 0 0 0 0;
- }
- }
- }
- programs {
- program {
- name: "go_active";
- signal: "elm,action,focus";
- source: "elm";
- action: STATE_SET "focused" 0.0;
- target: "elm.swallow.content";
- target: "content.border_top";
- target: "content.border_left";
- target: "content.border_right";
- target: "content.border_bottom";
- }
- program {
- name: "go_passive";
- signal: "elm,action,unfocus";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.swallow.content";
- target: "content.border_top";
- target: "content.border_left";
- target: "content.border_right";
- target: "content.border_bottom";
- }
- program {
- name, "mouse_unclick_after";
- signal, "mouse,clicked,1";
- source, "event";
- action, SIGNAL_EMIT "elm,action,click" "";
- }
- }
-}
diff --git a/data/widget/notify.edc b/data/widget/notify.edc
deleted file mode 100644
index 369bcf4..0000000
--- a/data/widget/notify.edc
+++ /dev/null
@@ -1,157 +0,0 @@
-group {
- name: "elm/notify/bottom_left/toast";
- parts {
- part {
- name: "padding";
- type: SPACER;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel2.relative: 0.0 1.0;
- min: 40 40;
- align: 0.0 1.0;
- fixed: 1 1;
- }
- }
- part {
- name: "area";
- type: SPACER;
- scale: 1;
- description {
- state: "default" 0.0;
- rel1 {
- to: "padding";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "padding";
- relative: 1.0 0.0;
- }
- min: 536 70;
- max: 536 108;
- align: 0.0 1.0;
- fixed: 1 1;
- }
- }
- part {
- name: "base";
- type: RECT;
- scale: 1;
- description {
- state: "default" 0.0;
- rel1.to: "area";
- rel2.to: "area";
- align: 1.0 1.0;
- color: 255 255 255 255;
- fixed: 1 1;
- }
- }
- part {
- name: "border.top";
- type: RECT;
- scale: 1;
- description {
- state: "default" 0.0;
- color: 194 194 194 255;
- rel1.to: "base";
- rel2.to: "base";
- rel2.relative: 1.0 0.0;
- min: 0 1;
- align: 0.0 0.0;
- fixed: 0 1;
- }
- }
- part {
- name: "border.left";
- type: RECT;
- scale: 1;
- description {
- state: "default" 0.0;
- color: 194 194 194 255;
- rel1.to: "base";
- rel2.to: "base";
- rel2.relative, 0.0 1.0;
- min, 1 0;
- align, 0.0 0.0;
- fixed, 1 0;
- }
- }
- part {
- name: "border.right";
- type: RECT;
- scale: 1;
- description {
- state: "default" 0.0;
- color: 194 194 194 255;
- rel1.to: "base";
- rel2.to: "base";
- rel1.relative, 1.0 0.0;
- min, 1 0;
- align, 1.0 0.0;
- fixed, 1 0;
- }
- }
- part {
- name: "border.bottom";
- type: RECT;
- scale: 1;
- description {
- state: "default" 0.0;
- color: 194 194 194 255;
- rel1.to: "base";
- rel2.to: "base";
- rel1.relative, 0.0 1.0;
- min, 0 1;
- align, 0.0 1.0;
- fixed, 0 1;
- }
- }
- part {
- name: "elm.swallow.content";
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1 {
- to: "base";
- relative: 0.5 0.5;
- }
- rel2 {
- to: "base";
- relative: 0.5 0.5;
- }
- align: 0.5 0.5;
- min: 476 28;
- fixed: 1 1;
- }
- }
- }
-}
-
-group {
- name: "elm/label/base/toast";
- styles {
- style {
- name: "toast_style";
- base: "font=BreezeSans:style=Light font_size=28 align=center color=#515151";
- tag: "br" "\n";
- tag: "tab" "\t";
- }
- }
- parts {
- part {
- name: "elm.text";
- type: TEXTBLOCK;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- text {
- style: "toast_style";
- min: 0 1;
- max: 0 1;
- }
- }
- }
- }
-}
-