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::SameLine();
|
||||||
ImGui::Spacing();
|
ImGui::Spacing();
|
||||||
ImGui::SameLine();
|
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::Checkbox( ICON_FA_AT " Address", &m_statShowAddress );
|
||||||
ImGui::SameLine();
|
ImGui::SameLine();
|
||||||
ImGui::Spacing();
|
ImGui::Spacing();
|
||||||
@ -459,7 +451,7 @@ void View::DrawStatistics()
|
|||||||
|
|
||||||
ImGui::Separator();
|
ImGui::Separator();
|
||||||
ImGui::AlignTextToFramePadding();
|
ImGui::AlignTextToFramePadding();
|
||||||
TextDisabledUnformatted( "Filter results" );
|
TextDisabledUnformatted( "Name" );
|
||||||
ImGui::SameLine();
|
ImGui::SameLine();
|
||||||
m_statisticsFilter.Draw( ICON_FA_FILTER "###resultFilter", 200 );
|
m_statisticsFilter.Draw( ICON_FA_FILTER "###resultFilter", 200 );
|
||||||
ImGui::SameLine();
|
ImGui::SameLine();
|
||||||
@ -472,7 +464,7 @@ void View::DrawStatistics()
|
|||||||
ImGui::SameLine();
|
ImGui::SameLine();
|
||||||
if( m_statMode == 1 )
|
if( m_statMode == 1 )
|
||||||
{
|
{
|
||||||
TextDisabledUnformatted( "Image name" );
|
TextDisabledUnformatted( "Image" );
|
||||||
ImGui::SameLine();
|
ImGui::SameLine();
|
||||||
m_statisticsImageFilter.Draw( ICON_FA_FILTER "###imageFilter", 200 );
|
m_statisticsImageFilter.Draw( ICON_FA_FILTER "###imageFilter", 200 );
|
||||||
ImGui::SameLine();
|
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::Separator();
|
||||||
ImGui::PopStyleVar();
|
ImGui::PopStyleVar();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user