mirror of
https://github.com/ocornut/imgui.git
synced 2025-10-26 12:27:30 +00:00
11
examples/imgui_impl_osx.h
Normal file
11
examples/imgui_impl_osx.h
Normal file
@@ -0,0 +1,11 @@
|
||||
// ImGui Platform Binding for: OSX / Cocoa
|
||||
// This needs to be used along with a Renderer (e.g. OpenGL2, OpenGL3, Vulkan..)
|
||||
|
||||
@class NSEvent;
|
||||
@class NSOpenGLView;
|
||||
|
||||
// FIXME-OSX: Try replacing with NSView
|
||||
IMGUI_API bool ImGui_ImplOSX_Init();
|
||||
IMGUI_API void ImGui_ImplOSX_Shutdown();
|
||||
IMGUI_API void ImGui_ImplOSX_NewFrame(NSOpenGLView* view);
|
||||
IMGUI_API bool ImGui_ImplOSX_HandleEvent(NSEvent* event);
|
||||
Reference in New Issue
Block a user