mirror of
https://github.com/wolfpld/tracy.git
synced 2025-03-20 07:40:02 +08:00
Add thread color boxes to messages thread list.
This commit is contained in:
parent
e7578777c3
commit
06fe469598
@ -7107,6 +7107,9 @@ void View::DrawMessages()
|
|||||||
{
|
{
|
||||||
if( t->messages.empty() ) continue;
|
if( t->messages.empty() ) continue;
|
||||||
ImGui::PushID( idx++ );
|
ImGui::PushID( idx++ );
|
||||||
|
const auto threadColor = GetThreadColor( t->id, 0 );
|
||||||
|
SmallColorBox( threadColor );
|
||||||
|
ImGui::SameLine();
|
||||||
SmallCheckbox( m_worker.GetThreadName( t->id ), &VisibleMsgThread( t->id ) );
|
SmallCheckbox( m_worker.GetThreadName( t->id ), &VisibleMsgThread( t->id ) );
|
||||||
ImGui::PopID();
|
ImGui::PopID();
|
||||||
ImGui::SameLine();
|
ImGui::SameLine();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user