add utils_add_button and utils_add_entry
[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
25 #define SRC_PROG "prog"
26 #define SRC_EDJE "edje"
27
28 #define GRP_HOME "group.home"
29 #define GRP_HOME_UP_ARROW "group.home.up.arrow"
30 #define GRP_HOME_DOWN_ARROW "group.home.down.arrow"
31 #define GRP_HOME_ITEM "group.home.item"
32 #define GRP_RECENT "group.recent"
33 #define GRP_RECENT_DELETE "group.recent.delete"
34 #define GRP_RECENT_ICON "group.recent.icon"
35 #define GRP_RECENT_PREVIEW "group.recent.preview"
36 #define GRP_USER "group.user"
37 #define GRP_USER_ITEM "group.user.item"
38 #define GRP_USER_EDIT "group.user.edit"
39 #define GRP_USER_EDIT_CONTENTS "group.user.edit.contents"
40 #define GRP_BAR_ITEM "group.bar.item"
41
42 #define PART_HOME_MENU_BAR "part.home.menu.bar"
43 #define PART_HOME_UP_ARROW "part.home.up.arrow"
44 #define PART_HOME_DOWN_ARROW "part.home.down.arrow"
45 #define PART_RECENT_DELETE_ICON "part.recent.delete.icon"
46 #define PART_RECENT_CONTENTS "part.recent.contents"
47 #define PART_RECENT_NO_CONTENTS "part.recent.no.contents"
48 #define PART_RECENT_TITLE "part.recent.title"
49 #define PART_RECENT_SUBTITLE "part.recent.subtitle"
50 #define PART_RECENT_THUMBNAIL "part.recent.thumbnail"
51 #define PART_RECENT_ICON "part.recent.icon"
52 #define PART_RECENT_FAVORITE "part.recent.favorite"
53 #define PART_USER_EDIT_TITLE "part.user.edit.title"
54 #define PART_USER_EDIT_BTN_DONE "part.user.edit.btn.done"
55 #define PART_USER_EDIT_BTN_CANCEL "part.user.edit.btn.cancel"
56 #define PART_USER_EDIT_CONTENTS "part.user.edit.contents"
57 #define PART_USER_EDIT_CONTENTS_PHOTO "part.user.edit.contents.photo"
58 #define PART_USER_EDIT_CONTENTS_NAME "part.user.edit.contents.name"
59 #define PART_USER_EDIT_CONTENTS_PIN "part.user.edit.contents.pin"
60 #define PART_USER_EDIT_CONTENTS_ACCOUNT "part.user.edit.contents.account"
61 #define PART_USER_EDIT_CONTENTS_LOCK "part.user.edit.contents.lock"
62 #define PART_USER_EDIT_CONTETNS_DELETE "part.user.edit.contents.delete"
63 #define PART_BAR_ITEM_BG "part.bar.item.bg"
64 #define PART_BAR_ITEM_ICON "part.bar.item.icon"
65 #define PART_BAR_ITEM_ICON_FOCUS "part.bar.item.icon.focus"
66 #define PART_BAR_ITEM_TITLE "part.bar.item.title"
67 #define PART_BAR_ITEM_TITLE_FOCUS "part.bar.item.title.focus"
68 #define PART_BAR_ITEM_BADGE "part.bar.item.badge"
69 #define PART_BAR_ITEM_BADGE_COUNT "part.bar.item.badge.count"
70 #define PART_BAR_ITEM_LOCK "part.bar.item.lock"
71 #define PART_BAR_ITEM_LOCK_FOCUS "part.bar.item.lock.focus"
72 #define PART_USER_BAR "part.user.bar"
73
74 #define SIG_SHOW_NAVIGATION "sig.show.navigation"
75 #define SIG_HIDE_NAVIGATION "sig.hide.navigation"
76 #define SIG_INITIAL_FOCUS "sig.initial.focus"
77 #define SIG_FOCUS "sig.focus"
78 #define SIG_FOCUS_TO_UP "sig.focus.to.up"
79 #define SIG_FOCUS_TO_DOWN "sig.focus.to.down"
80 #define SIG_FOCUS_TO_RIGHT "sig.focus.to.right"
81 #define SIG_FOCUS_TO_LEFT "sig.focus.to.left"
82 #define SIG_UNFOCUS "sig.unfocus"
83 #define SIG_UNFOCUS_TO_RIGHT "sig.unfocus.to.right"
84 #define SIG_UNFOCUS_TO_LEFT "sig.unfocus.to.left"
85 #define SIG_SHOW_RECENT "sig.show.recent"
86 #define SIG_HIDE_RECENT "sig.hide.recent"
87 #define SIG_HIDE_RECENT_DONE "sig.hide.recent.done"
88
89 #define TITLE_WIDTH "title.width"
90
91 #define STYLE_LABEL_TITLE "slide_home_title"
92 #define STYLE_LABEL_TITLE_FOCUS "slide_home_title_focus"
93 #define STYLE_INPUT "input.field"
94
95 #define COLOR_DEFAULT_R 0
96 #define COLOR_DEFAULT_G 119
97 #define COLOR_DEFAULT_B 246
98 #define COLOR_DEFAULT_A 255
99
100 #define IMAGE_BADGE IMAGEDIR"/badge_bg.png"
101 #define IMAGE_USER_ADD IMAGEDIR"/btn_user_add_nor.png"
102 #define IMAGE_USER_ADD_FOCUS IMAGEDIR"/btn_user_add_foc.png"
103 #define IMAGE_USER_DEFAULT IMAGEDIR"/ic_user_01_nor.png"
104 #define IMAGE_USER_DEFAULT_FOCUS IMAGEDIR"/ic_user_01_foc.png"
105 #endif /* __AIR_HOME_DEFS_H__ */