mirror of
				https://github.com/Drezil/imgui.git
				synced 2025-10-31 05:01:05 +01:00 
			
		
		
		
	Renamed io.ConfigWindowsMemoryCompactTimer to io.ConfigMemoryCompactTimer as the feature will apply to other data structures.
This commit is contained in:
		| @@ -371,6 +371,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/11/03 (1.80) - renamed io.ConfigWindowsMemoryCompactTimer to io.ConfigMemoryCompactTimer as the feature will apply to other data structures | ||||
|  - 2020/10/14 (1.80) - backends: moved all backends files (imgui_impl_XXXX.cpp, imgui_impl_XXXX.h) from examples/ to backends/. | ||||
|  - 2020/10/12 (1.80) - removed redirecting functions/enums that were marked obsolete in 1.60 (April 2018): | ||||
|                         - io.RenderDrawListsFn pointer        -> use ImGui::GetDrawData() value and call the render function of your backend | ||||
| @@ -1037,7 +1038,7 @@ ImGuiIO::ImGuiIO() | ||||
|     ConfigInputTextCursorBlink = true; | ||||
|     ConfigWindowsResizeFromEdges = true; | ||||
|     ConfigWindowsMoveFromTitleBarOnly = false; | ||||
|     ConfigWindowsMemoryCompactTimer = 60.0f; | ||||
|     ConfigMemoryCompactTimer = 60.0f; | ||||
|  | ||||
|     // Platform Functions | ||||
|     BackendPlatformName = BackendRendererName = NULL; | ||||
| @@ -3894,7 +3895,7 @@ void ImGui::NewFrame() | ||||
|  | ||||
|     // Mark all windows as not visible and compact unused memory. | ||||
|     IM_ASSERT(g.WindowsFocusOrder.Size == g.Windows.Size); | ||||
|     const float memory_compact_start_time = (g.IO.ConfigWindowsMemoryCompactTimer >= 0.0f) ? (float)g.Time - g.IO.ConfigWindowsMemoryCompactTimer : FLT_MAX; | ||||
|     const float memory_compact_start_time = (g.IO.ConfigMemoryCompactTimer >= 0.0f) ? (float)g.Time - g.IO.ConfigMemoryCompactTimer : FLT_MAX; | ||||
|     for (int i = 0; i != g.Windows.Size; i++) | ||||
|     { | ||||
|         ImGuiWindow* window = g.Windows[i]; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user