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
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
|
/*
* Copyright (c) 2014 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 __DEF_H__
#define __DEF_H__
#define WIN_WIDTH 1920
#define WIN_HEIGHT 1080
/*maincatalog.edc*/
#define MAIN_VIEW_PAGE "main_catalog_page"
#define MAIN_VIEW_PADDING_LEFT_TOP "padding_left_top"
#define MAIN_VIEW_BG "bg"
#define MAIN_VIEW_BG_IMAGE "bg_image"
#define MAIN_VIEW_PADDING_BG_SHADOW "padding_bg_shadow"
#define MAIN_VIEW_BG_SHADOW_IMAGE "bg_shadow_image"
#define MAIN_VIEW_PADDING_ICON "padding_icon"
#define MAIN_VIEW_ICON "icon"
#define MAIN_VIEW_PADDING_TEXT "padding_text"
#define MAIN_VIEW_TEXT "text"
#define MAIN_VIEW_PADDING_TOPCORNER "padding_topcorner"
#define MAIN_VIEW_ICON_SWALLOW "iconswallowpart"
#define MAIN_VIEW_PADDING_SUBITEM "padding_subitem"
#define MAIN_VIEW_SUBITEM_SWALLOW "subitemswallow"
#define MAIN_VIEW_LOAD "view_load"
#define MAIN_VIEW_ANIM_FINISH "view_anim_finish"
#define MAIN_VIEW_SOURCE "base"
/*sublist.edc*/
#define SUBLIST_VIEW_PAGE "sublistpage"
#define SUBLIST_VIEW_BG "sublistpage_bg"
/*bottomsublist.edc*/
#define BOTTOMSUBLIST_VIEW_PAGE "bottom_sublist_page"
#define BOTTOMSUBLIST_VIEW_PADDING_BG "padding_bg"
#define BOTTOMSUBLIST_VIEW_BG "bg"
#define BOTTOMSUBLIST_VIEW_BG_IMAGE "bg_image"
#define BOTTOMSUBLIST_VIEW_PADDING_TITLE "padding_title"
#define BOTTOMSUBLIST_VIEW_TITLE "title"
#define BOTTOMSUBLIST_VIEW_PADDING_BOX "padding_box"
#define BOTTOMSUBLIST_VIEW_BOX "box_sublist"
/*bottomslider.edc*/
#define BOTTOMSLIDER_VIEW_PAGE "bottomslider_view_page"
#define BOTTOMSLIDER_VIEW_PADDING_BG "padding_bg"
#define BOTTOMSLIDER_VIEW_BG "bg"
#define BOTTOMSLIDER_VIEW_BG_IMAGE "bg_image"
#define BOTTOMSLIDER_VIEW_PADDING_TITLE "padding_title"
#define BOTTOMSLIDER_VIEW_TITLE "title"
#define BOTTOMSLIDER_VIEW_PADDING_LEFT_TEXT "padding_left_text"
#define BOTTOMSLIDER_VIEW_LEFT_TEXT "left_text"
#define BOTTOMSLIDER_VIEW_PADDING_RIGHT_TEXT "padding_right_text"
#define BOTTOMSLIDER_VIEW_RIGHT_TEXT "right_text"
#define BOTTOMSLIDER_VIEW_PADDING_SLIDER "padding_slider"
#define BOTTOMSLIDER_VIEW_SLIDER_SWALLOW_PART "slider_part"
#define BOTTOMSLIDER_VIEW_PADDING_UP_ARROW "padding_up_arrow"
#define BOTTOMSLIDER_VIEW_UP_ARROW_ICON "up_arrow_icon"
#define BOTTOMSLIDER_VIEW_UP_BTN "up_btn"
#define BOTTOMSLIDER_VIEW_PADDING_DOWN_ARROW "padding_down_arrow"
#define BOTTOMSLIDER_VIEW_DOWN_ARROW_ICON "down_arrow_icon"
#define BOTTOMSLIDER_VIEW_DOWN_BTN "down_btn"
/*tv_speaker.edc*/
#define TV_SPEAKER_VIEW_PAGE "tvspeaker_view_page"
#define PART_TVSPEAKER_TITLE "speaker_title"
#define PART_TVSPEAKER_CONTENT "tv_speaker_content"
#define PART_BTN_SELECT "btn_select"
#define PART_BTN_CANCEL "btn_cancel"
#define SPEAKER_RADIO_ON IMAGEDIR"/radiobtn_on_foc.png"
#define SPEAKER_RADIO_OFF IMAGEDIR"/radiobtn_br_off_nor.png"
/*device_manager.edc*/
#define DEVICE_MGR_VIEW_GRP "device_mgr_view"
#define PART_DEVICE_MGR_TITLE "device_mgr_title"
#define PART_DEVICE_MGR_SUBTITLE "device_mgr_subtitle"
#define PART_DEVICE_MGR_CONTENT "device_mgr_content"
#define PART_DEVICE_MGR_NO_AIR_CASTING "device_mgr_no_air_cast"
#define PART_BTN_DELETE "btn_delete"
#define PART_BTN_REFRESH "btn_refresh"
#define PART_BTN_CLOSE "btn_close"
#define TEXT_DELETE_BTN "Delete"
#define TEXT_REFRESH_BTN "Refresh"
#define TEXT_CLOSE_BTN "Close"
#define CHECK_FOC IMAGEDIR"/checkbox_check_foc.png"
#define CHECK_NOR IMAGEDIR"/checkbox_check_nor.png"
#define UNCHECK_FOC IMAGEDIR"/checkbox_uncheck_foc.png"
#define UNCHECK_NOR IMAGEDIR"/checkbox_uncheck_nor.png"
/*resetpopup*/
#define RESETPOPUP_VIEW "resetpopup_view"
#define RESETPOPUP_TITLE "confirm"
#define RESETPOPUP_TEXT "show_text"
#define RESETPOPUP_OK_BTN_SWALLOW "ok_button"
#define RESETPOPUP_CANCEL_BTN_SWALLOW "cancel_button"
/*button.edc*/
#define MAINICONBTN "elm/button/base/mainiconbtn"
#define MAINICONBTN_STYLE "mainiconbtn"
#define MAINICONBTN_BG "bg"
#define MAINICONBTN_HIGHLIGHT "btn_highlight"
#define MAINICONBTN_PADDING_ICON "padding_icon"
#define MAINICONBTN_ICON_SWALLOW "iconpart"
#define MAINICONBTN_PADDING_TEXT "padding_text"
#define MAINICONBTN_TEXT "elm.text"
#define MAINICONBTN_FOCUSED_ON_SUBITEM "focused_on_subitem"
#define MAINICONBTN_MAIN_ITEM_SOURCE "main_item_btn"
#define SUBITEMBTN "elm/button/base/subitembtn"
#define SUBITEMBTN_STYLE "subitembtn"
#define SUBITEMBTN_BG "bg"
#define SUBITEMBTN_PADDING_LINE "padding_line"
#define SUBITEMBTN_LINE "line"
#define SUBITEMBTN_PADDING_TEXT "padding_text"
#define SUBITEMBTN_TEXT "elm.text"
#define SUBITEMBTN_VALUE "value"
#define SUBITEMBTN_G_VALUE "g_value"
#define SUBITEMBTN_TITLE_ICON "subbtn_item_title_icon"
#define SUBITEMBTN_TITLE_SLIDER_VALUE "subbtn_item_title_slider_value"
#define SUBITEMBTN_SLIDER_VALUE "slider_value"
#define SUBITEMBTN_SLIDER_SWALLOW "slider_swallow"
#define SUBITEMBTN_BUTTON_CLICKED "button_clicked"
#define SUBITEMBTN_BUTTON_SOURCE "src_prog"
#define CTXPOPUPBTN "elm/button/base/popupbutton"
#define CTXPOPUPBTN_STYLE "popupbutton"
#define CTXPOPUPBTN_BG "bg"
#define CTXPOPUPBTN_PADDING_ICON "padding_icon"
#define CTXPOPUPBTN_ICON "icon_bg"
#define CTXPOPUPBTN_PADDING_LINE "padding_line"
#define CTXPOPUPBTN_LINE "line"
#define CTXPOPUPBTN_CONTENT_SWALLOW "elm.swallow.content"
#define CTXPOPUPBTN_PADDING_TEXT "padding_text"
#define CTXPOPUPBTN_TEXT "elm.text"
#define CTXPOPUPBTN_BUTTON_SOURCE "sublist_item_btn"
#define CTXPOPUPBTN_ICON_SOURCE "sublist_item_icon"
#define CTXPOPUPBTN_BUTTON_FOCUSED "selected_item_focused"
#define CTXPOPUPBTN_BUTTON_UNFOCUSED "selected_item_unfocused"
#define CTXPOPUPBTN_BUTTON_HIGHLIGHT "selected_item_highlight"
#define CTXPOPUPBTN_ICON_FOCUSED "selected_icon_focused"
#define SLIDER_ARROW_BTN "elm/button/base/slider_arrow_btn"
#define SLIDER_ARROW_BTN_STYLE "slider_arrow_btn"
#define SLIDER_ARROW_BTN_BG "bg"
#define RESETPOPUPBTN_OK "elm/button/base/ok_btn"
#define RESETPOPUPBTN_OK_STYLE "ok_btn"
#define RESETPOPUPBTN_CANCEL "elm/button/base/cancel_btn"
#define RESETPOPUPBTN_CANCEL_STYLE "cancel_btn"
#define PWD_BASIC_BTN "basic_btn"
#define PWD_INPUT_BTN "input_passcode_btn"
/* progressbar.edc */
#define SUBITEMBTN_TITILE_SLIDER "subitembtnprogress"
#define SUBITEMBTN_TITLE_VALUE_SLIDER_VALUE "subitembtn_value_progress_value"
#define SIG_UNCTRL_PB_FOCUSED "uncontrollable,progressbar,focused"
#define SIG_UNCTRL_PB_UNFOCUSED "uncontrollable,progressbar,unfocused"
#define SRC_PB_PROG "progressbar,source,program"
/*focus.edc*/
#define DEFAULT_FOCUS_INVISIBLE "invisible"
/*ctxpopup.edc*/
#define SUBLIST_CTXPOPUP1 "elm/ctxpopup/base/subliststyle1"
#define SUBLIST_CTXPOPUP_STYLE1 "subliststyle1"
#define SUBLIST_CTXPOPUP1_CLIPPER "clipper"
#define SUBLIST_CTXPOPUP1_SWALLOW_CONTENT "elm.swallow.content"
#define SUBLIST_CTXPOPUP2 "elm/ctxpopup/base/subliststyle2"
#define SUBLIST_CTXPOPUP_STYLE2 "subliststyle2"
#define SUBLIST_CTXPOPUP2_CLIPPER "clipper"
#define SUBLIST_CTXPOPUP2_TOP_PADDING "toppadding"
#define SUBLIST_CTXPOPUP2_SWALLOW_CONTENT "elm.swallow.content"
#define SUBLIST_CTXPOPUP2_PADDING_UPARROW "padding_uparrow"
#define SUBLIST_CTXPOPUP2_UPARROW "uparrow"
#define SUBLIST_CTXPOPUP2_PADDING_DOWNARROW "padding_downarrow"
#define SUBLIST_CTXPOPUP2_DOWNARROW "downarrow"
#define SUBLIST_SHOW_DOWN_ARROW "showdownarrow"
#define SUBLIST_SHOW_UP_ARROW "showuparrow"
#define SUBLIST_SHOW_BOTH_ARROW "showbotharrow"
#define SUBLIST_HIDE_BOTH_ARROW "hidebotharrow"
#define RESETPOPUP_CTXPOPUP "elm/ctxpopup/base/resetpopup_layout"
#define RESETPOPUP_CTXPOPUP_STYLE "resetpopup_layout"
#define CHANGE_PWD_CTXPOPUP_STYLE "change_passcode_ctxpopup"
/*slider.edc*/
#define BOTTOM_SLIDER "elm/slider/horizontal/bottom_slider"
#define BOTTOM_SLIDER_STYLE "bottom_slider"
#define BOTTOM_SLIDER_BACKGROUND "background"
#define BOTTOM_SLIDER_PAD_LEFT "pad.left"
#define BOTTOM_SLIDER_PAD_RIGHT "pad.right"
#define BOTTOM_SLIDER_BG "bg"
#define BOTTOM_SLIDER_BASE "base"
#define BOTTOM_SLIDER_GLOW "glow"
#define BOTTOM_SLIDER_DRAGABLE_SLIDER "elm.dragable.slider"
#define BOTTOM_SLIDER_BUTTON "button"
#define BOTTOM_SLIDER_SWALLOW_BAR "elm.swallow.bar"
#define BOTTOM_SLIDER_TRACK_SLIDER "elm.track.slider"
#define BOTTOM_SLIDER_PADDING_TEXT "padding_textpart"
#define BOTTOM_SLIDER_BALLON_BOX "ballonbox"
#define BOTTOM_SLIDER_TEXT_SWALLOW_PART "textpart"
#define BOTTOM_SLIDER_BALLON_ARROW "ballonarrow"
#define BOTTOM_SLIDER_INDICATOR "elm/slider/horizontal/indicator/default"
#define BOTTOM_SLIDER_KNOB "knob"
/*label.edc*/
#define SLIDER_LABEL "elm/label/base/slidervalue"
#define SLIDER_LABEL_STYLE "slidervalue"
#define SLIDER_LABEL_TEXT "elm.text"
/*scroller.edc*/
#define SUBLIST_SCROLLER_STYLE "sublist_scroller"
/* org.tizen.settings-tv-ref.edc */
#define UG_GROUP "ug_group"
#define UG_RETURN_BASE_SWALLOW "ug_return_base_swallow"
#define UG_TITLE_TEXT "ug_title_text"
/* String definition for main catalog edc, such as picture.edc...... */
#define MAIN_BTN_GRP "main"
#define MAIN_BTN "main_btn"
#define MAIN_BTN_NORMAL "main_btn_normal"
#define MAIN_BTN_FOCUSED "main_btn_focused"
#define MAIN_BTN_UNFOCUSED "main_btn_unfocused"
#define MAIN_BTN_HIGHLIGHT "main_btn_highlight"
/* change_passcode.edc */
#define GRP_PWD_BG "change_passcode_bg"
#define GRP_PWD_VIEW "change_passcode_view"
#define GRP_PWD_ENTRY "pwd_entry_grp"
#define PART_TITLE "title"
#define PART_UPTEXT "up_text"
#define PART_DOWNTEXT "down_text"
#define SWALLOW_CANCEL_BTN "cancel_btn_swallow"
#define SWALLOW_CONTENT_AREA "service_content_area_swallow"
#define SWALLOW_ENTRY "entry_swallow"
#define STYLE_PWD_ENTRY "password"
#define STYLE_ENTRY_TEXT \
"DEFAULT='font=Tizen Sans:style=Regular \
font_size=30 align=center color=#000f'"
/* text style */
#define TEXT_STYLE_REGULAR "Tizen Sans:style=Regular"
#define TEXT_STYLE_MEDIUM "Tizen Sans:style=Medium"
#define TEXT_STYLE_BOLD "Tizen Sans:style=Bold"
/* Key defines */
#define KEY_UP "Up"
#define KEY_DOWN "Down"
#define KEY_LEFT "Left"
#define KEY_RIGHT "Right"
#define KEY_ENTER "Return"
#define KEY_EXIT "XF86Close"
#define KEY_0 "0"
#define KEY_1 "1"
#define KEY_2 "2"
#define KEY_3 "3"
#define KEY_4 "4"
#define KEY_5 "5"
#define KEY_6 "6"
#define KEY_7 "7"
#define KEY_8 "8"
#define KEY_9 "9"
#endif /* __DEF_H__ */
|