99 Commits (dcb6335bfed5934d6b1e377820e19d3e08be689b)

Author SHA1 Message Date
ocornut f070497cbd Backends: Win32/SDL2/SDL3/GLFW: Added support for io.AddMouseSourceEvent(). (#2334, #2702) ago%!(EXTRA string=2 years)
ocornut 5d74891285 Backends: Win32: Use WM_NCMOUSEMOVE / WM_NCMOUSELEAVE to track mouse positions over non-client area (OS decorations) when app is not focused. (#6045, #6162) ago%!(EXTRA string=2 years)
ocornut e816bc6723 Merge misc changes from docking branch to reduce small drift. ago%!(EXTRA string=2 years)
ocornut 3617a96372 Backends, Inputs: Made horizontal scroll wheel and horizontal scroll direction consistent accross backends/os. (#4019, #6096, #1463) ago%!(EXTRA string=2 years)
ocornut 1a497c2499 Inputs, IO: reworked ImGuiMod_Shortcut to redirect to Ctrl/Super at runtime instead of compile-time. (#5923, #456) ago%!(EXTRA string=2 years)
Teselka 9db6b1a0d9 Backends: Win32: minor tidying up. (#5819) ago%!(EXTRA string=3 years)
ocornut c54230d14e Backends: Using nullptr instead of NULL. (#5760, #4537) + fix additional warnings. ago%!(EXTRA string=3 years)
ocornut 0a7054c7e4 Backends: Win32: Convert WM_CHAR values with MultiByteToWideChar() when window class was registered as MBCS (not Unicode). (#5725, #1807, #471, #2815, #1060) ago%!(EXTRA string=3 years)
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) ago%!(EXTRA string=3 years)
ocornut e99c4fc668 Nav: fixes keyboard/gamepad nav actions running without the corresponding config flags (#5504). Fixes 8b8a61b. #4921, #4858, #787, #1599, #323) ago%!(EXTRA string=3 years)
ocornut 90ef327882 Reordered keys representing directions to follow a consistent L/R/U/D order everywhere. (#2625, #4921, #3724) ago%!(EXTRA string=3 years)
ocornut 1d6e34f3f9 Debug: Added ShowDebugLogWindow(). ago%!(EXTRA string=3 years)
ocornut fd06ed833b Misc: tweaks + fix warnings on backends withtout -wno-memaccess (#4995, #5104) ago%!(EXTRA string=3 years)
ocornut 1e18da5c38 Backends, Examples: Add comments about using WndProc handler and WantCaptureXXX flags. (#5061) ago%!(EXTRA string=3 years)
ocornut c906c65cac (BREAKING) Replaced AddKeyModsEvent() added by 790132a in favor of unified key enum system. Backends: update most. (#4921, #4858) ago%!(EXTRA string=3 years)
ocornut 62d6be3747 IO: Removed ImGuiInputSource from public api for now, unnecessary. (#4858, #787) ago%!(EXTRA string=3 years)
ocornut 9f8c599ca7 Backends: Win32: Add full gamepad support using io.AddKeyEvent(), io.AddKeyAnalogEvent(), stopped writing to io.NavInputs[]. (#4858, #787) ago%!(EXTRA string=3 years)
ocornut e278277d53 IO: added AddMouseViewportEvent() + used in backends. ago%!(EXTRA string=3 years)
ocornut 1338eb31f7 Viewports: Relaxed specs for backend supporting ImGuiBackendFlags_HasMouseHoveredViewport. Backends: SDL: Added support for simplified HasMouseHoveredViewport. (#1542, #4665) ago%!(EXTRA string=3 years)
thedmd b8e56dce83 IO: Added AddMousePosEvent(), AddMouseButtonEvent(), AddMouseWheelEvent() api + updated all Backends. (#4858) (input queue code will be next commit) ago%!(EXTRA string=3 years)
ocornut 92c4ff1c2f Rename ImGuiKey_LeftControl to ImGuiKey_LeftCtrl, ImGuiKey_RightControl to ImGuiKey_RightCtrl + made key order match mods order. (#4858) ago%!(EXTRA string=3 years)
ocornut 0755767440 Backends: move io.AddKeyModsEvent() next to io.AddKeyEvent() submission, rely on mods from platform/source. (#4858) + fix #2622 again broken by 746c9f7 ago%!(EXTRA string=3 years)
ocornut bf4de2a46b Backends: Win32: Update mouse inputs using WM_MOUSEMOVE/WM_MOUSELEAVE + fallback to provide it when focused but not hovered/captured + update MousePos before Key Modifiers. ago%!(EXTRA string=3 years)
ocornut 7f8a89c25c Backends: Win32, SDL: maintain MouseButtonsDown instead of using IsAnyMouseDown(). Internals: added GetInputSourceName(). ago%!(EXTRA string=3 years)
ocornut acfc7798fd Rename io.AddKeyModEvent() -> io.AddKeyModsEvent() and updated backends accordingly. (#2625, #4858) ago%!(EXTRA string=3 years)
ocornut e8172fdfbc Rename io.AddKeyModEvent() -> io.AddKeyModsEvent() and updated backends accordingly. (#2625, #4858) ago%!(EXTRA string=3 years)
ocornut 790132a672 Added io.AddKeyModEvent() and updated backends accordingly. (#2625, #4858) ago%!(EXTRA string=3 years)
thedmd 746c9f76e4 Backends: Win32: Update to use io.AddEventKey() will full key map (#2625, #4858) ago%!(EXTRA string=3 years)
ocornut afffcd5810 Inputs: rename ImGuiKey_KeyPadEnter > ImGuiKey_KeypadEnter (#2625) ago%!(EXTRA string=3 years)
ocornut 3a90dc3893 Platform IME: changed io.ImeSetInputScreenPosFn() to io.SetPlatformImeDataFn() API. ago%!(EXTRA string=3 years)
thedmd 0cdc4a9565 Backends: Win32: Store left/right variants of Ctrl/Shift/Alt mods in KeysDown[] array. (#2625) ago%!(EXTRA string=3 years)
ocornut bac748fa95 Backends: Made it possible to shutdown default Platform Backends before the Renderer backends. (#4656) ago%!(EXTRA string=4 years)
ocornut c6ca327fb2 Backends: Added more implicit asserts to detect invalid/redundant calls to Shutdown functions. (#4562) ago%!(EXTRA string=4 years)
thedmd 2f40be638f IO, Backends: add io.AddFocusEvent(). Clear pressed keys after loosing input focus (#3532) ago%!(EXTRA string=4 years)
ocornut f99fe72c42 Backends: Win32: Fixed keyboard modifiers being reported when host window doesn't have focus. (#2622) ago%!(EXTRA string=4 years)
ocornut 80b5fb51ed Backends: Win32, SDL, GLFW: only honor io.WantSetMousePos when focused + fix GLFW uninstalling handler + tweaks to reduce branch drift with docking. (#787, #2445, #2696, #3751, #4377) ago%!(EXTRA string=4 years)
ocornut 2ad912bb85 Backends: Win32, SDL, GLFW: only honor io.WantSetMousePos when focused + fix GLFW uninstalling handler + tweaks to reduce branch drift with docking. (#787, #2445, #2696, #3751, #4377) ago%!(EXTRA string=4 years)
ocornut db686ad522 Backends: Win32: Mouse position is correctly reported when the host platform window is hovered but not focused. (#2445, #2696, #3751, #4377) ago%!(EXTRA string=4 years)
ocornut 327a5d8253 Fix warning + apply trailing whitespaces in stb_ libs (as applied on nothings/stb on 2020/02/02, facilitating further diffs) ago%!(EXTRA string=4 years)
ocornut cf2daf353e Backends: Cleanup, removed unnecessary create/destroy wrappers. Fix allegro5 backend + use same code as other backend. ago%!(EXTRA string=4 years)
ocornut 23a15834fa Fonts: Fix calling ClearTexData() (clearing CPU side font data) triggering an assert in NewFrame(). (#3487) + Backends: added additional assert to facilitate detecting user understand they haven't initialized a backend. ago%!(EXTRA string=4 years)
ocornut 4cec3a0467 Backends: support for multiple imgui context with little testing (#586, #1851, #2004, #3012, #3934, #4141) ago%!(EXTRA string=4 years)
ocornut 36a0d1028c Backends: Viewports: renamed viewport storage structures ImGuiViewportDataXXXX -> ImGui_ImplXXXX_ViewportData and locals (matching naming convention in 70c60385) ago%!(EXTRA string=4 years)
ocornut 70c603854e Backends: moved global to a data structure to facilitate support for multi-contexts. (#586, #1851, #2004, #3012, #3934, #4141) ago%!(EXTRA string=4 years)
ocornut 95db098477 ImFontAtlas: move implicit AddFontDefault call to Build() function + remove unnecessary asserts in backend. ago%!(EXTRA string=4 years)
ocornut 20d415e939 FIx static analysers warnings and disable false positives. ago%!(EXTRA string=4 years)
ocornut b66529fe3e Backends: Win32: Rework to handle certains Windows 8.1/10 features without a manifest. (#4200, #4191) ago%!(EXTRA string=4 years)
ocornut 838c16533d Backends: Comments. ago%!(EXTRA string=4 years)
Jarhmander 7b8932554e
Backends: Win32: Change the case of XInput.h include, so it cross-compile nicely on unices. (#4074) ago%!(EXTRA string=4 years)
ocornut 1491d2c916 Backends: Win32: Clearing keyboard down array when losing focus (WM_KILLFOCUS). (#2062, #3532, #3961) ago%!(EXTRA string=4 years)