add UI.go

This commit is contained in:
cuu
2018-08-10 21:24:12 +08:00
parent 0a1944ef80
commit 5d8ebc7834
3 changed files with 52 additions and 46 deletions

View File

@@ -21,7 +21,8 @@ func run() int {
display.Init()
font.Init()
screen := display.SetMode(int32(UI.Width),int32(UI.Height),0,32)
UI.Init()
UI.MyIconPool.Init()
main_screen := UI.NewMainScreen()