mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 10:41:50 +00:00
Smaller frame bar color thresholds legend.
This commit is contained in:
parent
225d6c1ede
commit
4607dca13b
@ -34,19 +34,21 @@ void View::DrawOptions()
|
|||||||
ImGui::SameLine();
|
ImGui::SameLine();
|
||||||
TextDisabledUnformatted( TimeToString( 1000*1000*1000 / tmp ) );
|
TextDisabledUnformatted( TimeToString( 1000*1000*1000 / tmp ) );
|
||||||
ImGui::PopStyleVar();
|
ImGui::PopStyleVar();
|
||||||
|
ImGui::PushFont( m_smallFont );
|
||||||
SmallColorBox( 0xFF2222DD );
|
SmallColorBox( 0xFF2222DD );
|
||||||
ImGui::SameLine();
|
ImGui::SameLine( 0, 0 );
|
||||||
ImGui::Text( "< %i <", tmp / 2 );
|
ImGui::Text( " < %i < ", tmp / 2 );
|
||||||
ImGui::SameLine();
|
ImGui::SameLine( 0, 0 );
|
||||||
SmallColorBox( 0xFF22DDDD );
|
SmallColorBox( 0xFF22DDDD );
|
||||||
ImGui::SameLine();
|
ImGui::SameLine( 0, 0 );
|
||||||
ImGui::Text( "< %i <", tmp );
|
ImGui::Text( " < %i < ", tmp );
|
||||||
ImGui::SameLine();
|
ImGui::SameLine( 0, 0 );
|
||||||
SmallColorBox( 0xFF22DD22 );
|
SmallColorBox( 0xFF22DD22 );
|
||||||
ImGui::SameLine();
|
ImGui::SameLine( 0, 0 );
|
||||||
ImGui::Text( "< %i <", tmp * 2 );
|
ImGui::Text( " < %i < ", tmp * 2 );
|
||||||
ImGui::SameLine();
|
ImGui::SameLine( 0, 0 );
|
||||||
SmallColorBox( 0xFFDD9900 );
|
SmallColorBox( 0xFFDD9900 );
|
||||||
|
ImGui::PopFont();
|
||||||
ImGui::Unindent();
|
ImGui::Unindent();
|
||||||
if( m_worker.HasContextSwitches() )
|
if( m_worker.HasContextSwitches() )
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user