RetroArch
Classes | Typedefs | Enumerations | Functions
menu_entry.h File Reference
#include <stdint.h>
#include <boolean.h>
#include <retro_common_api.h>
#include <retro_miscellaneous.h>
#include "../../msg_hash.h"
#include "../menu_input.h"
Include dependency graph for menu_entry.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  menu_entry
 

Typedefs

typedef struct menu_entry menu_entry_t
 

Enumerations

enum  menu_entry_type {
  MENU_ENTRY_ACTION = 0, MENU_ENTRY_BOOL, MENU_ENTRY_INT, MENU_ENTRY_UINT,
  MENU_ENTRY_FLOAT, MENU_ENTRY_PATH, MENU_ENTRY_DIR, MENU_ENTRY_STRING,
  MENU_ENTRY_HEX, MENU_ENTRY_BIND, MENU_ENTRY_ENUM, MENU_ENTRY_SIZE
}
 

Functions

enum menu_entry_type menu_entry_get_type (uint32_t i)
 
char * menu_entry_get_path (menu_entry_t *entry)
 
void menu_entry_get_label (menu_entry_t *entry, char *s, size_t len)
 
unsigned menu_entry_get_spacing (menu_entry_t *entry)
 
unsigned menu_entry_get_type_new (menu_entry_t *entry)
 
uint32_t menu_entry_get_bool_value (uint32_t i)
 
struct string_listmenu_entry_enum_values (uint32_t i)
 
void menu_entry_enum_set_value_with_string (uint32_t i, const char *s)
 
int32_t menu_entry_bind_index (uint32_t i)
 
void menu_entry_bind_key_set (uint32_t i, int32_t value)
 
void menu_entry_bind_joykey_set (uint32_t i, int32_t value)
 
void menu_entry_bind_joyaxis_set (uint32_t i, int32_t value)
 
void menu_entry_pathdir_selected (uint32_t i)
 
bool menu_entry_pathdir_allow_empty (uint32_t i)
 
uint32_t menu_entry_pathdir_for_directory (uint32_t i)
 
void menu_entry_pathdir_extensions (uint32_t i, char *s, size_t len)
 
void menu_entry_reset (uint32_t i)
 
char * menu_entry_get_rich_label (menu_entry_t *entry)
 
char * menu_entry_get_sublabel (menu_entry_t *entry)
 
void menu_entry_get_value (menu_entry_t *entry, char *s, size_t len)
 
void menu_entry_set_value (uint32_t i, const char *s)
 
uint32_t menu_entry_num_has_range (uint32_t i)
 
float menu_entry_num_min (uint32_t i)
 
float menu_entry_num_max (uint32_t i)
 
bool menu_entry_is_currently_selected (unsigned id)
 
void menu_entry_get (menu_entry_t *entry, size_t stack_idx, size_t i, void *userdata, bool use_representation)
 
int menu_entry_select (uint32_t i)
 
int menu_entry_action (menu_entry_t *entry, unsigned i, enum menu_action action)
 
void menu_entry_free (menu_entry_t *entry)
 
void menu_entry_init (menu_entry_t *entry)
 

Typedef Documentation

◆ menu_entry_t

typedef struct menu_entry menu_entry_t

Enumeration Type Documentation

◆ menu_entry_type

Enumerator
MENU_ENTRY_ACTION 
MENU_ENTRY_BOOL 
MENU_ENTRY_INT 
MENU_ENTRY_UINT 
MENU_ENTRY_FLOAT 
MENU_ENTRY_PATH 
MENU_ENTRY_DIR 
MENU_ENTRY_STRING 
MENU_ENTRY_HEX 
MENU_ENTRY_BIND 
MENU_ENTRY_ENUM 
MENU_ENTRY_SIZE 

Function Documentation

◆ menu_entry_action()

int menu_entry_action ( menu_entry_t entry,
unsigned  i,
enum menu_action  action 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ menu_entry_bind_index()

int32_t menu_entry_bind_index ( uint32_t  i)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ menu_entry_bind_joyaxis_set()

void menu_entry_bind_joyaxis_set ( uint32_t  i,
int32_t  value 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ menu_entry_bind_joykey_set()

void menu_entry_bind_joykey_set ( uint32_t  i,
int32_t  value 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ menu_entry_bind_key_set()

void menu_entry_bind_key_set ( uint32_t  i,
int32_t  value 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ menu_entry_enum_set_value_with_string()

void menu_entry_enum_set_value_with_string ( uint32_t  i,
const char *  s 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ menu_entry_enum_values()

struct string_list* menu_entry_enum_values ( uint32_t  i)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ menu_entry_free()

void menu_entry_free ( menu_entry_t entry)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ menu_entry_get()

void menu_entry_get ( menu_entry_t entry,
size_t  stack_idx,
size_t  i,
void userdata,
bool  use_representation 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ menu_entry_get_bool_value()

uint32_t menu_entry_get_bool_value ( uint32_t  i)
Here is the call graph for this function:

◆ menu_entry_get_label()

void menu_entry_get_label ( menu_entry_t entry,
char *  s,
size_t  len 
)
Here is the call graph for this function:

◆ menu_entry_get_path()

char* menu_entry_get_path ( menu_entry_t entry)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ menu_entry_get_rich_label()

char* menu_entry_get_rich_label ( menu_entry_t entry)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ menu_entry_get_spacing()

unsigned menu_entry_get_spacing ( menu_entry_t entry)
Here is the caller graph for this function:

◆ menu_entry_get_sublabel()

char* menu_entry_get_sublabel ( menu_entry_t entry)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ menu_entry_get_type()

enum menu_entry_type menu_entry_get_type ( uint32_t  i)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ menu_entry_get_type_new()

unsigned menu_entry_get_type_new ( menu_entry_t entry)
Here is the caller graph for this function:

◆ menu_entry_get_value()

void menu_entry_get_value ( menu_entry_t entry,
char *  s,
size_t  len 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ menu_entry_init()

void menu_entry_init ( menu_entry_t entry)
Here is the caller graph for this function:

◆ menu_entry_is_currently_selected()

bool menu_entry_is_currently_selected ( unsigned  id)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ menu_entry_num_has_range()

uint32_t menu_entry_num_has_range ( uint32_t  i)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ menu_entry_num_max()

float menu_entry_num_max ( uint32_t  i)
Here is the call graph for this function:

◆ menu_entry_num_min()

float menu_entry_num_min ( uint32_t  i)
Here is the call graph for this function:

◆ menu_entry_pathdir_allow_empty()

bool menu_entry_pathdir_allow_empty ( uint32_t  i)
Here is the call graph for this function:

◆ menu_entry_pathdir_extensions()

void menu_entry_pathdir_extensions ( uint32_t  i,
char *  s,
size_t  len 
)
Here is the call graph for this function:

◆ menu_entry_pathdir_for_directory()

uint32_t menu_entry_pathdir_for_directory ( uint32_t  i)
Here is the call graph for this function:

◆ menu_entry_pathdir_selected()

void menu_entry_pathdir_selected ( uint32_t  i)
Here is the call graph for this function:

◆ menu_entry_reset()

void menu_entry_reset ( uint32_t  i)
Here is the call graph for this function:

◆ menu_entry_select()

int menu_entry_select ( uint32_t  i)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ menu_entry_set_value()

void menu_entry_set_value ( uint32_t  i,
const char *  s 
)
Here is the call graph for this function:
Here is the caller graph for this function: