summaryrefslogtreecommitdiff
path: root/structs.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-01-05 09:38:20 -0600
committerJeff Carr <[email protected]>2024-01-05 09:38:20 -0600
commit14419ebfd7361969b1cdc5a732d6d4699727a104 (patch)
tree0ba9a302408901009ec6d37a83ea6f4e0b26b714 /structs.go
parentc68e530e768855efc74e556e3799e005a1306861 (diff)
use gadgets.BasicWindow()
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'structs.go')
-rw-r--r--structs.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/structs.go b/structs.go
index 675cd5e..2f33532 100644
--- a/structs.go
+++ b/structs.go
@@ -3,6 +3,7 @@ package cloudflare
import (
"go.wit.com/gui/gui"
+ "go.wit.com/gui/gadgets"
)
var cloudflareURL string = "https://api.cloudflare.com/client/v4/zones/"
@@ -27,7 +28,7 @@ var CFdialog dialogT
type dialogT struct {
rootGui *gui.Node // the root node
- mainWindow *gui.Node // the window node
+ mainWindow *gadgets.BasicWindow // the window node
zonedrop *gui.Node // the drop down menu of zones
domainWidget *gui.Node
@@ -38,7 +39,7 @@ type dialogT struct {
loadButton *gui.Node
saveButton *gui.Node
- cloudflareW *gui.Node // the window node
+ cloudflareW *gadgets.BasicWindow // the window node
cloudflareB *gui.Node // the cloudflare button
TypeNode *gui.Node // CNAME, A, AAAA, ...