mirror of
https://github.com/wolfpld/tracy.git
synced 2025-03-20 07:40:02 +08:00
Add standard deviation explanation tooltips.
This commit is contained in:
parent
18e7b9df11
commit
5177629130
@ -6042,6 +6042,12 @@ void View::DrawFindZone()
|
|||||||
#else
|
#else
|
||||||
TextFocused( "s:", TimeToString( sd ) );
|
TextFocused( "s:", TimeToString( sd ) );
|
||||||
#endif
|
#endif
|
||||||
|
if( ImGui::IsItemHovered() )
|
||||||
|
{
|
||||||
|
ImGui::BeginTooltip();
|
||||||
|
ImGui::Text( "Standard deviation" );
|
||||||
|
ImGui::EndTooltip();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
TextDisabledUnformatted( "Selection range:" );
|
TextDisabledUnformatted( "Selection range:" );
|
||||||
@ -7179,6 +7185,12 @@ void View::DrawCompare()
|
|||||||
#else
|
#else
|
||||||
TextFocused( "s (this):", TimeToString( sd ) );
|
TextFocused( "s (this):", TimeToString( sd ) );
|
||||||
#endif
|
#endif
|
||||||
|
if( ImGui::IsItemHovered() )
|
||||||
|
{
|
||||||
|
ImGui::BeginTooltip();
|
||||||
|
ImGui::Text( "Standard deviation" );
|
||||||
|
ImGui::EndTooltip();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -7212,6 +7224,12 @@ void View::DrawCompare()
|
|||||||
#else
|
#else
|
||||||
TextFocused( "s (ext.):", TimeToString( sd ) );
|
TextFocused( "s (ext.):", TimeToString( sd ) );
|
||||||
#endif
|
#endif
|
||||||
|
if( ImGui::IsItemHovered() )
|
||||||
|
{
|
||||||
|
ImGui::BeginTooltip();
|
||||||
|
ImGui::Text( "Standard deviation" );
|
||||||
|
ImGui::EndTooltip();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef TRACY_EXTENDED_FONT
|
#ifdef TRACY_EXTENDED_FONT
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user