4 ms·
It is a single-header library in terms of the format, yes. But it is also not designed to be a single-header library, unlike an STB-style library. Nuklear is a
by colleagueRiley 2y ago
It is a single-header library in terms of the format, yes. But it is also not designed to be a single-header library, unlike an STB-style library.
Nuklear is a full-sized library that can be compiled into and used as one file. However, RGFW and STB are designed to be lightweight and minimalistic. That's the distinctive part of single-header libraries, also known as STB-style libraries.
To be clear, I don't mean this to hate on Nuklear, it's a cool UI library, but its design doesn't match the single-header format.
- ranger_danger 2y agoHow is it not designed to be a single-header library? The README even directly states "Single-header library". How is it not designed to be lightweight and minimalistic? How do you think the design differs from your idea (which is what exactly?) of a "single-header format"?
- colleagueRiley 2y agohttps://github.com/SasLuca/glfw-single-header/blob/master/example/glfw.h https://github.com/SasLuca/glfw-single-header/blob/master/ex...
- ranger_danger 2y agoWhat is this supposed to be telling me? This also looks like it was multiple files concatenated together because there are multiple different header guards throughout the file.