mirror of
				https://github.com/Drezil/imgui.git
				synced 2025-10-31 13:11:05 +01:00 
			
		
		
		
	Merge branch 'master' into docking
# Conflicts: # examples/imgui_impl_dx10.cpp # examples/imgui_impl_dx10.h # examples/imgui_impl_dx11.cpp # examples/imgui_impl_dx11.h # examples/imgui_impl_dx9.cpp # examples/imgui_impl_dx9.h # examples/imgui_impl_glfw.cpp # examples/imgui_impl_opengl2.cpp # examples/imgui_impl_opengl2.h # examples/imgui_impl_opengl3.cpp # examples/imgui_impl_opengl3.h # imgui.cpp
This commit is contained in:
		| @@ -978,7 +978,7 @@ static void ShowDemoWindowWidgets() | ||||
|         if (ImGui::TreeNode("In columns")) | ||||
|         { | ||||
|             ImGui::Columns(3, NULL, false); | ||||
|             static bool selected[16] = { 0 }; | ||||
|             static bool selected[16] = {}; | ||||
|             for (int i = 0; i < 16; i++) | ||||
|             { | ||||
|                 char label[32]; sprintf(label, "Item %d", i); | ||||
| @@ -1130,7 +1130,7 @@ static void ShowDemoWindowWidgets() | ||||
|  | ||||
|         // Create a dummy array of contiguous float values to plot | ||||
|         // Tip: If your float aren't contiguous but part of a structure, you can pass a pointer to your first float and the sizeof() of your structure in the Stride parameter. | ||||
|         static float values[90] = { 0 }; | ||||
|         static float values[90] = {}; | ||||
|         static int values_offset = 0; | ||||
|         static double refresh_time = 0.0; | ||||
|         if (!animate || refresh_time == 0.0) | ||||
| @@ -1231,7 +1231,7 @@ static void ShowDemoWindowWidgets() | ||||
|  | ||||
|         // Generate a dummy default palette. The palette will persist and can be edited. | ||||
|         static bool saved_palette_init = true; | ||||
|         static ImVec4 saved_palette[32] = { }; | ||||
|         static ImVec4 saved_palette[32] = {}; | ||||
|         if (saved_palette_init) | ||||
|         { | ||||
|             for (int n = 0; n < IM_ARRAYSIZE(saved_palette); n++) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user