enable Docking and keyboard navigation
This commit is contained in:
parent
c9354dea26
commit
9c78b57cb0
|
|
@ -128,8 +128,12 @@ namespace Nz
|
||||||
ImGuiIO& io = ImGui::GetIO();
|
ImGuiIO& io = ImGui::GetIO();
|
||||||
|
|
||||||
// tell ImGui which features we support
|
// tell ImGui which features we support
|
||||||
|
io.ConfigFlags |= ImGuiConfigFlags_NavEnableKeyboard;
|
||||||
|
io.ConfigFlags |= ImGuiConfigFlags_DockingEnable;
|
||||||
|
|
||||||
io.BackendFlags |= ImGuiBackendFlags_HasMouseCursors;
|
io.BackendFlags |= ImGuiBackendFlags_HasMouseCursors;
|
||||||
io.BackendFlags |= ImGuiBackendFlags_HasSetMousePos;
|
io.BackendFlags |= ImGuiBackendFlags_HasSetMousePos;
|
||||||
|
io.BackendFlags |= ImGuiBackendFlags_HasMouseHoveredViewport;
|
||||||
io.BackendPlatformName = "imgui_nazara";
|
io.BackendPlatformName = "imgui_nazara";
|
||||||
|
|
||||||
// init rendering
|
// init rendering
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue