summaryrefslogtreecommitdiff
path: root/include/defs.h
blob: f4233244b27769fde59ab1e95c4da26a68a265d9 (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
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
/*
 * 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_HOME_DEFS_H__
#define __AIR_HOME_DEFS_H__

#define VIEW_HOME "VIEW_HOME"
#define VIEW_RECENT "VIEW_RECENT"
#define VIEW_USER "VIEW_USER"
#define VIEW_USER_EDIT "VIEW_USER_EDIT"
#define VIEW_PHOTO "VIEW_PHOTO"

#define SRC_PROG "prog"
#define SRC_EDJE "edje"
#define ICON_ADD "add"

#define GRP_HOME "group.home"
#define GRP_HOME_UP_ARROW "group.home.up.arrow"
#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 "group.recent.delete"
#define GRP_RECENT_ICON "group.recent.icon"
#define GRP_RECENT_PREVIEW "group.recent.preview"
#define GRP_USER "group.user"
#define GRP_USER_ITEM "group.user.item"
#define GRP_USER_EDIT "group.user.edit"
#define GRP_USER_EDIT_CONTENTS "group.user.edit.contents"
#define GRP_USER_EDIT_SWITCH "group.user.edit.switch"
#define GRP_USER_EDIT_PHOTO "group.user.edit.photo"
#define GRP_USER_EDIT_ENTRY "group.user.edit.entry"
#define GRP_USER_EDIT_DELETE "group.user.edit.delete"
#define GRP_USER_EDIT_ICON_LIST "group.user.edit.icon.list"
#define GRP_USER_EDIT_ICON_LIST_ITEM "group.user.edit.icon.list.item"
#define GRP_BAR_ITEM "group.bar.item"
#define GRP_PHOTO "group.photo"
#define GRP_PHOTO_VIEWER "group.photo.viewer"
#define GRP_PHOTO_NO_CONTENT "group.photo.no.content"

#define PART_HOME_MENU_BAR "part.home.menu.bar"
#define PART_HOME_UP_ARROW "part.home.up.arrow"
#define PART_HOME_DOWN_ARROW "part.home.down.arrow"
#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 PART_RECENT_TITLE "part.recent.title"
#define PART_RECENT_SUBTITLE "part.recent.subtitle"
#define PART_RECENT_THUMBNAIL "part.recent.thumbnail"
#define PART_RECENT_ICON "part.recent.icon"
#define PART_RECENT_FAVORITE "part.recent.favorite"
#define PART_RECENT_DELETE "part.recent.delete"
#define PART_RECENT_DELETE_FOCUS "part.recent.delete.focus"
#define PART_USER_EDIT_TITLE "part.user.edit.title"
#define PART_USER_EDIT_BTN_DONE "part.user.edit.btn.done"
#define PART_USER_EDIT_BTN_CANCEL "part.user.edit.btn.cancel"
#define PART_USER_EDIT_CONTENTS "part.user.edit.contents"
#define PART_USER_EDIT_CONTENTS_PHOTO "part.user.edit.contents.photo"
#define PART_USER_EDIT_CONTENTS_NAME "part.user.edit.contents.name"
#define PART_USER_EDIT_CONTENTS_PIN "part.user.edit.contents.pin"
#define PART_USER_EDIT_CONTENTS_ACCOUNT "part.user.edit.contents.account"
#define PART_USER_EDIT_CONTENTS_LOCK "part.user.edit.contents.lock"
#define PART_USER_EDIT_CONTENTS_DELETE "part.user.edit.contents.delete"
#define PART_USER_EDIT_PHOTO "part.user.edit.photo"
#define PART_USER_EDIT_PHOTO_FOCUS "part.user.edit.photo.focus"
#define PART_USER_EDIT_ENTRY "part.user.edit.entry"
#define PART_USER_EDIT_ICON_LIST "part.user.edit.icon.list"
#define PART_USER_EDIT_ICON_LIST_ITEM "part.user.edit.icon.list.item"
#define PART_USER_EDIT_ICON_LIST_ITEM_FOCUS "part.user.edit.icon.list.item.focus"
#define PART_USER_EDIT_SWITCH "part.user.edit.switch"
#define PART_BAR_ITEM_BG "part.bar.item.bg"
#define PART_BAR_ITEM_ICON "part.bar.item.icon"
#define PART_BAR_ITEM_ICON_FOCUS "part.bar.item.icon.focus"
#define PART_BAR_ITEM_TITLE "part.bar.item.title"
#define PART_BAR_ITEM_TITLE_FOCUS "part.bar.item.title.focus"
#define PART_BAR_ITEM_BADGE "part.bar.item.badge"
#define PART_BAR_ITEM_BADGE_COUNT "part.bar.item.badge.count"
#define PART_BAR_ITEM_LOCK "part.bar.item.lock"
#define PART_BAR_ITEM_LOCK_FOCUS "part.bar.item.lock.focus"
#define PART_USER_BAR "part.user.bar"
#define PART_PHOTO_LIST "part.photo.list"
#define PART_PHOTO_VIEWER "part.photo.viewer"
#define PART_PHOTO_VIEWER_CANCEL "part.photo.viewer.cancel"
#define PART_PHOTO_VIEWER_DONE "part.photo.viewer.done"
#define PART_TITLE_TEXT "title,text"
#define PART_POPUP_BUTTON_1 "button1"
#define PART_POPUP_BUTTON_2 "button2"

#define SIG_SHOW_NAVIGATION "sig.show.navigation"
#define SIG_HIDE_NAVIGATION "sig.hide.navigation"
#define SIG_INITIAL_FOCUS "sig.initial.focus"
#define SIG_FOCUS "sig.focus"
#define SIG_FOCUS_TO_UP "sig.focus.to.up"
#define SIG_FOCUS_TO_DOWN "sig.focus.to.down"
#define SIG_FOCUS_TO_RIGHT "sig.focus.to.right"
#define SIG_FOCUS_TO_LEFT "sig.focus.to.left"
#define SIG_UNFOCUS "sig.unfocus"
#define SIG_UNFOCUS_TO_RIGHT "sig.unfocus.to.right"
#define SIG_UNFOCUS_TO_LEFT "sig.unfocus.to.left"
#define SIG_SHOW_RECENT "sig.show.recent"
#define SIG_HIDE_RECENT "sig.hide.recent"
#define SIG_HIDE_RECENT_DONE "sig.hide.recent.done"

#define TITLE_WIDTH "title.width"

#define STYLE_LABEL_TITLE "slide_home_title"
#define STYLE_LABEL_TITLE_FOCUS "slide_home_title_focus"
#define STYLE_LABEL_RECENT_TITLE "slide_recent_title"
#define STYLE_LABEL_RECENT_SUBTITLE "slide_recent_subtitle"
#define STYLE_INPUT "input.field"
#define STYLE_GENGRID_ITEM "gengrid_item"

#define COLOR_DEFAULT_R 0
#define COLOR_DEFAULT_G 119
#define COLOR_DEFAULT_B 246
#define COLOR_DEFAULT_A 255

#define IMAGE_SWITCH_ON IMAGEDIR"/btn_switch_on_nor.png"
#define IMAGE_SWITCH_OFF IMAGEDIR"/btn_switch_off_nor.png"
#define IMAGE_BADGE IMAGEDIR"/badge_bg.png"
#define IMAGE_USER_ADD IMAGEDIR"/btn_user_add_nor.png"
#define IMAGE_USER_ADD_FOCUS IMAGEDIR"/btn_user_add_foc.png"
#define IMAGE_USER_DEFAULT IMAGEDIR"/ic_user_01_nor.png"
#define IMAGE_USER_DEFAULT_FOCUS IMAGEDIR"/ic_user_01_foc.png"
#define IMAGE_USER_DEFAULT_02 IMAGEDIR"/ic_user_02_nor.png"
#define IMAGE_USER_DEFAULT_02_FOCUS IMAGEDIR"/ic_user_02_foc.png"
#define IMAGE_USER_DEFAULT_03 IMAGEDIR"/ic_user_03_nor.png"
#define IMAGE_USER_DEFAULT_03_FOCUS IMAGEDIR"/ic_user_03_foc.png"
#define IMAGE_USER_DEFAULT_04 IMAGEDIR"/ic_user_04_nor.png"
#define IMAGE_USER_DEFAULT_04_FOCUS IMAGEDIR"/ic_user_04_foc.png"
#define IMAGE_USER_DEFAULT_05 IMAGEDIR"/ic_user_05_nor.png"
#define IMAGE_USER_DEFAULT_05_FOCUS IMAGEDIR"/ic_user_05_foc.png"
#define IMAGE_USER_DEFAULT_06 IMAGEDIR"/ic_user_06_nor.png"
#define IMAGE_USER_DEFAULT_06_FOCUS IMAGEDIR"/ic_user_06_foc.png"
#define IMAGE_USER_DEFAULT_07 IMAGEDIR"/ic_user_07_nor.png"
#define IMAGE_USER_DEFAULT_07_FOCUS IMAGEDIR"/ic_user_07_foc.png"
#define IMAGE_USER_CURRENT_DEFAULT IMAGEDIR"/ic_user_profile_current_01_nor.png"
#define IMAGE_USER_CURRENT_DEFAULT_FOCUS IMAGEDIR"/ic_user_profile_current_01_foc.png"
#define IMAGE_USER_CURRENT_DEFAULT_02 IMAGEDIR"/ic_user_profile_current_02_nor.png"
#define IMAGE_USER_CURRENT_DEFAULT_02_FOCUS IMAGEDIR"/ic_user_profile_current_02_foc.png"
#define IMAGE_USER_CURRENT_DEFAULT_03 IMAGEDIR"/ic_user_profile_current_03_nor.png"
#define IMAGE_USER_CURRENT_DEFAULT_03_FOCUS IMAGEDIR"/ic_user_profile_current_03_foc.png"
#define IMAGE_USER_CURRENT_DEFAULT_04 IMAGEDIR"/ic_user_profile_current_04_nor.png"
#define IMAGE_USER_CURRENT_DEFAULT_04_FOCUS IMAGEDIR"/ic_user_profile_current_04_foc.png"
#define IMAGE_USER_CURRENT_DEFAULT_05 IMAGEDIR"/ic_user_profile_current_05_nor.png"
#define IMAGE_USER_CURRENT_DEFAULT_05_FOCUS IMAGEDIR"/ic_user_profile_current_05_foc.png"
#define IMAGE_USER_CURRENT_DEFAULT_06 IMAGEDIR"/ic_user_profile_current_06_nor.png"
#define IMAGE_USER_CURRENT_DEFAULT_06_FOCUS IMAGEDIR"/ic_user_profile_current_06_foc.png"
#define IMAGE_USER_CURRENT_DEFAULT_07 IMAGEDIR"/ic_user_profile_current_07_nor.png"
#define IMAGE_USER_CURRENT_DEFAULT_07_FOCUS IMAGEDIR"/ic_user_profile_current_07_foc.png"
#define IMAGE_RECENT_DELETE_NOR IMAGEDIR"/btn_bar_clearall_nor.png"
#define IMAGE_RECENT_DELETE_FOC IMAGEDIR"/btn_bar_clearall_foc.png"
#define IMAGE_RECENT_DELETE_DIS IMAGEDIR"/btn_bar_clearall_dis.png"
#define IMAGE_RECENT_APP IMAGEDIR"/ic_thumbnail_app.png"

#define MAX_ITEM_COUNT 8
#define MAX_USER_COUNT 9

#define MESSAGE_ADD_USER "Add user"
#define MESSAGE_EDIT_USER "Edit user"
#define MESSAGE_DELETE_USER "Delete user"
#define MESSAGE_DELETE "Delete"
#define MESSAGE_CANCEL "Cancel"
#define MESSAGE_OK "OK"
#define MESSAGE_DONE "Done"

#endif /* __AIR_HOME_DEFS_H__ */