RetroArch
menu_osk.h
Go to the documentation of this file.
1 /* RetroArch - A frontend for libretro.
2  * Copyright (C) 2010-2014 - Hans-Kristian Arntzen
3  * Copyright (C) 2011-2017 - Daniel De Matteis
4  *
5  * RetroArch is free software: you can redistribute it and/or modify it under the terms
6  * of the GNU General Public License as published by the Free Software Found-
7  * ation, either version 3 of the License, or (at your option) any later version.
8  *
9  * RetroArch is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
10  * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
11  * PURPOSE. See the GNU General Public License for more details.
12  *
13  * You should have received a copy of the GNU General Public License along with RetroArch.
14  * If not, see <http://www.gnu.org/licenses/>.
15  */
16 
17 #ifndef _MENU_WIDGETS_OSK_H
18 #define _MENU_WIDGETS_OSK_H
19 
20 #include <stdint.h>
21 #include <stdlib.h>
22 
23 #include <boolean.h>
24 
25 #include <retro_common_api.h>
26 
27 #ifdef HAVE_CONFIG_H
28 #include "../../config.h"
29 #endif
30 
31 #define OSK_CHARS_PER_LINE 11
32 
34 
36 {
41 #ifdef HAVE_LANGEXTRA
42  OSK_HIRAGANA_PAGE1,
43  OSK_HIRAGANA_PAGE2,
44  OSK_KATAKANA_PAGE1,
45  OSK_KATAKANA_PAGE2,
46 #endif
48 };
49 
51 
53 
54 int menu_event_get_osk_ptr(void);
55 
56 void menu_event_set_osk_ptr(int a);
57 
58 void menu_event_osk_append(int a);
59 
60 void menu_event_osk_iterate(void);
61 
62 char** menu_event_get_osk_grid(void);
63 
65 
66 #endif
#define RETRO_BEGIN_DECLS
Definition: retro_common_api.h:41
osk_type
Definition: menu_osk.h:35
void menu_event_set_osk_ptr(int a)
Definition: menu_osk.c:79
enum osk_type menu_event_get_osk_idx(void)
Definition: menu_osk.c:69
int menu_event_get_osk_ptr(void)
Definition: menu_osk.c:74
void menu_event_osk_iterate(void)
Definition: menu_osk.c:120
Definition: menu_osk.h:38
Definition: menu_osk.h:47
set set set set set set set macro pixldst1 abits if abits op else op endif endm macro pixldst2 abits if abits op else op endif endm macro pixldst4 abits if abits op else op endif endm macro pixldst0 idx
Definition: pixman-arm-neon-asm.h:96
#define RETRO_END_DECLS
Definition: retro_common_api.h:42
Definition: menu_osk.h:37
char ** menu_event_get_osk_grid(void)
Definition: menu_osk.c:151
void menu_event_set_osk_idx(enum osk_type idx)
Definition: menu_osk.c:64
Definition: menu_osk.h:39
void menu_event_osk_append(int a)
Definition: menu_osk.c:84
Definition: menu_osk.h:40
GLboolean GLboolean GLboolean GLboolean a
Definition: glext.h:6844