Move menu_action_t enum to menu_input.h

This commit is contained in:
twinaphex 2015-01-11 18:51:28 +01:00
parent 7168f99569
commit 1980fa065f
2 changed files with 19 additions and 19 deletions

View File

@ -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,

View File

@ -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);