102 Patches: Detours to the Rescue
C reference for DttR maintainers and modders.
Loading...
Searching...
No Matches
dttr_loader_ui.h
Go to the documentation of this file.
1#ifndef DTTR_LOADER_UI_H
2#define DTTR_LOADER_UI_H
3
4#include <stdbool.h>
5#include <stddef.h>
6
7#ifdef __cplusplus
8extern "C" {
9#endif
10
11enum {
14};
15
21
26
30bool DTTR_LoaderUI_ChoiceIsDisc(DTTR_LoaderUIChoice choice, size_t *out_index);
32 const DTTR_LoaderUIDiscCandidate *disc_candidates,
33 size_t disc_candidate_count
34);
35void DTTR_LoaderUI_ShowError(const char *title, const char *message);
36
37#ifdef __cplusplus
38}
39#endif
40
41#endif // DTTR_LOADER_UI_H
@ DTTR_LOADER_UI_MAX_DISC_CANDIDATES
@ DTTR_LOADER_UI_CHOICE_DISC_BASE
DTTR_LoaderUIChoice DTTR_LoaderUI_ChooseGameSource(const DTTR_LoaderUIDiscCandidate *disc_candidates, size_t disc_candidate_count)
Definition ui.c:182
bool DTTR_LoaderUI_ChoiceIsBrowse(DTTR_LoaderUIChoice choice)
Definition ui_logic.c:3
DTTR_LoaderUIChoice DTTR_LoaderUI_ChoiceFromID(int choice_id)
Definition ui_logic.c:21
DTTR_LoaderUIChoice
@ DTTR_LOADER_UI_CHOICE_BROWSE_ISO
@ DTTR_LOADER_UI_CHOICE_BROWSE_FOLDER
@ DTTR_LOADER_UI_CHOICE_EXIT
DTTR_LoaderUIChoice DTTR_LoaderUI_DiscChoiceForIndex(size_t index)
Definition ui_logic.c:34
bool DTTR_LoaderUI_ChoiceIsDisc(DTTR_LoaderUIChoice choice, size_t *out_index)
Definition ui_logic.c:8
void DTTR_LoaderUI_ShowError(const char *title, const char *message)
Definition ui.c:236