2018-06-11 03:19:17 -05:00
|
|
|
// ImGui Platform Binding for: OSX / Cocoa
|
2018-07-04 06:24:16 -05:00
|
|
|
// This needs to be used along with a Renderer (e.g. OpenGL2, OpenGL3, Vulkan, Metal..)
|
2018-06-11 03:19:17 -05:00
|
|
|
|
|
|
|
@class NSEvent;
|
2018-07-04 06:24:16 -05:00
|
|
|
@class NSVew;
|
2018-06-11 03:19:17 -05:00
|
|
|
|
|
|
|
// FIXME-OSX: Try replacing with NSView
|
|
|
|
IMGUI_API bool ImGui_ImplOSX_Init();
|
|
|
|
IMGUI_API void ImGui_ImplOSX_Shutdown();
|
2018-07-04 06:24:16 -05:00
|
|
|
IMGUI_API void ImGui_ImplOSX_NewFrame(NSView *_Nonnull view);
|
|
|
|
IMGUI_API bool ImGui_ImplOSX_HandleEvent(NSEvent *_Nonnull event, NSView *_Nullable view);
|