summaryrefslogtreecommitdiff
path: root/data/view
diff options
context:
space:
mode:
Diffstat (limited to 'data/view')
-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
4 files changed, 0 insertions, 1934 deletions
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;
- }
- }
- }
- }
-}