Commit Graph

  • ec1e57ed4a Merge "Backends: SDL: Fix for Emscriptem. Amend 98ce013." + Fix bad merge from master of "is_app_focused" property (Amend 0647ba3) ocornut 2022-01-13 18:52:19 +01:00
  • 553b04883e Backends: SDL: Fix for Emscriptem. Amend 98ce013. ocornut 2022-01-13 18:52:19 +01:00
  • e51a0a80ca IO: fix SetKeyEventNativeData() not handling ImGuiKey_None the same way as AddKeyEvent(). (#4905, #4858) ocornut 2022-01-13 18:42:18 +01:00
  • 9551635684 IO: fix SetKeyEventNativeData() not handling ImGuiKey_None the same way as AddKeyEvent(). (#4905, #4858) ocornut 2022-01-13 18:42:18 +01:00
  • 0647ba3bad Merge branch 'master' into docking ocornut 2022-01-13 18:36:23 +01:00
  • 200a8f1ea2 Backends: GLFW: Update mouse inputs using glfwSetCursorPosCallback() (breaking) + fallback to provide it when focused but not hovered/captured + update MousePos before MouseButtons. ocornut 2022-01-12 17:08:37 +01:00
  • 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. ocornut 2022-01-12 16:44:24 +01:00
  • bf4de2a46b Backends: Win32: Update mouse inputs using WM_MOUSEMOVE/WM_MOUSELEAVE + fallback to provide it when focused but not hovered/captured + update MousePos before Key Modifiers. ocornut 2022-01-12 16:29:20 +01:00
  • 7f8a89c25c Backends: Win32, SDL: maintain MouseButtonsDown instead of using IsAnyMouseDown(). Internals: added GetInputSourceName(). ocornut 2022-01-12 16:11:10 +01:00
  • 457d4b7b72 Backends: OSX: Adedd basic IME support for macOS. (#3108, #2598) Liu Liu 2022-01-12 14:30:04 +01:00
  • 290c51735e Fixed warning in ImFloorSigned(). (#4889) ocornut 2022-01-12 14:18:34 +01:00
  • 0818a42396 Backend: WebGPU: Fixed incorrect size parameters in WGPU backend (#4891) Théo Monnom 2022-01-11 22:56:35 +01:00
  • 96186a93b9 Typo correction in imgui_demo.cpp (#4892) Bertie Wheen 2022-01-12 13:12:25 +00:00
  • 956e03009a Backends: OSX: Build fIx. Made GetKeyName() input tolerant. Internals: added GetNavInputName(). ocornut 2022-01-11 16:13:38 +01:00
  • acfc7798fd Rename io.AddKeyModEvent() -> io.AddKeyModsEvent() and updated backends accordingly. (#2625, #4858) ocornut 2022-01-10 16:59:31 +01:00
  • e8172fdfbc Rename io.AddKeyModEvent() -> io.AddKeyModsEvent() and updated backends accordingly. (#2625, #4858) ocornut 2022-01-10 16:59:31 +01:00
  • 9ce0f35ef3 Backends: OSX: Fixed typo. ocornut 2022-01-10 15:47:37 +01:00
  • b2e2cc44c2 Backends: OSX: Fixed typo. ocornut 2022-01-10 15:47:37 +01:00
  • ef681e7019 Merge branch 'master' into docking ocornut 2022-01-10 15:24:21 +01:00
  • 790132a672 Added io.AddKeyModEvent() and updated backends accordingly. (#2625, #4858) ocornut 2022-01-10 12:39:01 +01:00
  • 1797135db5 Backends: Android: Update to use io.AddEventKey() will full key map (#2625, #4858) thedmd 2022-01-06 19:57:34 +01:00
  • ee436aa803 Backends: OSX: Update to use io.AddEventKey() will full key map (#2625, #1873, #4858) thedmd 2021-12-12 12:04:13 +01:00
  • da1864d79e Backends: GLUT: Update to use io.AddEventKey() will full key map (#2625, #4858) thedmd 2021-12-12 12:02:20 +01:00
  • 1bfe4a75be Backends: Allegro5: Update to use io.AddEventKey() will full key map (#2625, #4858) thedmd 2021-12-12 11:58:50 +01:00
  • fe646ea591 Backends: SDL2: Update to use io.AddEventKey() will full key map (#2625, #4858) + created localized key (using keycode instead of scancode) (#456) thedmd 2021-12-12 11:57:37 +01:00
  • ecd212c01d Backends: GLFW: Update to use io.AddEventKey() will full key map (#2625, #4858) thedmd 2021-12-12 12:00:31 +01:00
  • 746c9f76e4 Backends: Win32: Update to use io.AddEventKey() will full key map (#2625, #4858) thedmd 2018-05-02 20:42:37 +02:00
  • bf08c13e9b Inputs: Extra Keys / AddKeyEvent(): bidirectional mapping, basic CI, simplify backends, asserts on misuses, tested backward compat. (#2625, #4858, #2787) ocornut 2022-01-03 20:52:52 +01:00
  • 3b66929301 Inputs: Extra Keys / AddKeyEvent(): Added ImGuiKey values, io.AddKeyEvent(), GetKeyName(), IMGUI_DISABLE_OBSOLETE_KEYIO. Obsoleted GetKeyIndex(), io.KeyMap[], io.KeysDown[]. (#2625, #4858, #2787) thedmd 2021-12-11 23:53:38 +01:00
  • afffcd5810 Inputs: rename ImGuiKey_KeyPadEnter > ImGuiKey_KeypadEnter (#2625) ocornut 2021-12-21 18:25:46 +01:00
  • 100ede5764 Backends: GLFW: Fix CTRL+A, CTRL+Y, CTRL+Z to match keyboard layout. Converting GLFW untranslated keycodes back to translated keycodes. (#456, #2625) ocornut 2022-01-05 16:54:03 +01:00
  • 4d023bd7fe Fix for using IMGUI_DISABLE_OBSOLETE_FUNCTIONS ocornut 2022-01-05 14:55:17 +01:00
  • 704ab1114a Merge branch 'master' into docking. Remove Platform_SetImeInputPos. Remove backend-side IME implementation. Rrevert removal of MouseDragMaxDistanceAbs in 206b9ea. (#2589, #3113) ocornut 2022-01-05 14:28:20 +01:00
  • de36ff043e Platform IME: add ImGuiPlatformImeData::InputLineHeight (unused by win32). (#3113) Liu Liu 2022-01-05 13:38:51 +01:00
  • 29a8ee0826 Platform IME: add ImGuiPlatformImeData::WantVisible, hide IME when not used. (#2589) actboy168 2022-01-05 13:20:54 +01:00
  • 1cbfe93520 Platform IME: [windows] call ImmSetCandidateWindow() to position candidate window. ocornut 2022-01-05 13:27:48 +01:00
  • 2706c9d66e Platform IME: reworked internals to simplify adding new features. ocornut 2022-01-05 13:15:49 +01:00
  • 3a90dc3893 Platform IME: changed io.ImeSetInputScreenPosFn() to io.SetPlatformImeDataFn() API. ocornut 2022-01-05 13:03:48 +01:00
  • 04bc0b0bb8 Fix IdxBuffer related comments. (#4845, #4863) ocornut 2022-01-05 12:15:58 +01:00
  • 28eabcb099 Internals: refactor: mouse input functions into their own section. ocornut 2022-01-04 14:53:30 +01:00
  • 206b9ead8f IO: removed unused MouseDragMaxDistanceAbs(). Using a shortcut variable in UpdateMouseInputs(). ocornut 2022-01-04 12:49:34 +01:00
  • c5a3cae83a Reordered some IO fields. Misc comments. Removed beta marker from tables comments. ocornut 2022-01-04 12:44:10 +01:00
  • efa50f72a7 Backends: Metal: Ignore ImDrawCmd where ElemCount == 0. (#4857) ocornut 2022-01-03 22:14:19 +01:00
  • afb1180d7d Merge branch 'master' into docking ocornut 2022-01-03 21:46:57 +01:00
  • b0a6cd6305 Fixed a situation where CTRL+Tab or Modal can occasionally lead to the creation of ImDrawCmd with zero triangles, (#4857) ocornut 2022-01-03 21:16:51 +01:00
  • 2402958aec Commented out redirecting functions/enums names that were marked obsolete in 1.69, 1.70, 1.71, 1.72 ocornut 2022-01-03 16:37:33 +01:00
  • 92d7869fc7 Happy new year! ocornut 2022-01-03 16:27:51 +01:00
  • 83d22f4e48 Tables, ImDrawListSplitter: Fixed erroneously stripping trailing ImDrawList::AddCallback().(#4843, #4844) Jonathan Hoffstadt 2021-12-30 14:37:31 -06:00
  • 9c8f288d1a Viewports: Fixed a CTRL+TAB crash with viewports enabled (#4023, #787) (amend 1dc3af3, 23ef6c1, 657073a) ocornut 2021-12-30 21:46:09 +01:00
  • 2aa9959553 Merge branch 'master' into docking ocornut 2021-12-30 21:42:19 +01:00
  • 41e39ea6e1 Backends: Metal: Add Metal C++ bindings support. (#4824, #4746) luigifcruz 2021-12-23 17:04:35 -03:00
  • dbeea7220f Backends: Silence overzealous warnings. (#4834) Add comments about SetDragDropPayload() return value. (#4835) ocornut 2021-12-29 12:41:34 +01:00
  • 89a28209e8 Version 1.87 WIP + Backends: OpenGL3: Fixed a buffer overflow in imgui_impl_opengl3_loader.h init, added in 1.86 (#4468, #4830) ocornut 2021-12-26 20:02:02 +01:00
  • 980deb4c9e Add missing include guard to avoid declaring ImFontAtlasGetBuilderForStbTruetype() function. ocornut 2021-12-26 19:51:10 +01:00
  • 15b4a064f9 Merge branch 'master' into docking ocornut 2021-12-22 16:02:04 +01:00
  • 512c54bbc0 Version 1.86 v1.86 ocornut 2021-12-22 15:12:57 +01:00
  • 612b787b0d Menus: fixed top-level menu from not consistently using style.PopupRounding. (#4788) ocornut 2021-12-21 15:05:10 +01:00
  • 4bad852a78 Backends: SDL_Renderer: Handle change to SDL_RenderGeometryRaw() function signature in SDL 2.0.19 (#4819) Sean Ridenour 2021-12-20 21:27:48 -07:00
  • 0636f9adac InputText: fixed Shift+Delete from not cutting into clipboard. (#4818, #1541) ocornut 2021-12-20 19:45:58 +01:00
  • d9bc1e44af Backends: Marmalade: Removed obsolete Marmalade backend (imgui_impl_marmalade.cpp) + example. (#368, #375) ocornut 2021-12-20 19:29:41 +01:00
  • 0cdc4a9565 Backends: Win32: Store left/right variants of Ctrl/Shift/Alt mods in KeysDown[] array. (#2625) thedmd 2018-05-02 20:42:37 +02:00
  • 4a43dcb940 Internals: reduced side-effects of setting window->HiddenFramesForRenderOnly > 0 ocornut 2021-12-15 16:03:20 +01:00
  • 06d5f9297d Internals: reduced side-effects of setting window->HiddenFramesForRenderOnly > 0 ocornut 2021-12-15 16:03:20 +01:00
  • 248ed1b01d Internals: UpdateWindowInFocusOrderList: amend a528398 to fix docking. (#3496, #4797) ocornut 2021-12-15 12:16:48 +01:00
  • 1c4066cd9e Internals: UpdateWindowInFocusOrderList: amend a528398 to fix docking. (#3496, #4797) ocornut 2021-12-15 12:16:48 +01:00
  • cd36acc88b Merge branch 'master' into docking ocornut 2021-12-15 12:10:03 +01:00
  • 389982eb5a Backends: OpenGL3: Using buffer orphaning + glBufferSubData(), seems to fix leaks with multi-viewports with some Intel HD drivers.. (#4468, #4504, #2981, #3381) ocornut 2021-08-26 17:10:58 +02:00
  • 48f263336b Menus: fixed closing a menu inside a popup/modal. Fixed menu inside a popup/modal not inhibiting hovering of items in the popup/modal. (#3496, #4797) ocornut 2021-12-13 19:46:01 +01:00
  • a528398c77 Internals: support for varying _ChildWindow flag for menu windows. (#3496, #4797) ocornut 2021-12-14 16:17:31 +01:00
  • 11638fdf7d Menus: reuse more menu windows when stacked over popups. ocornut 2021-12-13 19:35:16 +01:00
  • 0e8c199e87 CI: Use regex to fix vcxproj platform and toolset versions. (#3249) Remove Discord integration. Rokas Kupstys 2021-12-13 13:57:33 +02:00
  • d7350668d1 Fix OSX warnings + Examples/Apple+GL2 calls super reshape. (#4759, #1873) ocornut 2021-12-13 12:02:12 +01:00
  • 1b6b8602c1 Backends: OSX: Fix keyboard support. Handle scroll cancel. Don't set mouse cursor shape unconditionally. (#4759, #4253, #1873) Stuart Carnie 2021-12-11 09:20:17 +11:00
  • f71ee5203e Fix infinite loop in ImFontGlyphRangesBuilder::AddRanges if the user passes upper range = UINT16_MAX without IMGUI_USE_WCHAR32. (#4802) SlavicPotato 2021-12-11 15:03:30 +01:00
  • b720f1f03c Backends: OSX: Add Game Controller support. (#4759) Stuart Carnie 2021-12-11 08:10:21 +11:00
  • 8a9fe26866 Menus: fixed closing a menu by clicking on its menu-bar item when inside a popup. (#3496, #4797) xndcn 2021-12-10 18:47:54 +01:00
  • 747f7fdbba Docking: prevent docking any window created above a popup/modal. (#4317) ocornut 2021-12-09 16:46:41 +01:00
  • f605351307 Added an assertion for the common user mistake of using "" as an identifier at the root level of a window. (#1414, #2562, #2807, #4008, #4158, #4375, #4548, #4657, #4796) ocornut 2021-12-09 15:35:02 +01:00
  • c801799218 Added an assertion for the common user mistake of using "" as an identifier at the root level of a window. (#1414, #2562, #2807, #4008, #4158, #4375, #4548, #4657, #4796) ocornut 2021-12-09 15:35:02 +01:00
  • a8e1dde357 Fix static analyser, update readme. ocornut 2021-12-09 15:17:58 +01:00
  • e31d116d37 Merge branch 'master' into docking ocornut 2021-12-09 11:52:23 +01:00
  • e03383d088 Fixes for tooltip over modals leading to incorrect modal dimming. (#4729) ocornut 2021-12-09 11:50:23 +01:00
  • bdd2a94315 InputTextMultiline: fixed vertical tracking with large values of FramePadding.y. (#3781, #4794) ocornut 2021-12-09 11:30:42 +01:00
  • 072caa4a90 InputText: fixed incorrect padding when FrameBorder > 0. (#4794, #3781) ocornut 2021-12-09 11:25:58 +01:00
  • 270d4d0855 Nav, Docking: Fix crash on dimming docked window and DockSpaceOverViewport() with PassthruCentralNode. ocornut 2021-12-08 17:02:24 +01:00
  • 0647cf434c Nav, Docking: Fix crash on dimming docked window and DockSpaceOverViewport() with PassthruCentralNode. ocornut 2021-12-08 17:02:24 +01:00
  • a19815dc6b Backends: Allegro5: Fixed mishandling of the ImDrawCmd::IdxOffset field. (#4790) ocornut 2021-12-08 16:34:57 +01:00
  • c80e8b964c Backends: OpenGL2, Marmalade: Fixed mishandling of the ImDrawCmd::IdxOffset field. (#4790) ocornut 2021-12-08 16:26:52 +01:00
  • b38af0f522 Popups: Fix popups being closed by newly appearing windows. (#4317) Rokas Kupstys 2021-07-27 16:47:18 +03:00
  • fc198fe1db Nav, Docking: Fix dimming on docked windows. ocornut 2021-12-06 19:50:42 +01:00
  • c1b70e0391 Merge branch 'master' into docking ocornut 2021-12-06 19:17:03 +01:00
  • 657073a650 Nav, Docking: fix dimming crash with accessing zero-cmd ImDrawList (amend 1dc3af3, 23ef6c1) ocornut 2021-12-06 18:49:57 +01:00
  • 20e040c858 Clipper, Tables: remove table specific code path should now be ok (added assert). ocornut 2021-12-06 17:17:15 +01:00
  • 926addbfe2 Clipper: fixed invalid state when number of frozen table row is smaller than ItemCount. ocornut 2021-12-06 17:03:47 +01:00
  • 027a7ba3eb Clipper: use line size instead of cursor comparaison when range are large. (#3609, #3962 + https://github.com/ocornut/imgui_club/issues/20) ocornut 2021-12-06 16:20:53 +01:00
  • a76bc52da5 Window, Clipper: store initial precision loss and apply in clipper. (#3609, #3962 + https://github.com/ocornut/imgui_club/issues/20) ocornut 2021-12-06 12:48:21 +01:00
  • 6e141a9cae Internals: made ScrollbarEx() use ImS64 to facilitate use with larger ranges (not fully tested) + clipper tweaks (#3609, #3962 + https://github.com/ocornut/imgui_club/issues/20) ocornut 2021-12-06 12:00:16 +01:00
  • eea836135a InputText: fix buffer modifications in callbacks while using resize callback (#4784) ocornut 2021-12-05 19:03:40 +01:00
  • aa41f16589 Separator: fixed cover all columns while called inside a table. (#4787, #205) ocornut 2021-12-05 18:47:28 +01:00
  • 06e4f4e370 Merge branch 'master' into docking ocornut 2021-12-03 19:24:42 +01:00