|
AnimaEngine
1.0.0
Nintendo DS Pokemon Black, White, Black 2, and White 2 sprite extraction and preview toolchain
|
Implementations of the ROM browser file explorer GUI layout views. More...
#include "gui_view_rom.h"#include "gui_widgets.h"#include <stdlib.h>#include <string.h>#include <stdio.h>#include <ctype.h>Data Structures | |
| struct | ExplorerEntry |
Macros | |
| #define | IS_WINDOWS 0 |
| #define | SYSTEM_ROOT "/" |
| #define | MAX_EXPLORER_ENTRIES 1024 |
Functions | |
| static GrColor | Gc (unsigned char r, unsigned char g, unsigned char b, unsigned char a) |
| Constructs a GrColor value. More... | |
| static int | CompareExplorerEntries (const void *a, const void *b) |
| Sorting comparator function for ExplorerEntry list items. More... | |
| static void | RefreshExplorerDir (const char *path) |
| Reloads explorer cache of directories and files matching path. More... | |
| static int | CaseInsensitiveContains (const char *haystack, const char *needle) |
| Helper for case-insensitive substring matching in explorer filtering. More... | |
| static void | ExplorerGoUp (void) |
| Navigates the current file explorer path up to its parent folder. More... | |
| static void | ExplorerNavigateTo (const char *subdir) |
| Navigates the current file explorer path down into a subfolder. More... | |
| void | GuiView_DrawRomScreen (GuiState *state) |
| Renders the ROM selection interface and explorer side panels. More... | |
Variables | |
| static ExplorerEntry | explorer_entries [MAX_EXPLORER_ENTRIES] |
| static int | explorer_entry_count = 0 |
| static char | current_dir [4096] = "" |
| static char | explorer_search [256] = "" |
| static int | explorer_search_active = 0 |
| static int | explorer_scroll = 0 |
| static int | selected_idx = -1 |
| static int | explorer_initialized = 0 |
| static float | last_click_time = 0.0f |
| static int | last_clicked_row = -1 |
Implementations of the ROM browser file explorer GUI layout views.
| #define IS_WINDOWS 0 |
| #define MAX_EXPLORER_ENTRIES 1024 |
| #define SYSTEM_ROOT "/" |
|
static |
Helper for case-insensitive substring matching in explorer filtering.
| haystack | Target string. |
| needle | Substring pattern. |
|
static |
Sorting comparator function for ExplorerEntry list items.
| a | LHS element. |
| b | RHS element. |
|
static |
Navigates the current file explorer path up to its parent folder.
|
static |
Navigates the current file explorer path down into a subfolder.
| subdir | Target directory name. |
|
static |
| void GuiView_DrawRomScreen | ( | GuiState * | state | ) |
Renders the ROM selection interface and explorer side panels.
| state | Global GUI state pointer. |
|
static |
Reloads explorer cache of directories and files matching path.
| path | Target directory path. |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |