summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorjinwoo.shin <jw0227.shin@samsung.com>2015-07-02 21:16:50 +0900
committerjinwoo.shin <jw0227.shin@samsung.com>2015-07-02 21:16:50 +0900
commit352ec97a82caafd5b16d149bf5ef8d72e4e73dd7 (patch)
tree71b598d179f4eb81f3b1b60c41cfee4ff7fbf77c /include
parent7894a76bf92cba6de98141d0211ffec377168a5f (diff)
downloadair_livetv-352ec97a82caafd5b16d149bf5ef8d72e4e73dd7.tar.gz
air_livetv-352ec97a82caafd5b16d149bf5ef8d72e4e73dd7.tar.bz2
air_livetv-352ec97a82caafd5b16d149bf5ef8d72e4e73dd7.zip
Add channelinfo and channelinfo list layout
Change-Id: If688f404955c9b9037f2efc99d835a135f02de73 Signed-off-by: jinwoo.shin <jw0227.shin@samsung.com>
Diffstat (limited to 'include')
-rw-r--r--include/define.h10
-rw-r--r--include/layout_channelinfo_list.h22
-rw-r--r--include/util.h28
-rw-r--r--include/view_channelinfo.h2
4 files changed, 62 insertions, 0 deletions
diff --git a/include/define.h b/include/define.h
index e544292..83dd802 100644
--- a/include/define.h
+++ b/include/define.h
@@ -37,6 +37,7 @@
#define COLOR_BG_FOCUSED 0 119 246 255
#define COLOR_TEXT_NORMAL 51 51 51 255
#define COLOR_TEXT_FOCUSED 255 255 255 255
+#define COLOR_TEXT_TRANS 255 255 255 217
#define IMG_LOCKED_NOR IMAGEDIR"ic_thumbnail_lock_01_nor.png"
#define IMG_LOCKED_FOC IMAGEDIR"ic_thumbnail_lock_01_foc.png"
@@ -45,8 +46,17 @@
#define VIEW_CHANNELINFO "VIEW_CHANNELINFO"
#define LAYOUT_CHANNELINFO "LAYOUT_CHANNELINFO"
+#define LAYOUT_CHANNELINFO_LIST "LAYOUT_CHANNELINFO_LIST"
+
#define GRP_VIEW_CHANNELINFO "grp.view.channelinfo"
+
+#define GRP_CHANNELINFO_LIST "grp.channelinfo.list"
+#define PART_CHANNELINFO_LIST_NEXT "part.channelinfo.list.next"
+#define PART_CHANNELINFO_LIST_CURRENT "part.channelinfo.list.current"
+#define PART_CHANNELINFO_LIST_PREV "part.channelinfo.list.prev"
+
#define GRP_CHANNELINFO "grp.channelinfo"
+#define GRP_CHANNELINFO_SIMPLE "grp.channelinfo.simple"
#define PART_CHANNELINFO_CHANNEL "part.channelinfo.channel"
#define PART_CHANNELINFO_TITLE "part.channelinfo.title"
#define PART_CHANNELINFO_TIME "part.channelinfo.time"
diff --git a/include/layout_channelinfo_list.h b/include/layout_channelinfo_list.h
new file mode 100644
index 0000000..3b7e8ab
--- /dev/null
+++ b/include/layout_channelinfo_list.h
@@ -0,0 +1,22 @@
+/*
+ * 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.
+ */
+
+#ifndef __LAYOUT_CHANNELINFO_LIST_H__
+#define __LAYOUT_CHANNELINFO_LIST_H__
+
+layout_class *layout_channelinfo_list_get_lclass(void);
+
+#endif /* __LAYOUT_CHANNELINFO_H__*/
diff --git a/include/util.h b/include/util.h
new file mode 100644
index 0000000..25afbc3
--- /dev/null
+++ b/include/util.h
@@ -0,0 +1,28 @@
+/*
+ * Copyright (c) 2014 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 <stdbool.h>
+
+#ifndef __UTIL_H__
+#define __UTIL_H__
+
+Evas_Object *util_add_layout(Evas_Object *parent, const char *group);
+Evas_Object *util_add_box(Evas_Object *parent, bool horizon);
+Evas_Object *util_add_scroller(Evas_Object *parent, const char *part);
+Evas_Object *util_add_icon(Evas_Object *parent, const char *file,
+ const char *part);
+
+#endif
diff --git a/include/view_channelinfo.h b/include/view_channelinfo.h
index f5b01e2..f9e5068 100644
--- a/include/view_channelinfo.h
+++ b/include/view_channelinfo.h
@@ -17,6 +17,8 @@
#ifndef __LIVETV_VIEW_CHANNELINFO_H__
#define __LIVETV_VIEW_CHANNELINFO_H__
+void draw_channel_info(Evas_Object *obj, const struct tv_channel_info *channel_info);
+
view_class *view_channelinfo_get_vclass(void);
#endif /* __LIVETV_VIEW_CHANNELINFO_H__*/