| Summary: | SDL_ShowMessageBox on Windows shows buttons in the opposite order than on Linux | ||
|---|---|---|---|
| Product: | SDL | Reporter: | LGB <lgblgblgb> |
| Component: | *don't know* | Assignee: | Ryan C. Gordon <icculus> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | CC: | amaranth72 |
| Version: | 2.0.10 | Keywords: | target-2.0.14 |
| Hardware: | x86_64 | ||
| OS: | Windows 10 | ||
|
Description
LGB
2019-09-06 22:40:20 UTC
SDL 2.0.11 will have a flag to specify the visual order you want. Otherwise it uses the OS' native/default visual order. Fwiw, on X11, we roll our own message box from scratch, without an OS mandate, so we can change the default order regardless of flags. --ryan. The "native visual order" seems to be strange on Windows then :) Since I have five buttons, it's kinda makes hard to use at the opposite order between Windows and eg Linux. Anyway thanks for your time to give some information. I'll looking forward if 2.0.11 may introduce that visual order flag. Thanks. It looks like the flags to specify this landed in https://hg.libsdl.org/SDL/rev/2b00c2a7cec4 and we aren't going to change the default orders beyond that. --ryan. |