Make TIZEN 2.0
[apps/home/call.git] / ui / src / include / vcui-view-keypad.h
1 /*
2  * Copyright 2012  Samsung Electronics Co., Ltd
3  *
4  * Licensed under the Flora License, Version 1.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.tizenopensource.org/license
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
18 #ifndef _VCUI_VIEW_KEYPAD_H_
19 #define _VCUI_VIEW_KEYPAD_H_
20
21 #ifndef STRLEN
22 #define STRLEN(str)     (((str) == NULL) ? 0 : strlen(str))
23 #endif
24
25 #define CURSOR_BEGIN    -1
26 #define CURSOR_END              -2
27
28 #define MAX_DIAL_NUMBER_FONT_SIZE               70
29 #define KEYPAD_STR_DEFINE_OPEN_SIZE             73
30 #define KEYPAD_STR_DEFINE_CLOSE_SIZE    43
31 #define KEYPAD_ENTRY_DISP_DATA_SIZE             1024
32 #define KEYPAD_ENTRY_SET_DATA_SIZE      (KEYPAD_STR_DEFINE_OPEN_SIZE + KEYPAD_STR_DEFINE_CLOSE_SIZE + KEYPAD_ENTRY_DISP_DATA_SIZE)
33
34
35 void _vcui_keypad_create_layout(void *data, Evas_Object *parent_ly);
36 Eina_Bool _vcui_keypad_get_show_status(void);
37 void _vcui_keypad_set_show_status(Eina_Bool bkeypad_status);
38 void _vcui_keypad_show_hide_effect(void *data, Evas_Object *parent_ly);
39 void _vcui_keypad_delete_layout(Evas_Object *parent_ly);
40 void _vcui_keypad_show_layout(void *data);
41
42 #endif