mirror of
				https://github.com/Drezil/imgui.git
				synced 2025-10-31 13:11:05 +01:00 
			
		
		
		
	ImDrawList: clarified the name of many parameters so reading the code is a little easier. (#2740)
This commit is contained in:
		| @@ -4391,9 +4391,9 @@ static void ShowExampleAppCustomRendering(bool* p_open) | ||||
|             ImVec2 window_size = ImGui::GetWindowSize(); | ||||
|             ImVec2 window_center = ImVec2(window_pos.x + window_size.x * 0.5f, window_pos.y + window_size.y * 0.5f); | ||||
|             if (draw_bg) | ||||
|                 ImGui::GetBackgroundDrawList()->AddCircle(window_center, window_size.x * 0.6f, IM_COL32(255, 0, 0, 200), 32, 10+4); | ||||
|                 ImGui::GetBackgroundDrawList()->AddCircle(window_center, window_size.x * 0.6f, IM_COL32(255, 0, 0, 200), 48, 10+4); | ||||
|             if (draw_fg) | ||||
|                 ImGui::GetForegroundDrawList()->AddCircle(window_center, window_size.y * 0.6f, IM_COL32(0, 255, 0, 200), 32, 10); | ||||
|                 ImGui::GetForegroundDrawList()->AddCircle(window_center, window_size.y * 0.6f, IM_COL32(0, 255, 0, 200), 48, 10); | ||||
|             ImGui::EndTabItem(); | ||||
|         } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user