ocornut 
							
						 
					 
					
						
						
							
						
						1a7526dcd4 
					 
					
						
						
							
							Nav, Tabbing: refactor tabbing system to support clipped items, scrolling, using nav queries. ( #4449 )  
						
						... 
						
						
						
						Not using counter/modulo anymore and special provisions to handle tab wrapping with ImGuiListClipper. Wrapping may be done better as a next-frame forwarded request.
Also one extra step toward #3949  #3985  
						
						
					 
					
						2021-11-04 20:48:12 +01:00 
						 
				 
			
				
					
						
							
							
								ocornut 
							
						 
					 
					
						
						
							
						
						f01a6d3e8f 
					 
					
						
						
							
							InputText, Nav: fixed repeated calls to SetKeyboardFocusHere() preventing to use InputText(). ( #4682 )  
						
						... 
						
						
						
						+ Stack Tool: favor inspecting HoveredID over ActiveID as the later is more likely to be locked. 
						
						
					 
					
						2021-11-04 20:02:42 +01:00 
						 
				 
			
				
					
						
							
							
								ocornut 
							
						 
					 
					
						
						
							
						
						32779c5b64 
					 
					
						
						
							
							Clipper: hotfix (amend  93cccd2, was broken) ( #3841 ,  #1725 )  
						
						
						
						
					 
					
						2021-11-04 15:17:08 +01:00 
						 
				 
			
				
					
						
							
							
								ocornut 
							
						 
					 
					
						
						
							
						
						64daeddf6f 
					 
					
						
						
							
							Removed CalcListClipping() function. ( #3841 )  
						
						
						
						
					 
					
						2021-11-04 14:14:16 +01:00 
						 
				 
			
				
					
						
							
							
								ocornut 
							
						 
					 
					
						
						
							
						
						6a7e2c74fb 
					 
					
						
						
							
							Clipper: remove ForceDisplayRangeByIndices/ForceDisplayRangeByPositions functions until we find a need for them, since  #3841  is now solved automatically.  
						
						
						
						
					 
					
						2021-11-04 14:05:14 +01:00 
						 
				 
			
				
					
						
							
							
								ocornut 
							
						 
					 
					
						
						
							
						
						93cccd27f6 
					 
					
						
						
							
							Clipper: bunch of rework. ( #3841 ,  #1725 )  
						
						... 
						
						
						
						- Focused/NavId now always included in display range.
- Any number of steps (while preserving zero-alloc policy).
- Non contiguous ranges for nav processing
- Moved new fields internally (+ moved StepNo away from sight so it doesn't get missused).
- Generally tweaks/refactors. 
						
						
					 
					
						2021-11-04 14:05:14 +01:00 
						 
				 
			
				
					
						
							
							
								GamingMinds-DanielC 
							
						 
					 
					
						
						
							
						
						cd1b5f7883 
					 
					
						
						
							
							Clipper: enhanced ImGuiListClipper ( #3841 )  
						
						
						
						
					 
					
						2021-11-04 13:56:37 +01:00 
						 
				 
			
				
					
						
							
							
								ocornut 
							
						 
					 
					
						
						
							
						
						b409df34db 
					 
					
						
						
							
							Clipper: Fixed content height declaration slightly mismatching the one of when not using a clipper.  
						
						
						
						
					 
					
						2021-11-03 17:00:40 +01:00 
						 
				 
			
				
					
						
							
							
								ocornut 
							
						 
					 
					
						
						
							
						
						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.  
						
						... 
						
						
						
						Also fix a move request fail restoring highlight from not moving mouse cursor.
Add NavRestoreHighlightAfterMove() helper a little bit of extra sanity. 
						
						
					 
					
						2021-11-02 17:04:35 +01:00 
						 
				 
			
				
					
						
							
							
								ocornut 
							
						 
					 
					
						
						
							
						
						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.  
						
						
						
						
					 
					
						2021-11-02 17:04:34 +01:00 
						 
				 
			
				
					
						
							
							
								ocornut 
							
						 
					 
					
						
						
							
						
						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 )  
						
						... 
						
						
						
						Amend 8f495e55 
						
						
					 
					
						2021-11-02 16:17:12 +01:00 
						 
				 
			
				
					
						
							
							
								ocornut 
							
						 
					 
					
						
						
							
						
						a67f7dce31 
					 
					
						
						
							
							Nav: relative rectangle positions are now stored relative to CursorStartPos to be independent of scrolling. Will facilitate rework of clipper ( #3841 )  
						
						... 
						
						
						
						+ Extracted code into NavUpdateCreateWrappingRequest()
+ Fix for PVS in NavUpdate() assigning g.NavMousePosDirty twice. 
						
						
					 
					
						2021-10-27 14:18:03 +02:00 
						 
				 
			
				
					
						
							
							
								ocornut 
							
						 
					 
					
						
						
							
						
						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.  
						
						
						
						
					 
					
						2021-10-27 12:55:46 +02:00 
						 
				 
			
				
					
						
							
							
								ocornut 
							
						 
					 
					
						
						
							
						
						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.  
						
						... 
						
						
						
						Current point makes rectangle invalid right after a scroll, for interactive actions it's rarely a problem but e.g. clipper will want to use g.NavID rect rel while scrolling. (#3841 ) 
						
						
					 
					
						2021-10-27 12:28:45 +02:00 
						 
				 
			
				
					
						
							
							
								ocornut 
							
						 
					 
					
						
						
							
						
						19c72cd52a 
					 
					
						
						
							
							Nav: fixed absolute mouse position (with NavEnableSetMousePos config flag) when using Home/End leads to scrolling.  
						
						
						
						
					 
					
						2021-10-27 12:28:35 +02:00 
						 
				 
			
				
					
						
							
							
								ocornut 
							
						 
					 
					
						
						
							
						
						c363b6df2b 
					 
					
						
						
							
							Modals: fixed issue hovering popups inside a child inside a modal. Fixed IsWindowFocused()/IsWindowHovered() issues with childs inside popups. ( #4676 )( #4676 ,  #4527 )  
						
						... 
						
						
						
						Amend/fix 6b1e094f, fc4988ffb 
						
						
					 
					
						2021-10-27 12:03:14 +02:00 
						 
				 
			
				
					
						
							
							
								ocornut 
							
						 
					 
					
						
						
							
						
						0f2898ea88 
					 
					
						
						
							
							Demo: Tree selection demo use !IsItemToggledOpen() ( #1896 ) + update FAQ ( #4366 )  
						
						
						
						
					 
					
						2021-10-25 18:38:56 +02:00 
						 
				 
			
				
					
						
							
							
								ocornut 
							
						 
					 
					
						
						
							
						
						9c78fc928a 
					 
					
						
						
							
							Inputs: Mouse: Amend c8e3a01 for tracking multiple clicks, renaming. ( #3229 )  
						
						
						
						
					 
					
						2021-10-25 14:30:20 +02:00 
						 
				 
			
				
					
						
							
							
								Chris Savoie 
							
						 
					 
					
						
						
							
						
						2318c764cf 
					 
					
						
						
							
							Inputs: Mouse: Add support for tracking multiple clicks more than just double ( #3229 )  
						
						
						
						
					 
					
						2021-10-25 14:30:17 +02:00 
						 
				 
			
				
					
						
							
							
								ocornut 
							
						 
					 
					
						
						
							
						
						e3bd9434b1 
					 
					
						
						
							
							1.86 WIP + internals: tweaks table temp data code.  
						
						
						
						
					 
					
						2021-10-14 16:58:14 +02:00 
						 
				 
			
				
					
						
							
							
								ocornut 
							
						 
					 
					
						
						
							
						
						55d35d8387 
					 
					
						
						
							
							Version 1.85  
						
						
						
						
					 
					
						2021-10-11 19:24:25 +02:00 
						 
				 
			
				
					
						
							
							
								ocornut 
							
						 
					 
					
						
						
							
						
						75c54e6384 
					 
					
						
						
							
							Nav: Fixed vertical scoring offset when wrapping on Y in a decorated window.  
						
						
						
						
					 
					
						2021-10-11 14:40:47 +02:00 
						 
				 
			
				
					
						
							
							
								ocornut 
							
						 
					 
					
						
						
							
						
						ba5c105c01 
					 
					
						
						
							
							Menus: Fixed an assertion happening in some situations when closing nested menus (broken in 1.83). ( #4640 )  
						
						... 
						
						
						
						Broken since 936f5322#4640  repro, the SourceWindow assignment in OpenPopupEx() picks Menu_04 before its closure. Value of SourceWindow since bda2cde6#2517  
						
						
					 
					
						2021-10-11 11:48:39 +02:00 
						 
				 
			
				
					
						
							
							
								ocornut 
							
						 
					 
					
						
						
							
						
						44f801186f 
					 
					
						
						
							
							SetItemDefaultFocus() use ScrollToRectEx(), don't tab when Alt is held either, TabItemEx() uses ItemAdd's extra_flags, misc comments.  
						
						
						
						
					 
					
						2021-10-08 15:24:54 +02:00 
						 
				 
			
				
					
						
							
							
								ocornut 
							
						 
					 
					
						
						
							
						
						31d033c9d8 
					 
					
						
						
							
							Nav: refactor SetKeyboardFocusHere() into using Nav facility. Fix it for clipped items. ( #343 ,  #4079 ,  #2352 ,  #432 )  
						
						... 
						
						
						
						+ Removed references to counter used by previous implementation of SetKeyboardFocus functions (the TabStop ones will be removed after) 
						
						
					 
					
						2021-10-06 18:42:11 +02:00 
						 
				 
			
				
					
						
							
							
								ocornut 
							
						 
					 
					
						
						
							
						
						fbe78b1a3a 
					 
					
						
						
							
							Stack Tool: Docs ( #4631 ) + also prevent Metrics window from displaying twice.  
						
						
						
						
					 
					
						2021-10-06 18:22:40 +02:00 
						 
				 
			
				
					
						
							
							
								ocornut 
							
						 
					 
					
						
						
							
						
						2de96c4bd5 
					 
					
						
						
							
							Stack Tool: Added Stack Tool (ShowStackToolWindow() function and available from Demo and Metrics window). ( #4631 )  
						
						
						
						
					 
					
						2021-10-06 17:47:27 +02:00 
						 
				 
			
				
					
						
							
							
								ocornut 
							
						 
					 
					
						
						
							
						
						164a86d3b0 
					 
					
						
						
							
							Moved !IsActiveIdUsingKey(ImGuiKey_Tab) check to UpdateTabFocus(). Added asserts to IsItemHovered() and IsWindowHovered().  
						
						
						
						
					 
					
						2021-10-05 22:06:12 +02:00 
						 
				 
			
				
					
						
							
							
								ocornut 
							
						 
					 
					
						
						
							
						
						8f495e5543 
					 
					
						
						
							
							Internal: added ScrollToItem() upcoming replacement to ScrollToBringRectIntoView() + ImGuiScrollFlags (WIP) ( #3692 ,  #3208 ,  #2812 ,  #4242 ,  #2900 )  
						
						
						
						
					 
					
						2021-09-29 17:13:45 +02:00 
						 
				 
			
				
					
						
							
							
								ocornut 
							
						 
					 
					
						
						
							
						
						fc4988ffb0 
					 
					
						
						
							
							Added ImGuiFocusedFlags_NoPopupHierarchy and ImGuiHoveredFlags_NoPopupHierarchy (followup  #4527 )  
						
						
						
						
					 
					
						2021-09-24 15:39:38 +02:00 
						 
				 
			
				
					
						
							
							
								ocornut 
							
						 
					 
					
						
						
							
						
						24a77824f2 
					 
					
						
						
							
							Added ClosePopupsExceptModals() helper, unused for now (aimed at user being able to close popups on app focus loss, not necessarily a suitable default)  
						
						
						
						
					 
					
						2021-09-22 15:50:40 +02:00 
						 
				 
			
				
					
						
							
							
								ocornut 
							
						 
					 
					
						
						
							
						
						bbb95a5e06 
					 
					
						
						
							
							IO: modify io.AddFocusEvent() to tolerate in/out for multi-viewports. Amend  2f40be6. (merged from docking) ( #3532 )  
						
						
						
						
					 
					
						2021-09-22 15:47:53 +02:00 
						 
				 
			
				
					
						
							
							
								ocornut 
							
						 
					 
					
						
						
							
						
						15132217a3 
					 
					
						
						
							
							Nav: Fixed an issue with losing focus on docked windows when pressing Alt while keyboard navigation is disabled. ( #4547 ,  #4439 )  
						
						
						
						
					 
					
						2021-09-21 14:17:49 +02:00 
						 
				 
			
				
					
						
							
							
								ocornut 
							
						 
					 
					
						
						
							
						
						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 )  
						
						
						
						
					 
					
						2021-09-17 16:30:32 +02:00 
						 
				 
			
				
					
						
							
							
								ocornut 
							
						 
					 
					
						
						
							
						
						3973de7933 
					 
					
						
						
							
							Internals: removed last parameter to IsClippedEx() + fix PVS studio warnings.  
						
						
						
						
					 
					
						2021-09-16 18:07:17 +02:00 
						 
				 
			
				
					
						
							
							
								ocornut 
							
						 
					 
					
						
						
							
						
						2d0a6a4969 
					 
					
						
						
							
							Misc: moved StacSizeOnBegin out of window instance into window stack data.  
						
						
						
						
					 
					
						2021-09-15 15:36:03 +02:00 
						 
				 
			
				
					
						
							
							
								ocornut 
							
						 
					 
					
						
						
							
						
						66cd21db88 
					 
					
						
						
							
							Misc: extracted ErrorCheckEndWindowRecover() out of ErrorCheckEndFrameRecover(). ( #1651 )  
						
						
						
						
					 
					
						2021-09-15 15:26:29 +02:00 
						 
				 
			
				
					
						
							
							
								ocornut 
							
						 
					 
					
						
						
							
						
						d366694062 
					 
					
						
						
							
							Disabled: Added assert guard for mismatching BeginDisabled()/EndDisabled() blocks. ( #211 ) + Added asserts for missing PopItemFlag() calls. Added both to ErrorCheckEndFrameRecover ( #1651 )  
						
						
						
						
					 
					
						2021-09-15 15:26:29 +02:00 
						 
				 
			
				
					
						
							
							
								ocornut 
							
						 
					 
					
						
						
							
						
						321b84f01f 
					 
					
						
						
							
							Internals: refactored IsWindowHovered()/IsWindowFocused() to make their logic more similar + change underlying value of ImGuiHoveredFlags_AllowWhenBlockedByPopup + comment out docking only flags.  
						
						
						
						
					 
					
						2021-09-08 16:44:53 +02:00 
						 
				 
			
				
					
						
							
							
								ocornut 
							
						 
					 
					
						
						
							
						
						d9b427cce0 
					 
					
						
						
							
							Nav: clarified/renamed NavInputId as NavAcivateInputId, added flags shared by both.  
						
						... 
						
						
						
						(this commit should have no visible side effect but is designed to introduce the followup commit refactoring SetKeyboardFocusHere into using a Nav request) 
						
						
					 
					
						2021-09-07 18:10:31 +02:00 
						 
				 
			
				
					
						
							
							
								ocornut 
							
						 
					 
					
						
						
							
						
						607ad8c949 
					 
					
						
						
							
							Drag and Drop: Fixed using BeginDragDropSource() within a Begin()/BeginChild() that returned false. ( #4515 ) + BeginDragDropTarget()  
						
						... 
						
						
						
						Note how 79ae6d3b#4375  #4158 , #4008 , #2562  
						
						
					 
					
						2021-09-06 20:59:16 +02:00 
						 
				 
			
				
					
						
							
							
								ocornut 
							
						 
					 
					
						
						
							
						
						ade4c15eea 
					 
					
						
						
							
							Nav: Tidying up, renaming + update AnyRequest flag in NavMoveRequestSubmit().  
						
						
						
						
					 
					
						2021-09-03 16:35:41 +02:00 
						 
				 
			
				
					
						
							
							
								ocornut 
							
						 
					 
					
						
						
							
						
						5ee40c8d34 
					 
					
						
						
							
							Nav: always disable highlight if nav is disabled, fix for IMGUI_DEBUG_NAV_SCORING, minor renaming.  
						
						
						
						
					 
					
						2021-09-02 12:05:32 +02:00 
						 
				 
			
				
					
						
							
							
								ocornut 
							
						 
					 
					
						
						
							
						
						dff15acdb5 
					 
					
						
						
							
							Nav: Fixed toggling menu layer with Alt exiting menu layer with Esc not moving mouse when NavEnableSetMousePos config flag is set.  
						
						
						
						
					 
					
						2021-09-01 16:05:03 +02:00 
						 
				 
			
				
					
						
							
							
								ocornut 
							
						 
					 
					
						
						
							
						
						3d9d3b49ae 
					 
					
						
						
							
							Internals: folded ImGuiItemAddFlags into ImGuiItemFlags. ImGuiItemAddFlags_Focusable > ImGuiItemFlags_Inputable. One step in the big nav/tab/focus rework.  
						
						... 
						
						
						
						Bonus simplified Selectable() handling of its custom disabled flag. (#211 ) 
						
						
					 
					
						2021-09-01 14:46:08 +02:00 
						 
				 
			
				
					
						
							
							
								ocornut 
							
						 
					 
					
						
						
							
						
						73a5e82e04 
					 
					
						
						
							
							Nav: removed parameters from NavScoreItem(), NavProcessItem(), NavApplyItemToResult(): made little sense / misleading because pulling from other current state anyway.  
						
						... 
						
						
						
						Will readd in a more thorough manner is actually needed. 
						
						
					 
					
						2021-09-01 14:13:40 +02:00 
						 
				 
			
				
					
						
							
							
								ocornut 
							
						 
					 
					
						
						
							
						
						a735a8c084 
					 
					
						
						
							
							Nav: storing NavRect in LastItemData. Fix race condition where framed items (Rect != NavRect) calling SetFocusID() would store the wrong NavRectRel until next frame  
						
						... 
						
						
						
						(haven't dugged in the possible side-effects of that race condition) 
						
						
					 
					
						2021-09-01 12:12:51 +02:00 
						 
				 
			
				
					
						
							
							
								ocornut 
							
						 
					 
					
						
						
							
						
						ee351d3548 
					 
					
						
						
							
							Nav: move code into NavMoveRequestSubmit(). NavApplyItemToResult() takes absolute rect., comments  
						
						
						
						
					 
					
						2021-09-01 12:06:15 +02:00 
						 
				 
			
				
					
						
							
							
								ocornut 
							
						 
					 
					
						
						
							
						
						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.  
						
						
						
						
					 
					
						2021-08-31 18:19:52 +02:00 
						 
				 
			
				
					
						
							
							
								ocornut 
							
						 
					 
					
						
						
							
						
						4aea1c5adb 
					 
					
						
						
							
							IO: added io.WantCaptureMouseAllowPopupClose ( #4480 ) + comments  
						
						
						
						
					 
					
						2021-08-30 19:11:47 +02:00