to your application code should work, because normally everything just gets linked together statically anyway.
You can’t really add it to an existing module, if you wanted that you would change it upstream. You could create your own module but for such a small addition it seems silly.
That probably would be possible, but I think it is more complicated than forking the wrapper and adding the function.
If I understand the code correctly the function is missing here:
and the wrapper here:
I think I would either try to add it myself and then add a pull request, or create an issue in the github repo to get help, it doesn’t make sense to me that raygui is included, loading styles too, just not loading them from memory, so I think it is most likely just missing because nobody asked for it.
Here is my preferred flow chart for this use case:
Fork the open source project that is missing the desired feature.
Add the feature.
Submit the patch to the open source project.
Switch your project to use your fork while you wait for it to be merged upstream.
If it is merged upstream, great! Next time they make a release you can switch back from your fork.
If your enhancement is rejected, then switch back from your fork, resorting to a workaround instead, such as the one suggested in this thread.
If many of your patches are rejected by upstream, consider making an actual fork that you maintain and take in a different direction, providing healthy competition for the ecosystem.