feat(tracker): create initial tracker skeleton using Gio

This commit is contained in:
Matias Lahti
2020-11-07 19:50:37 +02:00
parent 5eb7cef889
commit 64fe28a240
6 changed files with 100 additions and 1 deletions

View File

@ -0,0 +1,24 @@
package main
import (
"fmt"
"gioui.org/app"
"gioui.org/unit"
"github.com/vsariola/sointu/go4k/tracker"
"os"
)
func main() {
go func() {
w := app.NewWindow(
app.Size(unit.Dp(800), unit.Dp(600)),
app.Title("Sointu Tracker"),
)
if err := tracker.New().Run(w); err != nil {
fmt.Println(err)
os.Exit(1)
}
os.Exit(0)
}()
app.Main()
}