Add overview of frame target colors.

This commit is contained in:
Bartosz Taudul 2022-08-04 18:46:37 +02:00
parent 740155f5e3
commit 9b5d0747eb
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3

View File

@ -34,6 +34,19 @@ void View::DrawOptions()
ImGui::SameLine();
TextDisabledUnformatted( TimeToString( 1000*1000*1000 / tmp ) );
ImGui::PopStyleVar();
SmallColorBox( 0xFF2222DD );
ImGui::SameLine();
ImGui::Text( "< %i <", tmp / 2 );
ImGui::SameLine();
SmallColorBox( 0xFF22DDDD );
ImGui::SameLine();
ImGui::Text( "< %i <", tmp );
ImGui::SameLine();
SmallColorBox( 0xFF22DD22 );
ImGui::SameLine();
ImGui::Text( "< %i <", tmp * 2 );
ImGui::SameLine();
SmallColorBox( 0xFFDD9900 );
ImGui::Unindent();
if( m_worker.HasContextSwitches() )
{