mirror of
				https://github.com/Drezil/imgui.git
				synced 2025-11-03 22:51:06 +01:00 
			
		
		
		
	Added IsAnyItemActive()
This commit is contained in:
		
							
								
								
									
										1
									
								
								imgui.h
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								imgui.h
									
									
									
									
									
								
							@@ -327,6 +327,7 @@ namespace ImGui
 | 
			
		||||
    // Utilities
 | 
			
		||||
    IMGUI_API bool          IsItemHovered();                                                    // was the last item hovered by mouse?
 | 
			
		||||
    IMGUI_API bool          IsItemActive();                                                     // was the last item active? (e.g. button being held, text field being edited- items that don't interact will always return false)
 | 
			
		||||
    IMGUI_API bool          IsAnyItemActive();                                                  // 
 | 
			
		||||
    IMGUI_API ImVec2        GetItemBoxMin();                                                    // get bounding box of last item
 | 
			
		||||
    IMGUI_API ImVec2        GetItemBoxMax();                                                    // get bounding box of last item
 | 
			
		||||
    IMGUI_API bool          IsClipped(const ImVec2& item_size);                                 // to perform coarse clipping on user's side (as an optimization)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user