Commit Graph

  • 29653273c1 Docking: reinstate io.ConfigDockingWithShift option. (#4643) ocornut 2021-10-13 16:45:43 +0200
  • be03b8ff93 Misc: Fix build with MinGW when using IMGUI_API. Rokas Kupstys 2021-10-12 17:23:39 +0300
  • 1b215ecb01 Merge branch 'master' into docking ocornut 2021-10-11 19:25:50 +0200
  • 55d35d8387 Version 1.85 ocornut 2021-10-11 19:03:37 +0200
  • 75c54e6384 Nav: Fixed vertical scoring offset when wrapping on Y in a decorated window. ocornut 2021-10-11 14:40:42 +0200
  • ba5c105c01 Menus: Fixed an assertion happening in some situations when closing nested menus (broken in 1.83). (#4640) ocornut 2021-10-11 11:37:31 +0200
  • 44f801186f SetItemDefaultFocus() use ScrollToRectEx(), don't tab when Alt is held either, TabItemEx() uses ItemAdd's extra_flags, misc comments. ocornut 2021-10-07 18:25:29 +0200
  • ec6ca06898 InputText: Fixed selection rectangle appearing one frame late when selecting all. ocornut 2021-10-08 13:00:47 +0200
  • dde31030e9 Backends: SDL_Renderer: use SDL_RenderIsClipEnabled() to pass NULL to SDL_RenderSetClipRect (#3926, #4582, #4633) ocornut 2021-10-07 15:07:43 +0200
  • 30a6873a44
    Backends: WebGPU: Fix missing initialization of local variable (#4634) Basil Fierz 2021-10-07 14:58:09 +0200
  • 31d033c9d8 Nav: refactor SetKeyboardFocusHere() into using Nav facility. Fix it for clipped items. (#343, #4079, #2352, #432) ocornut 2021-10-06 18:33:01 +0200
  • fbe78b1a3a Stack Tool: Docs (#4631) + also prevent Metrics window from displaying twice. ocornut 2021-10-06 18:16:43 +0200
  • 1780579403 Merge branch 'master' into docking ocornut 2021-10-06 17:57:11 +0200
  • 25332fa5ac Backends: Emscripten: Update the webgpu API to be compatible with chrome 4633 (#4512) Basil Fierz 2021-09-05 23:40:01 +0200
  • 2de96c4bd5 Stack Tool: Added Stack Tool (ShowStackToolWindow() function and available from Demo and Metrics window). (#4631) ocornut 2021-09-30 12:15:34 +0200
  • e443ea139d Backends: SDL_Renderer: Backup and restore modified ClipRect/Viewport. (#3926, #4582) ocornut 2021-10-06 13:41:29 +0200
  • 30db674147 Fix printf format warnings on mingw clang (#4626, #4183, #3592) Guus Waals 2021-09-17 18:14:13 +0200
  • 164a86d3b0 Moved !IsActiveIdUsingKey(ImGuiKey_Tab) check to UpdateTabFocus(). Added asserts to IsItemHovered() and IsWindowHovered(). ocornut 2021-10-05 22:06:12 +0200
  • 677fe33990 Backends: DX12: use dxgiformat.h to fix using forward declared DXGI_FORMAT (#4594) ocornut 2021-09-30 11:53:20 +0200
  • 8f495e5543 Internal: added ScrollToItem() upcoming replacement to ScrollToBringRectIntoView() + ImGuiScrollFlags (WIP) (#3692, #3208, #2812, #4242, #2900) ocornut 2021-09-16 20:24:47 +0200
  • 835a5344b0 Merge branch 'master' into docking ocornut 2021-09-24 15:49:28 +0200
  • 65ad63de84 Added ImGuiFocusedFlags_NoPopupHierarchy and ImGuiHoveredFlags_NoPopupHierarchy (followup #4527) ocornut 2021-09-24 13:58:00 +0200
  • fc4988ffb0 Added ImGuiFocusedFlags_NoPopupHierarchy and ImGuiHoveredFlags_NoPopupHierarchy (followup #4527) ocornut 2021-09-24 14:51:14 +0200
  • 24a77824f2 Added ClosePopupsExceptModals() helper, unused for now (aimed at user being able to close popups on app focus loss, not necessarily a suitable default) ocornut 2021-09-22 15:50:40 +0200
  • bbb95a5e06 IO: modify io.AddFocusEvent() to tolerate in/out for multi-viewports. Amend 2f40be6. (merged from docking) (#3532) ocornut 2021-08-19 17:35:27 +0200
  • ca097c2c68 Docking: Fixed IsItemHovered() and functions depending on it (e.g. BeginPopupContextItem()) when called after Begin() on a docked window (#3851) ocornut 2021-09-22 14:05:21 +0200
  • fba756176d Backends: SDL_Renderer: Amend 1d2d246, various tweaks, fixes, sync to latest. (#3926) ocornut 2021-09-21 19:29:39 +0200
  • 62b17f928e Backends: SDL_Renderer: Added renderer backend for SDL 2.0.17+ (#3926) Sylvain 2021-09-21 17:12:30 +0200
  • d7260104b1
    Added comments about sliders clamping and ImGuiSliderFlags_AlwaysClamp (#4573) Martin Ejdestig 2021-09-21 19:18:21 +0200
  • 15fe7ba31f ColorPicker: Fix not being able to pick exactly (1.0f, 1.0f, 1.0f) color by dragging toward the edges of the SV square. (#3517) Rokas Kupstys 2021-04-12 12:42:04 +0300
  • 30546bc0e7 ColorEdit: Fix multiple issues. (#4014) Rokas Kupstys 2021-04-08 14:37:03 +0300
  • 15132217a3 Nav: Fixed an issue with losing focus on docked windows when pressing Alt while keyboard navigation is disabled. (#4547, #4439) ocornut 2021-09-21 13:16:00 +0200
  • fa0a314f59 Nav: Fixed an issue with losing focus on docked windows when pressing Alt while keyboard navigation is disabled. (#4547, #4439) ocornut 2021-09-21 13:16:00 +0200
  • bc3d267c51 Backends: OSX: Use mach_absolute_time as CFAbsoluteTimeGetCurrent can jump backwards. (#4557, #4563) James McCartney 2021-09-20 00:20:04 -0700
  • c6ca327fb2 Backends: Added more implicit asserts to detect invalid/redundant calls to Shutdown functions. (#4562) ocornut 2021-09-20 18:43:05 +0200
  • ddddabdccf InputText: amend validation test to allow pushing Activate events remotely. (#4552, #2321) ocornut 2021-09-17 16:44:14 +0200
  • 2cffcbdc64 InputText: fix Space key with nav enabled interfering with input text boxes (fix bd6c9e99). made it possible to activate InputText with tweak gamepad button (why not, now that we can cancel) (#4552, #2321) ocornut 2021-09-17 15:44:43 +0200
  • 3973de7933 Internals: removed last parameter to IsClippedEx() + fix PVS studio warnings. ocornut 2021-09-15 16:50:20 +0200
  • 2d0a6a4969 Misc: moved StacSizeOnBegin out of window instance into window stack data. ocornut 2021-09-15 15:36:03 +0200
  • 66cd21db88 Misc: extracted ErrorCheckEndWindowRecover() out of ErrorCheckEndFrameRecover(). (#1651) ocornut 2021-09-15 15:23:55 +0200
  • d366694062 Disabled: Added assert guard for mismatching BeginDisabled()/EndDisabled() blocks. (#211) + Added asserts for missing PopItemFlag() calls. Added both to ErrorCheckEndFrameRecover (#1651) ocornut 2021-09-15 15:16:58 +0200
  • 4f10fe0a27 TreePush: removed arbitrary/weird suppot for TreePush((const char*)NULL) ocornut 2021-09-15 12:12:49 +0200
  • c58fb46411 Merge branch 'master' into docking ocornut 2021-09-14 19:26:27 +0200
  • e7cc534367 Docking: Improved resizing system so that non-central zone are better at keeping their fixed size. ocornut 2021-09-14 17:57:47 +0200
  • 29828d0469 Docking: floating node with a central node hides properly when nothing is docked + rename. ocornut 2021-09-14 16:58:35 +0200
  • 7b8bc864e9 Menus: Fixed vertical alignments of MenuItem() calls within a menu bar. (broken by f8fae022). (#4538) ocornut 2021-09-14 11:09:39 +0200
  • 8dfb52245b Docking: bits. ocornut 2021-09-13 18:03:22 +0200
  • 82754561e2 Nav: Fixed a few widgets from not setting reference keyboard/gamepad navigation ID when activated with mouse. ocornut 2021-09-13 15:17:54 +0200
  • 5d95e7eef9 Viewports: extracted DestroyViewport() out of UpdateViewportsNewFrame() function. ocornut 2021-09-11 14:06:43 +0200
  • 92a39f78b9 Fixed IsWindowFocused/IsWindowHovered with _ChildWindows for not following through popup parents (amend 6b1e094c, fix #4527) ocornut 2021-09-11 14:05:53 +0200
  • 17a7084b57 Menus: Fixed crash when navigating left inside a child window inside a sub-menu. (#4510). ocornut 2021-09-10 15:37:59 +0200
  • 79d39b190b Viewports: fix window with viewport ini data immediately merged into a host viewport from leaving a temporary viewport alive for a frame (would leak into backend). ocornut 2021-09-10 14:58:45 +0200
  • 6b77668171 Viewports: Fixed a crash while a window owning its viewport disappear while being dragged. ocornut 2021-09-09 21:05:40 +0200
  • 9a49c1ddbd Viewports: fixed unnecessary creation of temporary viewports when multiple docked windows got reassigned to a new node (created mid-frame) which already has a HostWindow ocornut 2021-09-09 20:51:53 +0200
  • 6b1e094cfb Fixed _ChildWindows from leaking docking hierarchy. Added ImGuiFocusedFlags_DockHierarchy and ImGuiHoveredFlags_DockHierarchy. ocornut 2021-09-08 16:49:35 +0200
  • cfb837203c Internals: refactored IsWindowHovered()/IsWindowFocused() to make their logic more similar + change underlying value of ImGuiHoveredFlags_AllowWhenBlockedByPopup + comment out docking only flags. ocornut 2021-09-08 15:05:27 +0200
  • 321b84f01f Internals: refactored IsWindowHovered()/IsWindowFocused() to make their logic more similar + change underlying value of ImGuiHoveredFlags_AllowWhenBlockedByPopup + comment out docking only flags. ocornut 2021-09-08 15:05:27 +0200
  • 40caab4748 Fixed bad merge of Changelog in docking branch ocornut 2021-09-07 18:21:47 +0200
  • fa9fc05ac6 Merge branch 'master' into docking ocornut 2021-09-07 18:20:12 +0200
  • d9b427cce0 Nav: clarified/renamed NavInputId as NavAcivateInputId, added flags shared by both. ocornut 2021-09-06 19:15:20 +0200
  • 755bf985d2 Backends: OpenGL3: Made our custom GL loader a bit more tolerant of use of another loader in same compilation unit. (#4445, #4514) ocornut 2021-09-07 14:48:26 +0200
  • 607ad8c949 Drag and Drop: Fixed using BeginDragDropSource() within a Begin()/BeginChild() that returned false. (#4515) + BeginDragDropTarget() ocornut 2021-09-06 20:42:40 +0200
  • bd6c9e99fc InputText: Allow cancelling/validating input with gamepad nav events. ocornut 2021-09-06 18:45:50 +0200
  • 0a154b30ad Nav, ButtonBehavior: reworked old code which ended up 1) calling SetActiveId repeately and 2) misleadingly set g.NavActivateId (amend af38749e) ocornut 2021-09-03 17:27:17 +0200
  • ade4c15eea Nav: Tidying up, renaming + update AnyRequest flag in NavMoveRequestSubmit(). ocornut 2021-09-02 18:41:00 +0200
  • 528104a89b Menus: adjust closing logic to accomodate for varying font size and dpi + remove seemingly redundant use of g.NavActivateId where pressed was enough. ocornut 2021-09-03 16:34:38 +0200
  • 5ee40c8d34 Nav: always disable highlight if nav is disabled, fix for IMGUI_DEBUG_NAV_SCORING, minor renaming. ocornut 2021-09-01 17:36:17 +0200
  • dff15acdb5 Nav: Fixed toggling menu layer with Alt exiting menu layer with Esc not moving mouse when NavEnableSetMousePos config flag is set. ocornut 2021-09-01 15:51:21 +0200
  • 3d9d3b49ae Internals: folded ImGuiItemAddFlags into ImGuiItemFlags. ImGuiItemAddFlags_Focusable > ImGuiItemFlags_Inputable. One step in the big nav/tab/focus rework. ocornut 2021-09-01 14:41:24 +0200
  • 73a5e82e04 Nav: removed parameters from NavScoreItem(), NavProcessItem(), NavApplyItemToResult(): made little sense / misleading because pulling from other current state anyway. ocornut 2021-09-01 12:39:12 +0200
  • a735a8c084 Nav: storing NavRect in LastItemData. Fix race condition where framed items (Rect != NavRect) calling SetFocusID() would store the wrong NavRectRel until next frame ocornut 2021-09-01 12:07:17 +0200
  • ee351d3548 Nav: move code into NavMoveRequestSubmit(). NavApplyItemToResult() takes absolute rect., comments ocornut 2021-08-31 18:50:56 +0200
  • 7b913db1ce Nav: split NavMoveRequest into NavMoveSubmitted + NavMoveScoringItems to allow operation to defer a move request and provide result immediately + fix regular scoring needlesly running during init + some renaming. ocornut 2021-08-31 17:44:58 +0200
  • 53589092b2 Docking: warning fix for when IM_ASSERT() is empty ocornut 2021-08-30 20:53:22 +0200
  • eb6c16d3dd PlotHistogram: Fixed zero-line position when manually specifying min<0 and max>0. (#4349) Filippo Crocchini 2021-07-22 00:29:42 +0200
  • 03ce17f0a5 Backends: Allegro: Fixed clipping rectangles (#4498) broken by 2b0bd40b (#4464) Jackamilio 2021-08-30 21:36:01 +0200
  • dedb381c51 Merge branch 'master' into docking ocornut 2021-08-30 20:01:16 +0200
  • 7c4ffe490d Menus: added internal's BeginMenuEx() matching MenuItemEx() with icon parameter. (amend f8fae022) ocornut 2021-08-30 19:54:42 +0200
  • 4aea1c5adb IO: added io.WantCaptureMouseAllowPopupClose (#4480) + comments ocornut 2021-08-30 14:55:26 +0200
  • 66102880a3 Updated links to Discussions ocornut 2021-08-30 17:06:51 +0200
  • 333807b483 Windows: fixed background order of overlapping childs submitted sequentially. (#4493) ocornut 2021-08-30 13:08:41 +0200
  • 9a345cfb61 Merge branch 'docking' of https://github.com/TheCherno/imgui into docking TheCherno 2021-08-28 18:47:48 +1000
  • a961958bdc Cherry-pick 99d4b0f44 from thedmd/imgui/layouts thedmd 2019-05-03 11:59:34 +0200
  • 70d8c2f421 Added imgui_tables.cpp (new file) to premake TheCherno 2021-08-28 18:21:02 +1000
  • edc2f15f5b [v1.84.2] Merged from imgui/docking TheCherno 2021-08-28 17:52:20 +1000
  • 7c6ae45ee0 Merge remote-tracking branch 'ImGuiBase/docking' into docking TheCherno 2021-08-28 17:41:02 +1000
  • 11103f8253 Examples: SDL+OpenGL3: fixed build on ES2 target. (#4492) ocornut 2021-08-27 21:32:36 +0200
  • 0eb45a0577 Docking: fix 58f5092 (#4310) ocornut 2021-08-27 21:29:27 +0200
  • bb6a60b1ff Nav: extracted sections of NavUpdate() into a NavUpdateCreateMoveRequest() function. Only clearing results when a request is activated. ocornut 2021-08-27 20:57:21 +0200
  • ccfb20095e Nav: small refactor of forwarding, clarified that MoveDir only set when RequestActive, removed one indent level in NavUpdatePageUpPageDown(). ocornut 2021-08-27 20:48:01 +0200
  • 4351febe9f Nav: moved enums/struct declarations in imgui_internal.h ocornut 2021-08-27 18:01:01 +0200
  • 20a1edef89 Nav: made EndMenuBar() use NavMoveRequestForward() for consistency. Moved forward clearing to NavMoveRequestApplyResult(). Improved/fixed comments. ocornut 2021-08-27 16:21:28 +0200
  • b08ed61907 CI: Build with empty IM_ASSERT() macro. Rokas Kupstys 2021-08-27 16:06:59 +0300
  • 84890a3074 Nav: simplify wrap requests code (may soon be useable for tabbing) ocornut 2021-08-27 12:31:11 +0200
  • 4c31c98d22 Nav: extracted code out of NavUpdate() into NavUpdateCancelRequest() ocornut 2021-08-27 12:26:42 +0200
  • 80ed4eba87
    Backends: Vulkan: non-dispatchable handles should compare to VK_NULL_HANDLE, not NULL (#4475) Cort 2021-08-24 12:53:54 -0700
  • 58f5092c53 Docking: fixed settings load issue when mouse wheeling. (#4310) ocornut 2021-08-24 20:33:00 +0200
  • 780c1ee265 TextUnformatted: Accept null ranges including (NULL,NULL) without asserting. (#3615) ocornut 2021-08-24 19:30:02 +0200
  • 2b0bd40b99 Backends: Metal: Fixed a crash when clipping rect larger than framebuffer is submitted. (#4464) Rokas Kupstys 2021-08-24 18:03:52 +0300
  • f8bad7e1e3 Backends: OpenGL3: Add TargetConditionals.h (#4473) + standardize include Siarhei Fiedartsou 2021-08-24 16:26:55 +0300