GFX2_MessageBox()

Especially useful to display startup errors
This commit is contained in:
Thomas Bernard
2020-05-05 21:39:20 +02:00
parent 80ff6f7dfd
commit b0f1117bbc
5 changed files with 158 additions and 8 deletions

View File

@@ -704,3 +704,8 @@ int GFX2_GetScreenSize(int * width, int * height)
return (*width > 0 && *height > 0);
}
int GFX2_MessageBox(const char * text, const char * caption, unsigned int type)
{
return MessageBoxA(GFX2_Get_Window_Handle(), text, caption, type);
}