File tree Expand file tree Collapse file tree 5 files changed +212
-101
lines changed Expand file tree Collapse file tree 5 files changed +212
-101
lines changed Original file line number Diff line number Diff line change 6
6
// [X] Platform: Mouse cursor shape and visibility. Disable with 'io.ConfigFlags |= ImGuiConfigFlags_NoMouseCursorChange'.
7
7
// [X] Platform: OSX clipboard is supported within core Dear ImGui (no specific code in this backend).
8
8
// [X] Platform: Gamepad support. Enabled with 'io.ConfigFlags |= ImGuiConfigFlags_NavEnableGamepad'.
9
- // Issues:
10
- // [ ] Platform: Keys are all generally very broken. Best using [event keycode] and not [event characters]..
9
+ // [X] Platform: Keyboard arrays indexed using kVK_* codes, e.g. ImGui::IsKeyPressed(kVK_Space).
11
10
12
- // You can use unmodified imgui_impl_* files in your project. See examples/ folder for examples of using this.
11
+ // You can use unmodified imgui_impl_* files in your project. See examples/ folder for examples of using this.
13
12
// Prefer including the entire imgui/ repository into your project (either as a copy or as a submodule), and only build the backends you need.
14
13
// If you are new to Dear ImGui, read documentation from the docs/ folder + read the top of imgui.cpp.
15
14
// Read online: https://github.com/ocornut/imgui/tree/master/docs
19
18
@class NSEvent ;
20
19
@class NSView ;
21
20
22
- IMGUI_IMPL_API bool ImGui_ImplOSX_Init ();
21
+ IMGUI_IMPL_API bool ImGui_ImplOSX_Init (NSView * _Nonnull view );
23
22
IMGUI_IMPL_API void ImGui_ImplOSX_Shutdown ();
24
23
IMGUI_IMPL_API void ImGui_ImplOSX_NewFrame (NSView * _Nullable view);
25
24
IMGUI_IMPL_API bool ImGui_ImplOSX_HandleEvent (NSEvent * _Nonnull event, NSView * _Nullable view);
You can’t perform that action at this time.
0 commit comments