Change text renderer to pango (supports all languages and loads font automatically), start on game detection

This commit is contained in:
dec05eba
2026-04-18 00:37:16 +02:00
parent 72c8c79896
commit 010787854e
39 changed files with 636 additions and 886 deletions

View File

@@ -27,8 +27,8 @@ namespace gsr {
return color;
}
CheckBox::CheckBox(mgl::Font *font, const char *text) :
text(text, *font),
CheckBox::CheckBox(const char *font_desc, const char *text) :
text(text, font_desc),
background_sprite(&get_theme().checkbox_background_texture),
circle_sprite(&get_theme().checkbox_circle_texture)
{