use gadgets.BasicWindow()
Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
parent
d6215ee07b
commit
6f1555f9fc
2
Makefile
2
Makefile
|
@ -1,5 +1,5 @@
|
||||||
run: build
|
run: build
|
||||||
./control-panel-cloudflare --gui-debug
|
./control-panel-cloudflare
|
||||||
|
|
||||||
build-and-update:
|
build-and-update:
|
||||||
go get -v -u -x .
|
go get -v -u -x .
|
||||||
|
|
4
argv.go
4
argv.go
|
@ -6,12 +6,8 @@ package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
arg "github.com/alexflint/go-arg"
|
arg "github.com/alexflint/go-arg"
|
||||||
"go.wit.com/gui/gui"
|
|
||||||
"go.wit.com/log"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
arg.MustParse()
|
arg.MustParse()
|
||||||
log.Bool(true, "INIT() args.ArgDebug =", gui.ArgDebug())
|
|
||||||
}
|
}
|
||||||
|
|
2
main.go
2
main.go
|
@ -24,7 +24,7 @@ func main() {
|
||||||
|
|
||||||
// draw the cloudflare control panel window
|
// draw the cloudflare control panel window
|
||||||
win := cloudflare.MakeCloudflareWindow(myGui)
|
win := cloudflare.MakeCloudflareWindow(myGui)
|
||||||
win.SetText(title)
|
win.Title(title)
|
||||||
win.Show()
|
win.Show()
|
||||||
|
|
||||||
// This is just a optional goroutine to watch that things are alive
|
// This is just a optional goroutine to watch that things are alive
|
||||||
|
|
Loading…
Reference in New Issue