mirror of
https://github.com/wolfpld/tracy
synced 2025-04-29 04:23:51 +00:00
Add UI for control of displaying all symbols.
This commit is contained in:
parent
696c351e6a
commit
7018caadb9
@ -169,6 +169,7 @@ View::View( FileRead& f, ImFont* fixedWidth, ImFont* smallFont, ImFont* bigFont,
|
||||
m_userData.LoadAnnotations( m_annotations );
|
||||
|
||||
if( m_worker.GetCallstackFrameCount() == 0 ) m_showUnknownFrames = false;
|
||||
if( m_worker.GetCallstackSampleCount() == 0 ) m_showAllSymbols = true;
|
||||
}
|
||||
|
||||
View::~View()
|
||||
@ -11670,6 +11671,14 @@ void View::DrawStatistics()
|
||||
ImGui::Checkbox( ICON_FA_EYE_SLASH " Hide unknown", &m_statHideUnknown );
|
||||
#else
|
||||
ImGui::Checkbox( "Hide unknown", &m_statHideUnknown );
|
||||
#endif
|
||||
ImGui::SameLine();
|
||||
ImGui::Spacing();
|
||||
ImGui::SameLine();
|
||||
#ifdef TRACY_EXTENDED_FONT
|
||||
ImGui::Checkbox( ICON_FA_PUZZLE_PIECE " Show all", &m_showAllSymbols );
|
||||
#else
|
||||
ImGui::Checkbox( "Show all", &m_showAllSymbols );
|
||||
#endif
|
||||
ImGui::SameLine();
|
||||
ImGui::Spacing();
|
||||
|
@ -358,6 +358,7 @@ private:
|
||||
int m_statMode = 0;
|
||||
int m_statSampleLocation = 0;
|
||||
bool m_statHideUnknown = true;
|
||||
bool m_showAllSymbols = false;
|
||||
int m_showCallstackFrameAddress = 0;
|
||||
bool m_showUnknownFrames = true;
|
||||
bool m_groupChildrenLocations = false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user