Tizen 2.0 Release
[apps/home/settings.git] / setting-display / include / setting-display-main.h
1 /*
2  * setting
3  * Copyright (c) 2012 Samsung Electronics Co., Ltd.
4  *
5  * Licensed under the Flora License, Version 1.0 (the License);
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  *     http://floralicense.org/license/
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an AS IS BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  */
17 #ifndef __SETTING_DISPLAY_MAIN_H__
18 #define __SETTING_DISPLAY_MAIN_H__
19
20 #include <setting-display.h>
21
22 /** @todo need to i18n string registration */
23 #define LAUNCH_EFFECT_STR "IDS_ST_BODY_APP_OPENING_EFFECT"
24 #define LAUNCH_IMAGE_STR  "IDS_ST_BODY_APP_OPENING_IMAGE"
25 #define LAUNCH_BATTERY_STR  "IDS_ST_BODY_BATTERY_PERCENTAGE_ABB"
26
27 #define KeyStr_AdjustScreenTone "IDS_ST_MBODY_AUTO_ADJUST_SCREEN_TONE"
28 #define KeyStr_AdjustScreenTone_Dsc "IDS_ST_BODY_SAVE_POWER_BY_ADJUSTING_SCREEN_TONE_ACCORDING_TO_ANALYSIS_OF_IMAGES"
29
30 #define LAUNCH_BATTERY_DESC  "IDS_ST_BODY_SHOWS_BATTERY_PERCENTAGE_ON_INDICATOR"
31
32 #define SETTING_DISPLAY_TIME_15_SEC_STR "IDS_ST_BODY_15SEC"
33 #define SETTING_DISPLAY_TIME_30_SEC_STR "IDS_ST_BODY_30SEC"
34 #define SETTING_DISPLAY_TIME_1_MIN_STR "IDS_COM_BODY_1_MINUTE"
35
36 #define SETTING_DISPLAY_TIME_2_MIN_STR "IDS_ST_BODY_2_MINUTES"
37 #define SETTING_DISPLAY_TIME_5_MIN_STR "IDS_ST_BODY_5_MINUTES"
38 #define SETTING_DISPLAY_TIME_10_MIN_STR "IDS_ST_BODY_10_MINUTES"
39
40 static void setting_display_main_battery_chk_btn_cb(void *data,
41                                                     Evas_Object *obj,
42                                                     void *event_info);
43 static void setting_display_main_auto_adjust_chk_btn_cb(void *data, Evas_Object *obj, void *event_info);
44 static void setting_display_main_mouse_up_Gendial_list_cb(void *data,
45                                                           Evas_Object *obj,
46                                                           void *event_info);
47 static void setting_display_main_click_softkey_back_cb(void *data,
48                                                        Evas_Object *obj,
49                                                        void *event_info);
50 #if OPENING_EFFECT
51 static void setting_display_main_launch_effect_chk_btn_cb(void *data,
52                                                           Evas_Object *obj,
53                                                           void *event_info);
54 #endif
55 #ifdef UNUSED_VCONFKEY
56 static void setting_display_main_launch_image_chk_btn_cb(void *data,
57                                                          Evas_Object *obj,
58                                                          void *event_info);
59 #endif
60 #if OPENING_EFFECT
61 static Ecore_X_Window setting_display_main_effect_get_root(Evas_Object *
62                                                            win_main);
63
64 static void setting_display_main_effect_set_value(void *data);
65 #endif
66
67 #endif                          /* __SETTING_DISPLAY_MAIN_H__ */