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