Make the achievements star rotatable and scalable.

This commit is contained in:
Bartosz Taudul
2026-10-10 01:27:24 +02:00
parent d55cee0601
commit 5ea1ab28d0
3 changed files with 30 additions and 3 deletions

View File

@@ -1472,9 +1472,11 @@ Would you like to enable achievements?
}
}
}
ImGui::PushFont( g_fonts.normal, FontBig );
tracy::TextColoredUnformatted( color, ICON_FA_STAR );
ImGui::PopFont();
auto draw = ImGui::GetWindowDrawList();
draw->PushClipRectFullScreen();
tracy::DrawGlyphTransformed( draw, g_fonts.normal, FontBig, ICON_FA_STAR, cursorScreen, ImVec2( 0.5f, 0.55f ), 0.f, 1.f, color );
draw->PopClipRect();
ImGui::Dummy( starSize );
if( aItem )
{