this commit was sponsored by RAID SHADOW LEGENDS
This commit is contained in:
1 parent
15ff7a20db
commit
0ac43946b1
3 files changed
+65
-15
No files matched your search
@@ -83,6 +83,10 @@ var hourglassB64 string = base64.StdEncoding.EncodeToString(hourglassBytes)
|
||||
var connectBytes []byte
|
||||
var connectB64 string = base64.StdEncoding.EncodeToString(connectBytes)
|
||||
|
||||
//go:embed assets/comment.png
|
||||
var commentBytes []byte
|
||||
var commentB64 string = base64.StdEncoding.EncodeToString(commentBytes)
|
||||
|
||||
func init() {
|
||||
|
||||
loader := gdkpixbuf.NewPixbufLoader()
|
||||
@@ -235,4 +239,13 @@ func init() {
|
||||
loader.Close()
|
||||
|
||||
clientAssets["connect"] = gdk.NewTextureForPixbuf(loader.Pixbuf())
|
||||
|
||||
|
||||
loader = gdkpixbuf.NewPixbufLoader()
|
||||
|
||||
commentData, _ := base64.StdEncoding.DecodeString(commentB64)
|
||||
loader.Write(commentData)
|
||||
loader.Close()
|
||||
|
||||
clientAssets["comment"] = gdk.NewTextureForPixbuf(loader.Pixbuf())
|
||||
}
|
||||
Reference in new issue
Block a user