Add banners on the top of settings pages, if editing game-specific settings show the icon.

This commit is contained in:
Henrik Rydgård
2025-11-09 08:51:41 +01:00
parent b6850eb26e
commit 6d1973edfb
38 changed files with 294 additions and 122 deletions
+1 -1
View File
@@ -852,7 +852,7 @@ bool NativeInitGraphics(GraphicsContext *graphicsContext) {
uiContext->Init(g_draw, texColorPipeline, colorPipeline, &ui_draw2d);
if (uiContext->Text()) {
uiContext->Text()->SetFont("Tahoma", 20, 0);
uiContext->Text()->SetOrCreateFont(FontStyle(FontID::invalid(), "Tahoma", 20, FontStyleFlags::Default));
}
g_screenManager->setUIContext(uiContext);