X11TK: Introduce Thai support and rewrite/cleanup messagebox positioning code (#14474)

This commit is contained in:
eafton 2025-11-21 02:26:46 +03:00 committed by GitHub
parent 92eaa34277
commit 36976ecb43
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 840 additions and 441 deletions

View file

@ -164,6 +164,11 @@ int main(int argc, char *argv[])
quit(1);
}
success = SDL_ShowSimpleMessageBox(0,
"No icon",
"This is a MessageBox with no icon!",
NULL);
/* Google says this is Traditional Chinese for "beef with broccoli" */
success = SDL_ShowSimpleMessageBox(SDL_MESSAGEBOX_ERROR,
"UTF-8 Simple MessageBox",