Alertbox added.

This commit is contained in:
2025-11-28 18:10:37 -05:00
parent ab7bec94a8
commit bc66aa740e
5 changed files with 101 additions and 9 deletions

BIN
fonts/Rockboxcond12.ttf Normal file

Binary file not shown.

25
fonts/fonts.go Normal file
View File

@@ -0,0 +1,25 @@
package fonts
import (
"bytes"
_ "embed"
"log"
"github.com/hajimehoshi/ebiten/v2/text/v2"
)
const ()
var (
PixelFont *text.GoTextFaceSource
//go:embed Rockboxcond12.ttf
pixel_fnt []byte
)
func init() {
s, err := text.NewGoTextFaceSource(bytes.NewReader(pixel_fnt))
if err != nil {
log.Fatal(err)
}
PixelFont = s
}