mikke89 / RmlUi

RmlUi - The HTML/CSS User Interface library evolved
https://mikke89.github.io/RmlUiDoc/
MIT License
2.89k stars 316 forks source link

Support for raylib as a backend? #710

Open SomeGuyDoinWork opened 1 week ago

SomeGuyDoinWork commented 1 week ago

I know raylib has an active opengl context but not sure if rmlui has support for the systems/non rendering parts of raylib.

mikke89 commented 1 week ago

Right, I think it should just work with our OpenGL renderer, as you mention. The render interface is the only thing that's required to get started, but you'll probably also want to add input at least.

I'm not sure how raylib interacts with the window, looks like it can hook into glfw/sdl, so maybe you can just pick the right one out of those as a platform?