summaryrefslogtreecommitdiff
path: root/include/define.h
blob: d03a3f46141e2f0083f0bd7d519c583311aa3bff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
/*
 * 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 __AIR_FAVORITE_DEFINE_H__
#define __AIR_FAVORITE_DEFINE_H__

/* View ID */
#define VIEW_ID_BASE "VIEW_ID_BASE"
#define VIEW_ID_ACTION_MENU "VIEW_ID_ACTION_MENU"

/* Group */
#define GRP_VIEW_BASE "grp.view.base"
#define GRP_VIEW_ACTION_MENU "grp.view.action.menu"

/* Part for edc file */
#define PART_TOP_TITLE "part.top.title"
#define PART_TOP_MENU "part.top.menu"
#define PART_GENGRID "part.gengrid"
#define PART_NO_CONTENTS "part.no.contents"
#define PART_CONTENTS_COUNT "part.contents.count"
#define PART_CONTENTS_SUBCOUNT "part.contents.subcount"
#define PART_COUNT_DIVIDE_LINE "part.count.divide.line"
#define PART_THUMB_BG "part.thumb.bg"
#define PART_TEXT_BG "part.text.bg"
#define PART_THUMB_ICON "part.thumb.icon"
#define PART_THUMB_TEXT "part.thumb.text"
#define PART_THUMB_SUBTEXT1 "part.thumb.subtext1"
#define PART_THUMB_SUBTEXT2 "part.thumb.subtext2"
#define PART_THUMB_PLAY_ICON "part.thumb.play.icon"
#define PART_THUMB_DEFAULT_TV_ICON "part.thumb.default.tv.icon"
#define PART_LIVETV_BTN "part.livetv.button"
#define PART_ACTION_MENU "part.action.menu"

/* Style */
#define STYLE_MENU_BTN "style.menu.button"
#define STYLE_LIVETV_BTN "style.livetv.button"
#define STYLE_ACTION_MENU_FAV_BTN "style.action.menu.favorite.button"
#define STYLE_ACTION_MENU_LOCK_BTN "style.action.menu.lock.button"
#define STYLE_ACTION_MENU_SHARE_BTN "style.action.menu.share.button"

/* Signal */
#define SIG_FOCUSED "focused"
#define SIG_UNFOCUSED "unfocused"
#define SIG_SELECTED "selected"
#define SIG_UNSELECTED "unselected"
#define SIG_ITEM_SELECTED "item.selected"
#define SIG_VISIBLE "visible"
#define SIG_INVISIBLE "invisible"
#define SIG_DISABLE "disable"
#define SIG_BTN_DISABLE "elm,state,disabled"

/* Source */
#define SRC_EDC "edc"
#define SRC_MENU_BTN "menubtn"
#define SRC_LIVETV_BTN "source.livetv.btn"
#define SRC_ACTION_BTN "source.action.btn"

/* Transition */
#define TRANSITION_FOCUS DECELERATE 0.20
#define TRANSITION_CLICK DECELERATE 0

/* Text */
#define STR_FAVORITE "Favorite"
#define STR_LOCK "Lock"
#define STR_SHARE "Share"
#define STR_NULL "(NULL)"
#define STR_NO_CONTENTS "No Contents"
#define STR_CNT_TV "channels"
#define STR_CNT_MOVIE "movies"
#define STR_CNT_GALLERY "files"
#define STR_CNT_GALLERY_PHOTO "photos"
#define STR_CNT_GALLERY_VIDEO "videos"
#define STR_CNT_MUSIC "songs"
#define STR_CNT_APPS "apps"
#define STR_CNT_WEBS "bookmark"
#define STR_MEDIAHUB_APP_ID "org.tizen.mediahub"
#define STR_LIVETV_APP_ID "org.tizen.live-tv"
#define STR_KEY_MEDIA_ID "media_id"
#define STR_KEY_SERVICE_ID "service_id"
#define STR_BROWSER "Web Browser"
#define STR_BROWSER_ID "org.tizen.browser"
#define STR_LIVETV "Live TV"

/* Font */
#define FONT_TIZENSANS_REGULAR "TizenSans"
#define FONT_TIZENSANS_LIGHT "TizenSans:style=Light"

/* Color */
#define COLOR_TEXT_BG 113 128 147 255
#define COLOR_ITEM_FOCUS 0 119 246 255
#define COLOR_ITEM_FOCUS_0 0 119 246 0

/* Size */
#define SIZE_BOX_PAD_H (40 + 40)
#define SIZE_BOX_PAD_V 0
#define SIZE_STR 1024
#define SIZE_APP_ICON_MAX 100
#define SIZE_ACTION_TABLE_BORDER 0
#define SIZE_COL_MAX 4

/* Count */
#define COUNT_MENU 6
#define COUNT_ACTION 3

/* Image */
#define PLAY_ICON_PNG "ic_thumbnail_play.png"
#define DEFAULT_IMAGE_PNG IMGDIR"/ic_thumbnail_picture.png"
#define DEFAULT_APP_ICON_PNG IMGDIR"/ic_default_app.png"
#define DEFAULT_TV_PNG IMGDIR"/ic_default_tv.png"
#define BROWSER_ICON_PNG IMGDIR"/ic_apps_web.png"
#define GULLIVER_PNG IMGDIR"/gulliver.png"
#define ACTION_FAV_NOR_PNG "btn_menu_favorite_nor.png"
#define ACTION_FAV_FOC_PNG "btn_menu_favorite_foc.png"
#define ACTION_FAV_SEL_PNG "btn_menu_favorite_sel.png"
#define ACTION_FAV_DIS_PNG "btn_menu_favorite_dis.png"
#define ACTION_LOCK_NOR_PNG "btn_menu_lock_nor.png"
#define ACTION_LOCK_FOC_PNG "btn_menu_lock_foc.png"
#define ACTION_LOCK_SEL_PNG "btn_menu_lock_sel.png"
#define ACTION_LOCK_DIS_PNG "btn_menu_lock_dis.png"
#define ACTION_SHARE_NOR_PNG "btn_menu_share_nor.png"
#define ACTION_SHARE_FOC_PNG "btn_menu_share_foc.png"
#define ACTION_SHARE_SEL_PNG "btn_menu_share_sel.png"
#define ACTION_SHARE_DIS_PNG "btn_menu_share_dis.png"

/* Path */
#define PATH_PLAY_ICON_PNG IMGDIR"/ic_thumbnail_play.png"

#endif /* __AIR_FAVORITE_DEFINE_H__ */