RetroArch
menu_input_dialog.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_INPUT_DIALOG_H
18 #define _MENU_INPUT_DIALOG_H
19 
20 #include <stdint.h>
21 #include <stdlib.h>
22 
23 #include <boolean.h>
24 
25 #include <retro_common_api.h>
26 
27 #include "../../input/input_driver.h"
28 
30 
31 typedef struct menu_input_ctx_line
32 {
33  const char *label;
34  const char *label_setting;
35  unsigned type;
36  unsigned idx;
39 
41 
42 const char *menu_input_dialog_get_label_buffer(void);
43 
44 const char *menu_input_dialog_get_buffer(void);
45 
46 unsigned menu_input_dialog_get_kb_type(void);
47 
48 unsigned menu_input_dialog_get_kb_idx(void);
49 
51 
52 void menu_input_dialog_hide_kb(void);
53 
55 
57 
59 
60 void menu_input_dialog_end(void);
61 
63 
64 #endif
unsigned idx
Definition: menu_input_dialog.h:36
const char * label
Definition: menu_input_dialog.h:33
const char * menu_input_dialog_get_buffer(void)
Definition: menu_input_dialog.c:70
#define RETRO_BEGIN_DECLS
Definition: retro_common_api.h:41
unsigned type
Definition: menu_input_dialog.h:35
bool menu_input_dialog_get_display_kb(void)
Definition: menu_input_dialog.c:87
RETRO_BEGIN_DECLS struct menu_input_ctx_line menu_input_ctx_line_t
const char * menu_input_dialog_get_label_buffer(void)
Definition: menu_input_dialog.c:48
void menu_input_dialog_end(void)
Definition: menu_input_dialog.c:58
bool menu_input_dialog_start(menu_input_ctx_line_t *line)
Definition: menu_input_dialog.c:122
#define RETRO_END_DECLS
Definition: retro_common_api.h:42
unsigned menu_input_dialog_get_kb_type(void)
Definition: menu_input_dialog.c:77
unsigned menu_input_dialog_get_kb_idx(void)
Definition: menu_input_dialog.c:82
bool menu_input_dialog_start_search(void)
Definition: menu_input_dialog.c:102
Definition: menu_input_dialog.h:31
input_keyboard_line_complete_t cb
Definition: menu_input_dialog.h:37
const char * label_setting
Definition: menu_input_dialog.h:34
const char * menu_input_dialog_get_label_setting_buffer(void)
Definition: menu_input_dialog.c:53
void menu_input_dialog_hide_kb(void)
Definition: menu_input_dialog.c:97
void(* input_keyboard_line_complete_t)(void *userdata, const char *line)
Definition: input_driver.h:662
void menu_input_dialog_display_kb(void)
Definition: menu_input_dialog.c:92