cschreib / lxgui

Portable, real time, modular and data-driven GUI C++ library.
https://cschreib.github.io/lxgui
MIT License
75 stars 20 forks source link

Add SDL backend #51

Closed cschreib closed 3 years ago

cschreib commented 3 years ago

SDL is a fairly standard and widely supported rendering/input backend. Adding an SDL backend to lxgui would increase the number of projects that could use the library.

Differences with SFML:

cschreib commented 3 years ago

Work started in https://github.com/cschreib/lxgui/tree/sdl-backend

cschreib commented 3 years ago

Input backend is now working. Working on renderer backend now.

cschreib commented 3 years ago

Renderer backend almost fully working, still need to figure out these things:

cschreib commented 3 years ago

Color gradients are now working.

cschreib commented 3 years ago

Rotated textures and texture repeat are now working (with a slight implementation issue in texture repeat).

cschreib commented 3 years ago

Pre-multiplied alpha blending is now fixed.

cschreib commented 3 years ago

Work merged into master.