a91193ce8fa07ecae91ea88924637c3709ab6f9a
[profile/tv/apps/native/settings.git] / ug / system / clock / include / defs.h
1 /*
2  * Copyright (c) 2014 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 __UG_CLOCK_DEFINE_H__
18 #define __UG_CLOCK_DEFINE_H__
19
20 #define ON "ON"
21 #define OFF "OFF"
22 #define AM "AM"
23 #define PM "PM"
24
25 /* view */
26 #define CLOCK_MAIN_VIEW "CLOCK_MAIN_VIEW"
27 #define CLOCK_SUBLIST_VIEW "CLOCK_SUBLIST_VIEW"
28 #define CLOCK_SPINCONTROL_VIEW "CLOCK_SPINCONTROL_VIEW"
29 #define CLOCK_TIME_SPINCONTROL_VIEW "CLOCK_TIME_SPINCONTROL_VIEW"
30
31 /* definitions for ug_clock.edc */
32 /* UG_CLOCK_GRP */
33 #define UG_CLOCK_GRP "main"
34 /* SWALLOW of UG_CLOCK_GRP */
35 #define SWALLOW_CLOSE_BTN "close_btn_swallow"
36 #define SWALLOW_CLOCK_LIST "clock_list_swallow"
37 #define SWALLOW_CLOCK_LAST "clock_list_last_btn_swallow"
38 /* TEXT of UG_CLOCK_GRP */
39 #define TEXT_INTRO "intro_text"
40 /* strings */
41 #define STRINGS_INTRO "You can set date and time."
42
43 /* SPIN_CTRL_GRP */
44 #define SPIN_CTRL_GRP "spin_ctrl_grp"
45
46 /* SUBLIST_GRP */
47 #define SUBLIST_GRP "sublist_grp"
48 /* SWALLOW of SUBLIST_GRP */
49 #define SWALLOW_SUBLIST "sublist_swallow"
50
51 /* TIME_SPIN_CTRL_GRP */
52 #define TIME_SPIN_CTRL_GRP "time_spin_ctrl_grp"
53 /* SWALLOW of TIME_SPIN_CTRL_GRP */
54 #define SWALLOW_TIME_SPIN_1 "time_spin_1_swallow"
55 #define SWALLOW_TIME_SPIN_2 "time_spin_2_swallow"
56 /* SIGNAL of TIME_SPIN_CTRL_GRP */
57 #define SIGNAL_SOURCE_TIME_SPIN "time_spin_ctrl"
58 #define SIGNAL_NAME_TIME_SPIN_1 "time_spin_ctrl_1"
59 #define SIGNAL_NAME_TIME_SPIN_2 "time_spin_ctrl_2"
60
61 /* definitions for button.edc */
62 #define BTN_STYLE_CLOSE_BTN "close_btn"
63 #define BTN_STYLE_LIST_BTN "clock_sublist_btn"
64 #define BTN_STYE_LAST_BTN "clock_sublist_last_btn"
65 #define BTN_STYLE_SPIN_CTRL_BTN "spin_ctrl_btn"
66 #define BTN_STYLE_SPIN_CTRL_YEAR_BTN "spin_ctrl_year_btn"
67 #define BTN_STYLE_ARROW_BTN "spin_arrow_btn"
68 #define BTN_STYLE_TIME_SPIN_BTN "time_spin_ctrl_btn"
69 #define BTN_STYLE_SUBLIST_BTN "sublist_btn"
70
71 #define UP_ARROW_SWALLOW "up_btn_swallow"
72 #define DOWN_ARROW_SWALLOW "down_btn_swallow"
73
74 #define BTN_TEXT_CLOSE "Close"
75 #define BTN_TEXT_DATE "Date"
76 #define BTN_TEXT_24HOUR_TIME "24-hour time"
77 #define BTN_TEXT_TIME "Time"
78
79 #define BTN_PART_VALUE "value"
80
81 #define SIGNAL_SOURCE_BTN "source_btn"
82 #define SIGNAL_NAME_AFTER_CLICK "after_clicked"
83
84 #define SIG_SRC_FOC_SHOW_ICON "focus_show_icon"
85 #define SIG_SRC_UNFOC_HIDE_ICON "unfocus_hide_icon"
86 #define SIG_SRC_UNFOC_SHOW_ICON "unfocus_show_icon"
87 #define SIG_SRC_FOC_HIDE_ICON "focus_hide_icon"
88 #define SIG_NAME_SUBLIST "sublist"
89
90 #endif /* __UG_CLOCK_DEFINE_H__ */