RetroArch
Classes | Typedefs | Enumerations | Functions
menu_entries.h File Reference
#include <stdint.h>
#include <stddef.h>
#include <boolean.h>
#include <retro_common_api.h>
#include <lists/file_list.h>
#include "menu_setting.h"
#include "menu_displaylist.h"
Include dependency graph for menu_entries.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  menu_ctx_list
 
struct  menu_file_list_cbs
 

Typedefs

typedef struct menu_list menu_list_t
 
typedef struct menu_ctx_list menu_ctx_list_t
 
typedef struct menu_file_list_cbs menu_file_list_cbs_t
 

Enumerations

enum  menu_entries_ctl_state {
  MENU_ENTRIES_CTL_NONE = 0, MENU_ENTRIES_CTL_DEINIT, MENU_ENTRIES_CTL_INIT, MENU_ENTRIES_CTL_LIST_GET,
  MENU_ENTRIES_CTL_LIST_DEINIT, MENU_ENTRIES_CTL_LIST_INIT, MENU_ENTRIES_CTL_SETTINGS_GET, MENU_ENTRIES_CTL_SETTINGS_DEINIT,
  MENU_ENTRIES_CTL_SETTINGS_INIT, MENU_ENTRIES_CTL_SET_REFRESH, MENU_ENTRIES_CTL_UNSET_REFRESH, MENU_ENTRIES_CTL_NEEDS_REFRESH,
  MENU_ENTRIES_CTL_SET_START, MENU_ENTRIES_CTL_START_GET, MENU_ENTRIES_CTL_REFRESH, MENU_ENTRIES_CTL_CLEAR,
  MENU_ENTRIES_CTL_SHOW_BACK
}
 
enum  menu_list_type { MENU_LIST_PLAIN = 0, MENU_LIST_HORIZONTAL, MENU_LIST_TABS }
 

Functions

int menu_entries_get_title (char *title, size_t title_len)
 
int menu_entries_get_core_title (char *title_msg, size_t title_msg_len)
 
int menu_entries_get_core_name (char *s, size_t len)
 
file_list_tmenu_entries_get_selection_buf_ptr (size_t idx)
 
file_list_tmenu_entries_get_menu_stack_ptr (size_t idx)
 
void menu_entries_append (file_list_t *list, const char *path, const char *label, unsigned type, size_t directory_ptr, size_t entry_idx)
 
void menu_entries_get_last_stack (const char **path, const char **label, unsigned *file_type, enum msg_hash_enums *enum_idx, size_t *entry_idx)
 
menu_file_list_cbs_tmenu_entries_get_last_stack_actiondata (void)
 
void menu_entries_pop_stack (size_t *ptr, size_t idx, bool animate)
 
void menu_entries_flush_stack (const char *needle, unsigned final_type)
 
size_t menu_entries_get_stack_size (size_t idx)
 
size_t menu_entries_get_size (void)
 
void menu_entries_get_at_offset (const file_list_t *list, size_t idx, const char **path, const char **label, unsigned *file_type, size_t *entry_idx, const char **alt)
 
rarch_setting_tmenu_entries_get_setting (uint32_t i)
 
void menu_entries_prepend (file_list_t *list, const char *path, const char *label, enum msg_hash_enums enum_idx, unsigned type, size_t directory_ptr, size_t entry_idx)
 
void menu_entries_append_enum (file_list_t *list, const char *path, const char *label, enum msg_hash_enums enum_idx, unsigned type, size_t directory_ptr, size_t entry_idx)
 
bool menu_entries_ctl (enum menu_entries_ctl_state state, void *data)
 
void menu_entries_set_checked (file_list_t *list, size_t entry_idx, bool checked)
 

Typedef Documentation

◆ menu_ctx_list_t

◆ menu_file_list_cbs_t

◆ menu_list_t

typedef struct menu_list menu_list_t

Enumeration Type Documentation

◆ menu_entries_ctl_state

