2 * Copyright 2012 Samsung Electronics Co., Ltd
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
8 * http://www.tizenopensource.org/license
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.
18 #ifndef _VCUI_VIEW_KEYPAD_H_
19 #define _VCUI_VIEW_KEYPAD_H_
22 #define STRLEN(str) (((str) == NULL) ? 0 : strlen(str))
25 #define CURSOR_BEGIN -1
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)
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);