80 Commits (4078abe14cb3fb5739ff6437f2106b2b43bb5b51)

Author SHA1 Message Date
ocornut e816bc6723 Merge misc changes from docking branch to reduce small drift. ago%!(EXTRA string=2 years)
ocornut 8d29665ae1 Backends: OSX: Fixed scroll wheel scaling for devices emitting events with hasPreciseScrollingDeltas==false (e.g. non-Apple mices). ago%!(EXTRA string=2 years)
Mikko Sivulainen 16aaf60697 Backends: OSX: fixed ImGui_ImplOSX_GetWindowSize and ConvertNSRect. (#6009) ago%!(EXTRA string=2 years)
ocornut a5f3596e6c Backends: Allegro5: use al_draw_indexed_prim() or al_draw_prim() depending on version. (#5937) ago%!(EXTRA string=2 years)
Akira Maezawa 86f2af2bc7 Backends: OSX: Fixed mouse coordinate before clicking on the host window. (#5842) ago%!(EXTRA string=3 years)
ocornut dfa1bb0ac7 Backends: OSX: Fixed mouse inputs on flipped views. (#5756) 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)
Stephen H. Gerstacker 67410d53f7 Backends: Metal, OSX: Various fixes (ARC / Autorelease fixes with metal-cpp and extensions). (#5403) 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)
omar 693b4c57fe
Backends: OSX: Implement ImGui_ImplOSX_ShowWindow(). (#5299) ago%!(EXTRA string=3 years)
rokups d768b8c812 Backends: Metal: Align code more closely with other backends. OSX: Add missing return for mouse pos events. ago%!(EXTRA string=3 years)
ocornut d666a1d473 Backends: OSX, Metal: Amend d111133, tidying up, remove unused, misc tweaks. . (#4821, #2778) ago%!(EXTRA string=3 years)
stuartcarnie 6868d11669 Backends: OSX, Metal: Added multi-viewports support. (#4821, #2778) ago%!(EXTRA string=3 years)
stuartcarnie e66fc22057 Backends: OSX: Removed ImGui_ImplOSX_HandleEvent() from backend API. Move event tracking (desktop only) to OSX backend. (#4821) ago%!(EXTRA string=3 years)
stuartcarnie d58b8414b9 Backends: OSX, Metal: Tweaks. Use preferred method of obtaining a timestamp. (#4821) ago%!(EXTRA string=3 years)
noisewuwei e54db4ee70 Backends: OSX, Metal: Store backend data in a per-context struct, allowing to use these backends with multiple contexts. (#5203, #5221, #4141) ago%!(EXTRA string=3 years)
thedmd 3c07879504 Backends: OSX: Inputs: Monitor NSKeyUp events to catch missing keyUp for key when user press Cmd + key (#5128) ago%!(EXTRA string=3 years)
Jan Sikorski a61ca097a7
Backends: OSX: Fix typo in scrolling event handler. (#5036) ago%!(EXTRA string=3 years)
ocornut 2554b512c0 Backends: OSX: Forward keyDown/keyUp events to OS when unused by Dear ImGui. ago%!(EXTRA string=3 years)
rokups 551ab84c2d Backends: OSX: Fix building with old Xcode versions. ago%!(EXTRA string=3 years)
thedmd 5429f0f6b5 Backends: OSX, Android: Replaced AddKeyModsEvent() added by 790132a in favor of unified key enum system. (#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)
thedmd 5ea47d9560 Backends: OSX: 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 b6582a471a Backends: OSX: Fix Game Controller nav mapping to use shoulder for both focusing and tweak speed. (#4759) 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)
Liu Liu 457d4b7b72 Backends: OSX: Adedd basic IME support for macOS. (#3108, #2598) ago%!(EXTRA string=3 years)
ocornut 956e03009a Backends: OSX: Build fIx. Made GetKeyName() input tolerant. Internals: added GetNavInputName(). 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 9ce0f35ef3 Backends: OSX: Fixed typo. ago%!(EXTRA string=3 years)
ocornut b2e2cc44c2 Backends: OSX: Fixed typo. ago%!(EXTRA string=3 years)
ocornut 790132a672 Added io.AddKeyModEvent() and updated backends accordingly. (#2625, #4858) ago%!(EXTRA string=3 years)
thedmd ee436aa803 Backends: OSX: Update to use io.AddEventKey() will full key map (#2625, #1873, #4858) ago%!(EXTRA string=3 years)
ocornut afffcd5810 Inputs: rename ImGuiKey_KeyPadEnter > ImGuiKey_KeypadEnter (#2625) ago%!(EXTRA string=3 years)
Stuart Carnie 1b6b8602c1 Backends: OSX: Fix keyboard support. Handle scroll cancel. Don't set mouse cursor shape unconditionally. (#4759, #4253, #1873) ago%!(EXTRA string=3 years)
Stuart Carnie b720f1f03c Backends: OSX: Add Game Controller support. (#4759) ago%!(EXTRA string=3 years)
James McCartney bc3d267c51 Backends: OSX: Use mach_absolute_time as CFAbsoluteTimeGetCurrent can jump backwards. (#4557, #4563) 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)
Rokas Kupstys 0b8a247074 Backends: OSX: Added a fix for shortcuts using CTRL key instead of CMD key. (#4253) ago%!(EXTRA string=4 years)
ocornut 838c16533d Backends: Comments. ago%!(EXTRA string=4 years)
rokups 6d53884487 Backends: OSX: Fix keys remaining stuck in pressed state when CMD-tabbing to a different application. (#3832) ago%!(EXTRA string=4 years)
Rokas Kupstys 066406b9be Backends: OSX: Fix mouse position not being reported when mouse buttons other than left one are down. (#3762) ago%!(EXTRA string=4 years)
Albin Odervall b934b9bb86 Backends: OSX, Metal: Fix -Wshadow, -Wimplicit-float-conversion, and -Wsign-conversion warnings. (#3555) ago%!(EXTRA string=5 years)
Rokas Kupstys 6f57d58e82 Backends: OSX: Fix KeyPadEnter on MacOS. (#3554) ago%!(EXTRA string=5 years)