RetroArch
|
#include <stdint.h>
#include <stddef.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include <boolean.h>
#include <retro_common_api.h>
#include <gfx/math/matrix_4x4.h>
#include "widgets/menu_entry.h"
#include "menu_input.h"
#include "menu_entries.h"
#include "../audio/audio_driver.h"
#include "../gfx/video_driver.h"
#include "../file_path_special.h"
#include "../gfx/font_driver.h"
#include "../gfx/video_coord_array.h"
Go to the source code of this file.
Classes | |
struct | menu_display_ctx_clearcolor |
struct | menu_display_frame_info |
struct | menu_display_ctx_driver |
struct | menu_handle_t |
struct | menu_display_ctx_draw |
struct | menu_display_ctx_rotate_draw |
struct | menu_display_ctx_coord_draw |
struct | menu_display_ctx_datetime |
struct | menu_ctx_driver |
struct | menu_ctx_displaylist |
struct | menu_ctx_iterate |
struct | menu_ctx_environment |
struct | menu_ctx_pointer |
struct | menu_ctx_bind |
Macros | |
#define | MAX_COUNTERS 64 |
#define | MAX_CHEAT_COUNTERS 6000 |
#define | MENU_SETTINGS_CORE_INFO_NONE 0xffff |
#define | MENU_SETTINGS_CORE_OPTION_NONE 0xffff |
#define | MENU_SETTINGS_CHEEVOS_NONE 0xffff |
#define | MENU_SETTINGS_CORE_OPTION_CREATE 0x05000 |
#define | MENU_SETTINGS_CORE_OPTION_START 0x10000 |
#define | MENU_SETTINGS_PLAYLIST_ASSOCIATION_START 0x20000 |
#define | MENU_SETTINGS_CHEEVOS_START 0x40000 |
#define | MENU_SETTINGS_NETPLAY_ROOMS_START 0x80000 |
#define | MENU_SETTINGS_AUDIO_MIXER_MAX_STREAMS (AUDIO_MIXER_MAX_STREAMS-1) |
#define | menu_display_set_alpha(color, alpha_value) (color[3] = color[7] = color[11] = color[15] = (alpha_value)) |
Typedefs | |
typedef uintptr_t | menu_texture_item |
typedef struct menu_display_ctx_clearcolor | menu_display_ctx_clearcolor_t |
typedef struct menu_display_frame_info | menu_display_frame_info_t |
typedef struct menu_display_ctx_draw | menu_display_ctx_draw_t |
typedef struct menu_display_ctx_driver | menu_display_ctx_driver_t |
typedef struct menu_display_ctx_rotate_draw | menu_display_ctx_rotate_draw_t |
typedef struct menu_display_ctx_coord_draw | menu_display_ctx_coord_draw_t |
typedef struct menu_display_ctx_datetime | menu_display_ctx_datetime_t |
typedef struct menu_ctx_driver | menu_ctx_driver_t |
typedef struct menu_ctx_displaylist | menu_ctx_displaylist_t |
typedef struct menu_ctx_iterate | menu_ctx_iterate_t |
typedef struct menu_ctx_environment | menu_ctx_environment_t |
typedef struct menu_ctx_pointer | menu_ctx_pointer_t |
typedef struct menu_ctx_bind | menu_ctx_bind_t |
#define MAX_CHEAT_COUNTERS 6000 |
#define MAX_COUNTERS 64 |
#define menu_display_set_alpha | ( | color, | |
alpha_value | |||
) | (color[3] = color[7] = color[11] = color[15] = (alpha_value)) |
#define MENU_SETTINGS_AUDIO_MIXER_MAX_STREAMS (AUDIO_MIXER_MAX_STREAMS-1) |
#define MENU_SETTINGS_CHEEVOS_NONE 0xffff |
#define MENU_SETTINGS_CHEEVOS_START 0x40000 |
#define MENU_SETTINGS_CORE_INFO_NONE 0xffff |
#define MENU_SETTINGS_CORE_OPTION_CREATE 0x05000 |
#define MENU_SETTINGS_CORE_OPTION_NONE 0xffff |
#define MENU_SETTINGS_CORE_OPTION_START 0x10000 |
#define MENU_SETTINGS_NETPLAY_ROOMS_START 0x80000 |
#define MENU_SETTINGS_PLAYLIST_ASSOCIATION_START 0x20000 |
typedef struct menu_ctx_bind menu_ctx_bind_t |
typedef struct menu_ctx_displaylist menu_ctx_displaylist_t |
typedef struct menu_ctx_driver menu_ctx_driver_t |
typedef struct menu_ctx_environment menu_ctx_environment_t |
typedef struct menu_ctx_iterate menu_ctx_iterate_t |
typedef struct menu_ctx_pointer menu_ctx_pointer_t |
typedef struct menu_display_ctx_clearcolor menu_display_ctx_clearcolor_t |
typedef struct menu_display_ctx_coord_draw menu_display_ctx_coord_draw_t |
typedef struct menu_display_ctx_datetime menu_display_ctx_datetime_t |
typedef struct menu_display_ctx_draw menu_display_ctx_draw_t |
typedef struct menu_display_ctx_driver menu_display_ctx_driver_t |
typedef struct menu_display_ctx_rotate_draw menu_display_ctx_rotate_draw_t |
typedef struct menu_display_frame_info menu_display_frame_info_t |
typedef uintptr_t menu_texture_item |
enum menu_environ_cb |
enum menu_image_type |
enum menu_settings_type |
enum menu_state_changes |
enum menu_toggle_reason |
enum rarch_menu_ctl_state |
enum xmb_color_theme |
enum xmb_icon_theme |
enum xmb_shader_pipeline |
config_get_menu_driver_options:
Get an enumerated list of all menu driver names, separated by '|'.
Returns: string listing of all menu driver names, separated by '|'.
void menu_display_blend_begin | ( | video_frame_info_t * | video_info | ) |
void menu_display_blend_end | ( | video_frame_info_t * | video_info | ) |
void menu_display_clear_color | ( | menu_display_ctx_clearcolor_t * | color, |
video_frame_info_t * | video_info | ||
) |
void menu_display_draw | ( | menu_display_ctx_draw_t * | draw, |
video_frame_info_t * | video_info | ||
) |
void menu_display_draw_bg | ( | menu_display_ctx_draw_t * | draw, |
video_frame_info_t * | video_info, | ||
bool | add_opacity, | ||
float | opacity_override | ||
) |
void menu_display_draw_cursor | ( | video_frame_info_t * | video_info, |
float * | color, | ||
float | cursor_size, | ||
uintptr_t | texture, | ||
float | x, | ||
float | y, | ||
unsigned | width, | ||
unsigned | height | ||
) |
void menu_display_draw_gradient | ( | menu_display_ctx_draw_t * | draw, |
video_frame_info_t * | video_info | ||
) |
void menu_display_draw_keyboard | ( | uintptr_t | hover_texture, |
const font_data_t * | font, | ||
video_frame_info_t * | video_info, | ||
char * | grid[], | ||
unsigned | id, | ||
unsigned | text_color | ||
) |
void menu_display_draw_pipeline | ( | menu_display_ctx_draw_t * | draw, |
video_frame_info_t * | video_info | ||
) |
void menu_display_draw_polygon | ( | video_frame_info_t * | video_info, |
int | x1, | ||
int | y1, | ||
int | x2, | ||
int | y2, | ||
int | x3, | ||
int | y3, | ||
int | x4, | ||
int | y4, | ||
unsigned | width, | ||
unsigned | height, | ||
float * | color | ||
) |
void menu_display_draw_quad | ( | video_frame_info_t * | video_info, |
int | x, | ||
int | y, | ||
unsigned | w, | ||
unsigned | h, | ||
unsigned | width, | ||
unsigned | height, | ||
float * | color | ||
) |
void menu_display_draw_text | ( | const font_data_t * | font, |
const char * | text, | ||
float | x, | ||
float | y, | ||
int | width, | ||
int | height, | ||
uint32_t | color, | ||
enum text_alignment | text_align, | ||
float | scale_factor, | ||
bool | shadows_enable, | ||
float | shadow_offset, | ||
bool | draw_outside | ||
) |
void menu_display_draw_texture | ( | video_frame_info_t * | video_info, |
int | x, | ||
int | y, | ||
unsigned | w, | ||
unsigned | h, | ||
unsigned | width, | ||
unsigned | height, | ||
float * | color, | ||
uintptr_t | texture | ||
) |
void menu_display_draw_texture_slice | ( | video_frame_info_t * | video_info, |
int | x, | ||
int | y, | ||
unsigned | w, | ||
unsigned | h, | ||
unsigned | new_w, | ||
unsigned | new_h, | ||
unsigned | width, | ||
unsigned | height, | ||
float * | color, | ||
unsigned | offset, | ||
float | scale_factor, | ||
uintptr_t | texture | ||
) |
font_data_t* menu_display_font | ( | enum application_special_type | type, |
float | font_size, | ||
bool | video_is_threaded | ||
) |
font_data_t* menu_display_font_file | ( | char * | fontpath, |
float | font_size, | ||
bool | is_threaded | ||
) |
void menu_display_font_free | ( | font_data_t * | font | ) |
video_coord_array_t* menu_display_get_coords_array | ( | void | ) |
float menu_display_get_dpi | ( | void | ) |
void menu_display_get_fb_size | ( | unsigned * | fb_width, |
unsigned * | fb_height, | ||
size_t * | fb_pitch | ||
) |
size_t menu_display_get_framebuffer_pitch | ( | void | ) |
unsigned menu_display_get_header_height | ( | void | ) |
bool menu_display_get_tex_coords | ( | menu_display_ctx_coord_draw_t * | draw | ) |
void menu_display_handle_left_thumbnail_upload | ( | void * | task_data, |
void * | user_data, | ||
const char * | err | ||
) |
void menu_display_handle_savestate_thumbnail_upload | ( | void * | task_data, |
void * | user_data, | ||
const char * | err | ||
) |
int menu_display_osk_ptr_at_pos | ( | void * | data, |
int | x, | ||
int | y, | ||
unsigned | width, | ||
unsigned | height | ||
) |
void menu_display_push_quad | ( | unsigned | width, |
unsigned | height, | ||
const float * | colors, | ||
int | x1, | ||
int | y1, | ||
int | x2, | ||
int | y2 | ||
) |
bool menu_display_reset_textures_list | ( | const char * | texture_path, |
const char * | iconpath, | ||
uintptr_t * | item, | ||
enum texture_filter_type | filter_type | ||
) |
void menu_display_rotate_z | ( | menu_display_ctx_rotate_draw_t * | draw, |
video_frame_info_t * | video_info | ||
) |
void menu_display_scissor_begin | ( | video_frame_info_t * | video_info, |
int | x, | ||
int | y, | ||
unsigned | width, | ||
unsigned | height | ||
) |
void menu_display_scissor_end | ( | video_frame_info_t * | video_info | ) |
void menu_display_set_framebuffer_pitch | ( | size_t | pitch | ) |
void menu_display_set_header_height | ( | unsigned | height | ) |
void menu_display_set_height | ( | unsigned | height | ) |
void menu_display_set_viewport | ( | unsigned | width, |
unsigned | height | ||
) |
void menu_display_set_width | ( | unsigned | width | ) |
void menu_display_snow | ( | int | width, |
int | height | ||
) |
void menu_display_timedate | ( | menu_display_ctx_datetime_t * | datetime | ) |
enum menu_toggle_reason menu_display_toggle_get_reason | ( | void | ) |
void menu_display_toggle_set_reason | ( | enum menu_toggle_reason | reason | ) |
void menu_display_unset_viewport | ( | unsigned | width, |
unsigned | height | ||
) |
bool menu_driver_ctl | ( | enum rarch_menu_ctl_state | state, |
void * | data | ||
) |
menu_driver_find_handle: : index of driver to get handle to.
Returns: handle to menu driver at index. Can be NULL if nothing found.
menu_driver_find_handle: : index of driver to get handle to.
Returns: handle to menu driver at index. Can be NULL if nothing found.
const char* menu_driver_find_ident | ( | int | idx | ) |
menu_driver_find_ident: : index of driver to get handle to.
Returns: Human-readable identifier of menu driver at index. Can be NULL if nothing found.
menu_driver_find_ident: : index of driver to get handle to.
Returns: Human-readable identifier of menu driver at index. Can be NULL if nothing found.
void menu_driver_frame | ( | video_frame_info_t * | video_info | ) |
bool menu_driver_iterate | ( | menu_ctx_iterate_t * | iterate | ) |
bool menu_driver_list_cache | ( | menu_ctx_list_t * | list | ) |
bool menu_driver_list_clear | ( | file_list_t * | list | ) |
bool menu_driver_list_get_entry | ( | menu_ctx_list_t * | list | ) |
bool menu_driver_list_get_selection | ( | menu_ctx_list_t * | list | ) |
bool menu_driver_list_get_size | ( | menu_ctx_list_t * | list | ) |
bool menu_driver_list_insert | ( | menu_ctx_list_t * | list | ) |
bool menu_driver_list_set_selection | ( | file_list_t * | list | ) |
void menu_driver_populate_entries | ( | menu_displaylist_info_t * | info | ) |
bool menu_driver_push_list | ( | menu_ctx_displaylist_t * | disp_list | ) |
void menu_driver_set_thumbnail_content | ( | char * | s, |
size_t | len | ||
) |
void menu_driver_set_thumbnail_system | ( | char * | s, |
size_t | len | ||
) |
size_t menu_navigation_get_selection | ( | void | ) |
void menu_navigation_set_selection | ( | size_t | val | ) |
void menu_subsystem_populate | ( | const struct retro_subsystem_info * | subsystem, |
menu_displaylist_info_t * | info | ||
) |
menu_ctx_driver_t menu_ctx_mui |
menu_ctx_driver_t menu_ctx_nuklear |
menu_ctx_driver_t menu_ctx_null |
menu_ctx_driver_t menu_ctx_ozone |
menu_ctx_driver_t menu_ctx_rgui |
menu_ctx_driver_t menu_ctx_stripes |
menu_ctx_driver_t menu_ctx_xmb |
menu_ctx_driver_t menu_ctx_xui |
menu_ctx_driver_t menu_ctx_zarch |
menu_display_ctx_driver_t menu_display_ctx_caca |
menu_display_ctx_driver_t menu_display_ctx_ctr |
menu_display_ctx_driver_t menu_display_ctx_d3d10 |
menu_display_ctx_driver_t menu_display_ctx_d3d11 |
menu_display_ctx_driver_t menu_display_ctx_d3d12 |
menu_display_ctx_driver_t menu_display_ctx_d3d8 |
menu_display_ctx_driver_t menu_display_ctx_d3d9 |
menu_display_ctx_driver_t menu_display_ctx_gdi |
menu_display_ctx_driver_t menu_display_ctx_gl |
menu_display_ctx_driver_t menu_display_ctx_metal |
menu_display_ctx_driver_t menu_display_ctx_null |
menu_display_ctx_driver_t menu_display_ctx_sixel |
menu_display_ctx_driver_t menu_display_ctx_switch |
menu_display_ctx_driver_t menu_display_ctx_vga |
menu_display_ctx_driver_t menu_display_ctx_vita2d |
menu_display_ctx_driver_t menu_display_ctx_vulkan |
menu_display_ctx_driver_t menu_display_ctx_wiiu |
uintptr_t menu_display_white_texture |
float osk_dark[16] |