mirror of
https://github.com/AynaLivePlayer/AynaLivePlayer.git
synced 2026-04-23 00:40:14 +08:00
21 lines
490 B
Go
21 lines
490 B
Go
package resource
|
|
|
|
//var ProgramIcon = []byte{}
|
|
//var EmptyImage = []byte{}
|
|
//
|
|
//func init() {
|
|
// loadResource(config.GetAssetPath("icon.jpg"), &ProgramIcon)
|
|
// loadResource(config.GetAssetPath("empty.png"), &EmptyImage)
|
|
//}
|
|
//
|
|
//func loadResource(path string, res *[]byte) {
|
|
// if file, err := ioutil.ReadFile(path); err == nil {
|
|
// *res = file
|
|
// }
|
|
//}
|
|
|
|
var ImageEmpty = resImageEmpty
|
|
var ImageIcon = resImageIcon
|
|
var FontMSYaHei = resFontMSYaHei
|
|
var FontMSYaHeiBold = resFontMSYaHeiBold
|