blob: f801b1af4c4c87248f43fea6a293f0c02bbcd57a (
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
|
/*
* 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 _SETTING_ACCESSIBILITY_H_
#define _SETTING_ACCESSIBILITY_H_
#include <Elementary.h>
#include <appcore-efl.h>
#include <app.h>
#include <vconf.h>
#include <vconf-keys.h>
#include <efl_extension.h>
#define VCONFKEY_SETAPPL_ACCESSIBILITY_TTS "db/setting/accessibility/tts"
#define SETTING_ACCESSIBILITY_PACKAGE_NAME "accessibility-setting-wearable"
#define EDJE_PATH TZ_SYS_RO_APP_D"/org.tizen.accessibility-setting-wearable/res/edje/accessibility-setting-wearable.edj"
#define access_gettext(s) dgettext(SETTING_ACCESSIBILITY_PACKAGE_NAME, s)
typedef enum {
SETTING_ACCESSIBILITY_MENU_TITLE,
SETTING_ACCESSIBILITY_MENU_VISION
} SettingAccessibilityMenu;
typedef enum {
SETTING_ACCESSIBILITY_VISION_TITLE,
SETTING_ACCESSIBILITY_VISION_SCREEN_READER,
} SettingAccessibilityVisionMenu;
typedef struct {
SettingAccessibilityMenu menu;
Elm_Object_Item *pObjItem;
} SettingAccessibilityMenuItemData;
typedef struct {
SettingAccessibilityVisionMenu menu;
Elm_Object_Item *pObjItem;
Evas_Object *pObj_check;
} SettingAccessibilityVisionItemData;
typedef struct {
Evas_Object *pObj_win_main;
Evas_Object *pObj_conform;
#ifdef FEATURE_SETTING_SUPPORT_ROTARY
Eext_Circle_Surface *pObj_circle_surface;
#endif
Evas_Object *pObj_layout_main;
Evas_Object *pObj_nf;
} SettingAccessibilityAppData;
Evas_Object* setting_accessibility_vision_create_view(void *data);
Evas_Object *setting_accessibility_menu_create_view(void *data);
#endif /* _SETTING_ACCESSIBILITY_H_ */
|