RetroArch
Macros | Functions
menu_cbs_sublabel.c File Reference
#include <compat/strl.h>
#include "../../audio/audio_driver.h"
#include "../menu_driver.h"
#include "../menu_cbs.h"
#include "../../verbosity.h"
#include <string.h>
#include <string/stdstring.h>
#include "../../retroarch.h"
#include "../../content.h"
#include "../../dynamic.h"
#include "../../configuration.h"
#include "../../managers/cheat_manager.h"
#include "../input/input_driver.h"
#include "../tasks/tasks_internal.h"
Include dependency graph for menu_cbs_sublabel.c:

Macros

#define BIND_ACTION_SUBLABEL(cbs, name)
 
#define default_sublabel_macro(func_name, lbl)
 

Functions

 default_sublabel_macro (menu_action_sublabel_setting_audio_mixer_add_to_mixer_and_play, MENU_ENUM_SUBLABEL_ADD_TO_MIXER_AND_PLAY)
 
static int action_bind_sublabel_cheevos_entry (file_list_t *list, unsigned type, unsigned i, const char *label, const char *path, char *s, size_t len)
 
static int action_bind_sublabel_subsystem_add (file_list_t *list, unsigned type, unsigned i, const char *label, const char *path, char *s, size_t len)
 
static int action_bind_sublabel_remap_kbd_sublabel (file_list_t *list, unsigned type, unsigned i, const char *label, const char *path, char *s, size_t len)
 
static int action_bind_sublabel_audio_mixer_stream (file_list_t *list, unsigned type, unsigned i, const char *label, const char *path, char *s, size_t len)
 
static int action_bind_sublabel_remap_sublabel (file_list_t *list, unsigned type, unsigned i, const char *label, const char *path, char *s, size_t len)
 
static int action_bind_sublabel_cheat_desc (file_list_t *list, unsigned type, unsigned i, const char *label, const char *path, char *s, size_t len)
 
static int action_bind_sublabel_generic (file_list_t *list, unsigned type, unsigned i, const char *label, const char *path, char *s, size_t len)
 
int menu_cbs_init_bind_sublabel (menu_file_list_cbs_t *cbs, const char *path, const char *label, unsigned type, size_t idx)
 

Macro Definition Documentation

◆ BIND_ACTION_SUBLABEL

#define BIND_ACTION_SUBLABEL (   cbs,
  name 
)
Value:
cbs->action_sublabel = name; \
cbs->action_sublabel_ident = #name;
GLuint const GLchar * name
Definition: glext.h:6671

◆ default_sublabel_macro

#define default_sublabel_macro (   func_name,
  lbl 
)
Value:
static int (func_name)(file_list_t *list, unsigned type, unsigned i, const char *label, const char *path, char *s, size_t len) \
{ \
strlcpy(s, msg_hash_to_str(lbl), len); \
return 0; \
}
GLsizei const GLchar ** path
Definition: glext.h:7901
GLenum GLsizei len
Definition: glext.h:7389
GLdouble s
Definition: glext.h:6390
GLuint GLsizei const GLchar * label
Definition: glext.h:8583
GLenum type
Definition: glext.h:6233
msg_hash_to_str(MSG_INPUT_ENABLE_SETTINGS_PASSWORD)
Definition: file_list.h:47

Function Documentation

◆ action_bind_sublabel_audio_mixer_stream()

static int action_bind_sublabel_audio_mixer_stream ( file_list_t list,
unsigned  type,
unsigned  i,
const char *  label,
const char *  path,
char *  s,
size_t  len 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ action_bind_sublabel_cheat_desc()

static int action_bind_sublabel_cheat_desc ( file_list_t list,
unsigned  type,
unsigned  i,
const char *  label,
const char *  path,
char *  s,
size_t  len 
)
static
Here is the caller graph for this function:

◆ action_bind_sublabel_cheevos_entry()

static int action_bind_sublabel_cheevos_entry ( file_list_t list,
unsigned  type,
unsigned  i,
const char *  label,
const char *  path,
char *  s,
size_t  len 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ action_bind_sublabel_generic()

static int action_bind_sublabel_generic ( file_list_t list,
unsigned  type,
unsigned  i,
const char *  label,
const char *  path,
char *  s,
size_t  len 
)
static
Here is the caller graph for this function:

◆ action_bind_sublabel_remap_kbd_sublabel()

static int action_bind_sublabel_remap_kbd_sublabel ( file_list_t list,
unsigned  type,
unsigned  i,
const char *  label,
const char *  path,
char *  s,
size_t  len 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ action_bind_sublabel_remap_sublabel()

static int action_bind_sublabel_remap_sublabel ( file_list_t list,
unsigned  type,
unsigned  i,
const char *  label,
const char *  path,
char *  s,
size_t  len 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ action_bind_sublabel_subsystem_add()

static int action_bind_sublabel_subsystem_add ( file_list_t list,
unsigned  type,
unsigned  i,
const char *  label,
const char *  path,
char *  s,
size_t  len 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ default_sublabel_macro()

default_sublabel_macro ( menu_action_sublabel_setting_audio_mixer_add_to_mixer_and_play  ,
MENU_ENUM_SUBLABEL_ADD_TO_MIXER_AND_PLAY   
)
Here is the call graph for this function:

◆ menu_cbs_init_bind_sublabel()

int menu_cbs_init_bind_sublabel ( menu_file_list_cbs_t cbs,
const char *  path,
const char *  label,
unsigned  type,
size_t  idx 
)
Here is the call graph for this function:
Here is the caller graph for this function: