rxi / microui

A tiny immediate-mode UI library
MIT License
3.29k stars 239 forks source link

improve demo code #23

Closed chirsz-ever closed 4 years ago

chirsz-ever commented 4 years ago
rxi commented 4 years ago

I appreciate that some time and effort went into this pull request, but I don't consider this an overall improvement to the existing demo code. The demo is meant to be as terse and simple as possible -- a minimal example of how to get started using the library. Contrary to actual software it isn't meant to check every error case, it isn't meant to be nice or robust, it's meant to be as little "other code" to "code showing how the library works" as possible -- it's not an example on how to properly document your code, handle errors, manage resources or best use OpenGL, it's an example of how to set up and use the library, any focus elsewhere is just noise.

0xtrzy commented 4 years ago

how generating inl file?