Display thread from which message originated on msg list.

This commit is contained in:
Bartosz Taudul 2018-05-25 21:13:56 +02:00
parent 53aea660c8
commit 0a79243332

View File

@ -3171,9 +3171,11 @@ void View::DrawOptions()
void View::DrawMessages()
{
ImGui::Begin( "Messages", &m_showMessages );
ImGui::Columns( 2 );
ImGui::Columns( 3 );
ImGui::Text( "Time" );
ImGui::NextColumn();
ImGui::Text( "Thread" );
ImGui::NextColumn();
ImGui::Text( "Message" );
ImGui::NextColumn();
ImGui::Separator();
@ -3189,6 +3191,10 @@ void View::DrawMessages()
}
ImGui::PopID();
ImGui::NextColumn();
ImGui::Text( "%s", m_worker.GetThreadString( v->thread ) );
ImGui::SameLine();
ImGui::TextDisabled( "(0x%" PRIX64 ")", v->thread );
ImGui::NextColumn();
ImGui::TextWrapped( "%s", m_worker.GetString( v->ref ) );
ImGui::NextColumn();
}