mirror of
				https://github.com/Drezil/imgui.git
				synced 2025-10-31 05:01:05 +01:00 
			
		
		
		
	ImGuiListClipper: Renamed constructor parameters which created an ambiguous alternative to using the ImGuiListClipper::Begin() function, with misleading edge cases.
This commit is contained in:
		| @@ -372,6 +372,7 @@ CODE | ||||
|  When you are not sure about a old symbol or function name, try using the Search/Find function of your IDE to look for comments or references in all imgui files. | ||||
|  You can read releases logs https://github.com/ocornut/imgui/releases for more details. | ||||
|  | ||||
|  - 2020/10/05 (1.79) - removed ImGuiListClipper: Renamed constructor parameters which created an ambiguous alternative to using the ImGuiListClipper::Begin() function, with misleading edge cases (note: imgui_memory_editor <0.40 from imgui_club/ used this old clipper API. Update your copy if needed). | ||||
|  - 2020/09/25 (1.79) - renamed ImGuiSliderFlags_ClampOnInput to ImGuiSliderFlags_AlwaysClamp. Kept redirection enum (will obsolete sooner because previous name was added recently). | ||||
|  - 2020/09/25 (1.79) - renamed style.TabMinWidthForUnselectedCloseButton to style.TabMinWidthForCloseButton. | ||||
|  - 2020/09/21 (1.79) - renamed OpenPopupContextItem() back to OpenPopupOnItemClick(), reverting the change from 1.77. For varieties of reason this is more self-explanatory. | ||||
| @@ -2192,13 +2193,10 @@ static void SetCursorPosYAndSetupForPrevLine(float pos_y, float line_height) | ||||
|         columns->LineMinY = window->DC.CursorPos.y;                         // Setting this so that cell Y position are set properly | ||||
| } | ||||
|  | ||||
| ImGuiListClipper::ImGuiListClipper(int items_count, float items_height) | ||||
| ImGuiListClipper::ImGuiListClipper() | ||||
| { | ||||
|     DisplayStart = DisplayEnd = 0; | ||||
|     memset(this, 0, sizeof(*this)); | ||||
|     ItemsCount = -1; | ||||
|     StepNo = 0; | ||||
|     ItemsHeight = StartPosY = 0.0f; | ||||
|     Begin(items_count, items_height); | ||||
| } | ||||
|  | ||||
| ImGuiListClipper::~ImGuiListClipper() | ||||
|   | ||||
		Reference in New Issue
	
	Block a user