From 4c228fe86281318710793d68e96a4091b428a1ad Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Fri, 17 Aug 2018 23:52:03 +0200 Subject: [PATCH] Add icons to find zone menu. --- server/TracyView.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/server/TracyView.cpp b/server/TracyView.cpp index 5df2ca7a..07abf2f3 100644 --- a/server/TracyView.cpp +++ b/server/TracyView.cpp @@ -4275,10 +4275,18 @@ void View::DrawFindZone() ImGui::InputText( "", m_findZone.pattern, 1024 ); ImGui::SameLine(); +#ifdef TRACY_EXTENDED_FONT + const bool findClicked = ImGui::Button( ICON_FA_SEARCH " Find" ); +#else const bool findClicked = ImGui::Button( "Find" ); +#endif ImGui::SameLine(); +#ifdef TRACY_EXTENDED_FONT + if( ImGui::Button( ICON_FA_BAN " Clear" ) ) +#else if( ImGui::Button( "Clear" ) ) +#endif { m_findZone.Reset(); }