|
N64FlashcartMenu
|
Implementation of the background UI component. More...
Data Structures | |
| struct | component_background_t |
| Structure representing the background component. More... | |
| struct | cache_metadata_t |
| Structure for background image cache metadata. More... | |
Macros | |
| #define | CACHE_METADATA_MAGIC (0x424B4731) |
Functions | |
| void | ui_components_background_init (char *cache_location) |
| Initialize the background component and load from cache. | |
| void | ui_components_background_free (void) |
| Free the background component and its resources. | |
| void | ui_components_background_replace_image (surface_t *image) |
| Replace the background image and update cache/display list. | |
| void | ui_components_background_draw (void) |
| Draw the background image or clear the screen if not available. | |
Implementation of the background UI component.
| struct component_background_t |
| struct cache_metadata_t |
| void ui_components_background_init | ( | char * | cache_location | ) |
Initialize the background component and load from cache.
Initialize the background component.
| cache_location | Path to the cache file location. |
| void ui_components_background_free | ( | void | ) |
Free the background component and its resources.
Free the background component resources.
| void ui_components_background_replace_image | ( | surface_t * | image | ) |
Replace the background image and update cache/display list.
Replace the background image.
| image | Pointer to the new background image surface. |
| void ui_components_background_draw | ( | void | ) |
Draw the background image or clear the screen if not available.
Draw the background component.