--- previous/src/includes/sdlgui.h 2018/04/24 19:25:55 1.1.1.2 +++ previous/src/includes/sdlgui.h 2018/04/24 19:32:13 1.1.1.4 @@ -64,15 +64,17 @@ typedef struct int sdlgui_fontwidth; /* Width of the actual font */ int sdlgui_fontheight; /* Height of the actual font */ -extern int SDLGui_Init(void); -extern int SDLGui_UnInit(void); -extern int SDLGui_SetScreen(SDL_Surface *pScrn); -extern void SDLGui_GetFontSize(int *width, int *height); -extern void SDLGui_Text(int x, int y, const char *txt); -extern void SDLGui_DrawDialog(const SGOBJ *dlg); -extern int SDLGui_DoDialog(SGOBJ *dlg, SDL_Event *pEventOut); -extern void SDLGui_CenterDlg(SGOBJ *dlg); -extern char* SDLGui_FileSelect(const char *path_and_name, char **zip_path, bool bAllowNew); -extern bool SDLGui_FileConfSelect(char *dlgname, char *confname, int maxlen, bool bAllowNew); +int SDLGui_Init(void); +int SDLGui_UnInit(void); +int SDLGui_SetScreen(SDL_Surface *pScrn); +void SDLGui_GetFontSize(int *width, int *height); +void SDLGui_Text(int x, int y, const char *txt); +void SDLGui_DrawDialog(const SGOBJ *dlg); +int SDLGui_DoDialog(SGOBJ *dlg, SDL_Event *pEventOut); +void SDLGui_CenterDlg(SGOBJ *dlg); +char* SDLGui_FileSelect(const char *path_and_name, char **zip_path, bool bAllowNew); +bool SDLGui_FileConfSelect(char *dlgname, char *confname, int maxlen, bool bAllowNew); +bool SDLGui_DiskSelect(char *dlgname, char *confname, int maxlen, bool *readonly); +bool SDLGui_DirectorySelect(char *dlgname, char *confname, int maxlen); #endif