mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-22 14:44:34 +00:00
Redo inline options UI.
This commit is contained in:
parent
6c34e02dc2
commit
390b3d9c50
@ -300,14 +300,6 @@ void View::DrawStatistics()
|
||||
ImGui::SameLine();
|
||||
ImGui::Spacing();
|
||||
ImGui::SameLine();
|
||||
ImGui::Checkbox( ICON_FA_LAYER_GROUP " Aggregate", &m_mergeInlines );
|
||||
ImGui::SameLine();
|
||||
ImGui::Spacing();
|
||||
ImGui::SameLine();
|
||||
ImGui::Checkbox( "Relative", &m_relativeInlines );
|
||||
ImGui::SameLine();
|
||||
ImGui::Spacing();
|
||||
ImGui::SameLine();
|
||||
ImGui::Checkbox( ICON_FA_AT " Address", &m_statShowAddress );
|
||||
ImGui::SameLine();
|
||||
ImGui::Spacing();
|
||||
@ -459,7 +451,7 @@ void View::DrawStatistics()
|
||||
|
||||
ImGui::Separator();
|
||||
ImGui::AlignTextToFramePadding();
|
||||
TextDisabledUnformatted( "Filter results" );
|
||||
TextDisabledUnformatted( "Name" );
|
||||
ImGui::SameLine();
|
||||
m_statisticsFilter.Draw( ICON_FA_FILTER "###resultFilter", 200 );
|
||||
ImGui::SameLine();
|
||||
@ -472,7 +464,7 @@ void View::DrawStatistics()
|
||||
ImGui::SameLine();
|
||||
if( m_statMode == 1 )
|
||||
{
|
||||
TextDisabledUnformatted( "Image name" );
|
||||
TextDisabledUnformatted( "Image" );
|
||||
ImGui::SameLine();
|
||||
m_statisticsImageFilter.Draw( ICON_FA_FILTER "###imageFilter", 200 );
|
||||
ImGui::SameLine();
|
||||
@ -550,6 +542,25 @@ void View::DrawStatistics()
|
||||
}
|
||||
}
|
||||
|
||||
ImGui::SameLine();
|
||||
ImGui::Spacing();
|
||||
ImGui::SameLine();
|
||||
ImGui::SeparatorEx( ImGuiSeparatorFlags_Vertical );
|
||||
ImGui::SameLine();
|
||||
ImGui::Spacing();
|
||||
ImGui::SameLine();
|
||||
if( m_statSeparateInlines ) ImGui::BeginDisabled();
|
||||
ImGui::TextUnformatted( "Inlines" );
|
||||
ImGui::SameLine();
|
||||
ImGui::Spacing();
|
||||
ImGui::SameLine();
|
||||
ImGui::Checkbox( ICON_FA_LAYER_GROUP " Aggregate", &m_mergeInlines );
|
||||
ImGui::SameLine();
|
||||
ImGui::Spacing();
|
||||
ImGui::SameLine();
|
||||
ImGui::Checkbox( ICON_FA_LINK " Base relative", &m_relativeInlines );
|
||||
if( m_statSeparateInlines ) ImGui::EndDisabled();
|
||||
|
||||
ImGui::Separator();
|
||||
ImGui::PopStyleVar();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user