--- /dev/null
+/*
+ * 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.
+ */
+
+#include "../../include/defs.h"
+group{
+ name, GRP_HOME;
+ parts {
+ part {
+ name, "clip.up.arrow";
+ type, RECT;
+ scale, 1;
+ description {
+ state, "default" 0.0;
+ rel2.relative, 1.0 0.0;
+ min, 0 97;
+ align, 0.5 1.0;
+ fixed, 0 1;
+ visible, 0;
+ }
+ description {
+ state, "show" 0.0;
+ inherit, "default" 0.0;
+ align, 0.5 0.0;
+ visible, 1;
+ }
+ }
+ part {
+ name, PART_HOME_UP_ARROW;
+ type, SWALLOW;
+ scale, 1;
+ clip_to, "clip.up.arrow";
+ description {
+ state, "default" 0.0;
+ rel1.to, "clip.up.arrow";
+ rel2 {
+ to, "clip.up.arrow";
+ relative, 1.0 0.0;
+ }
+ fixed, 1 1;
+ align, 0.5 0.0;
+ min, 97 97;
+ }
+ }
+ part {
+ name, "clip.down.arrow";
+ type, RECT;
+ scale, 1;
+ description {
+ state, "default" 0.0;
+ rel1.relative, 0.0 1.0;
+ min, 0 97;
+ align, 0.5 0.0;
+ fixed, 0 1;
+ visible, 0;
+ }
+ description {
+ state, "show" 0.0;
+ inherit, "default" 0.0;
+ align, 0.5 1.0;
+ visible, 1;
+ }
+ }
+ part {
+ name, PART_HOME_DOWN_ARROW;
+ type, SWALLOW;
+ scale, 1;
+ clip_to, "clip.down.arrow";
+ description {
+ state, "default" 0.0;
+ rel1 {
+ to, "clip.down.arrow";
+ relative, 0.0 1.0;
+ }
+ rel2.to, "clip.down.arrow";
+ fixed, 1 1;
+ align, 0.5 1.0;
+ min, 97 97;
+ }
+ }
+ part {
+ name, "pad.list";
+ type, RECT;
+ scale, 1;
+ description {
+ state, "default" 0.0;
+ rel1.relative, 0.5 1.0;
+ rel2.relative, 0.5 1.0;
+ fixed, 1 1;
+ align, 0.5 1.0;
+ min, 0 188;
+ }
+ }
+ part {
+ name, PART_HOME_MENU_BAR;
+ type, SWALLOW;
+ scale, 1;
+ description {
+ state, "default" 0.0;
+ rel1 {
+ relative, 0.0 0.0;
+ to, "pad.list";
+ }
+ rel2 {
+ relative, 0.0 0.0;
+ to, "pad.list";
+ }
+ fixed, 1 1;
+ align, 0.5 1.0;
+ min, 947 158;
+ }
+ }
+ }
+ programs {
+ program {
+ name, "sig,show,navigation";
+ signal, SIG_SHOW_NAVIGATION;
+ source, SRC_PROG;
+ action, STATE_SET "show" 0.0;
+ target, "clip.up.arrow";
+ target, "clip.down.arrow";
+ transition, DECEL 0.5;
+ }
+ program {
+ name, "sig,hide,navigation";
+ signal, SIG_HIDE_NAVIGATION;
+ source, SRC_PROG;
+ action, STATE_SET "default" 0.0;
+ target, "clip.up.arrow";
+ target, "clip.down.arrow";
+ transition, DECEL 0.5;
+ }
+ }
+}
+
+group {
+ name, GRP_HOME_DOWN_ARROW;
+ images {
+ image, "btn_navigation_down.png" COMP;
+ }
+ parts {
+ part {
+ name, "bg";
+ type, RECT;
+ scale, 1;
+ description {
+ state, "default" 0.0;
+ min, 97 97;
+ visible, 0;
+ }
+ }
+ part {
+ name, "text";
+ type, TEXT;
+ scale, 1;
+ description {
+ state, "default" 0.0;
+ min, 97 30;
+ rel1.relative, 0.5 0.0;
+ rel2.relative, 0.5 0.0;
+ align, 0.5 0.0;
+ fixed, 1 1;
+ text {
+ size, 31;
+ font, "TizenSans";
+ text, "Recent";
+ }
+ color, 124 124 124 255;
+ }
+ }
+ part {
+ name, "pad.arrow";
+ type, RECT;
+ scale, 1;
+ description {
+ state, "default" 0.0;
+ min, 0 11;
+ rel1 {
+ to, "text";
+ relative, 0.5 1.0;
+ }
+ rel2 {
+ to, "text";
+ relative, 0.5 1.0;
+ }
+ fixed, 1 1;
+ align, 0.5 0.0;
+ visible, 0;
+ }
+ }
+ part {
+ name, "arrow";
+ type, IMAGE;
+ scale, 1;
+ description {
+ state, "default" 0.0;
+ min, 97 34;
+ rel1 {
+ relative, 1.0 1.0;
+ to, "pad.arrow";
+ }
+ rel2 {
+ relative, 1.0 1.0;
+ to, "pad.arrow";
+ }
+ image.normal, "btn_navigation_down.png";
+ align, 0.5 0.0;
+ fixed, 1 1;
+ }
+ }
+ }
+}
+
+group {
+ name, GRP_HOME_UP_ARROW;
+ images {
+ image, "btn_navigation_up.png" COMP;
+ }
+ parts {
+ part {
+ name, "bg";
+ type, RECT;
+ scale, 1;
+ description {
+ state, "default" 0.0;
+ min, 97 97;
+ visible, 0;
+ }
+ }
+ part {
+ name, "text";
+ type, TEXT;
+ scale, 1;
+ description {
+ state, "default" 0.0;
+ min, 97 30;
+ rel1.relative, 0.5 1.0;
+ rel2.relative, 0.5 1.0;
+ align, 0.5 1.0;
+ fixed, 1 1;
+ text {
+ size, 31;
+ font, "TizenSans";
+ text, "ETG";
+ }
+ color, 124 124 124 255;
+ }
+ }
+ part {
+ name, "pad.arrow";
+ type, RECT;
+ scale, 1;
+ description {
+ state, "default" 0.0;
+ min, 0 11;
+ rel1 {
+ to, "text";
+ relative, 0.5 0.0;
+ }
+ rel2 {
+ to, "text";
+ relative, 0.5 0.0;
+ }
+ fixed, 1 1;
+ align, 0.5 1.0;
+ visible, 0;
+ }
+ }
+ part {
+ name, "arrow";
+ type, IMAGE;
+ scale, 1;
+ description {
+ state, "default" 0.0;
+ min, 97 34;
+ rel1 {
+ relative, 0.0 0.0;
+ to, "pad.arrow";
+ }
+ rel2 {
+ relative, 0.0 0.0;
+ to, "pad.arrow";
+ }
+ image.normal, "btn_navigation_up.png";
+ align, 0.5 1.0;
+ fixed, 1 1;
+ }
+ }
+ }
+}
+
+group {
+ name, GRP_HOME_ITEM;
+ parts {
+ part {
+ name, "bg";
+ type, RECT;
+ scale, 1;
+ description {
+ state, "default" 0.0;
+ min, 157 157;
+ }
+ }
+ part {
+ name, "clip";
+ type, RECT;
+ description {
+ state, "default" 0.0;
+ color, 0 0 0 0;
+ }
+ description {
+ state, "focus" 0.0;
+ inherit, "default" 0.0;
+ color, 255 255 255 255;
+ }
+ description {
+ state, "up" 0.0;
+ inherit, "default" 0.0;
+ rel1.relative, 0.0 -1.0;
+ rel2.relative, 1.0 0.0;
+ color, 255 255 255 255;
+ }
+ description {
+ state, "down" 0.0;
+ inherit, "default" 0.0;
+ rel1.relative, 0.0 1.0;
+ rel2.relative, 1.0 2.0;
+ color, 255 255 255 255;
+ }
+ description {
+ state, "right" 0.0;
+ inherit, "default" 0.0;
+ rel1.relative, 1.0 0.0;
+ rel2.relative, 2.0 1.0;
+ color, 255 255 255 255;
+ }
+ description {
+ state, "left" 0.0;
+ inherit, "default" 0.0;
+ rel1.relative, -1.0 0.0;
+ rel2.relative, 0.0 1.0;
+ color, 255 255 255 255;
+ }
+ }
+ part {
+ name, PART_HOME_ITEM_BG;
+ type, SWALLOW;
+ scale, 1;
+ clip_to, "clip";
+ description {
+ state, "default" 0.0;
+ min, 157 157;
+ }
+ }
+ part {
+ name, "pad.icon";
+ type, RECT;
+ scale, 1;
+ description {
+ state, "default" 0.0;
+ min, 0 26;
+ rel1.relative, 0.5 0.0;
+ rel2.relative, 0.5 0.0;
+ align, 0.5 0.0;
+ fixed, 1 1;
+ visible, 0;
+ }
+ }
+ part {
+ name, PART_HOME_ITEM_ICON;
+ type, SWALLOW;
+ scale, 1;
+ description {
+ state, "default" 0.0;
+ min, 70 70;
+ rel1 {
+ to, "pad.icon";
+ relative, 1.0 1.0;
+ }
+ rel2 {
+ to, "pad.icon";
+ relative, 1.0 1.0;
+ }
+ align, 0.5 0.0;
+ fixed, 1 1;
+ }
+ }
+ part {
+ name, "pad.text";
+ type, RECT;
+ scale, 1;
+ description {
+ state, "default" 0.0;
+ min, 0 23;
+ rel1.relative, 0.5 1.0;
+ rel2.relative, 0.5 1.0;
+ align, 0.5 1.0;
+ fixed, 1 1;
+ visible, 0;
+ }
+ }
+ part {
+ name, PART_HOME_ITEM_NAME;
+ type, TEXT;
+ scale, 1;
+ description {
+ state, "default" 0.0;
+ min, 127 38;
+ rel1 {
+ to, "pad.text";
+ relative, 0.0 0.0;
+ }
+ rel2 {
+ to, "pad.text";
+ relative, 0.0 0.0;
+ }
+ align, 0.5 1.0;
+ fixed, 1 1;
+ text {
+ size, 22;
+ font, "TizenSans";
+ }
+ color, 104 104 104 255;
+ }
+ }
+ }
+ programs {
+ program {
+ name, "sig,initial,focus";
+ signal, SIG_INITIAL_FOCUS;
+ source, SRC_PROG;
+ action, STATE_SET "default" 0.0;
+ target, "clip";
+ after, "sig,focus";
+ }
+ program {
+ name, "sig,focus";
+ signal, SIG_FOCUS;
+ source, SRC_PROG;
+ action, STATE_SET "focus" 0.0;
+ transition, LINEAR 0.5;
+ target, "clip";
+ }
+ program {
+ name, "sig,focus,to,up";
+ signal, SIG_FOCUS_TO_UP;
+ source, SRC_PROG;
+ action, STATE_SET "up" 0.0;
+ transition, LINEAR 0.5;
+ target, "clip";
+ }
+ program {
+ name, "sig,focus,to,down";
+ signal, SIG_FOCUS_TO_DOWN;
+ source, SRC_PROG;
+ action, STATE_SET "down" 0.0;
+ transition, LINEAR 0.5;
+ target, "clip";
+ }
+ program {
+ name, "sig,focus,to,right";
+ signal, SIG_FOCUS_TO_RIGHT;
+ source, SRC_PROG;
+ action, STATE_SET "right" 0.0;
+ transition, LINEAR 0.5;
+ target, "clip";
+ }
+ program {
+ name, "sig,unfocus,to,right";
+ signal, SIG_UNFOCUS_TO_RIGHT;
+ source, SRC_PROG;
+ action, STATE_SET "left" 0.0;
+ target, "clip";
+ after, "sig,focus";
+ }
+ program {
+ name, "sig,focus,to,left";
+ signal, SIG_FOCUS_TO_LEFT;
+ source, SRC_PROG;
+ action, STATE_SET "left" 0.0;
+ transition, LINEAR 0.5;
+ target, "clip";
+ }
+ program {
+ name, "sig,unfocus,to,left";
+ signal, SIG_UNFOCUS_TO_LEFT;
+ source, SRC_PROG;
+ action, STATE_SET "right" 0.0;
+ target, "clip";
+ after, "sig,focus";
+ }
+ }
+}