Commit Graph

  • 6af38b1a43 Fixed version string for consistency (#5918) ocornut 2022-11-28 14:42:30 +01:00
  • fad8afd62a Docking: amend to allow localizing docking specific user facing string. (#5895) ocornut 2022-11-24 21:29:41 +01:00
  • 595a428baa Merge branch 'master' into docking ocornut 2022-11-24 21:26:49 +01:00
  • a8df192df0 Version 1.89.1 v1.89.1 ocornut 2022-11-24 21:24:33 +01:00
  • 27c58c3946 Scrolling, Focus, Combo: fixed SetKeyboardFocusHere()/SetItemDefaultFocus()/ScrollToRectEx() during an appearing form not centering item. (#5902, #2812, #4242, #2900) ocornut 2022-11-24 17:40:51 +01:00
  • d2f9c5dfb7 Viewports: moving PlatformWindowCreated field to public structure. (#5882) ocornut 2022-11-24 16:39:45 +01:00
  • 233d7ad3f2 Backends: WebGPU: fixed validation error with default depth buffer settings. (#5869, #5914) kdchambers 2022-11-23 15:58:02 -05:00
  • 856c6314ec Drag and Drop: fixed GetDragDropPayload() returning a non-NULL value before payload is submitted. (#5910, #143) ocornut 2022-11-23 17:58:14 +01:00
  • ffe0abbfc2 Internals: added basic localization system (#5895) ocornut 2022-11-23 16:05:16 +01:00
  • c3d9f8ee7e Layout: fixed End()/EndChild() incorrectly asserting if users manipulates cursor position inside a collapsed/culled window and IMGUI_DISABLE_OBSOLETE_FUNCTIONS is enabled. (#5548, #5911) ocornut 2022-11-23 15:18:59 +01:00
  • 3a685749cb ColorEdit: fixed label overlapping when using style.ColorButtonPosition == ImGuiDir_Left. (#5912) ocornut 2022-11-23 14:40:58 +01:00
  • 16476f99fd Backends: GLFW: cancel out errors emitted by glfwGetKeyName() when a name is missing. (#5908) ocornut 2022-11-22 18:08:25 +01:00
  • 9964740a47 Viewport: Fixed collapsed windows setting ImGuiViewportFlags_NoRendererClear without making title bar color opaque. ocornut 2022-11-18 19:34:24 +01:00
  • 38cfe22b8b Merge branch 'master' into docking ocornut 2022-11-16 17:57:05 +01:00
  • 5bb2874940 Version 1.89.1 WIP ocornut 2022-11-16 17:55:27 +01:00
  • 7bee9a8f96 Inputs: fixed moving a window or drag and dropping from preventing input-owner-unaware code from accessing keys. (#5888, #4921, #456) ocornut 2022-11-16 17:53:35 +01:00
  • d60985df7f Inputs: fix moving a window or drag and dropping from capture mods. (#5888, #4921, #456) ocornut 2022-11-16 17:40:44 +01:00
  • 83cee9e091 InputText: replaced some uses of SetKeyOwner() + IsKeyPressed() with Shortcut() ocornut 2022-11-16 15:55:10 +01:00
  • 94e850fd6f Merge branch 'master' into docking ocornut 2022-11-15 15:40:54 +01:00
  • 81160fee56 Version 1.89 v1.89 ocornut 2022-11-15 14:23:44 +01:00
  • a582d92c31 Inputs: modulate wheel lock timer for small amount of wheeling. Slightly lower timer. (#3795) ocornut 2022-11-15 12:25:15 +01:00
  • 03d3343e21 Docs: Update FAQ.md explaining how to enable hidpi for Windows app. (#5880) macaba 2022-11-10 15:31:18 +00:00
  • 00b6370848 Backends: WebGPU: fixed rendering when a depth buffer is enabled. (#5869) Peter Nimmervoll 2022-11-07 21:35:05 +01:00
  • d7aca168ee Backends: SDL: Fixed drag'n drop crossing a viewport border losing mouse coordinates. (#5710, #5012) ocornut 2022-11-10 16:22:34 +01:00
  • 7380b9816e Scrolling: Exposed SetNextWindowScroll() in public API. (#1526) ocornut 2022-11-09 17:03:07 +01:00
  • cda26635cd Inputs: refacotr/extract CalcRoutingScore() out of SetShortcutRouting(), easier to follow with early returns. ocornut 2022-11-09 16:32:30 +01:00
  • a571933f8b Merge branch 'master' into docking ocornut 2022-11-09 15:59:26 +01:00
  • b8b0f9d02e Backends: OpenGL3: Reverted use of glBufferSubData(). (#4468, #4504, #3381, #2981, #4825, #4832, #5127) ocornut 2022-11-09 15:57:54 +01:00
  • f0ad810553 Inputs: tweak comments, typos. ocornut 2022-11-08 22:31:40 +01:00
  • 4d5da74c79 Merge branch 'master' into docking ocornut 2022-11-08 20:44:04 +01:00
  • 637ddfce09 Inputs, Nav: made it possible to remap CTRL+Tab (#4828, #3255, #5641) ocornut 2022-11-08 20:06:04 +01:00
  • 6c9c4879d9 Inputs: made Shortcut() routing id defaults to current FocusScope ID. (#456, #2637, #3724) ocornut 2022-10-26 14:53:45 +02:00
  • d576724bfd Inputs: made ImGuiInputFlags_RouteFocused the default for Shortcut(). (#456, #2637, #3724) ocornut 2022-11-03 19:21:25 +01:00
  • 4d6a9ef93f Inputs: added routing priorities. (#456, #2637, #3724) ocornut 2022-10-19 18:53:53 +02:00
  • 7ff2d3353c Inputs: added wip/experiment routing system: Shortcut(), RoutingFocused policy, SetShortcutRouting(). (#456, #2637, #3724) ocornut 2022-09-14 21:47:27 +02:00
  • c59ebb2d71 Inputs: added basic Shortcut() function - no routing yet. (#456) ocornut 2022-07-05 14:48:55 +02:00
  • 8c95c084cb Inputs: changed specs of SetKeyOwner() to alter OwnerCurr immediately. ocornut 2022-09-20 18:58:08 +02:00
  • 4448d975d1 Inputs: added wip/internal Input Owner system. (#456, #2637, #2620, #2891, #3370, #4828, #5108, #5242, #5641) ocornut 2022-05-17 15:36:25 +02:00
  • 5728f2e15f Fix build with IMGUI_DISABLE_DEBUG_TOOLS ocornut 2022-11-04 16:35:57 +01:00
  • 44d98bfd6d Fix build with IMGUI_DISABLE_DEBUG_TOOLS ocornut 2022-11-04 16:35:57 +01:00
  • 849c8052b7 Merge branch 'master' into docking ocornut 2022-11-04 16:26:15 +01:00
  • 529cba19b0 Debug Tools: Added DebugLocateItem()/DebugLocateItemOnHover() to visually locate items when hovering a 0xXXXXXXXX value. (#5855, #2673, #4631) ocornut 2022-10-24 22:53:43 +02:00
  • 7109f32f96 Internals: tidying up and stripping more of focus scope code. ocornut 2022-11-03 16:25:15 +01:00
  • 9f66a3a9ed Internals: rework FocusScope system, current scope doesn't need to be in window + child doesn't inherit. ocornut 2022-10-19 20:54:19 +02:00
  • 1eac0024c0 InputText: copy and select all shortcuts don't need repeat (tho it was harmless0 ocornut 2022-11-03 18:23:42 +01:00
  • 90e9465fa5 Window: Fixed position not being clamped while auto-resizing (#5843) ocornut 2022-11-02 12:36:41 +01:00
  • 6e9dfe1de1 Window: Auto-fit size takes account of work rectangle (menu bars eating from viewport). (#5843) ocornut 2022-11-02 12:36:22 +01:00
  • 86f2af2bc7 Backends: OSX: Fixed mouse coordinate before clicking on the host window. (#5842) Akira Maezawa 2022-11-02 01:52:20 +09:00
  • ced92d9c52 Inputs, Viewports: fix UpdateViewportsNewFrame() running before UpdateInputEvents(), leading to MouseViewport lagging by a frame on transitions. (#5837, #4921) cfillion 2022-10-29 20:19:47 -04:00
  • c2694ef75e Examples: Android: Using LoadIniSettingsFromMemory() / SaveIniSettingsToMemory() to save in appropriate location for Android. (#5836) Rewtio 2022-10-30 05:09:13 +07:00
  • 22bcfca700 IO: Clear AppFocusLost in EndFrame() in order to allow backend or application code to poll and react to it ocornut 2022-10-28 20:01:20 +02:00
  • a241dc7990 IO: Fixed AddFocusEvent(false) to also clear MouseDown[] state. (#4921) ocornut 2022-10-27 20:17:19 +02:00
  • a61bbdc239 Commented out redirecting OpenPopupContextItem() which was briefly the name of OpenPopupOnItemClick() from 1.77 to 1.79. ocornut 2022-10-26 22:22:53 +02:00
  • 9db6b1a0d9 Backends: Win32: minor tidying up. (#5819) Teselka 2022-10-25 13:39:27 +03:00
  • baea25e657 Drag and Drop: extracted a RenderDragDropTargetRect() function (#1603) ocornut 2022-10-25 15:07:00 +02:00
  • 375ae5dce4 Merge branch 'master' into docking (incl glfw use of GLFW_VERSION_COMBINED) ocornut 2022-10-24 22:58:25 +02:00
  • 431fc6a7f6 Internals: using ItemAdd() consistently for internal items: windows & tables resize grips/borders, ScrollbarEx(). ocornut 2022-10-24 22:45:05 +02:00
  • 178aee4b1c Debug Tools: Debug Log: add and use ImGuiTextLineIndex. ocornut 2022-10-21 18:55:47 +02:00
  • 50c4234aca Docking: Further fixes for highlight of nested nodes. (#5702) ocornut 2022-10-24 20:25:27 +02:00
  • 5370b46c4e Docking: Made spacing between dock nodes not a dropping gap. ocornut 2022-10-24 19:37:29 +02:00
  • 578df14f27 CI: Remove left-over discord stuff. ocornut 2022-10-24 12:02:06 +02:00
  • f6bd7c8e53 Debug Tools: Item Picker: remove IMGUI_DEBUG_TOOL_ITEM_PICKER_EX since it doesn't work on non-ItemHoverable() items anyway. (#2673) ocornut 2022-10-21 18:03:46 +02:00
  • bc918404fe Internals: using ImToUpper() since std one does too many things. ocornut 2022-10-21 16:13:52 +02:00
  • 9a35bfea39 Internals: added temporary ImGuiItemStatusFlags_Visible (used internally - please do not use). ocornut 2022-10-19 16:52:23 +02:00
  • de1593d5c0 Backends: DX12: Fixed stale comments. (#5798) David 2022-10-20 01:25:00 -05:00
  • e3fa56ae05 BeginMenu(): Menus: Fixed a one-frame issue where SetNextWindowXXX data are not consumed by a BeginMenu(). ocornut 2022-10-19 12:07:56 +02:00
  • 5ac94ad898 Window: Fixed an issue where uncollapsed a window would show a scrollbar for a frame. ocornut 2022-10-18 16:29:35 +02:00
  • ab6e48b833 Backends: GLFW: Perform a dummy glfwGetError() read to cancel missing mouse cursors errors. (#5785) ocornut 2022-10-18 12:17:59 +02:00
  • f87e891f18 Merge branch 'master' into docking ocornut 2022-10-14 18:50:40 +02:00
  • 08752b372e Menus, Popups: Experimental fix for issue where clicking on an open BeginMenu() item called from a window which is neither a popup neither a menu used to incorrectly close and reopen the menu. (#5775) ocornut 2022-10-14 18:43:04 +02:00
  • 81176737f8 Menus: Fixed using IsItemHovered()/IsItemClicked() on BeginMenu(). (#5775) ocornut 2022-10-14 17:39:04 +02:00
  • 3920b1c764 Removed commented out old flags from when Tables was a branch. ocornut 2022-10-12 23:35:53 +02:00
  • b15347cb7d Tables: activating an ID (e.g. clicking button inside) column doesn't prevent columns output flags from having ImGuiTableColumnFlags_IsHovered set. (#2957) ocornut 2022-10-13 15:15:42 +02:00
  • 3e8d198133 Removed runtime patching of obsolete/invalid "%f"/"%.0f" types of format strings for DragInt()/SliderInt(). ocornut 2022-10-12 23:07:15 +02:00
  • 5196bd15e9 Docs: Update outdated code sample (#5766) thedemons 2022-10-11 22:45:27 +07:00
  • edf522b58a Merge branch 'master' into docking + amends change to nullptr (#5760) ocornut 2022-10-11 15:59:23 +02:00
  • c54230d14e Backends: Using nullptr instead of NULL. (#5760, #4537) + fix additional warnings. ocornut 2022-10-11 12:22:29 +02:00
  • 8a44c31c95 Scrolling: Further reduce unrelease mouse-wheel locked window timer + misc refactor (#2604, #3795, #4559) ocornut 2022-10-06 14:42:22 +02:00
  • dfa1bb0ac7 Backends: OSX: Fixed mouse inputs on flipped views. (#5756) ocornut 2022-10-06 14:27:27 +02:00
  • cb04326b46 Fixed ImGuiWindowFlags_UnsavedDocument clipping label in docked windows with no close button. [changes for docking] (#5745) ocornut 2022-10-04 18:00:42 +02:00
  • 85a368b58d Fixed ImGuiWindowFlags_UnsavedDocument clipping label in docked windows with no close button. (#5745) ocornut 2022-10-04 18:00:42 +02:00
  • c7d3d22ae1 Scrolling: Mitigated issue where multi-axis mouse-wheel inputs (usually from touch pad events) are incorrectly locking scrolling in a parent window. (#4559, #3795, #2604) ocornut 2022-10-04 15:39:55 +02:00
  • 80a870a3e5 Scrolling: Tweak mouse-wheel locked window timer so it is shorter but also gets reset whenever scrolling again (#2604) + small refactor ocornut 2022-09-28 12:08:40 +02:00
  • 282b2b5afb Backends: Vulkan: Fix building with VK_NO_PROTOTYPES. (#914, #5738). ocornut 2022-10-04 12:30:45 +02:00
  • a588f00f7b Backends: Vulkan: Added experimental ImGui_ImplVulkan_RemoveTexture() for api symetry. (#914, #5738). ocornut 2022-10-04 12:02:48 +02:00
  • fb0b9c7160 Docking: Fixed missing highlight when using dock node host window borders. (#5702) ocornut 2022-10-03 14:55:22 +02:00
  • 5884219867 imgui_freetype: Assert if bitmap size exceed chunk size to avoid buffer overflow. (#5731) cfillion 2022-09-28 23:37:39 -04:00
  • f2a522d70d ImDrawList: Not using alloca() anymore, lift single polygon size limits. (#5704, #1811) ocornut 2022-09-30 15:43:27 +02:00
  • 69beaa1d0b Viewports: Fix AddMouseViewportEvent() to honor AppAcceptingEvents, filter duplicate, add to debug log. ocornut 2022-09-29 20:00:29 +02:00
  • d91211f9f2 Merge branch 'master' into docking ocornut 2022-09-29 22:02:23 +02:00
  • cc5058e5d7 IO: Filter duplicate input events during the AddXXX() calls. (#5599, #4921) ocornut 2022-09-29 21:59:32 +02:00
  • fac8295d6e IO: remove ImGuiInputEvent::IgnoredAsSame (revert part of 839c3100), will filter earlier in next commit. (#5599) ocornut 2022-09-29 21:31:36 +02:00
  • 9e7f460c09 Fixed GetKeyName() for ImGuiMod_XXX values, made invalid MousePos display in log nicer. (#4921, #456) ocornut 2022-09-29 20:42:45 +02:00
  • 0749453355 Menus, Nav: Fixed not being able to close a menu with Left arrow when parent is not a popup. (#5730) ocornut 2022-09-29 19:51:54 +02:00
  • 9f6aae3bf2 Nav: Fixed race condition pressing Esc during popup opening frame causing crash. ocornut 2022-09-29 19:48:27 +02:00
  • bd2355a047 Menus, Nav: Fixed using left/right navigation when appending to an existing menu (multiple BeginMenu() call with same names). (#1207) ocornut 2022-09-29 19:25:26 +02:00
  • 3532ed1621 Menus, Nav: Fixed keyboard/gamepad navigation occasionally erroneously landing on menu-item in parent when the parent is not a popup. (#5730) ocornut 2022-09-29 18:07:35 +02:00
  • d5d705069d Various comments ocornut 2022-09-29 17:26:52 +02:00
  • e74a50f525 Added GetGlyphRangesGreek() helper for Greek & Coptic glyph range. (#5676, #5727) Andrew D. Zonenberg 2022-09-28 08:19:34 -07:00
  • d17627b9c6 InputText: leave state->Flags uncleared for the purpose of backends emitting an on-screen keyboard for passwords. (#5724) ocornut 2022-09-28 17:38:41 +02:00