parent
70a69d6ae3
commit
1db4ed9a30
|
@ -0,0 +1,7 @@
|
||||||
|
all:
|
||||||
|
|
||||||
|
redomod:
|
||||||
|
rm -f go.*
|
||||||
|
GO111MODULE= go mod init
|
||||||
|
GO111MODULE= go mod tidy
|
||||||
|
|
|
@ -5,8 +5,8 @@
|
||||||
package main
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/andlabs/ui"
|
"go.wit.com/dev/andlabs/ui"
|
||||||
_ "github.com/andlabs/ui/winmanifest"
|
_ "go.wit.com/dev/andlabs/ui/winmanifest"
|
||||||
)
|
)
|
||||||
|
|
||||||
var mainwin *ui.Window
|
var mainwin *ui.Window
|
||||||
|
|
|
@ -7,8 +7,8 @@ package main
|
||||||
// TODO probably a bug in libui: changing the font away from skia leads to a crash
|
// TODO probably a bug in libui: changing the font away from skia leads to a crash
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/andlabs/ui"
|
"go.wit.com/dev/andlabs/ui"
|
||||||
_ "github.com/andlabs/ui/winmanifest"
|
_ "go.wit.com/dev/andlabs/ui/winmanifest"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
|
|
@ -8,8 +8,8 @@ import (
|
||||||
"math/rand"
|
"math/rand"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/andlabs/ui"
|
"go.wit.com/dev/andlabs/ui"
|
||||||
_ "github.com/andlabs/ui/winmanifest"
|
_ "go.wit.com/dev/andlabs/ui/winmanifest"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
|
|
@ -15,8 +15,8 @@ import (
|
||||||
"image/draw"
|
"image/draw"
|
||||||
"bytes"
|
"bytes"
|
||||||
|
|
||||||
"github.com/andlabs/ui"
|
"go.wit.com/dev/andlabs/ui"
|
||||||
_ "github.com/andlabs/ui/winmanifest"
|
_ "go.wit.com/dev/andlabs/ui/winmanifest"
|
||||||
)
|
)
|
||||||
|
|
||||||
type modelHandler struct {
|
type modelHandler struct {
|
||||||
|
|
|
@ -4,7 +4,7 @@ import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/andlabs/ui"
|
"go.wit.com/dev/andlabs/ui"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Example showing how to update the UI using the QueueMain function
|
// Example showing how to update the UI using the QueueMain function
|
||||||
|
|
Loading…
Reference in New Issue