-
Notifications
You must be signed in to change notification settings - Fork 945
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
Dear ImGui Updates: v1.89.8 Release / Docking Branch #2311
base: master
Are you sure you want to change the base?
Conversation
- imgui_tables.cpp is new - imgui_impl_opengl3_loader.h is new but kept private to src folder (gl loader only used by imgui_impl_opengl3.cpp)
- Fixes IM_ASSERTS not being catchable - defines IMGUI_DEFINE_MATH_OPERATORS (see release notes in v1.89.4)
I just pushed an additional update that fixes This is because if the user doesn't define
I think this is a decent middleground, where all you need to do after updating, is to copy that |
Thank you for working on this! Hard to see looking at the diff, but did you need to modify any of the Imgui sources? Regarding submodules, I don't know how that would work with Tinderbox, but I've had a good time using CMake's FetchContent to include ImGUI. I think this might make it easier for people to update ImGui on their own. However, this won't work if the ImGUI source needs modification prior to integration. |
Didn't have to modify Dear ImGui sources, just a small bit of Cinder's wrapper to use I don't think we can rely on a CMake specific tool to download ImGui because CMake is just one way we build cinder and samples. In production work, we usually use the hand-tuned Visual Studio project files directly. We could write scripts to fetch ImGui sources, though I personally feel that route is tedious to maintain and as we already use submodules for other things (Tinderbox and usually much more in production projects), they are still the easiest and most flexible way to go. |
This updates Dear ImGui sources to v1.89.8, docking branch. Also hoping to get a consensus on what branch people would like to see in the master repo. Personally, I think the new ImGui Tables API is a must for data debugging, although that does live in the official release branch. I know that on various client projects, we've switched to using docking as it allows for a cleaner user-facing GUI, and although the API appears stable who knows when it'll make it into the official release branch.
Important code changes include:
#include
ed.I had to make minor upates to my own GUI code in various places (
ListBox()
,GetContentAvailWidth()
->ImGui::GetContentRegionAvail().x
)Last thing to note: we're discussing moving Dear ImGui to a submodule for a future release (likely when v2.0 lands), let us know if any feedback on that as well.
Needed: