3 ms·
Allegro, SDL2, SFML, et al. do more things (audio, joystick support, keyboard/mouse events) across platforms. Skia does one thing really well, 2D graphics. The
by git-pull 9y ago
Allegro, SDL2, SFML, et al. do more things (audio, joystick support, keyboard/mouse events) across platforms. Skia does one thing really well, 2D graphics.
There is a ticket open for building an abstraction layer @ https://github.com/aseprite/aseprite/issues/139 https://github.com/aseprite/aseprite/issues/139
In terms of Aseprite:
> > But what made it the choice over Allegro 5, SFML, and SDL2?
> through all these years I reached to the conclusion that you need full control of mouse and keyboard messages (and all window messages in particular, e.g. to give proper support to pen/stylus). [1]
[1] https://github.com/aseprite/aseprite/issues/139#issuecomment-311833621 https://github.com/aseprite/aseprite/issues/139#issuecomment...
- jchw 9y agoOK, I agree with the sentiment. SDL2 is probably the closest to doing the right things, but even then you're on your own with the stylus APIs mostly. So far, the only library I've used that can properly abstract graphics tablets across platforms is Qt, and in the past it has been sometimes rough around the edges with support for it. I think on Windows it is still using the Wintab32 API and not the newer Windows 8 Ink APIs, for example.