N64FlashcartMenu
Loading...
Searching...
No Matches
Data Structures | Macros | Functions
components.h File Reference

Menu Components. More...

Go to the source code of this file.

Data Structures

struct  component_context_menu_t
 
struct  component_boxart_t
 Box Art Structure. More...
 
struct  component_context_menu_t.list
 

Macros

#define COMPONENT_CONTEXT_MENU_LIST_END   { .text = NULL }
 

Functions

void component_box_draw (int x0, int y0, int x1, int y1, color_t color)
 
void component_border_draw (int x0, int y0, int x1, int y1)
 
void component_layout_draw (void)
 
void component_progressbar_draw (int x0, int y0, int x1, int y1, float progress)
 
void component_seekbar_draw (float progress)
 
void component_loader_draw (float position)
 
void component_scrollbar_draw (int x, int y, int width, int height, int position, int items, int visible_items)
 
void component_file_list_scrollbar_draw (int position, int items, int visible_items)
 
void component_dialog_draw (int width, int height)
 
void component_messagebox_draw (char *fmt,...)
 
void component_main_text_draw (rdpq_align_t align, rdpq_valign_t valign, char *fmt,...)
 
void component_actions_bar_text_draw (rdpq_align_t align, rdpq_valign_t valign, char *fmt,...)
 
void component_background_init (char *cache_location)
 
void component_background_free (void)
 
void component_background_replace_image (surface_t *image)
 
void component_background_draw (void)
 
void component_file_list_draw (entry_t *list, int entries, int selected)
 
void component_context_menu_init (component_context_menu_t *cm)
 
void component_context_menu_show (component_context_menu_t *cm)
 
bool component_context_menu_process (menu_t *menu, component_context_menu_t *cm)
 
void component_context_menu_draw (component_context_menu_t *cm)
 
component_boxart_tcomponent_boxart_init (const char *storage_prefix, char *game_code)
 
void component_boxart_free (component_boxart_t *b)
 
void component_boxart_draw (component_boxart_t *b)
 

Detailed Description

Menu Components.


Data Structure Documentation

◆ component_context_menu_t

struct component_context_menu_t
Data Fields
int count
int selected
bool hide_pending
struct component_context_menu * parent
struct component_context_menu * submenu
struct component_context_menu_t.list list[]

◆ component_boxart_t

struct component_boxart_t

Box Art Structure.

Data Fields
bool loading
surface_t * image