mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-20 01:38:12 +00:00
Add action_cancel to callbacks
This commit is contained in:
parent
8ae9f9daf3
commit
82025586fe
@ -27,6 +27,8 @@ typedef struct menu_file_list_cbs
|
||||
*path, const char *label, unsigned type);
|
||||
int (*action_ok)(const char *path, const char *label, unsigned type,
|
||||
size_t idx);
|
||||
int (*action_cancel)(const char *path, const char *label, unsigned type,
|
||||
size_t idx);
|
||||
int (*action_start)(unsigned type, const char *label, unsigned action);
|
||||
int (*action_content_list_switch)(void *data, void *userdata, const char
|
||||
*path, const char *label, unsigned type);
|
||||
|
@ -85,6 +85,7 @@ enum setting_list_flags
|
||||
typedef void (*change_handler_t )(void *data);
|
||||
typedef int (*action_toggle_handler_t )(void *data, unsigned action);
|
||||
typedef int (*action_start_handler_t )(void *data);
|
||||
typedef int (*action_cancel_handler_t )(void *data, unsigned action);
|
||||
typedef int (*action_ok_handler_t )(void *data, unsigned action);
|
||||
typedef void (*get_string_representation_t )(void *data, char *buf, size_t sizeof_buf);
|
||||
|
||||
@ -124,6 +125,7 @@ typedef struct rarch_setting
|
||||
change_handler_t read_handler;
|
||||
action_start_handler_t action_start;
|
||||
action_toggle_handler_t action_toggle;
|
||||
action_cancel_handler_t action_cancel;
|
||||
action_ok_handler_t action_ok;
|
||||
get_string_representation_t get_string_representation;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user