mirror of
https://github.com/wolfpld/tracy.git
synced 2025-03-20 07:40:02 +08:00
Make the warning signs stand out more.
This commit is contained in:
parent
d31ba3284e
commit
b7ac41ab1b
@ -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 );
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user