Improve GUI on Android, add OpenAsset function

This commit is contained in:
Milan Nikolic 2017-02-02 02:05:14 +01:00
parent 8fc94a8d3d
commit 56debbf236
7 changed files with 181 additions and 109 deletions

View file

@ -17,6 +17,11 @@ const (
var traceDebugMsgs = false
// Set debug messages
func SetDebug(enabled bool) {
traceDebugMsgs = enabled
}
// Trace log
func TraceLog(msgType int, text string, v ...interface{}) {
switch msgType {
@ -33,8 +38,3 @@ func TraceLog(msgType int, text string, v ...interface{}) {
}
}
}
// Set debug messages
func SetDebug(enabled bool) {
traceDebugMsgs = enabled
}