c1fc97505b29f3867f92d1968f952ed5f8d88234
[profile/tv/apps/native/air_home.git] / include / defs.h
1 /*
2  * Copyright (c) 2015 Samsung Electronics Co., Ltd All Rights Reserved
3  *
4  * Licensed under the Apache License, Version 2.0 (the License);
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an AS IS BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16
17 #ifndef __AIR_HOME_DEFS_H__
18 #define __AIR_HOME_DEFS_H__
19
20 #define VIEW_HOME "VIEW_HOME"
21 #define VIEW_RECENT "VIEW_RECENT"
22 #define VIEW_USER "VIEW_USER"
23 #define VIEW_USER_EDIT "VIEW_USER_EDIT"
24 #define VIEW_PHOTO "VIEW_PHOTO"
25
26 #define SRC_PROG "prog"
27 #define SRC_EDJE "edje"
28
29 #define GRP_HOME "group.home"
30 #define GRP_HOME_UP_ARROW "group.home.up.arrow"
31 #define GRP_HOME_DOWN_ARROW "group.home.down.arrow"
32 #define GRP_HOME_ITEM "group.home.item"
33 #define GRP_RECENT "group.recent"
34 #define GRP_RECENT_DELETE "group.recent.delete"
35 #define GRP_RECENT_ICON "group.recent.icon"
36 #define GRP_RECENT_PREVIEW "group.recent.preview"
37 #define GRP_USER "group.user"
38 #define GRP_USER_ITEM "group.user.item"
39 #define GRP_USER_EDIT "group.user.edit"
40 #define GRP_USER_EDIT_CONTENTS "group.user.edit.contents"
41 #define GRP_USER_EDIT_SWITCH "group.user.edit.switch"
42 #define GRP_USER_EDIT_PHOTO "group.user.edit.photo"
43 #define GRP_USER_EDIT_ENTRY "group.user.edit.entry"
44 #define GRP_USER_EDIT_DELETE "group.user.edit.delete"
45 #define GRP_USER_EDIT_ICON_LIST "group.user.edit.icon.list"
46 #define GRP_USER_EDIT_ICON_LIST_ITEM "group.user.edit.icon.list.item"
47 #define GRP_BAR_ITEM "group.bar.item"
48 #define GRP_PHOTO "group.photo"
49 #define GRP_PHOTO_VIEWER "group.photo.viewer"
50 #define GRP_PHOTO_NO_CONTENT "group.photo.no.content"
51
52 #define PART_HOME_MENU_BAR "part.home.menu.bar"
53 #define PART_HOME_UP_ARROW "part.home.up.arrow"
54 #define PART_HOME_DOWN_ARROW "part.home.down.arrow"
55 #define PART_RECENT_DELETE_ICON "part.recent.delete.icon"
56 #define PART_RECENT_CONTENTS "part.recent.contents"
57 #define PART_RECENT_NO_CONTENTS "part.recent.no.contents"
58 #define PART_RECENT_TITLE "part.recent.title"
59 #define PART_RECENT_SUBTITLE "part.recent.subtitle"
60 #define PART_RECENT_THUMBNAIL "part.recent.thumbnail"
61 #define PART_RECENT_ICON "part.recent.icon"
62 #define PART_RECENT_FAVORITE "part.recent.favorite"
63 #define PART_RECENT_DELETE "part.recent.delete"
64 #define PART_RECENT_DELETE_FOCUS "part.recent.delete.focus"
65 #define PART_USER_EDIT_TITLE "part.user.edit.title"
66 #define PART_USER_EDIT_BTN_DONE "part.user.edit.btn.done"
67 #define PART_USER_EDIT_BTN_CANCEL "part.user.edit.btn.cancel"
68 #define PART_USER_EDIT_CONTENTS "part.user.edit.contents"
69 #define PART_USER_EDIT_CONTENTS_PHOTO "part.user.edit.contents.photo"
70 #define PART_USER_EDIT_CONTENTS_NAME "part.user.edit.contents.name"
71 #define PART_USER_EDIT_CONTENTS_PIN "part.user.edit.contents.pin"
72 #define PART_USER_EDIT_CONTENTS_ACCOUNT "part.user.edit.contents.account"
73 #define PART_USER_EDIT_CONTENTS_LOCK "part.user.edit.contents.lock"
74 #define PART_USER_EDIT_CONTETNS_DELETE "part.user.edit.contents.delete"
75 #define PART_USER_EDIT_PHOTO "part.user.edit.photo"
76 #define PART_USER_EDIT_PHOTO_FOCUS "part.user.edit.photo.focus"
77 #define PART_USER_EDIT_ENTRY "part.user.edit.entry"
78 #define PART_USER_EDIT_ICON_LIST "part.user.edit.icon.list"
79 #define PART_USER_EDIT_ICON_LIST_ITEM "part.user.edit.icon.list.item"
80 #define PART_USER_EDIT_ICON_LIST_ITEM_FOCUS "part.user.edit.icon.list.item.focus"
81 #define PART_USER_EDIT_SWITCH "part.user.edit.switch"
82 #define PART_BAR_ITEM_BG "part.bar.item.bg"
83 #define PART_BAR_ITEM_ICON "part.bar.item.icon"
84 #define PART_BAR_ITEM_ICON_FOCUS "part.bar.item.icon.focus"
85 #define PART_BAR_ITEM_TITLE "part.bar.item.title"
86 #define PART_BAR_ITEM_TITLE_FOCUS "part.bar.item.title.focus"
87 #define PART_BAR_ITEM_BADGE "part.bar.item.badge"
88 #define PART_BAR_ITEM_BADGE_COUNT "part.bar.item.badge.count"
89 #define PART_BAR_ITEM_LOCK "part.bar.item.lock"
90 #define PART_BAR_ITEM_LOCK_FOCUS "part.bar.item.lock.focus"
91 #define PART_USER_BAR "part.user.bar"
92 #define PART_PHOTO_LIST "part.photo.list"
93 #define PART_PHOTO_VIEWER "part.photo.viewer"
94 #define PART_PHOTO_VIEWER_CANCEL "part.photo.viewer.cancel"
95 #define PART_PHOTO_VIEWER_DONE "part.photo.viewer.done"
96
97 #define SIG_SHOW_NAVIGATION "sig.show.navigation"
98 #define SIG_HIDE_NAVIGATION "sig.hide.navigation"
99 #define SIG_INITIAL_FOCUS "sig.initial.focus"
100 #define SIG_FOCUS "sig.focus"
101 #define SIG_FOCUS_TO_UP "sig.focus.to.up"
102 #define SIG_FOCUS_TO_DOWN "sig.focus.to.down"
103 #define SIG_FOCUS_TO_RIGHT "sig.focus.to.right"
104 #define SIG_FOCUS_TO_LEFT "sig.focus.to.left"
105 #define SIG_UNFOCUS "sig.unfocus"
106 #define SIG_UNFOCUS_TO_RIGHT "sig.unfocus.to.right"
107 #define SIG_UNFOCUS_TO_LEFT "sig.unfocus.to.left"
108 #define SIG_SHOW_RECENT "sig.show.recent"
109 #define SIG_HIDE_RECENT "sig.hide.recent"
110 #define SIG_HIDE_RECENT_DONE "sig.hide.recent.done"
111
112 #define TITLE_WIDTH "title.width"
113
114 #define STYLE_LABEL_TITLE "slide_home_title"
115 #define STYLE_LABEL_TITLE_FOCUS "slide_home_title_focus"
116 #define STYLE_LABEL_RECENT_TITLE "slide_recent_title"
117 #define STYLE_LABEL_RECENT_SUBTITLE "slide_recent_subtitle"
118 #define STYLE_INPUT "input.field"
119 #define STYLE_GENGRID_ITEM "gengrid_item"
120
121 #define COLOR_DEFAULT_R 0
122 #define COLOR_DEFAULT_G 119
123 #define COLOR_DEFAULT_B 246
124 #define COLOR_DEFAULT_A 255
125
126 #define IMAGE_SWITCH_ON IMAGEDIR"/btn_switch_on_nor.png"
127 #define IMAGE_SWITCH_OFF IMAGEDIR"/btn_switch_off_nor.png"
128 #define IMAGE_BADGE IMAGEDIR"/badge_bg.png"
129 #define IMAGE_USER_ADD IMAGEDIR"/btn_user_add_nor.png"
130 #define IMAGE_USER_ADD_FOCUS IMAGEDIR"/btn_user_add_foc.png"
131 #define IMAGE_USER_DEFAULT IMAGEDIR"/ic_user_01_nor.png"
132 #define IMAGE_USER_DEFAULT_FOCUS IMAGEDIR"/ic_user_01_foc.png"
133 #define IMAGE_USER_DEFAULT_02 IMAGEDIR"/ic_user_02_nor.png"
134 #define IMAGE_USER_DEFAULT_02_FOCUS IMAGEDIR"/ic_user_02_foc.png"
135 #define IMAGE_USER_DEFAULT_03 IMAGEDIR"/ic_user_03_nor.png"
136 #define IMAGE_USER_DEFAULT_03_FOCUS IMAGEDIR"/ic_user_03_foc.png"
137 #define IMAGE_USER_DEFAULT_04 IMAGEDIR"/ic_user_04_nor.png"
138 #define IMAGE_USER_DEFAULT_04_FOCUS IMAGEDIR"/ic_user_04_foc.png"
139 #define IMAGE_USER_DEFAULT_05 IMAGEDIR"/ic_user_05_nor.png"
140 #define IMAGE_USER_DEFAULT_05_FOCUS IMAGEDIR"/ic_user_05_foc.png"
141 #define IMAGE_USER_DEFAULT_06 IMAGEDIR"/ic_user_06_nor.png"
142 #define IMAGE_USER_DEFAULT_06_FOCUS IMAGEDIR"/ic_user_06_foc.png"
143 #define IMAGE_USER_DEFAULT_07 IMAGEDIR"/ic_user_07_nor.png"
144 #define IMAGE_USER_DEFAULT_07_FOCUS IMAGEDIR"/ic_user_07_foc.png"
145 #define IMAGE_USER_CURRENT_DEFAULT IMAGEDIR"/ic_user_profile_current_01_nor.png"
146 #define IMAGE_USER_CURRENT_DEFAULT_FOCUS IMAGEDIR"/ic_user_profile_current_01_foc.png"
147 #define IMAGE_USER_CURRENT_DEFAULT_02 IMAGEDIR"/ic_user_profile_current_02_nor.png"
148 #define IMAGE_USER_CURRENT_DEFAULT_02_FOCUS IMAGEDIR"/ic_user_profile_current_02_foc.png"
149 #define IMAGE_USER_CURRENT_DEFAULT_03 IMAGEDIR"/ic_user_profile_current_03_nor.png"
150 #define IMAGE_USER_CURRENT_DEFAULT_03_FOCUS IMAGEDIR"/ic_user_profile_current_03_foc.png"
151 #define IMAGE_USER_CURRENT_DEFAULT_04 IMAGEDIR"/ic_user_profile_current_04_nor.png"
152 #define IMAGE_USER_CURRENT_DEFAULT_04_FOCUS IMAGEDIR"/ic_user_profile_current_04_foc.png"
153 #define IMAGE_USER_CURRENT_DEFAULT_05 IMAGEDIR"/ic_user_profile_current_05_nor.png"
154 #define IMAGE_USER_CURRENT_DEFAULT_05_FOCUS IMAGEDIR"/ic_user_profile_current_05_foc.png"
155 #define IMAGE_USER_CURRENT_DEFAULT_06 IMAGEDIR"/ic_user_profile_current_06_nor.png"
156 #define IMAGE_USER_CURRENT_DEFAULT_06_FOCUS IMAGEDIR"/ic_user_profile_current_06_foc.png"
157 #define IMAGE_USER_CURRENT_DEFAULT_07 IMAGEDIR"/ic_user_profile_current_07_nor.png"
158 #define IMAGE_USER_CURRENT_DEFAULT_07_FOCUS IMAGEDIR"/ic_user_profile_current_07_foc.png"
159 #define IMAGE_RECENT_DELETE_NOR IMAGEDIR"/btn_bar_clearall_nor.png"
160 #define IMAGE_RECENT_DELETE_FOC IMAGEDIR"/btn_bar_clearall_foc.png"
161 #define IMAGE_RECENT_DELETE_DIS IMAGEDIR"/btn_bar_clearall_dis.png"
162 #define IMAGE_RECENT_APP IMAGEDIR"/ic_thumbnail_app.png"
163
164 #endif /* __AIR_HOME_DEFS_H__ */