-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enum values are hardcoded into builder #18
Comments
First, thanks for ImGui, it's amazing piece of technology, I started using it for a little while and am having genuine fun with it, also repurposed one of it's examples in an in development tool here as agsconfig. ImGui is awesome! I will update it to use non-hardcoded values. For now the .ash is not used, and instead I am relying on a big string in When I get the API done I will proceed to try to automate it, but this is not trivial too, because parsing C++ code requires using Clang AST as parser. I am already learning Clang AST for a different project though, so eventually can be done. When this is done I can move the project to use git submodules or CMake instead of having a static version of ImGui stored in a directory in the git repository. |
Hello Eric, You can and should use the
Cheers |
OK, I read the cimgui repository and it seems doable, I will try later this month and report back. 😄 |
Hello,
Suggestion: it feels like the code generating the .ash file could emit the value using the value defined in imgui.h rather than hardcoded power of two:
etc.
This will make the generator code a little less readable. But please note that dear imgui provide no binary forward compatibility and those values are expected to change (and regularly are changing).
Regards.
The text was updated successfully, but these errors were encountered: