Closed sonoro1234 closed 3 years ago
style_
Seems to me this should be fixed on cimgui side. I can understand avoiding use of special syntax as that is tricky to parse, but requiring upstream project to adopt unusual coding style in some places sounds bit much.
It is just that Style is used by imnodes (https://github.com/Nelarius/imnodes) that being also C wrapped makes a collision with another Style definition. I dont mind how it is called. (Could be CanvasStyle?) Otherwise you could merge but changing style_ to Style and I could wrap every struct name with its parent struct and namespace names.
I see. CanvasStyle
works, yes :+1:
Should I do a new PR?
No need. You can amend commit in this one, or just push, and i will squash on merge. Whatever is most convenient for you :)
done!!
Solves issue #19 and also redo
style_
in previous PR for cimgui compatibility.