Show tooltips when hovering

This commit is contained in:
2020-03-22 15:37:48 +00:00
parent bfe9fbdf7d
commit ba7c06e5fd
6 changed files with 58 additions and 19 deletions

View File

@@ -47,18 +47,10 @@ func main() {
log.Fatalf("Couldn't load menu %s: %v", *menuName, err)
}
/* TODO: move i18n, fonts into assetstore
if i18n, err := data.LoadI18n(filepath.Join(*gamePath, "Data", data.I18nFile)); err != nil {
log.Printf("Failed to load i18n data, skipping internationalization: %v", err)
} else {
menu.Internationalize(i18n)
}
// loadedFonts, err := loadFonts(menu.FontNames...)
// if err != nil {
// log.Fatalf("Failed to load font: %v", err)
// }
*/
iface, err := ui.NewInterface(menu)
if err != nil {