--- /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_RECENT;
+ parts {
+ part {
+ name, "guide";
+ type, RECT;
+ scale, 1;
+ description {
+ state, "default" 0.0;
+ rel1.relative, 0.0 1.0;
+ min, 0 528;
+ fixed, 1 1;
+ align, 0.5 0.0;
+ visible, 0;
+ }
+ description {
+ state, "show" 0.0;
+ inherit, "default" 0.0;
+ min, 0 0;
+ }
+ }
+ part {
+ name, "clip";
+ type, RECT;
+ description {
+ state, "default" 0.0;
+ color, 0 0 0 0;
+ }
+ description {
+ state, "show" 0.0;
+ inherit, "default" 0.0;
+ color, 255 255 255 255;
+ }
+ }
+ part {
+ name, "bg";
+ type, RECT;
+ scale, 1;
+ clip_to, "clip";
+ description {
+ state, "default" 0.0;
+ min, 0 528;
+ rel1 {
+ to, "guide";
+ relative, 0.0 1.0;
+ }
+ rel2.to, "guide";
+ fixed, 0 1;
+ align, 0.5 1.0;
+ }
+ }
+ part {
+ name, "pad.title";
+ type, RECT;
+ scale, 1;
+ description {
+ state, "default" 0.0;
+ rel1.to, "bg";
+ rel2 {
+ to, "bg";
+ relative, 1.0 0.0;
+ }
+ min, 0 104;
+ fixed, 0 1;
+ align, 0.5 0.0;
+ }
+ }
+ part {
+ name, "pad.list";
+ type, RECT;
+ scale, 1;
+ description {
+ state, "default" 0.0;
+ rel1 {
+ to, "pad.title";
+ relative, 0.0 1.0;
+ }
+ rel2.to, "bg";
+ fixed, 1 1;
+ color, 242 242 242 255;
+ }
+ }
+ part {
+ name, "title";
+ type, TEXT;
+ scale, 1;
+ description {
+ state, "default" 0.0;
+ rel1.to, "pad.title";
+ rel2.to, "pad.title";
+ text {
+ size, 46;
+ font, "TizenSans";
+ text, "Recent";
+ }
+ color, 51 51 51 255;
+ }
+ }
+ part {
+ name, PART_RECENT_DELETE_ICON;
+ type, SWALLOW;
+ scale, 1;
+ description {
+ state, "default" 0.0;
+ rel1 {
+ to, "pad.title";
+ relative, 1.0 0.0;
+ }
+ rel2.to, "pad.title";
+ min, 82 104;
+ fixed, 1 1;
+ align, 1.0 0.5;
+ }
+ }
+ part {
+ name, "pad.contents.up";
+ type, RECT;
+ scale, 1;
+ description {
+ state, "default" 0.0;
+ rel1 {
+ to, "pad.title";
+ relative, 0.0 1.0;
+ }
+ rel2 {
+ to, "pad.title";
+ relative, 0.0 1.0;
+ }
+ min, 70 70;
+ fixed, 1 1;
+ align, 0.0 0.0;
+ visible, 0;
+ }
+ }
+ part {
+ name, "pad.contents.down";
+ type, RECT;
+ scale, 1;
+ description {
+ state, "default" 0.0;
+ rel1 {
+ to, "bg";
+ relative, 1.0 1.0;
+ }
+ min, 0 70;
+ fixed, 1 1;
+ align, 1.0 1.0;
+ visible, 0;
+ }
+ }
+ part {
+ name, PART_RECENT_NO_CONTENTS;
+ type, TEXT;
+ scale, 1;
+ description {
+ state, "default" 0.0;
+ rel1 {
+ to, "pad.title";
+ relative, 0.0 1.0;
+ }
+ text {
+ size, 50;
+ font, "TizenSans";
+ }
+ fixed, 1 1;
+ color, 51 51 51 255;
+ }
+ }
+ part {
+ name, PART_RECENT_CONTENTS;
+ type, SWALLOW;
+ scale, 1;
+ description {
+ state, "default" 0.0;
+ rel1 {
+ to, "pad.contents.up";
+ relative, 1.0 1.0;
+ }
+ rel2 {
+ to, "pad.contents.down";
+ relative, 0.0 0.0;
+ }
+ fixed, 1 1;
+ }
+ }
+ }
+ programs {
+ program {
+ name, "sig,show,recent";
+ signal, SIG_SHOW_RECENT;
+ source, SRC_PROG;
+ action, STATE_SET "show" 0.0;
+ transition, DECEL 0.5;
+ target, "clip";
+ target, "guide";
+ }
+ program {
+ name, "sig,hide,recent";
+ signal, SIG_HIDE_RECENT;
+ source, SRC_PROG;
+ action, STATE_SET "default" 0.0;
+ transition, DECEL 0.5;
+ target, "clip";
+ target, "guide";
+ }
+ }
+}
+
+group {
+ name, GRP_RECENT_DELETE;
+ images {
+ image, "btn_bar_clearall_nor.png" COMP;
+ }
+ parts {
+ part {
+ name, "bg";
+ type, RECT;
+ scale, 1;
+ description {
+ state, "default" 0.0;
+ min, 82 104;
+ visible, 0;
+ }
+ }
+ part {
+ name, "ico";
+ type, IMAGE;
+ scale, 1;
+ description {
+ state, "default" 0.0;
+ rel1.to, "bg";
+ rel2.to, "bg";
+ image.normal, "btn_bar_clearall_nor.png";
+ }
+ }
+ }
+}
+
#define GRP_HOME_DOWN_ARROW "group.home.down.arrow"
#define GRP_HOME_ITEM "group.home.item"
#define GRP_RECENT "group.recent"
+#define GRP_RECENT_DELETE "grp.recent.delete"
#define PART_HOME_MENU_BAR "part.home.menu.bar"
#define PART_HOME_UP_ARROW "part.home.up.arrow"
#define PART_HOME_ITEM_ICON "part.home.item.icon"
#define PART_HOME_ITEM_NAME "part.home.item.name"
#define PART_HOME_ITEM_BG "part.home.item.bg"
+#define PART_RECENT_DELETE_ICON "part.recent.delete.icon"
+#define PART_RECENT_CONTENTS "part.recent.contents"
+#define PART_RECENT_NO_CONTENTS "part.recent.no.contents"
#define SIG_SHOW_NAVIGATION "sig.show.navigation"
#define SIG_HIDE_NAVIGATION "sig.hide.navigation"