Add icons to find zone menu.

This commit is contained in:
Bartosz Taudul 2018-08-17 23:52:03 +02:00
parent 350fb6a5b0
commit 4c228fe862

View File

@ -4275,10 +4275,18 @@ void View::DrawFindZone()
ImGui::InputText( "", m_findZone.pattern, 1024 ); ImGui::InputText( "", m_findZone.pattern, 1024 );
ImGui::SameLine(); ImGui::SameLine();
#ifdef TRACY_EXTENDED_FONT
const bool findClicked = ImGui::Button( ICON_FA_SEARCH " Find" );
#else
const bool findClicked = ImGui::Button( "Find" ); const bool findClicked = ImGui::Button( "Find" );
#endif
ImGui::SameLine(); ImGui::SameLine();
#ifdef TRACY_EXTENDED_FONT
if( ImGui::Button( ICON_FA_BAN " Clear" ) )
#else
if( ImGui::Button( "Clear" ) ) if( ImGui::Button( "Clear" ) )
#endif
{ {
m_findZone.Reset(); m_findZone.Reset();
} }