108 Commits (docking)

Author SHA1 Message Date
ocornut 5e23680454 Backends: all backends + demo now call IMGUI_CHECKVERSION() to verify ABI compatibility between caller code and compiled version of dear imgui. (#7568) ago%!(EXTRA string=12 months)
ocornut d15574ce2a Backends: Win32: Removed silent return when calling ImGui_ImplWin32_WndProcHandler() with no active context! (#6275) ago%!(EXTRA string=12 months)
ocornut 77dff5a735 Backends: comments. ago%!(EXTRA string=1 year)
John Melas b19a4c5f2b
Backends: OSX: remove legacy clearing of io.NavInputs in ImGui_ImplOSX_UpdateGamepads(). (#7320) ago%!(EXTRA string=1 year)
actboy168 54ef4092a9 Backends: OSX: Fixed not submitting Monitors info when viewports are not enabled. (#7257) ago%!(EXTRA string=1 year)
ocornut 8deb1007cd Backends: OSX: Fixed IME position in multi-monitor/multi-viewports setups. (#7028) ago%!(EXTRA string=1 year)
ocornut a683033e49 Backends: OSX: Fixed monitor and window position by correctly transforming Y origin on multi-monitor setups. (#7028, #7101, #6009, #6432) ago%!(EXTRA string=1 year)
ocornut b0758c86d8 Backends: Added support for extra ImGuiKey values: F13 to F24 function keys. (#6891, #4921) ago%!(EXTRA string=2 years)
ocornut 357f752bed Docs: add more links to the top of every examples and backends files. ago%!(EXTRA string=2 years)
ocornut 33e13c85e1 Backends: Made all backends sources files support global IMGUI_DISABLE. (#6601) ago%!(EXTRA string=2 years)
Alex 70cca1eac0
Backends: avoid null dereference in metal and osx shutdown (#6385, #6334) ago%!(EXTRA string=2 years)
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)
David Maas e92b29ad53 Backends: OSX: Added support for io.AddMouseSourceEvent(). (#6314) ago%!(EXTRA string=2 years)
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)