mirror of
https://github.com/Drezil/imgui.git
synced 2024-12-23 16:16:36 +00:00
12 lines
426 B
Objective-C
12 lines
426 B
Objective-C
// 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);
|