mirror of
				https://github.com/Drezil/imgui.git
				synced 2025-11-03 22:51:06 +01:00 
			
		
		
		
	Happy new year!
Comments, Replaced pictures, Removed Patreon
This commit is contained in:
		
							
								
								
									
										10
									
								
								imgui.h
									
									
									
									
									
								
							
							
						
						
									
										10
									
								
								imgui.h
									
									
									
									
									
								
							@@ -1210,7 +1210,7 @@ enum ImGuiMouseCursor_
 | 
			
		||||
#endif
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
// Enumateration for ImGui::SetWindow***(), SetNextWindow***(), SetNextItem***() functions
 | 
			
		||||
// Enumeration for ImGui::SetWindow***(), SetNextWindow***(), SetNextItem***() functions
 | 
			
		||||
// Represent a condition.
 | 
			
		||||
// Important: Treat as a regular enum! Do NOT combine multiple values using binary operators! All the functions above treat 0 as a shortcut to ImGuiCond_Always.
 | 
			
		||||
enum ImGuiCond_
 | 
			
		||||
@@ -1723,9 +1723,13 @@ struct ImGuiStorage
 | 
			
		||||
// - Step 3: the clipper validate that we have reached the expected Y position (corresponding to element DisplayEnd), advance the cursor to the end of the list and then returns 'false' to end the loop.
 | 
			
		||||
struct ImGuiListClipper
 | 
			
		||||
{
 | 
			
		||||
    float   StartPosY;
 | 
			
		||||
    int     DisplayStart, DisplayEnd;
 | 
			
		||||
    int     ItemsCount;
 | 
			
		||||
 | 
			
		||||
    // [Internal]
 | 
			
		||||
    int     StepNo;
 | 
			
		||||
    float   ItemsHeight;
 | 
			
		||||
    int     ItemsCount, StepNo, DisplayStart, DisplayEnd;
 | 
			
		||||
    float   StartPosY;
 | 
			
		||||
 | 
			
		||||
    // items_count:  Use -1 to ignore (you can call Begin later). Use INT_MAX if you don't know how many items you have (in which case the cursor won't be advanced in the final step).
 | 
			
		||||
    // items_height: Use -1.0f to be calculated automatically on first step. Otherwise pass in the distance between your items, typically GetTextLineHeightWithSpacing() or GetFrameHeightWithSpacing().
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user