From c269ca1d54ea783941f9fd46a4b3349458156084 Mon Sep 17 00:00:00 2001 From: omar Date: Wed, 5 Jul 2023 14:59:15 +0200 Subject: [PATCH] Updated Getting Started (markdown) --- Getting-Started.md | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/Getting-Started.md b/Getting-Started.md index b9a80e8..82197cf 100644 --- a/Getting-Started.md +++ b/Getting-Started.md @@ -10,7 +10,8 @@ - [Example: If you are using SDL2 + OpenGL/WebGL](#example-if-you-are-using-sdl2--openglwebgl) - [Example: If you are using SDL2 + Vulkan](#example-if-you-are-using-sdl2--vulkan) - [Using another combination of backends?](#using-another-combination-of-backends) -- [Additional code to enable Multi-viewports mode](#additional-code-to-enable-multi-viewports-mode) +- [Additional code to enable Docking](#additional-code-to-enable-docking) +- [Additional code to enable Multi-viewports](#additional-code-to-enable-multi-viewports) ## Preamble @@ -411,7 +412,13 @@ That should be all! The various examples above should reflect integration with a majority of backends, so you can follow the same logic. Some backends require more information from you (e.g. in particular Vulkan and DirectX12 rendering backends). When in doubt, refer to the corresponding [examples](https://github.com/ocornut/imgui/tree/master/examples) application. -## Additional code to enable Multi-viewports mode +## Additional code to enable Docking + +To use the [Docking](https://github.com/ocornut/imgui/wiki/Docking) feature, pull the `docking` branch and enable the configuration flag: +```cpp +io.ConfigFlags |= ImGuiConfigFlags_DockingEnable; +``` +## Additional code to enable Multi-viewports To use the [Multi-viewports](https://github.com/ocornut/imgui/wiki/Multi-Viewports) feature, pull the `docking` branch and enable the configuration flag: ```cpp