mirror of
https://github.com/libretro/ppsspp.git
synced 2025-02-17 07:31:01 +00:00
Draw the credits scroller using system font drawer
This commit is contained in:
parent
ad620e463a
commit
1e2ecfd2ca
@ -543,9 +543,9 @@ void CreditsScreen::render() {
|
||||
for (int i = 0; i < numItems; i++) {
|
||||
float alpha = linearInOut(y+32, 64, dp_yres - 192, 64);
|
||||
if (alpha > 0.0f) {
|
||||
dc.Draw()->SetFontScale(ease(alpha), ease(alpha));
|
||||
dc.Draw()->DrawText(UBUNTU24, credits[i], dp_xres/2, y, whiteAlpha(alpha), ALIGN_HCENTER);
|
||||
dc.Draw()->SetFontScale(1.0f, 1.0f);
|
||||
dc.SetFontScale(ease(alpha), ease(alpha));
|
||||
dc.DrawText(credits[i], dp_xres/2, y, whiteAlpha(alpha), ALIGN_HCENTER);
|
||||
dc.SetFontScale(1.0f, 1.0f);
|
||||
}
|
||||
y += itemHeight;
|
||||
}
|
||||
|
2
native
2
native
@ -1 +1 @@
|
||||
Subproject commit fee82ce2883af4627dd23060cf76226594925482
|
||||
Subproject commit 8cf9d3aef5d3cf5803d3f37ff0d8102f916f8da7
|
Loading…
x
Reference in New Issue
Block a user