RetroArch
Macros | Functions
menu_cbs_label.c File Reference
#include <compat/strl.h>
#include <file/file_path.h>
#include "../menu_driver.h"
#include "../menu_cbs.h"
#include "../../file_path_special.h"
#include "../managers/cheat_manager.h"
Include dependency graph for menu_cbs_label.c:

Macros

#define BIND_ACTION_LABEL(cbs, name)
 
#define fill_label_macro(func, lbl)
 

Functions

static int action_bind_label_generic (file_list_t *list, unsigned type, unsigned i, const char *label, const char *path, char *s, size_t len)
 
 fill_label_macro (action_bind_label_information, MENU_ENUM_LABEL_VALUE_INFORMATION)
 
static int action_bind_label_cheat_browse_address (file_list_t *list, unsigned type, unsigned i, const char *label, const char *path, char *s, size_t len)
 
int menu_cbs_init_bind_label (menu_file_list_cbs_t *cbs, const char *path, const char *label, unsigned type, size_t idx)
 

Macro Definition Documentation

◆ BIND_ACTION_LABEL

#define BIND_ACTION_LABEL (   cbs,
  name 
)
Value:
cbs->action_label = name; \
cbs->action_label_ident = #name;
GLuint const GLchar * name
Definition: glext.h:6671

◆ fill_label_macro

#define fill_label_macro (   func,
  lbl 
)
Value:
static int (func)(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)
GLenum func
Definition: glext.h:6668
Definition: file_list.h:47

Function Documentation

◆ action_bind_label_cheat_browse_address()

static int action_bind_label_cheat_browse_address ( 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_label_generic()

static int action_bind_label_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:

◆ fill_label_macro()

fill_label_macro ( action_bind_label_information  ,
MENU_ENUM_LABEL_VALUE_INFORMATION   
)
Here is the call graph for this function:

◆ menu_cbs_init_bind_label()

int menu_cbs_init_bind_label ( 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: