Armin Novak
465a6353d5
[c23,client] replace NULL with nullptr
2026-02-26 15:42:59 +01:00
Armin Novak
52cd988410
[client,sdl] fix cursor surface creation
...
* Pass the pixel width and height to SDL_CreateSurface
* Pass display scaled hotspot to SDL_CreateColorCursor
2026-02-14 10:06:12 +01:00
Armin Novak
3503be620a
[client,sdl] log cursor scale
2026-02-14 10:03:01 +01:00
Armin Novak
07bf4e9c10
[client,sdl] improve cursor updates
...
* use std::unique_ptr for temporary SDL_Surface (ease up cleanup)
* better logging of errors (add full surface details)
2026-02-14 10:02:57 +01:00
akallabeth
b7a92956e6
[client,sdl] log all cursor related errors
2026-01-29 22:00:46 +01:00
akallabeth
a9e3954076
[client,sdl] simplify mouse cursor update and restore
2026-01-28 21:49:31 +01:00
akallabeth
57034f2294
[client,sdl] fix compiler warnings
2026-01-27 15:22:36 +01:00
akallabeth
7f434db04a
[client,sdl] use SdlContext scaling functions
2026-01-27 15:22:32 +01:00
akallabeth
4c15ec1b99
[client,sdl] add nodiscard to functions
2026-01-27 15:22:17 +01:00
akallabeth
2fe15703b3
[client,sdl] split SdlContext to separate files
2026-01-27 15:22:12 +01:00
akallabeth
c42ecbd183
[client,sdl] reset pointer after memory release
2026-01-26 11:26:48 +01:00
akallabeth
04c1c75d63
[client,sdl] only send relative mouse event if no cursor shown
2025-04-10 08:48:50 +02:00
akallabeth
3c354a5f1b
[client,sdl] refactor display update
2025-04-10 08:31:45 +02:00
jpy794
0b6329bdd6
enable sdl3 hidpi
...
fix wait create windows
enable sdl hidpi
map mouse event
fix smart sizing
dynamic resolution in hidpi
reset drawing offset when resize is done
tirgger a full redraw to sdl window after resizing
format & fix warning
sdl hidpi cursor workaround
clean up
format
2025-03-25 00:51:31 +08:00
akallabeth
0d8764263f
[client,sdl] eliminate unused variables
2024-09-24 19:45:20 +02:00
akallabeth
239440e28d
[warnings] remove or comment unused macros
2024-09-20 18:49:38 +02:00
akallabeth
993756e575
[client,sdl] fix SDL3 compilation error
2024-09-11 21:50:30 +02:00
akallabeth
189abc73f3
[client,sdl] fix missing field initializer warnings
2024-09-10 14:42:42 +02:00
akallabeth
bd637c6cd1
[warnings] fix various clang-tidy warnings
2024-08-29 17:13:50 +02:00
David Fort
4e6f7fb989
[sdl3] fix build against last SDL3
2024-08-12 11:50:02 +02:00
akallabeth
cc038ad89b
[client,sdl] merge SDL2 and SDL3 projects
2024-05-16 20:34:11 +02:00