|
102 Patches: Detours to the Rescue
C reference for DttR maintainers and modders.
|
#include "gui_internal.h"Go to the source code of this file.
Functions | |
| static SDL_Window * | dialog_parent_window (const DTTR_ImGuiDialogContext *ctx) |
| static const char * | optional_path (const char *path) |
| static void | open_file_dialog (const DTTR_ImGuiDialogContext *ctx, config_ui_state *state, SDL_DialogFileCallback callback, const SDL_DialogFileFilter *filters, int filter_count, const char *path) |
| static void | apply_dialog_selection (config_ui_state *state, char *path, size_t path_size, const char *const *filelist, const char *open_failure_status, const char *selected_status) |
| static void SDLCALL | pcdogs_path_dialog_callback (void *userdata, const char *const *filelist, int) |
| void | open_pcdogs_dir_dialog (const DTTR_ImGuiDialogContext *ctx, config_ui_state *state) |
| void | open_pcdogs_iso_dialog (const DTTR_ImGuiDialogContext *ctx, config_ui_state *state) |
| static void SDLCALL | log_file_path_dialog_callback (void *userdata, const char *const *filelist, int) |
| void | open_log_file_dialog (const DTTR_ImGuiDialogContext *ctx, config_ui_state *state) |
Variables | |
| static const SDL_DialogFileFilter | ISO_FILE_FILTERS [] |
| static const SDL_DialogFileFilter | LOG_FILE_FILTERS [] |
|
static |
Definition at line 39 of file gui_dialogs.c.
References DTTR_Path_CopyString(), set_status(), and state.
Referenced by log_file_path_dialog_callback(), and pcdogs_path_dialog_callback().
|
static |
Definition at line 12 of file gui_dialogs.c.
Referenced by open_file_dialog(), and open_pcdogs_dir_dialog().
|
static |
Definition at line 109 of file gui_dialogs.c.
References apply_dialog_selection(), NULL, and state.
Referenced by open_log_file_dialog().
|
static |
Definition at line 20 of file gui_dialogs.c.
References ctx, dialog_parent_window(), DTTR_SDL_ShowOpenFileDialog(), and state.
Referenced by open_log_file_dialog(), and open_pcdogs_iso_dialog().
| void open_log_file_dialog | ( | const DTTR_ImGuiDialogContext * | ctx, |
| config_ui_state * | state ) |
Definition at line 121 of file gui_dialogs.c.
References ctx, LOG_FILE_FILTERS, log_file_path_dialog_callback(), NULL, open_file_dialog(), optional_path(), and state.
Referenced by labeled_log_path_picker().
| void open_pcdogs_dir_dialog | ( | const DTTR_ImGuiDialogContext * | ctx, |
| config_ui_state * | state ) |
Definition at line 85 of file gui_dialogs.c.
References ctx, dialog_parent_window(), DTTR_SDL_ShowOpenFolderDialog(), NULL, optional_path(), pcdogs_path_dialog_callback(), and state.
Referenced by labeled_path_picker().
| void open_pcdogs_iso_dialog | ( | const DTTR_ImGuiDialogContext * | ctx, |
| config_ui_state * | state ) |
Definition at line 96 of file gui_dialogs.c.
References ctx, ISO_FILE_FILTERS, NULL, open_file_dialog(), optional_path(), pcdogs_path_dialog_callback(), and state.
Referenced by labeled_path_picker().
|
static |
Definition at line 16 of file gui_dialogs.c.
References NULL.
Referenced by open_log_file_dialog(), open_pcdogs_dir_dialog(), and open_pcdogs_iso_dialog().
|
static |
Definition at line 73 of file gui_dialogs.c.
References apply_dialog_selection(), NULL, and state.
Referenced by open_pcdogs_dir_dialog(), and open_pcdogs_iso_dialog().
|
static |
Definition at line 3 of file gui_dialogs.c.
Referenced by open_pcdogs_iso_dialog().
|
static |
Definition at line 7 of file gui_dialogs.c.
Referenced by open_log_file_dialog().