mirror of
https://github.com/wolfpld/tracy.git
synced 2024-12-02 09:44:35 +00:00
Add icon to filter entry boxes.
This commit is contained in:
parent
2e3b13ced5
commit
9e1c24f93e
@ -8022,7 +8022,11 @@ void View::DrawMessages()
|
|||||||
size_t tsz = 0;
|
size_t tsz = 0;
|
||||||
for( const auto& t : m_threadOrder ) if( !t->messages.empty() ) tsz++;
|
for( const auto& t : m_threadOrder ) if( !t->messages.empty() ) tsz++;
|
||||||
|
|
||||||
|
#ifdef TRACY_EXTENDED_FONT
|
||||||
|
m_messageFilter.Draw( ICON_FA_FILTER " Filter messages", 200 );
|
||||||
|
#else
|
||||||
m_messageFilter.Draw( "Filter messages", 200 );
|
m_messageFilter.Draw( "Filter messages", 200 );
|
||||||
|
#endif
|
||||||
ImGui::SameLine();
|
ImGui::SameLine();
|
||||||
#ifdef TRACY_EXTENDED_FONT
|
#ifdef TRACY_EXTENDED_FONT
|
||||||
if( ImGui::Button( ICON_FA_BACKSPACE " Clear" ) )
|
if( ImGui::Button( ICON_FA_BACKSPACE " Clear" ) )
|
||||||
@ -10942,7 +10946,11 @@ void View::DrawStatistics()
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef TRACY_EXTENDED_FONT
|
||||||
|
m_statisticsFilter.Draw( ICON_FA_FILTER " Filter zones", 200 );
|
||||||
|
#else
|
||||||
m_statisticsFilter.Draw( "Filter zones", 200 );
|
m_statisticsFilter.Draw( "Filter zones", 200 );
|
||||||
|
#endif
|
||||||
ImGui::SameLine();
|
ImGui::SameLine();
|
||||||
#ifdef TRACY_EXTENDED_FONT
|
#ifdef TRACY_EXTENDED_FONT
|
||||||
if( ImGui::Button( ICON_FA_BACKSPACE " Clear" ) )
|
if( ImGui::Button( ICON_FA_BACKSPACE " Clear" ) )
|
||||||
|
Loading…
Reference in New Issue
Block a user