change import path

This commit is contained in:
cuu 2018-07-11 13:30:38 +08:00
parent dc202b3dba
commit 6a1f5f6dd7
8 changed files with 10 additions and 10 deletions

View File

@ -13,7 +13,7 @@ import (
"github.com/cuu/gogame/font" "github.com/cuu/gogame/font"
"github.com/cuu/gogame/time" "github.com/cuu/gogame/time"
"./sysgo/UI" "github.com/cuu/AppStore/sysgo/UI"
) )
@ -59,7 +59,7 @@ func run() int {
fmt.Println("UserEvent: ",ev.Data["Msg"]) fmt.Println("UserEvent: ",ev.Data["Msg"])
} }
if ev.Type == event.KEYDOWN { if ev.Type == event.KEYDOWN {
if ev.Data["Key"] == "Q" || ev.Data["Key"] == "Escape" { if ev.Data["Key"] == "Q" {
main_screen.OnExitCb() main_screen.OnExitCb()
return 0 return 0
}else if ev.Data["Key"] == "D" { }else if ev.Data["Key"] == "D" {

View File

@ -7,7 +7,7 @@ import (
"github.com/veandco/go-sdl2/ttf" "github.com/veandco/go-sdl2/ttf"
"github.com/cuu/gogame/font" "github.com/cuu/gogame/font"
"../../sysgo" "github.com/cuu/AppStore/sysgo"
) )
var Fonts map[string]*ttf.Font var Fonts map[string]*ttf.Font

View File

@ -1,7 +1,7 @@
package UI package UI
import ( import (
"../../sysgo" "github.com/cuu/AppStore/sysgo"
) )

View File

@ -19,7 +19,7 @@ import (
"github.com/cuu/gogame/event" "github.com/cuu/gogame/event"
"../DBUS" "github.com/cuu/AppStore/sysgo/DBUS"
) )
var ( var (

View File

@ -15,7 +15,7 @@ import (
"github.com/cuu/gogame/event" "github.com/cuu/gogame/event"
"github.com/cuu/gogame/transform" "github.com/cuu/gogame/transform"
"../easings" "github.com/cuu/AppStore/sysgo/easings"
) )

View File

@ -12,7 +12,7 @@ import (
"github.com/cuu/gogame/color" "github.com/cuu/gogame/color"
"../../sysgo" "github.com/cuu/AppStore/sysgo"
) )
type SkinManager struct { type SkinManager struct {

View File

@ -20,9 +20,9 @@ import (
"github.com/vjeantet/jodaTime" "github.com/vjeantet/jodaTime"
"../DBUS" "github.com/cuu/AppStore/sysgo/DBUS"
"../../sysgo" "github.com/cuu/AppStore/sysgo"
) )

View File

@ -8,7 +8,7 @@ import (
"github.com/cuu/gogame/display" "github.com/cuu/gogame/display"
"../../sysgo" "github.com/cuu/AppStore/sysgo"
) )
func SkinMap(orig_file_or_dir string) string { func SkinMap(orig_file_or_dir string) string {