23 Commits (adf693c061dcf8f500828578752fed66e7467d92)

Author SHA1 Message Date
ocornut adf693c061 Viewports: added void* ImGuiPlatformMonitor::PlatformHandle field (backend-dependant). ago%!(EXTRA string=2 years)
ocornut 1f2b84a654 Backends: clear viewport specific bits in io.BackendFlags on backend Shutdown(). (#6334) ago%!(EXTRA string=2 years)
Gereon V 055e71518e Backends: clear bits set in io.BackendFlags on backend Shutdown(). Clear BackendPlatformName. (#6334, #6335) ago%!(EXTRA string=2 years)
ocornut bed11b35d1 Fix typos and use nullptr in backends. Amend 506f7e0 ago%!(EXTRA string=2 years)
Michael Martz 506f7e0074 Using nullptr in locations where warning disable is not convenient. (#6313, #4537) ago%!(EXTRA string=2 years)
ocornut 9203883bbe Comments + Metal using SetTexID(0) for consistency. ago%!(EXTRA string=2 years)
ocornut 1668693bcf Backends: SDL2/SDL3: Fixed IME text input rectangle position with viewports. (#6071, #1953) ago%!(EXTRA string=2 years)
ocornut a7703fe6f7 Backends: SDL2/SDL3: Avoid callng SDL_StartTextInput()/SDL_StopTextInput(). (#6306, #6071, #1953) ago%!(EXTRA string=2 years)
ocornut f070497cbd Backends: Win32/SDL2/SDL3/GLFW: Added support for io.AddMouseSourceEvent(). (#2334, #2702) ago%!(EXTRA string=2 years)
ocornut 8a6911b894 Backends: Fixes zealous warnings (#5760) ago%!(EXTRA string=2 years)
Adam Kewley 2496b973f9 Backends: SDL2,SDL3: Accept SDL_GetPerformanceCounter() not returning a monotonically increasing value. (#6189, #6114, #3644) ago%!(EXTRA string=2 years)
ocornut fac19e1883 Backends: SDL2:+SDL3 Implement SetPlatformImeDataFn (amends). (#6071, #1953) + fix SDL3 setting PlatformHandleRaw. (#6146) ago%!(EXTRA string=2 years)
imkzh 734c6af187 Backends: SDL2: Implement SetPlatformImeDataFn. (#6071, #1953) ago%!(EXTRA string=2 years)
ocornut e816bc6723 Merge misc changes from docking branch to reduce small drift. ago%!(EXTRA string=2 years)
ocornut 1b27ac982f Backends+Examples: SDL2: renamed imgui_impl_sdl.cpp/.h to imgui_impl_sdl2.cpp/.h. (#6146) ago%!(EXTRA string=2 years)
ocornut 6584de4a78 Backends: SDL: Avoid calling SDL_SetCursor() when cursor has not changed. (#6113) ago%!(EXTRA string=2 years)
ocornut 1f1861dae6 Backends: Added support for SDL 2.0.18+ preciseX/preciseY mouse wheel data for smooth scrolling + scaling for Emscripten. (#4019, #6096) ago%!(EXTRA string=2 years)
ocornut f822e07d76 Backends: SDL: Removed SDL_MOUSEWHEEL value clamping. (#4019, #6096, #6081) 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 90de839445 Backends: SDL: fix build on WinRT (#6019, #5974) - version for docking branch ago%!(EXTRA string=2 years)
ITotalJustice da832532c0 Backends: SDL: fix build on WinRT (#6019, #5974) ago%!(EXTRA string=2 years)
ocornut d7aca168ee Backends: SDL: Fixed drag'n drop crossing a viewport border losing mouse coordinates. (#5710, #5012) ago%!(EXTRA string=3 years)
ocornut c54230d14e Backends: Using nullptr instead of NULL. (#5760, #4537) + fix additional warnings. ago%!(EXTRA string=3 years)
ocornut 51bbc70652 Backends: SDL: Disable SDL 2.0.22 new "auto capture" which prevents drag and drop across windows, and don't capture mouse when drag and dropping. (#5710) 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 caf4b7f1e6 Backends: SDL: Fixed building backend under non-OSX Apple targets (e.g. iPhone). (#5665) 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)
rokups 101aec95d9 Backends: SDL+GLFW, Examples: SDL+Metal, GLFW+Metal: Fix viewport support with Metal backend. ago%!(EXTRA string=3 years)
Andrea Palmatè 14ca75d4e7 Backends: SDL, OpenGL3: Small fixes for AmigaOS4. (#5190) + Allow redefining IM_COL32_XXX layout macros. (#5190, #767, #844) ago%!(EXTRA string=3 years)
ocornut 9b0c26b0b2 Backends: SDL: Fix more dragging issues. SDL_CaptureMouse() is essentially broken. (#5012, #5082) ago%!(EXTRA string=3 years)
Rokas Kupstys c5f67218bf Backends: SDL: Fix multi-viewport dragging issue with SDL on some systems. (v2 for master, using bd->MouseButtonsDown == 0) (#5012, #5082) ago%!(EXTRA string=3 years)
Sergiu Giurgiu 31e77eacdb Backends: SDL: Add extra mouse buttons handling (#5125) 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)
Rokas Kupstys f337378066 Backends: SDL: Fix multi-viewport dragging issue with SDL on some systems. (#5012) ago%!(EXTRA string=3 years)
Clownacy c6cab1f352 Backends: SDL: Added SDL_Renderer* parameter to ImGui_ImplSDL2_InitForSDLRenderer(). Use SDL_GetRendererOutputSize() instead of SDL_GL_GetDrawableSize() when bound to a SDL_Renderer. (#4927) ago%!(EXTRA string=3 years)
ocornut 5017602752 Backends: SDL: Amend 08350e5, multi-viewports mouse tracking works under Linux. (#4960) + Reword tests to help static analysis. ago%!(EXTRA string=3 years)
ocornut 08350e53e7 Backends: SDL: no support for ImGuiBackendFlags_HasMouseHoveredViewport under OSX/LInux (#4960) 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 cda3db1449 Backends: SDL: Fixed key mapping for ImGuiKey_Menu (#4921) + misc typos (#4928) ago%!(EXTRA string=3 years)
ocornut 62d6be3747 IO: Removed ImGuiInputSource from public api for now, unnecessary. (#4858, #787) ago%!(EXTRA string=3 years)
ocornut 39c3412f91 Backends: SDL: 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 ec1e57ed4a Merge "Backends: SDL: Fix for Emscriptem. Amend 98ce013." + Fix bad merge from master of "is_app_focused" property (Amend 0647ba3) ago%!(EXTRA string=3 years)
ocornut 553b04883e Backends: SDL: Fix for Emscriptem. Amend 98ce013. ago%!(EXTRA string=3 years)