-
Notifications
You must be signed in to change notification settings - Fork 176
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
Remove use of obsolete ImGui functions - v1.89 #303
Conversation
Thanks! I need a little more time to figure out how I want to enforce this in CI but once I do that I can get this merged. |
Nice ! |
ad72097
to
d46b256
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Decided to make IMGUI_DISABLE_OBSOLETE_FUNCTIONS
PUBLIC
so that consumers of the ImGui-SFML
CMake target also get that defined. This means that when they compile Imgui.h they don't have access to functions that were not compiled into their build of ImGui-SFML.
@Legulysse Let me know what you think
Seems safer this way to me ! And it allows the library and its users to move forward alongside imgui's future versions. |
d46b256
to
c2cf3df
Compare
Thanks for your help on this. I'll get this merged into |
@ChrisThrasher Thank you for your work ! |
This PR contains a migration commit to allow imgui-sfml to be compiled with the flag IMGUI_DISABLE_OBSOLETE_FUNCTIONS.
Target imgui version : 1.89
Edit: this PR is tied to this ticket : #301