45 Commits (51bbc70652cb380ca89981a7f46d9794b108ffdb)

Author SHA1 Message Date
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 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)
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)
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)
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 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)
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 553b04883e Backends: SDL: Fix for Emscriptem. Amend 98ce013. ago%!(EXTRA string=3 years)
ocornut 98ce013242 Backends: SDL: Update mouse inputs using SDL_MOUSEMOTION/SDL_WINDOWEVENT_LEAVE + fallback to provide it when focused but not hovered/captured + update MousePos before MouseButtons. ago%!(EXTRA string=3 years)
ocornut 7f8a89c25c Backends: Win32, SDL: maintain MouseButtonsDown instead of using IsAnyMouseDown(). Internals: added GetInputSourceName(). ago%!(EXTRA string=3 years)
Théo Monnom 0818a42396 Backend: WebGPU: Fixed incorrect size parameters in WGPU backend (#4891) 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 fe646ea591 Backends: SDL2: Update to use io.AddEventKey() will full key map (#2625, #4858) + created localized key (using keycode instead of scancode) (#456) 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)
ocornut fba756176d Backends: SDL_Renderer: Amend 1d2d246, various tweaks, fixes, sync to latest. (#3926) ago%!(EXTRA string=4 years)
Sylvain 62b17f928e Backends: SDL_Renderer: Added renderer backend for SDL 2.0.17+ (#3926) 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)
Siarhei Fiedartsou f8bad7e1e3 Backends: OpenGL3: Add TargetConditionals.h (#4473) + standardize include ago%!(EXTRA string=4 years)
ocornut f24abbc47d Fix various warnings (#4442) 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 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 1cdd110eb4 Backends: SDL2: Mouse position is correctly reported when the host platform window is hovered but not focused. (#2445, #3751, #4377) 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)
Giovanni Funchal 6792e1a3e0 Backends: SDL2: Remove unnecessary ImGui_ImplSDL2_NewFrame() parameter. (#3244) 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 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)
Nikolai Wuttke 186b734db0 Backends: SDL2: Extend global mouse pos availability check (#3950) ago%!(EXTRA string=4 years)
ocornut 8dd692c29c Android: Amend backend and examples with minor consistency tweaks. (#3446) 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)
ocornut bb2529dd48 Backends: SDL: Report a zero display-size when window is minimized, consistent with other backends. ago%!(EXTRA string=5 years)
ocornut 0345324646 Backends: SDL: Fixed mapping for ImGuiKey_KeyPadEnter. (#3031) [@Davido71] ago%!(EXTRA string=5 years)
Rokas Kupstys 21b9e42964 Minor fixes to example_sdl_metal and a changelog entry. ago%!(EXTRA string=5 years)
coding_jackalope f346b4b302 Examples: SDL+Metal example. ago%!(EXTRA string=5 years)