static int action_start_lookup_setting(unsigned type, const char *label,
      unsigned action)
{
   int ret = menu_setting_set(type, label, MENU_ACTION_START, false);

   return ret;
}
示例#2
0
int bind_right_generic(unsigned type, const char *label,
       bool wraparound)
{
   return menu_setting_set(type, label, MENU_ACTION_RIGHT, wraparound);
}
示例#3
0
static int bind_left_generic(unsigned type, const char *label,
      bool wraparound)
{
   return menu_setting_set(type, label, MENU_ACTION_LEFT, wraparound);
}
示例#4
0
static int action_start_lookup_setting(unsigned type, const char *label)
{
   return menu_setting_set(type, label, MENU_ACTION_START, false);
}
示例#5
0
static int action_ok_lookup_setting(const char *path,
      const char *label, unsigned type, size_t idx)
{
   return menu_setting_set(type, label, MENU_ACTION_OK, false);
}