mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-16 15:27:41 +00:00
Move menu_action_t enum to menu_input.h
This commit is contained in:
parent
7168f99569
commit
1980fa065f
19
menu/menu.h
19
menu/menu.h
@ -94,25 +94,6 @@ typedef enum
|
||||
MENU_FILE_TYPE_T_LAST,
|
||||
} menu_file_type_t;
|
||||
|
||||
typedef enum
|
||||
{
|
||||
MENU_ACTION_UP,
|
||||
MENU_ACTION_DOWN,
|
||||
MENU_ACTION_LEFT,
|
||||
MENU_ACTION_RIGHT,
|
||||
MENU_ACTION_OK,
|
||||
MENU_ACTION_Y,
|
||||
MENU_ACTION_CANCEL,
|
||||
MENU_ACTION_REFRESH,
|
||||
MENU_ACTION_SELECT,
|
||||
MENU_ACTION_START,
|
||||
MENU_ACTION_MESSAGE,
|
||||
MENU_ACTION_SCROLL_DOWN,
|
||||
MENU_ACTION_SCROLL_UP,
|
||||
MENU_ACTION_TOGGLE,
|
||||
MENU_ACTION_NOOP
|
||||
} menu_action_t;
|
||||
|
||||
typedef enum
|
||||
{
|
||||
MENU_SETTINGS_VIDEO_RESOLUTION = MENU_FILE_TYPE_T_LAST + 1,
|
||||
|
@ -24,6 +24,25 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
typedef enum
|
||||
{
|
||||
MENU_ACTION_UP,
|
||||
MENU_ACTION_DOWN,
|
||||
MENU_ACTION_LEFT,
|
||||
MENU_ACTION_RIGHT,
|
||||
MENU_ACTION_OK,
|
||||
MENU_ACTION_Y,
|
||||
MENU_ACTION_CANCEL,
|
||||
MENU_ACTION_REFRESH,
|
||||
MENU_ACTION_SELECT,
|
||||
MENU_ACTION_START,
|
||||
MENU_ACTION_MESSAGE,
|
||||
MENU_ACTION_SCROLL_DOWN,
|
||||
MENU_ACTION_SCROLL_UP,
|
||||
MENU_ACTION_TOGGLE,
|
||||
MENU_ACTION_NOOP
|
||||
} menu_action_t;
|
||||
|
||||
void menu_input_key_event(bool down, unsigned keycode, uint32_t character,
|
||||
uint16_t key_modifiers);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user