1
0
mirror of https://github.com/wolfpld/tracy.git synced 2025-03-20 07:40:02 +08:00

Add UI for disabling inlines in sample statistics.

This commit is contained in:
Bartosz Taudul
2020-04-08 15:52:53 +02:00
parent f59f4f266e
commit fe98921e4c
3 changed files with 4 additions and 9 deletions
+2 -8
View File
@@ -11263,25 +11263,19 @@ void View::DrawStatistics()
ImGui::SameLine();
ImGui::Checkbox( ICON_FA_STOPWATCH " Show time", &m_statSampleTime );
ImGui::SameLine();
ImGui::Spacing();
ImGui::SameLine();
ImGui::Checkbox( ICON_FA_CLOCK " Self time", &m_statSelf );
ImGui::SameLine();
ImGui::Spacing();
ImGui::SameLine();
ImGui::Checkbox( ICON_FA_EYE_SLASH " Hide unknown", &m_statHideUnknown );
ImGui::SameLine();
ImGui::Spacing();
ImGui::SameLine();
ImGui::Checkbox( ICON_FA_PUZZLE_PIECE " Show all", &m_showAllSymbols );
ImGui::SameLine();
ImGui::Spacing();
ImGui::Checkbox( ICON_FA_SITEMAP " Inlines", &m_statSeparateInlines );
ImGui::SameLine();
ImGui::TextUnformatted( "Location:" );
ImGui::SameLine();
ImGui::RadioButton( "Smart", &m_statSampleLocation, 2 );
ImGui::SameLine();
ImGui::RadioButton( "Entry point", &m_statSampleLocation, 0 );
ImGui::RadioButton( "Entry", &m_statSampleLocation, 0 );
ImGui::SameLine();
ImGui::RadioButton( "Sample", &m_statSampleLocation, 1 );
ImGui::Separator();