| | |
| | | |
| | | #ifdef HAVE_LIMITS_H |
| | | #include <limits.h> |
| | | #else |
| | | #endif |
| | | #ifndef SIZE_MAX |
| | | #define SIZE_MAX ((size_t)-1) |
| | | #endif |
| | | #endif |
| | | |
| | | #include "../../core/windows/SDL_windows.h" |
| | | |
| | | #include "SDL_assert.h" |
| | | #include "SDL_windowsvideo.h" |
| | | #include "SDL_windowstaskdialog.h" |
| | | |
| | |
| | | |
| | | /* Jan 25th, 2013 - dant@fleetsa.com |
| | | * |
| | | * |
| | | * I've tried to make this more reasonable, but I've run in to a lot |
| | | * of nonsense. |
| | | * |
| | |
| | | * somewhat correct. |
| | | * |
| | | * Honestly, a long term solution is to use CreateWindow, not CreateDialog. |
| | | * |
| | | |
| | | * |
| | | * In order to get text dimensions we need to have a DC with the desired font. |
| | | * I'm assuming a dialog box in SDL is rare enough we can to the create. |