diff --git a/profiler/src/main.cpp b/profiler/src/main.cpp index 30f993f3..b0eeda23 100644 --- a/profiler/src/main.cpp +++ b/profiler/src/main.cpp @@ -106,6 +106,7 @@ int main( int argc, char** argv ) 0xF071, 0xF071, // danger 0xF07C, 0xF07C, // folder open 0xF1EB, 0xF1EB, // wifi + 0xF011, 0xF011, // power off 0 }; ImFontConfig configMerge; diff --git a/server/TracyView.cpp b/server/TracyView.cpp index 488dd89d..861d1028 100644 --- a/server/TracyView.cpp +++ b/server/TracyView.cpp @@ -560,7 +560,11 @@ bool View::DrawImpl() ImGui::PushStyleColor( ImGuiCol_Button, (ImVec4)ImColor::HSV( 0.f, 0.6f, 0.6f) ); ImGui::PushStyleColor( ImGuiCol_ButtonHovered, (ImVec4)ImColor::HSV( 0.f, 0.7f, 0.7f) ); ImGui::PushStyleColor( ImGuiCol_ButtonActive, (ImVec4)ImColor::HSV( 0.f, 0.8f, 0.8f) ); +#ifdef TRACY_EXTENDED_FONT + if( ImGui::Button( "\xef\x80\x91" ) ) keepOpen = false; +#else if( ImGui::Button( "Close" ) ) keepOpen = false; +#endif ImGui::PopStyleColor( 3 ); } ImGui::SameLine();