1
0
mirror of https://github.com/wolfpld/tracy synced 2025-05-01 13:13:53 +00:00

Smaller nested checkboxes.

This commit is contained in:
Bartosz Taudul 2020-03-16 22:59:54 +01:00
parent 335866be88
commit 4384b812f1

View File

@ -7384,9 +7384,9 @@ void View::DrawOptions()
ImGui::Indent(); ImGui::Indent();
val = m_vd.darkenContextSwitches; val = m_vd.darkenContextSwitches;
#ifdef TRACY_EXTENDED_FONT #ifdef TRACY_EXTENDED_FONT
ImGui::Checkbox( ICON_FA_MOON " Darken inactive threads", &val ); SmallCheckbox( ICON_FA_MOON " Darken inactive threads", &val );
#else #else
ImGui::Checkbox( "Darken inactive threads", &val ); SmallCheckbox( "Darken inactive threads", &val );
#endif #endif
m_vd.darkenContextSwitches = val; m_vd.darkenContextSwitches = val;
ImGui::Unindent(); ImGui::Unindent();
@ -7400,9 +7400,9 @@ void View::DrawOptions()
ImGui::Indent(); ImGui::Indent();
val = m_vd.drawCpuUsageGraph; val = m_vd.drawCpuUsageGraph;
#ifdef TRACY_EXTENDED_FONT #ifdef TRACY_EXTENDED_FONT
ImGui::Checkbox( ICON_FA_SIGNATURE " Draw CPU usage graph", &val ); SmallCheckbox( ICON_FA_SIGNATURE " Draw CPU usage graph", &val );
#else #else
ImGui::Checkbox( "Draw CPU usage graph", &val ); SmallCheckbox( "Draw CPU usage graph", &val );
#endif #endif
m_vd.drawCpuUsageGraph = val; m_vd.drawCpuUsageGraph = val;
ImGui::Unindent(); ImGui::Unindent();