summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-01-21 02:42:00 -0600
committerJeff Carr <[email protected]>2024-01-21 02:42:00 -0600
commitc79bbb58bb1f15b47b467b114c692a466e41a883 (patch)
tree01512e966d8e22b7acf6a59e588b5193ac2a915a /main.go
parent0659d10509ab24936be08a515a851017e6280d7d (diff)
compiles, needs toggle / fixed codev0.1.2
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'main.go')
-rw-r--r--main.go14
1 files changed, 8 insertions, 6 deletions
diff --git a/main.go b/main.go
index 13d9680..d53f237 100644
--- a/main.go
+++ b/main.go
@@ -1,10 +1,10 @@
package main
import (
- "go.wit.com/bug/debugger"
- "go.wit.com/gui/gui"
- "go.wit.com/lib/gui/cloudflare"
"go.wit.com/log"
+ "go.wit.com/gui"
+ "go.wit.com/lib/debugger"
+ "go.wit.com/lib/gui/cloudflare"
)
var title string = "Cloudflare DNS Control Panel"
@@ -21,18 +21,20 @@ func main() {
readConfig()
// initialize a new GO GUI instance
- myGui = gui.New().Default()
+ myGui = gui.New()
+ myGui.LoadToolkit("andlabs")
+ myGui.Default()
- debugger.DebugWindow(myGui)
// draw the cloudflare control panel window
win := cloudflare.MakeCloudflareWindow(myGui)
- win.Title(title)
+ win.SetTitle(title)
win.Show()
// This is just a optional goroutine to watch that things are alive
gui.Watchdog()
gui.StandardExit()
+ debugger.DebugWindow()
// update the config file
saveConfig()