mirror of
https://github.com/wolfpld/tracy.git
synced 2025-03-20 07:40:02 +08:00
Add icon to CPU data button.
This commit is contained in:
parent
c5060da185
commit
7a036b56b1
@ -9922,7 +9922,11 @@ void View::DrawInfo()
|
|||||||
if( !ctd.empty() )
|
if( !ctd.empty() )
|
||||||
{
|
{
|
||||||
if( ficnt != 0 ) ImGui::SameLine();
|
if( ficnt != 0 ) ImGui::SameLine();
|
||||||
|
#ifdef TRACY_EXTENDED_FONT
|
||||||
|
if( ImGui::Button( ICON_FA_MICROCHIP " CPU data" ) )
|
||||||
|
#else
|
||||||
if( ImGui::Button( "CPU data" ) )
|
if( ImGui::Button( "CPU data" ) )
|
||||||
|
#endif
|
||||||
{
|
{
|
||||||
m_showCpuDataWindow = true;
|
m_showCpuDataWindow = true;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user