How to create a custom mouse cursor using SDL2. Video 4

preview_player
Показать описание
A continuation of the C++ SDL2 series. This video shows how to add a custom mouse cursor to your program.
Рекомендации по теме
Комментарии
Автор

A look at the SDL documentation shows that there seems to be an alternative approach that replaces the system mouse cursor in a way that isn't limited by the game's framerate: SDL_CreateColorCursor() + SDL_SetCursor(). It's hard to find documentation on the limitations of these function calls, but I've seen some people complain that certain cursor sizes are rejected by some operating systems. Is that the reason why you chose this approach?

RubenLopezG
join shbcf.ru