mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-24 08:30:16 +00:00
(Mouse/Touch) Core options - touching a core option or pressing
with the left mouse button on it will now show a dropdown list
This commit is contained in:
parent
8d54a56371
commit
9a4bdf5cea
@ -2910,7 +2910,7 @@ static int action_ok_audio_run(const char *path,
|
||||
#endif
|
||||
}
|
||||
|
||||
static int action_ok_core_option_dropdown_list(const char *path,
|
||||
int action_ok_core_option_dropdown_list(const char *path,
|
||||
const char *label, unsigned type, size_t idx, size_t entry_idx)
|
||||
{
|
||||
char core_option_lbl[256];
|
||||
|
@ -118,7 +118,7 @@ static int action_select_path_use_directory(const char *path,
|
||||
static int action_select_core_setting(const char *path, const char *label, unsigned type,
|
||||
size_t idx)
|
||||
{
|
||||
return core_setting_right(type, label, true);
|
||||
return action_ok_core_option_dropdown_list(path, label, type, idx, 0);
|
||||
}
|
||||
|
||||
static int shader_action_parameter_select(const char *path, const char *label, unsigned type,
|
||||
|
@ -265,6 +265,9 @@ int action_scan_file(const char *path,
|
||||
int bind_right_generic(unsigned type, const char *label,
|
||||
bool wraparound);
|
||||
|
||||
int action_ok_core_option_dropdown_list(const char *path,
|
||||
const char *label, unsigned type, size_t idx, size_t entry_idx);
|
||||
|
||||
/* This sets up all the callback functions for a menu entry.
|
||||
*
|
||||
* OK : When we press the 'OK' button on an entry.
|
||||
|
Loading…
Reference in New Issue
Block a user