Enumerator
MENU_ENTRIES_CTL_NONE 
MENU_ENTRIES_CTL_DEINIT 
MENU_ENTRIES_CTL_INIT 
MENU_ENTRIES_CTL_LIST_GET 
MENU_ENTRIES_CTL_LIST_DEINIT 
MENU_ENTRIES_CTL_LIST_INIT 
MENU_ENTRIES_CTL_SETTINGS_GET 
MENU_ENTRIES_CTL_SETTINGS_DEINIT 
MENU_ENTRIES_CTL_SETTINGS_INIT 
MENU_ENTRIES_CTL_SET_REFRESH 
MENU_ENTRIES_CTL_UNSET_REFRESH 
MENU_ENTRIES_CTL_NEEDS_REFRESH 
MENU_ENTRIES_CTL_SET_START 
MENU_ENTRIES_CTL_START_GET 
MENU_ENTRIES_CTL_REFRESH 
MENU_ENTRIES_CTL_CLEAR 
MENU_ENTRIES_CTL_SHOW_BACK 

◆ menu_list_type

Enumerator
MENU_LIST_PLAIN 
MENU_LIST_HORIZONTAL 
MENU_LIST_TABS 

Function Documentation

◆ menu_entries_append()

void menu_entries_append ( file_list_t list,
const char *  path,
const char *  label,
unsigned  type,
size_t  directory_ptr,
size_t  entry_idx 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ menu_entries_append_enum()

void menu_entries_append_enum ( file_list_t list,
const char *  path,
const char *  label,
enum msg_hash_enums  enum_idx,
unsigned  type,
size_t  directory_ptr,
size_t  entry_idx 
)
Here is the call graph for this function:

◆ menu_entries_ctl()

bool menu_entries_ctl ( enum menu_entries_ctl_state  state,
void data 
)
Here is the call graph for this function:

◆ menu_entries_flush_stack()

void menu_entries_flush_stack ( const char *  needle,
unsigned  final_type 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ menu_entries_get_at_offset()

void menu_entries_get_at_offset ( const file_list_t list,
size_t  idx,
const char **  path,
const char **  label,
unsigned *  file_type,
size_t *  entry_idx,
const char **  alt 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ menu_entries_get_core_name()

int menu_entries_get_core_name ( char *  s,
size_t  len 
)
Here is the call graph for this function:

◆ menu_entries_get_core_title()

int menu_entries_get_core_title ( char *  title_msg,
size_t  title_msg_len 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ menu_entries_get_last_stack()

void menu_entries_get_last_stack ( const char **  path,
const char **  label,
unsigned *  file_type,
enum msg_hash_enums enum_idx,
size_t *  entry_idx 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ menu_entries_get_last_stack_actiondata()

menu_file_list_cbs_t* menu_entries_get_last_stack_actiondata ( void  )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ menu_entries_get_menu_stack_ptr()

file_list_t* menu_entries_get_menu_stack_ptr ( size_t  idx)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ menu_entries_get_selection_buf_ptr()

file_list_t* menu_entries_get_selection_buf_ptr ( size_t  idx)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ menu_entries_get_setting()

rarch_setting_t* menu_entries_get_setting ( uint32_t  i)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ menu_entries_get_size()

size_t menu_entries_get_size ( void  )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ menu_entries_get_stack_size()

size_t menu_entries_get_stack_size ( size_t  idx)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ menu_entries_get_title()

int menu_entries_get_title ( char *  title,
size_t  title_len 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ menu_entries_pop_stack()

void menu_entries_pop_stack ( size_t *  ptr,
size_t  idx,
bool  animate 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ menu_entries_prepend()

void menu_entries_prepend ( file_list_t list,
const char *  path,
const char *  label,
enum msg_hash_enums  enum_idx,
unsigned  type,
size_t  directory_ptr,
size_t  entry_idx 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ menu_entries_set_checked()

void menu_entries_set_checked ( file_list_t list,
size_t  entry_idx,
bool  checked 
)
Here is the call graph for this function:
Here is the caller graph for this function: