Add shortcut methods to add/remove config/backend flags

This commit is contained in:
SpaiR committed 2020-07-12 15:07:35 +03:00
1 parent 258b9feeb6
commit 92a9d43876
3 files changed
+29 -2

No files matched your search

@@ -193,7 +193,7 @@ public class ImGuiImplGlfw {
final ImGuiIO io = ImGui.getIO();
io.setBackendFlags(ImGuiBackendFlags.HasMouseCursors | ImGuiBackendFlags.HasSetMousePos);
io.addBackendFlags(ImGuiBackendFlags.HasMouseCursors | ImGuiBackendFlags.HasSetMousePos);
io.setBackendPlatformName("imgui_java_impl_glfw");
// Keyboard mapping. ImGui will use those indices to peek into the io.KeysDown[] array.