mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-22 22:44:34 +00:00
Add zone color boxes to time distribution table.
This commit is contained in:
parent
c294e62f5e
commit
13a7444f03
@ -6361,7 +6361,10 @@ void View::DrawZoneInfoWindow()
|
||||
}
|
||||
for( auto& v : vec )
|
||||
{
|
||||
ImGui::TextUnformatted( m_worker.GetZoneName( m_worker.GetSourceLocation( v->first ) ) );
|
||||
const auto& sl = m_worker.GetSourceLocation( v->first );
|
||||
SmallColorBox( GetSrcLocColor( sl, 0 ) );
|
||||
ImGui::SameLine();
|
||||
ImGui::TextUnformatted( m_worker.GetZoneName( sl ) );
|
||||
ImGui::SameLine();
|
||||
ImGui::TextDisabled( "(\xc3\x97%s)", RealToString( v->second.count, true ) );
|
||||
ImGui::NextColumn();
|
||||
|
Loading…
Reference in New Issue
Block a user