mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
Draw the credits scroller using system font drawer
This commit is contained in:
1 parent
ad620e463a
commit
1e2ecfd2ca
2 files changed
+4
-4
No files matched your search
+3
-3
@@ -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;
|
||||
}
|
||||
|
||||
+1
-1
Submodule native updated: fee82ce288...8cf9d3aef5.
Reference in new issue
Block a user