Add a option for game ID+version as well

This commit is contained in:
iota97 committed 2020-02-23 14:01:15 +01:00
1 parent 592d6f902e
commit f26cac3aca
4 files changed
+9

No files matched your search

+6
View File
@@ -374,6 +374,12 @@ void GameButton::Draw(UIContext &dc) {
};
dc.Draw()->DrawImage(regionIcons[ginfo->region], x + w - ui_images[regionIcons[ginfo->region]].w - 5, y + h - ui_images[regionIcons[ginfo->region]].h - 5, 1.0f);
}
if (g_Config.bShowIDOnGameIcon) {
dc.SetFontScale(0.5f, 0.5f);
dc.DrawText(ginfo->id_version.c_str(), x+3, y+1, 0xFF000000, ALIGN_TOPLEFT);
dc.DrawText(ginfo->id_version.c_str(), x+2, y, 0xFFffFFff, ALIGN_TOPLEFT);
dc.SetFontScale(1.0f, 1.0f);
}
if (overlayColor) {
dc.FillRect(Drawable(overlayColor), overlayBounds);
}