[API] Add ImGuiContext struct and ability to switch Dear ImGui contexts (#65)

Struct itself has no fields or methods. It can be used for context switching though.

* Implement ImGuiContext

* Move ImGuiContext from imgui to imgui.internal, minor bugfixes

resolves #17
This commit is contained in:
Perry MacMurray authored and GitHub committed 2021-07-13 08:22:48 +03:00
1 parent 0bcbb04e63
commit 78694a4263
2 files changed
+51 -8

No files matched your search

@@ -0,0 +1,9 @@
package imgui.internal;
import imgui.binding.ImGuiStruct;
public class ImGuiContext extends ImGuiStruct {
public ImGuiContext(final long ptr) {
super(ptr);
}
}