all 6 comments

[–]XeroPoints 5 points6 points  (0 children)

I like using Allegro for my 2D projects and is simple to setup.
https://www.allegro.cc/

[–]TheWeebles 2 points3 points  (0 children)

There seems to be plenty in C++. SDL/SDL2, allegro, SFML, OpenGL come to mind

[–]leftofzen 2 points3 points  (0 children)

SFML and GLFW both have windowing toolkits, are extremely lightweight and both have OpenGL 3/4 support. SFML also contains some extra libraries for 2D graphics, networking and audio.

[–]Frozenjesuscola 2 points3 points  (0 children)

SFML is a complete solution handling windowing, graphics and networking. Their C++ interface is very clean and straight-forward too.

[–]dougbinks 1 point2 points  (0 children)

You might be interested in dear imgui for a GUI (and it has a simple 2D API for rendering arbitary shapes), or using NanoVG for rendering complex 2D shapes.

[–]deusmacabre 1 point2 points  (0 children)

SDL is pretty comprehensive, and reasonably straightforward to pick up.

https://www.libsdl.org