try to copy whole design from python gameshell launcher

This commit is contained in:
cuu
2018-06-12 16:59:43 +08:00
parent 7b0b08324c
commit cd4c65ec8a
15 changed files with 629 additions and 0 deletions

16
sysgo/UI/constants.go Normal file
View File

@@ -0,0 +1,16 @@
package UI
var (
Width = 320
Height = 240
IconWidth = 80
IconHeight = 80
IconExt = ".sh"
ICON_TYPES = map[string]int{"Emulator":7,"FILE":6,"STAT":5,"NAV":4,"LETTER":3,"FUNC":2,"DIR":1,"EXE":0,"None":-1 }
ALIGN = map[string]int{ "HLeft":0,"HCenter":1,"HRight":2,"VMiddle":3,"SLeft":4,"VCenter":5,"SCenter":6}
DT = 50
)