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.
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