mirror of
https://github.com/wolfpld/tracy
synced 2025-04-30 04:43:53 +00:00
Display plot colors in options menu.
This commit is contained in:
parent
3393471dcc
commit
b0f484d593
@ -543,6 +543,8 @@ void View::DrawOptions()
|
|||||||
|
|
||||||
for( const auto& p : m_worker.GetPlots() )
|
for( const auto& p : m_worker.GetPlots() )
|
||||||
{
|
{
|
||||||
|
SmallColorBox( GetPlotColor( p ) );
|
||||||
|
ImGui::SameLine();
|
||||||
SmallCheckbox( GetPlotName( p ), &Vis( p ).visible );
|
SmallCheckbox( GetPlotName( p ), &Vis( p ).visible );
|
||||||
ImGui::SameLine();
|
ImGui::SameLine();
|
||||||
ImGui::TextDisabled( "%s data points", RealToString( p->data.size() ) );
|
ImGui::TextDisabled( "%s data points", RealToString( p->data.size() ) );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user