Update Dear Imgui to 1.79 with Docking Feature #2
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR updates Dear Imgui to the Docking branch, based on 1.79 (the latest release). It also updates the HL bindings and Haxe API, with only minor breaking changes (ill list them below). I definitely understand if you aren't interested in merging in a feature that's technically still in testing - but it is very useful, it is togglable (it's turned off by default), and I can say from experience that it's fairly stable.
One thing to note - if accepted, this PR should be merged in after PR #1, since this branch was branched off of that (ive been using both features in my own codebase). Sorry about the inconvenience!
Changes:
extensions/imgui
to use the latest docking branch that has just been merged with 1.79 (specifically this commit)RenderDrawListsFn
in HL bindings (as it's been made obsolete in newer imgui versions), and updates theRender
method to compensatedockSpace()
method to Haxe APIsetConfigFlags()
method to Haxe API. This is useful in general, but is also required to turn on the docking feature (like so:ImGui.setConfigFlags(ImGuiConfigFlags.DockingEnable);
)ImGuiStyle.TabMinWidthForUnselectedCloseButton
intoImGuiStyle.TabMinWidthForCloseButton
ImGui. openPopupOnItemClick()
return type from aBool
into aVoid