50 Commits (acfc7798fdbab692b8fa855c7dd4ec43bc0bd828)

Author SHA1 Message Date
ocornut acfc7798fd 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 ecd212c01d Backends: GLFW: 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 100ede5764 Backends: GLFW: Fix CTRL+A, CTRL+Y, CTRL+Z to match keyboard layout. Converting GLFW untranslated keycodes back to translated keycodes. (#456, #2625) ago%!(EXTRA string=3 years)
ocornut 3a90dc3893 Platform IME: changed io.ImeSetInputScreenPosFn() to io.SetPlatformImeDataFn() API. ago%!(EXTRA string=3 years)
ocornut dbeea7220f Backends: Silence overzealous warnings. (#4834) Add comments about SetDragDropPayload() return value. (#4835) 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)
ocornut 6bd447c885 Backends: GLFW: Fixed unused variable warning for empty assert macro. (#4459) 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 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 044fd0cd2d Backends: GLFW: Mouse position is correctly reported when the host platform window is hovered but not focused. (#3751, #4377, #2445) ago%!(EXTRA string=4 years)
ocornut baa4caf9e3 Backends: GLFW: Installing and exposed ImGui_ImplGlfw_MonitorCallback() for forward compatibility with docking branch. 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 0f7eb00f67 Backends: amends to 1db1066 + merge minor bits from docking incl SetActiveIdUsingNavAndKeys(). ago%!(EXTRA string=4 years)
ocornut b5a2bd1a5b Backends: amends to 1db1066 + merge minor bits from docking incl SetActiveIdUsingNavAndKeys(). 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 838c16533d Backends: Comments. ago%!(EXTRA string=4 years)
ocornut fd06dc511f Backends: GLFW: Adding bound check in KeyCallback because GLFW appears to send -1 on some setups. [#4124] ago%!(EXTRA string=4 years)
Rokas Kupstys a4adf60576 Backends, Viewports: GLFW: Add a workaround for stuck keys after closing a GLFW window (#3837). ago%!(EXTRA string=4 years)
ocornut 8dd692c29c Android: Amend backend and examples with minor consistency tweaks. (#3446) ago%!(EXTRA string=4 years)
ocornut a4e4f57cb0 Examples: DX9-DX11: Removed half-assed DPI awareness enable. Updated Docking/Viewports part of Changelog (e.g. removed bits that are now already in master, clarified some added bits) ago%!(EXTRA string=4 years)
ocornut 647a308ad3 Backends: GLFW: Add ImGui_ImplGlfw_InitForOther() instead of ImGui_ImplGlfw_InitForWebGPU() so it can be used for e.g. DX11. (#3632) ago%!(EXTRA string=4 years)
ocornut dff0044d4e Backends, Examples: Added support for WebGPU and corresponding example. Amend 5853fbd (#3632) ago%!(EXTRA string=4 years)
ocornut b1a18d82e3 Moving backends code from examples/ to backends/ (step 6: update markdown documentation) ago%!(EXTRA string=5 years)
ocornut d9b2fb7338 Moving backends code from examples/ to backends/ (step 1: moving source files) ago%!(EXTRA string=5 years)
ocornut 124c2608f1 Docs: Renamed all occurences of "binding" and "back-end" to "backend" in comments and documentations, for consistency. ago%!(EXTRA string=5 years)
Doug Binks aa8e09d7f1 Backends: GLFW: workaround for cases where glfwGetMonitorWorkarea fails (#3457) ago%!(EXTRA string=5 years)
Rokas Kupstys 3d4af15d1d Backends GLFW: Use GLFW_MOUSE_PASSTHROUGH when available. ago%!(EXTRA string=5 years)
omar cba52b66af Backends: GLFW: Fixed enabling ImGuiBackendFlags_HasMouseHoveredViewport broken by 950539b7. ago%!(EXTRA string=5 years)
Rokas Kupstys 0738611559 Misc: Bunch of code formatting changes suggested by a pass running 'astyle' ago%!(EXTRA string=5 years)
ocornut 9c209d5a90 Minor amend 9028088 (#3261) ago%!(EXTRA string=5 years)
Rokas Kupstys 7f8b076f2b Viewports, Backends: GLFW: Fix windows resizing incorrectly due to GLFW firing window positioning callbacks on next frame after window is resized manually. (#2117) ago%!(EXTRA string=5 years)
Rokas Kupstys c142540705 Viewports, Backends: GLFW: Avoid using window positioning workaround for glfw versions that have it fixed. Amend 09780b8. ago%!(EXTRA string=5 years)
ocornut fbaf65b8f6 Revert "Viewports: Renamed UpdatePlatformWindows > PlatformWindowsUpdate, RenderPlatformWindowsDefault -> PlatformWindowsRender, DestroyPlatformWindows > PlatformWindowsDestroy (#1542)" ago%!(EXTRA string=5 years)
ocornut f2c7f3b200 Viewports: Renamed UpdatePlatformWindows > PlatformWindowsUpdate, RenderPlatformWindowsDefault -> PlatformWindowsRender, DestroyPlatformWindows > PlatformWindowsDestroy (#1542) ago%!(EXTRA string=5 years)
omar 7e2d172ae5 Backends: GLFW, SDL: Platform monitors declared properly even if multi-viewport is not enabled. ago%!(EXTRA string=5 years)
omar f1b5c742ff Viewports: Add various comments ago%!(EXTRA string=5 years)
omar 8bcac7d95c Backends: GLFW, SDL: report Windows key (io.KeySuper) as always released. ago%!(EXTRA string=5 years)
omar aa34681652 Backends: GLFW: inhibit error callback when creating cursors because X11 setups may be missing them + comment (#2980) ago%!(EXTRA string=5 years)
Rokas Kupstys 03b7170dac Backends: GLFW: Added workaround for people who use development version of GLFW which is older than commit that added required cursor support. (#2922) ago%!(EXTRA string=5 years)
omar 8342e5b91a Amend previous commits (added ImGuiMouseCursor_NotAllowed enum + new cursors in GLFW 3.4) ago%!(EXTRA string=5 years)
Rokas Kupstys 945a509773 Implement ImGuiMouseCursor_NotAllowed mouse cursor. ago%!(EXTRA string=5 years)