59 Commits (features/shadows)

Author SHA1 Message Date
ocornut cfae5ac71b Backends: make ImGui_ImplSDL2_KeyEventToImGuiKey(), ImGui_ImplSDL3_KeyEventToImGuiKey(), ImGui_ImplGlfw_KeyToImGuiKey(), ImGui_ImplWin32_KeyEventToImGuiKey(), ImGui_ImplAllegro5_KeyCodeToImGuiKey(), ImGui_ImplOSX_KeyCodeToImGuiKey(), non-static. (#7997) 2 months ago
ocornut 214977e5fd IO: (BREAKING) moved io.GetClipboardTextFn, io.SetClipboardTextFn to platform_io.Platform_GetClipboardTextFn, platform_io.Platform_SetClipboardTextFn. 3 months ago
ocornut 9ff60ae31d IO: (BREAKING) moved GetIO().PlatformSetImeDataFn to GetPlatformIO(.Platform_SetImeDataFn. (#7660) 3 months ago
ocornut fb799bba7f (Breaking) IO, IME: renamed platform IME hook io.SetPlatformImeDataFn() -> io.PlatformSetImeDataFn() and added explicit context. 4 months ago
ocornut 0c2650e833 Backends: OSX: build fix. Amend 32f9dfc 4 months ago
ocornut 32f9dfc126 Viewports: Backported 'void* ImGuiViewport::PlatformHandle' from docking branch for use by backends. 4 months ago
ocornut 5e23680454 Backends: all backends + demo now call IMGUI_CHECKVERSION() to verify ABI compatibility between caller code and compiled version of dear imgui. (#7568) 6 months ago
ocornut d15574ce2a Backends: Win32: Removed silent return when calling ImGui_ImplWin32_WndProcHandler() with no active context! (#6275) 6 months ago
John Melas b19a4c5f2b
Backends: OSX: remove legacy clearing of io.NavInputs in ImGui_ImplOSX_UpdateGamepads(). (#7320) 9 months ago
ocornut b0758c86d8 Backends: Added support for extra ImGuiKey values: F13 to F24 function keys. (#6891, #4921) 1 year ago
ocornut 357f752bed Docs: add more links to the top of every examples and backends files. 1 year ago
ocornut 33e13c85e1 Backends: Made all backends sources files support global IMGUI_DISABLE. (#6601) 1 year ago
Alex 70cca1eac0
Backends: avoid null dereference in metal and osx shutdown (#6385, #6334) 2 years ago
Gereon V 055e71518e Backends: clear bits set in io.BackendFlags on backend Shutdown(). Clear BackendPlatformName. (#6334, #6335) 2 years ago
Michael Martz 506f7e0074 Using nullptr in locations where warning disable is not convenient. (#6313, #4537) 2 years ago
David Maas e92b29ad53 Backends: OSX: Added support for io.AddMouseSourceEvent(). (#6314) 2 years ago
ocornut e816bc6723 Merge misc changes from docking branch to reduce small drift. 2 years ago
ocornut 8d29665ae1 Backends: OSX: Fixed scroll wheel scaling for devices emitting events with hasPreciseScrollingDeltas==false (e.g. non-Apple mices). 2 years ago
ocornut a5f3596e6c Backends: Allegro5: use al_draw_indexed_prim() or al_draw_prim() depending on version. (#5937) 2 years ago
Akira Maezawa 86f2af2bc7 Backends: OSX: Fixed mouse coordinate before clicking on the host window. (#5842) 2 years ago
ocornut dfa1bb0ac7 Backends: OSX: Fixed mouse inputs on flipped views. (#5756) 2 years ago
ocornut fd408c9790 Renamed and merged keyboard modifiers key enums and flags into a same set:. ImGuiKey_ModXXX -> ImGuiMod_XXX and ImGuiModFlags_XXX -> ImGuiMod_XXX. (#4921, #456) 2 years ago
ocornut e99c4fc668 Nav: fixes keyboard/gamepad nav actions running without the corresponding config flags (#5504). Fixes 8b8a61b. #4921, #4858, #787, #1599, #323) 2 years ago
ocornut 90ef327882 Reordered keys representing directions to follow a consistent L/R/U/D order everywhere. (#2625, #4921, #3724) 2 years ago
Stephen H. Gerstacker 67410d53f7 Backends: Metal, OSX: Various fixes (ARC / Autorelease fixes with metal-cpp and extensions). (#5403) 2 years ago
rokups d768b8c812 Backends: Metal: Align code more closely with other backends. OSX: Add missing return for mouse pos events. 3 years ago
stuartcarnie e66fc22057 Backends: OSX: Removed ImGui_ImplOSX_HandleEvent() from backend API. Move event tracking (desktop only) to OSX backend. (#4821) 3 years ago
stuartcarnie d58b8414b9 Backends: OSX, Metal: Tweaks. Use preferred method of obtaining a timestamp. (#4821) 3 years ago
noisewuwei e54db4ee70 Backends: OSX, Metal: Store backend data in a per-context struct, allowing to use these backends with multiple contexts. (#5203, #5221, #4141) 3 years ago
thedmd 3c07879504 Backends: OSX: Inputs: Monitor NSKeyUp events to catch missing keyUp for key when user press Cmd + key (#5128) 3 years ago
Jan Sikorski a61ca097a7
Backends: OSX: Fix typo in scrolling event handler. (#5036) 3 years ago
ocornut 2554b512c0 Backends: OSX: Forward keyDown/keyUp events to OS when unused by Dear ImGui. 3 years ago
rokups 551ab84c2d Backends: OSX: Fix building with old Xcode versions. 3 years ago
thedmd 5429f0f6b5 Backends: OSX, Android: Replaced AddKeyModsEvent() added by 790132a in favor of unified key enum system. (#4921, #4858) 3 years ago
ocornut 62d6be3747 IO: Removed ImGuiInputSource from public api for now, unnecessary. (#4858, #787) 3 years ago
thedmd 5ea47d9560 Backends: OSX: Add full gamepad support using io.AddKeyEvent(), io.AddKeyAnalogEvent(), stopped writing to io.NavInputs[]. (#4858, #787) 3 years ago
thedmd b8e56dce83 IO: Added AddMousePosEvent(), AddMouseButtonEvent(), AddMouseWheelEvent() api + updated all Backends. (#4858) (input queue code will be next commit) 3 years ago
ocornut b6582a471a Backends: OSX: Fix Game Controller nav mapping to use shoulder for both focusing and tweak speed. (#4759) 3 years ago
ocornut 92c4ff1c2f Rename ImGuiKey_LeftControl to ImGuiKey_LeftCtrl, ImGuiKey_RightControl to ImGuiKey_RightCtrl + made key order match mods order. (#4858) 3 years ago
ocornut 0755767440 Backends: move io.AddKeyModsEvent() next to io.AddKeyEvent() submission, rely on mods from platform/source. (#4858) + fix #2622 again broken by 746c9f7 3 years ago
Liu Liu 457d4b7b72 Backends: OSX: Adedd basic IME support for macOS. (#3108, #2598) 3 years ago
ocornut 956e03009a Backends: OSX: Build fIx. Made GetKeyName() input tolerant. Internals: added GetNavInputName(). 3 years ago
ocornut e8172fdfbc Rename io.AddKeyModEvent() -> io.AddKeyModsEvent() and updated backends accordingly. (#2625, #4858) 3 years ago
ocornut b2e2cc44c2 Backends: OSX: Fixed typo. 3 years ago
ocornut 790132a672 Added io.AddKeyModEvent() and updated backends accordingly. (#2625, #4858) 3 years ago
thedmd ee436aa803 Backends: OSX: Update to use io.AddEventKey() will full key map (#2625, #1873, #4858) 3 years ago
ocornut afffcd5810 Inputs: rename ImGuiKey_KeyPadEnter > ImGuiKey_KeypadEnter (#2625) 3 years ago
Stuart Carnie 1b6b8602c1 Backends: OSX: Fix keyboard support. Handle scroll cancel. Don't set mouse cursor shape unconditionally. (#4759, #4253, #1873) 3 years ago
Stuart Carnie b720f1f03c Backends: OSX: Add Game Controller support. (#4759) 3 years ago
James McCartney bc3d267c51 Backends: OSX: Use mach_absolute_time as CFAbsoluteTimeGetCurrent can jump backwards. (#4557, #4563) 3 years ago