From b7ac41ab1b8953b40d5d88de54dd4375168cb6d8 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Fri, 17 Aug 2018 17:08:16 +0200 Subject: [PATCH] Make the warning signs stand out more. --- server/TracyView.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/server/TracyView.cpp b/server/TracyView.cpp index 3816a21d..bd1c8bf7 100644 --- a/server/TracyView.cpp +++ b/server/TracyView.cpp @@ -5863,7 +5863,11 @@ void View::DrawTextEditor() { bool show = true; ImGui::Begin( "Source view", &show ); - ImGui::TextColored( ImVec4( 1.f, 0.3f, 0.3f, 1.f ), "/!\\ The source file contents might not reflect the actual profiled code! /!\\" ); + ImGui::TextColored( ImVec4( 1.f, 1.f, 0.2f, 1.f ), "/!\\" ); + ImGui::SameLine(); + ImGui::TextColored( ImVec4( 1.f, 0.3f, 0.3f, 1.f ), "The source file contents might not reflect the actual profiled code!" ); + ImGui::SameLine(); + ImGui::TextColored( ImVec4( 1.f, 1.f, 0.2f, 1.f ), "/!\\" ); TextFocused( "File:", m_textEditorFile ); if( m_textEditorFont ) ImGui::PushFont( m_textEditorFont ); m_textEditor->Render( m_textEditorFile, ImVec2(), true );