Restyle message boxes and add icon support to them on X11. (#13267)

This commit is contained in:
eafton
2025-07-28 19:23:38 +03:00
committed by GitHub
parent dc1bf60b15
commit d983a89241
3 changed files with 485 additions and 135 deletions

View File

@@ -137,7 +137,7 @@ int main(int argc, char *argv[])
quit(1);
}
success = SDL_ShowSimpleMessageBox(SDL_MESSAGEBOX_ERROR,
success = SDL_ShowSimpleMessageBox(SDL_MESSAGEBOX_WARNING,
"Simple MessageBox",
"This is a simple MessageBox with a newline:\r\nHello world!",
NULL);