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_
19 #define _VCUI_VIEW_KEYPAD_
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 Evas_Object *contents;
37 call_data_t *now_data;
41 char entry_disp_data[KEYPAD_ENTRY_DISP_DATA_SIZE+1];
42 } vcui_view_keypad_priv_t;
46 voice_call_view_data_t *_vcui_view_keypad_new(vcui_app_call_data_t *ad);