mirror of
https://github.com/wolfpld/tracy.git
synced 2026-10-23 01:00:54 +00:00
Make the achievements star rotatable and scalable.
This commit is contained in:
@@ -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 )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user