mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-27 00:04:35 +00:00
Add icons to find zone menu.
This commit is contained in:
parent
350fb6a5b0
commit
4c228fe862
@ -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();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user