My Project
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
virtual_keyboard.h
Go to the documentation of this file.
1 /*
2  * OpenVirtualization:
3  * For additional details and support contact developer@sierraware.com.
4  * Additional documentation can be found at www.openvirtualization.org
5  *
6  * Copyright (C) 2010-2014 SierraWare
7  *
8  * This library is free software; you can redistribute it and/or
9  * modify it under the terms of the GNU General Public License
10  * as published by the Free Software Foundation; either version 2
11  * of the License, or (at your option) any later version.
12  *
13  * This program is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16  * GNU General Public License for more details.
17  *
18  * You should have received a copy of the GNU General Public License
19  * along with this program; if not, write to the Free Software
20  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
21  *
22  */
23 /*
24  * Header for virtual keyboard implementation
25  */
26 
27 #ifndef __KEYS_H_
28 #define __KEYS_H_
29 
30 #include <sw_types.h>
31 
32 /*
33 #define DEBUG_VK 1
34 */
35 
43 int virtual_keyboard(s32int vk_active);
44 
50 int vk_app(void);
51 
59 void draw_key(s32int x, s32int y, s32int key);
60 
69 void calc_bmp_array(s32int width, s32int height, char* data, char* str);
70 
81 void calc_bmp_array_on_given_coord(s32int x, s32int y, s32int width,
82  s32int height, char* data, char* str);
83 
93 void custom_bmp(s32int x, s32int y, s32int width,
94  s32int height, u32 *bmp_array);
95 #endif
void calc_bmp_array(s32int width, s32int height, char *data, char *str)
calculates the bitmap array based on the data pointer and draws the bitmap for the given width and he...
Definition: custom_bmp.c:40
void draw_key(s32int x, s32int y, s32int key)
u8 * data
Definition: fat32.c:40
u32 y
Definition: touch_manager.h:40
int virtual_keyboard(s32int vk_active)
void custom_bmp(s32int x, s32int y, s32int width, s32int height, u32 *bmp_array)
customize the bitmap based on the orientation and set pixel for the window
Definition: custom_bmp.c:98
s32int vk_active
Definition: virtual_keyboard.c:42
u32 x
Definition: touch_manager.h:39
int vk_app(void)
Initialize window Set orientation and draw the bitmap of other fields such as creditcard amount passc...
Definition: virtual_keyboard_app.c:89
void calc_bmp_array_on_given_coord(s32int x, s32int y, s32int width, s32int height, char *data, char *str)
calculates the bitmap array based on the data pointer and draws the bitmap for the given width and he...
Definition: custom_bmp.c:69