102 Patches: Detours to the Rescue
C reference for DttR maintainers and modders.
Loading...
Searching...
No Matches
dttr_sdl.h
Go to the documentation of this file.
1#ifndef DTTR_SDL_H
2#define DTTR_SDL_H
3
4#include <stdbool.h>
5
6#include <SDL3/SDL.h>
7
9 SDL_MessageBoxFlags flags,
10 const char *title,
11 const char *message,
12 SDL_Window *window
13);
14bool DTTR_SDL_ShowMessageBox(const SDL_MessageBoxData *messageboxdata, int *buttonid);
16 SDL_DialogFileCallback callback,
17 void *userdata,
18 SDL_Window *window,
19 const char *default_location,
20 bool allow_many
21);
23 SDL_DialogFileCallback callback,
24 void *userdata,
25 SDL_Window *window,
26 const SDL_DialogFileFilter *filters,
27 int nfilters,
28 const char *default_location,
29 bool allow_many
30);
32void DTTR_SDL_Delay(Uint32 ms);
33
34#endif // DTTR_SDL_H
DTTR_Graphics_COM_Direct3DDevice7 void DWORD flags DWORD void DWORD flags
struct SDL_Window SDL_Window
Definition dttr_mods.h:18
bool DTTR_SDL_ShowMessageBox(const SDL_MessageBoxData *messageboxdata, int *buttonid)
Definition sdl.c:135
void DTTR_SDL_Delay(Uint32 ms)
Definition sdl.c:191
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 sdl.c:158
void DTTR_SDL_ShowOpenFolderDialog(SDL_DialogFileCallback callback, void *userdata, SDL_Window *window, const char *default_location, bool allow_many)
Definition sdl.c:143
void DTTR_SDL_PumpEvents()
Definition sdl.c:183
bool DTTR_SDL_ShowSimpleMessageBox(SDL_MessageBoxFlags flags, const char *title, const char *message, SDL_Window *window)
Definition sdl.c:121