imgui_impl_osx.h (imgui-1.86) | : | imgui_impl_osx.h (imgui-1.87) | ||
---|---|---|---|---|
// dear imgui: Platform Backend for OSX / Cocoa | // dear imgui: Platform Backend for OSX / Cocoa | |||
// This needs to be used along with a Renderer (e.g. OpenGL2, OpenGL3, Vulkan, M etal..) | // This needs to be used along with a Renderer (e.g. OpenGL2, OpenGL3, Vulkan, M etal..) | |||
// [ALPHA] Early backend, not well tested. If you want a portable application, p refer using the GLFW or SDL platform Backends on Mac. | // [ALPHA] Early backend, not well tested. If you want a portable application, p refer using the GLFW or SDL platform Backends on Mac. | |||
// Implemented features: | // Implemented features: | |||
// [X] Platform: Mouse cursor shape and visibility. Disable with 'io.ConfigFlag s |= ImGuiConfigFlags_NoMouseCursorChange'. | // [X] Platform: Mouse cursor shape and visibility. Disable with 'io.ConfigFlag s |= ImGuiConfigFlags_NoMouseCursorChange'. | |||
// [X] Platform: Keyboard support. Since 1.87 we are using the io.AddKeyEvent() function. Pass ImGuiKey values to all key functions e.g. ImGui::IsKeyPressed(Im GuiKey_Space). [Legacy kVK_* values will also be supported unless IMGUI_DISABLE_ OBSOLETE_KEYIO is set] | ||||
// [X] Platform: OSX clipboard is supported within core Dear ImGui (no specific code in this backend). | // [X] Platform: OSX clipboard is supported within core Dear ImGui (no specific code in this backend). | |||
// [X] Platform: Gamepad support. Enabled with 'io.ConfigFlags |= ImGuiConfigFl ags_NavEnableGamepad'. | // [X] Platform: Gamepad support. Enabled with 'io.ConfigFlags |= ImGuiConfigFl ags_NavEnableGamepad'. | |||
// [X] Platform: Keyboard arrays indexed using kVK_* codes, e.g. ImGui::IsKeyPr | // [X] Platform: IME support. | |||
essed(kVK_Space). | // | |||
// 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 | |||
#include "imgui.h" // IMGUI_IMPL_API | #include "imgui.h" // IMGUI_IMPL_API | |||
@class NSEvent; | @class NSEvent; | |||
@class NSView; | @class NSView; | |||
End of changes. 2 change blocks. | ||||
3 lines changed or deleted | 3 lines changed or added |