mirror of
				https://github.com/Drezil/imgui.git
				synced 2025-11-03 22:51:06 +01:00 
			
		
		
		
	ImGuiTextFilter() can take a default filter string
This commit is contained in:
		
							
								
								
									
										2
									
								
								imgui.h
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								imgui.h
									
									
									
									
									
								
							@@ -651,7 +651,7 @@ struct ImGuiTextFilter
 | 
			
		||||
    ImVector<TextRange> Filters;
 | 
			
		||||
    int                 CountGrep;
 | 
			
		||||
 | 
			
		||||
    ImGuiTextFilter();
 | 
			
		||||
    ImGuiTextFilter(const char* default_filter = "");
 | 
			
		||||
    void Clear() { InputBuf[0] = 0; Build(); }
 | 
			
		||||
    void Draw(const char* label = "Filter (inc,-exc)", float width = -1.0f);    // Helper calling InputText+Build
 | 
			
		||||
    bool PassFilter(const char* val) const;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user