mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-23 11:18:25 +00:00
Add menu_input_dialog_display_kb/menu_input_dialog_hide_kb
This commit is contained in:
parent
84160c092c
commit
bd565f79ec
@ -736,6 +736,24 @@ bool menu_input_ctl(enum menu_input_ctl_state state, void *data)
|
||||
return true;
|
||||
}
|
||||
|
||||
void menu_input_dialog_display_kb(void)
|
||||
{
|
||||
menu_input_t *menu_input = menu_input_get_ptr();
|
||||
|
||||
if (!menu_input)
|
||||
return;
|
||||
menu_input->keyboard.display = true;
|
||||
}
|
||||
|
||||
void menu_input_dialog_hide_kb(void)
|
||||
{
|
||||
menu_input_t *menu_input = menu_input_get_ptr();
|
||||
|
||||
if (!menu_input)
|
||||
return;
|
||||
menu_input->keyboard.display = false;
|
||||
}
|
||||
|
||||
bool menu_input_dialog_start_search(void)
|
||||
{
|
||||
menu_handle_t *menu = NULL;
|
||||
|
@ -113,6 +113,10 @@ typedef struct menu_input_ctx_line
|
||||
|
||||
bool menu_input_dialog_start_search(void);
|
||||
|
||||
void menu_input_dialog_hide_kb(void);
|
||||
|
||||
void menu_input_dialog_display_kb(void);
|
||||
|
||||
bool menu_input_dialog_start(menu_input_ctx_line_t *line);
|
||||
|
||||
void menu_input_dialog_end(void);
|
||||
@ -138,7 +142,6 @@ int16_t menu_input_mouse_state(enum menu_input_mouse_state state);
|
||||
|
||||
bool menu_input_mouse_check_vector_inside_hitbox(menu_input_ctx_hitbox_t *hitbox);
|
||||
|
||||
|
||||
bool menu_input_ctl(enum menu_input_ctl_state state, void *data);
|
||||
|
||||
RETRO_END_DECLS
|
||||
|
Loading…
Reference in New Issue
Block a user