Fixed definition of Virtual_Keyboard variable

This commit is contained in:
fabio.olimpieri 2014-01-11 07:35:16 +00:00
parent fc9ce22468
commit ac2eb0cf1c
2 changed files with 57 additions and 55 deletions

View File

@ -57,6 +57,7 @@ extern FILE *fdebug;
static SDL_Surface *image_kbd, *image_sym, *image_caps,*image_kbd_small, *image_sym_small, *image_caps_small, *tmp_surface ;
static int vkb_is_init;
static int key_code;
VirtualKeyboard_struct VirtualKeyboard;
extern struct computer ordenador;
void clean_screen();

View File

@ -35,14 +35,14 @@ typedef struct virtkey
} virtkey_t;
struct Virtual_Keyboard
typedef struct Virtual_Keyboard
{
SDL_Surface *screen;
int sel_x;
int sel_y;
char buf[255];
} VirtualKeyboard;
} VirtualKeyboard_struct;
void VirtualKeyboard_init(SDL_Surface *screen);
struct virtkey* get_key();
@ -53,3 +53,4 @@ void toggle_shift();
void virtkey_ir_run();
void virtkey_ir_activate(void);
void virtkey_ir_deactivate(void);
extern VirtualKeyboard_struct VirtualKeyboard;