|
102 Patches: Detours to the Rescue
C reference for DttR maintainers and modders.
|
#include <stdbool.h>#include <SDL3/SDL.h>Go to the source code of this file.
Functions | |
| bool | DTTR_SDL_ShowSimpleMessageBox (SDL_MessageBoxFlags flags, const char *title, const char *message, SDL_Window *window) |
| bool | DTTR_SDL_ShowMessageBox (const SDL_MessageBoxData *messageboxdata, int *buttonid) |
| void | DTTR_SDL_ShowOpenFolderDialog (SDL_DialogFileCallback callback, void *userdata, SDL_Window *window, const char *default_location, bool allow_many) |
| void | DTTR_SDL_ShowOpenFileDialog (SDL_DialogFileCallback callback, void *userdata, SDL_Window *window, const SDL_DialogFileFilter *filters, int nfilters, const char *default_location, bool allow_many) |
| void | DTTR_SDL_PumpEvents () |
| void | DTTR_SDL_Delay (Uint32 ms) |
| void DTTR_SDL_Delay | ( | Uint32 | ms | ) |
Definition at line 191 of file sdl.c.
References delay, and load_sdl().
Referenced by wait_for_browse_result().
| void DTTR_SDL_PumpEvents | ( | ) |
Definition at line 183 of file sdl.c.
References load_sdl(), and pump_events.
Referenced by wait_for_browse_result().
| bool DTTR_SDL_ShowMessageBox | ( | const SDL_MessageBoxData * | messageboxdata, |
| int * | buttonid ) |
Definition at line 135 of file sdl.c.
References load_sdl(), and show_message_box.
Referenced by confirm_discard_changes(), native_choose_game_source(), request_reset_defaults(), and try_fix_permissions().
| void DTTR_SDL_ShowOpenFileDialog | ( | SDL_DialogFileCallback | callback, |
| void * | userdata, | ||
| SDL_Window * | window, | ||
| const SDL_DialogFileFilter * | filters, | ||
| int | nfilters, | ||
| const char * | default_location, | ||
| bool | allow_many ) |
Definition at line 158 of file sdl.c.
References load_sdl(), report_dialog_failure(), and show_open_file_dialog.
Referenced by open_file_dialog(), and run_browse_dialog().
| void DTTR_SDL_ShowOpenFolderDialog | ( | SDL_DialogFileCallback | callback, |
| void * | userdata, | ||
| SDL_Window * | window, | ||
| const char * | default_location, | ||
| bool | allow_many ) |
Definition at line 143 of file sdl.c.
References load_sdl(), report_dialog_failure(), and show_open_folder_dialog.
Referenced by open_pcdogs_dir_dialog(), and run_browse_dialog().
| bool DTTR_SDL_ShowSimpleMessageBox | ( | SDL_MessageBoxFlags | flags, |
| const char * | title, | ||
| const char * | message, | ||
| SDL_Window * | window ) |
Definition at line 121 of file sdl.c.
References flags, load_sdl(), NULL, and show_simple_message_box.
Referenced by DTTR_Errors_ShowMessage(), DTTR_LoaderUI_ShowError(), init_state_from_args(), report_file_open_failure(), and unhandled_exception_filter().