imgui_impl_win32.h (imgui-1.86) | : | imgui_impl_win32.h (imgui-1.87) | ||
---|---|---|---|---|
// dear imgui: Platform Backend for Windows (standard windows API for 32 and 64 bits applications) | // dear imgui: Platform Backend for Windows (standard windows API for 32 and 64 bits applications) | |||
// This needs to be used along with a Renderer (e.g. DirectX11, OpenGL3, Vulkan. .) | // This needs to be used along with a Renderer (e.g. DirectX11, OpenGL3, Vulkan. .) | |||
// Implemented features: | // Implemented features: | |||
// [X] Platform: Clipboard support (for Win32 this is actually part of core dea r imgui) | // [X] Platform: Clipboard support (for Win32 this is actually part of core dea r imgui) | |||
// [X] Platform: Mouse cursor shape and visibility. Disable with 'io.ConfigFlag | // [X] Platform: Keyboard support. Since 1.87 we are using the io.AddKeyEvent() | |||
s |= ImGuiConfigFlags_NoMouseCursorChange'. | function. Pass ImGuiKey values to all key functions e.g. ImGui::IsKeyPressed(Im | |||
// [X] Platform: Keyboard arrays indexed using VK_* Virtual Key Codes, e.g. ImG | GuiKey_Space). [Legacy VK_* values will also be supported unless IMGUI_DISABLE_O | |||
ui::IsKeyPressed(VK_SPACE). | BSOLETE_KEYIO is set] | |||
// [X] Platform: Gamepad support. Enabled with 'io.ConfigFlags |= ImGuiConfigFl ags_NavEnableGamepad'. | // [X] Platform: Gamepad support. Enabled with 'io.ConfigFlags |= ImGuiConfigFl ags_NavEnableGamepad'. | |||
// [X] Platform: Mouse cursor shape and visibility. Disable with 'io.ConfigFlag s |= ImGuiConfigFlags_NoMouseCursorChange'. | ||||
// You can use unmodified imgui_impl_* files in your project. See examples/ fold er for examples of using this. | // You can use unmodified imgui_impl_* files in your project. See examples/ fold er for examples of using this. | |||
// Prefer including the entire imgui/ repository into your project (either as a copy or as a submodule), and only build the backends you need. | // Prefer including the entire imgui/ repository into your project (either as a copy or as a submodule), and only build the backends you need. | |||
// If you are new to Dear ImGui, read documentation from the docs/ folder + read the top of imgui.cpp. | // If you are new to Dear ImGui, read documentation from the docs/ folder + read the top of imgui.cpp. | |||
// Read online: https://github.com/ocornut/imgui/tree/master/docs | // Read online: https://github.com/ocornut/imgui/tree/master/docs | |||
#pragma once | #pragma once | |||
#include "imgui.h" // IMGUI_IMPL_API | #include "imgui.h" // IMGUI_IMPL_API | |||
IMGUI_IMPL_API bool ImGui_ImplWin32_Init(void* hwnd); | IMGUI_IMPL_API bool ImGui_ImplWin32_Init(void* hwnd); | |||
End of changes. 2 change blocks. | ||||
4 lines changed or deleted | 5 lines changed or added |