dependencies
third-party
imgui
src
examples
imgui_impl_osx.h
Go to the documentation of this file.
1
// dear imgui: Platform Binding for OSX / Cocoa
2
// This needs to be used along with a Renderer (e.g. OpenGL2, OpenGL3, Vulkan, Metal..)
3
// [ALPHA] Early bindings, not well tested. If you want a portable application, prefer using the GLFW or SDL platform bindings on Mac.
4
5
// Implemented features:
6
// [X] Platform: Mouse cursor shape and visibility. Disable with 'io.ConfigFlags |= ImGuiConfigFlags_NoMouseCursorChange'.
7
// [X] Platform: OSX clipboard is supported within core Dear ImGui (no specific code in this back-end).
8
// Issues:
9
// [ ] Platform: Keys are all generally very broken. Best using [event keycode] and not [event characters]..
10
11
@class
NSEvent;
12
@class
NSView;
13
14
IMGUI_API
bool
ImGui_ImplOSX_Init
();
15
IMGUI_API
void
ImGui_ImplOSX_Shutdown
();
16
IMGUI_API
void
ImGui_ImplOSX_NewFrame
(NSView *_Nullable view);
17
IMGUI_API
bool
ImGui_ImplOSX_HandleEvent
(NSEvent *_Nonnull
event
, NSView *_Nullable view);
event
struct _cl_event * event
Definition:
glcorearb.h:4163
ImGui_ImplOSX_HandleEvent
IMGUI_API bool ImGui_ImplOSX_HandleEvent(NSEvent *_Nonnull event, NSView *_Nullable view)
ImGui_ImplOSX_NewFrame
IMGUI_API void ImGui_ImplOSX_NewFrame(NSView *_Nullable view)
ImGui_ImplOSX_Init
IMGUI_API bool ImGui_ImplOSX_Init()
IMGUI_API
#define IMGUI_API
Definition:
imgui.h:70
ImGui_ImplOSX_Shutdown
IMGUI_API void ImGui_ImplOSX_Shutdown()
libaditof
Author(s):
autogenerated on Wed May 21 2025 02:06:54