Eric Wasylishen
0d98793693
testwm2: Fix video modes menu hit detection when highdpi or logical size used ( #4936 )
...
* SDLTest_CommonDrawWindowInfo: log SDL_RenderGetScale, SDL_RenderGetLogicalSize
* testwm2: fix video modes menu hit detection in High DPI cases
- also when logical size is specified, e.g.
`--logical 640x480 --resizable --allow-highdpi`
* add function to determine logical coordinates of renderer point when given window point
* change since to the targeted milestone
* fix typo
* rename for consistency
* Change logical coordinate type to float, since we can render with floating point precision.
* add function to convert logical to window coordinates
* testwm2: use new SDL_RenderWindowToLogical
* SDL_render.c: alternate SDL_RenderWindowToLogical/SDL_RenderLogicalToWindow
Co-authored-by: John Blat <johnblat64@protonmail.com>
Co-authored-by: John Blat <47202511+johnblat64@users.noreply.github.com>
2021-11-09 21:03:42 -08:00
..
2021-01-02 10:25:38 -08:00
2021-01-02 10:25:38 -08:00
2021-10-27 01:36:05 +00:00
2021-10-27 01:36:05 +00:00
2021-10-27 01:36:05 +00:00
2021-07-14 14:15:30 -04:00
2021-10-27 01:36:05 +00:00
2021-10-27 01:36:05 +00:00
2021-08-10 14:50:43 -07:00
2021-11-08 15:16:18 -05:00
2021-08-10 12:07:32 -07:00
2021-09-20 10:22:50 -04:00
2021-11-08 07:19:45 -08:00
2021-11-08 21:15:04 +03:00
2021-08-10 12:07:32 -07:00
2021-11-08 07:19:45 -08:00
2021-11-05 21:06:58 -05:00
2021-11-08 07:19:45 -08:00
2021-08-10 12:07:32 -07:00
2021-08-14 17:04:46 +01:00
2021-11-08 14:16:54 -08:00
2021-11-08 14:16:54 -08:00
2021-01-02 10:25:38 -08:00
2021-10-27 01:36:05 +00:00
2021-10-21 20:48:08 -07:00
2021-09-21 18:15:10 -07:00
2021-10-27 01:36:05 +00:00
2021-11-08 09:44:31 -08:00
2021-09-28 17:03:06 +00:00
2021-11-07 14:10:04 -08:00
2021-03-21 14:19:53 -04:00
2021-10-27 01:36:05 +00:00
2021-11-08 07:19:45 -08:00
2021-10-27 01:36:05 +00:00
2021-10-27 01:36:05 +00:00
2021-10-27 01:36:05 +00:00
2021-08-17 10:00:14 +03:00
2021-10-27 01:36:05 +00:00
2021-10-27 01:36:05 +00:00
2021-10-27 01:36:05 +00:00
2021-10-27 01:36:05 +00:00
2021-10-27 01:36:05 +00:00
2021-10-27 01:36:05 +00:00
2021-10-27 01:36:05 +00:00
2021-10-27 01:36:05 +00:00
2021-10-27 01:36:05 +00:00
2021-01-02 10:25:38 -08:00
2019-09-11 15:08:37 -07:00
2021-01-02 10:25:38 -08:00
2015-06-21 17:33:46 +02:00
2015-06-21 17:33:46 +02:00
2015-06-21 17:33:46 +02:00
2015-06-21 17:33:46 +02:00
2021-10-21 20:48:08 -07:00
2021-01-02 10:25:38 -08:00
2021-10-27 01:36:05 +00:00
2021-10-27 01:36:05 +00:00
2021-10-27 01:36:05 +00:00
2021-01-02 10:25:38 -08:00
2021-10-27 01:36:05 +00:00
2021-11-09 21:03:42 -08:00
2021-02-12 08:54:08 -08:00
2021-09-09 22:34:42 -04:00
2021-10-27 01:36:05 +00:00
2021-01-02 10:25:38 -08:00
2021-10-27 01:36:05 +00:00
2021-10-27 01:36:05 +00:00
2021-11-07 23:00:59 -08:00
2021-10-27 01:36:05 +00:00
2021-11-02 15:58:54 -07:00
2021-10-30 21:25:01 -07:00
2021-07-14 14:15:30 -04:00
2021-11-08 14:16:54 -08:00
2021-01-02 10:25:38 -08:00
2021-01-02 10:25:38 -08:00
2021-07-14 14:15:30 -04:00
2021-07-14 14:15:30 -04:00
2021-07-14 14:15:30 -04:00
2021-01-02 10:25:38 -08:00
2021-01-02 10:25:38 -08:00
2021-01-02 10:25:38 -08:00
2021-01-02 10:25:38 -08:00
2021-07-14 14:15:30 -04:00
2021-01-02 10:25:38 -08:00
2021-10-27 01:36:05 +00:00
2021-11-01 14:28:00 -04:00
2021-10-27 01:36:05 +00:00
2021-01-02 10:25:38 -08:00
2021-10-27 01:36:05 +00:00
2021-11-08 21:34:48 -08:00
2021-10-27 01:36:05 +00:00
2021-11-07 23:00:59 -08:00