The stat arrows and the other icons the menus load into VRAM blocks. More...
Go to the source code of this file.
Functions | |
| void | Resource_LoadPairedBlocksIfAvailable (void) |
| Loads each menu icon resource whose cache slot was acquired. | |
| void | Menu_ResetTwoResourceEntries (void) |
| Releases both cached icon resources used by the menu. | |
| s32 | UiIcon_LoadResourceIntoSlot (s32 resourceId, s32 slot) |
| Decodes one icon into a temporary buffer and reloads its VRAM slot. | |
| s32 | UiIcon_CreateWithLoadedResource (struct UiWindow *window, s32 x, s32 y, s32 resourceId) |
| Loads an icon into a free cache slot and creates its sprite when possible. | |
| s32 | UiIcon_CreateStatChangeArrow (struct UiWindow *window, s32 x, s32 y, s32 variant) |
| Creates a stat-change arrow from one of the two loaded resources. | |
| s32 | UiIcon_DrawVariantWithTileOffset (struct UiWindow *window, s32 x, s32 y, s32 variant) |
| Creates an arrow with the vertical adjustment for its resource variant. | |
The stat arrows and the other icons the menus load into VRAM blocks.
Part of menu.c, the menu object, compiled only through it.
Definition in file icons.c.
| void Resource_LoadPairedBlocksIfAvailable | ( | void | ) |
Loads each menu icon resource whose cache slot was acquired.
Definition at line 8 of file icons.c.
Referenced by DjinnMenu_Run(), and Resource_LoadPairedBlocksIfAvailable().
| void Menu_ResetTwoResourceEntries | ( | void | ) |
Releases both cached icon resources used by the menu.
Definition at line 27 of file icons.c.
Referenced by DjinnMenu_Run(), ItemMenu_Run(), and Menu_ResetTwoResourceEntries().
Decodes one icon into a temporary buffer and reloads its VRAM slot.
Definition at line 36 of file icons.c.
Referenced by UiIcon_CreateWithLoadedResource(), and UiIcon_LoadResourceIntoSlot().
Loads an icon into a free cache slot and creates its sprite when possible.
Definition at line 51 of file icons.c.
Referenced by DjinnMenu_DrawStatPreview(), and UiIcon_CreateWithLoadedResource().
Creates a stat-change arrow from one of the two loaded resources.
Definition at line 66 of file icons.c.
Referenced by UiIcon_CreateStatChangeArrow(), and UiText_DrawStatComparison().
Creates an arrow with the vertical adjustment for its resource variant.
Definition at line 97 of file icons.c.
Referenced by DjinnMenu_DrawStatPreview(), and UiIcon_DrawVariantWithTileOffset().