use gadgets.BasicWindow()

Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
Jeff Carr 2024-01-05 09:06:59 -06:00
parent d6215ee07b
commit 6f1555f9fc
3 changed files with 2 additions and 6 deletions

View File

@ -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 .

View File

@ -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())
} }

View File

@ -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