Attention and experimental mentions impl
This commit is contained in:
14
assets.go
14
assets.go
@@ -87,6 +87,11 @@ var connectB64 string = base64.StdEncoding.EncodeToString(connectBytes)
|
||||
var commentBytes []byte
|
||||
var commentB64 string = base64.StdEncoding.EncodeToString(commentBytes)
|
||||
|
||||
|
||||
//go:embed assets/information.png
|
||||
var informationBytes []byte
|
||||
var informationB64 string = base64.StdEncoding.EncodeToString(informationBytes)
|
||||
|
||||
func init() {
|
||||
|
||||
loader := gdkpixbuf.NewPixbufLoader()
|
||||
@@ -248,4 +253,13 @@ func init() {
|
||||
loader.Close()
|
||||
|
||||
clientAssets["comment"] = gdk.NewTextureForPixbuf(loader.Pixbuf())
|
||||
|
||||
|
||||
loader = gdkpixbuf.NewPixbufLoader()
|
||||
|
||||
informationData, _ := base64.StdEncoding.DecodeString(informationB64)
|
||||
loader.Write(informationData)
|
||||
loader.Close()
|
||||
|
||||
clientAssets["information"] = gdk.NewTextureForPixbuf(loader.Pixbuf())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user