Commit Graph

  • 14466a6d19 Nav: Page/Home/End doesn't immediately restore highlight (before results comes) + pressing Esc to exit a child window re-enable the Nav highlight if it was disabled by mouse. ocornut 2021-11-02 16:59:48 +0100
  • 978598b174 Nav: pressing PageUp/PageDown/Home/End when in Menu layer automatically moves back to Main layer. + fixed resizing window from borders setting navigation to Menu layer. ocornut 2021-11-02 16:29:21 +0100
  • d1eb7b5757 ScrollToItem: amend fully visible tests to take account of spacing used (fix nav in one axis scrolling back and forth between axises when space is tight by just < ItemSpacing*2) (#3692, #2812, #4242, #2900) ocornut 2021-11-02 16:16:58 +0100
  • eb654f1bad
    Typo omar 2021-11-02 12:57:05 +0100
  • b1a68d899c
    Fix misplaced backtick in FAQ.md (#4669) Pokechu22 2021-11-02 04:51:22 -0700
  • a67f7dce31 Nav: relative rectangle positions are now stored relative to CursorStartPos to be independent of scrolling. Will facilitate rework of clipper (#3841) ocornut 2021-10-27 14:07:04 +0200
  • 8d361c47fb Nav: rework NavEnableSetMousePos application so scrolling is applied more consistently in NavCalcPreferredRefPos() + moved at end of NavUpdate() after the last SetScroll have been done. ocornut 2021-10-27 12:41:49 +0200
  • 8361ed1f54 Nav: wrap abs<>rel rectangle conversions before we attempt to switch the reference point from window->Pos to window->DC.CursorStartPos. This commit should have no effect. ocornut 2021-10-26 19:23:04 +0200
  • 19c72cd52a Nav: fixed absolute mouse position (with NavEnableSetMousePos config flag) when using Home/End leads to scrolling. ocornut 2021-10-27 12:28:01 +0200
  • c363b6df2b Modals: fixed issue hovering popups inside a child inside a modal. Fixed IsWindowFocused()/IsWindowHovered() issues with childs inside popups. (#4676)(#4676, #4527) ocornut 2021-10-27 12:02:42 +0200
  • 0f2898ea88 Demo: Tree selection demo use !IsItemToggledOpen() (#1896) + update FAQ (#4366) ocornut 2021-10-25 18:31:16 +0200
  • 99552420a2 InputText: triple-click avoid scroll + include end of line character. (#2244) ocornut 2021-10-25 17:13:49 +0200
  • 126a6f894f InputText: made double-click select word, triple-line select line. Word delimitation logic differs slightly from the one used by CTRL+arrows. (#2244) ocornut 2021-10-25 16:34:46 +0200
  • 9c78fc928a Inputs: Mouse: Amend c8e3a01 for tracking multiple clicks, renaming. (#3229) ocornut 2021-06-22 15:27:30 +0200
  • 2318c764cf Inputs: Mouse: Add support for tracking multiple clicks more than just double (#3229) Chris Savoie 2021-06-22 15:00:46 +0200
  • 39b99072fb ImVector: fix Clang warning (implicit conversion changes signedness: 'const ptrdiff_t' (aka 'const long long') to 'unsigned long long') Rokas Kupstys 2021-10-22 14:52:13 +0200
  • ad3f54ff1a Examples: Emscripten comments (#4650, #4662), standardize readme liam 2021-10-19 14:13:44 +0200
  • bac748fa95 Backends: Made it possible to shutdown default Platform Backends before the Renderer backends. (#4656) ocornut 2021-10-15 17:16:26 +0200
  • 19c3773cc0 Backends: Vulkan: Call vkCmdSetScissor() with a full-viewport at end of render. (#4644) ocornut 2021-10-15 12:11:11 +0200
  • bbd5119a26 Backends: Vulkan: comments about user using VK_DYNAMIC_STATE_VIEWPORT / VK_DYNAMIC_STATE_SCISSOR and not calling vkCmdSetViewport() / vkCmdSetScissor(). (#4644) ocornut 2021-10-15 12:01:35 +0200
  • 05877c14df Fixed nested BeginDisabled()/EndDisabled() bug in Docking branch due to bad merge. (#4655, #4452, #4453, #4462) ocornut 2021-10-15 11:51:01 +0200
  • 9b59455184 Merge branch 'master' into docking ocornut 2021-10-15 11:49:30 +0200
  • e3bd9434b1 1.86 WIP + internals: tweaks table temp data code. ocornut 2021-10-14 16:58:14 +0200
  • 13cdf2ff0e CI: Add MinGW DLL builds, Rokas Kupstys 2021-10-12 18:49:24 +0300
  • 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 v1.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