summaryrefslogtreecommitdiff
path: root/structs.go
diff options
context:
space:
mode:
Diffstat (limited to 'structs.go')
-rw-r--r--structs.go30
1 files changed, 24 insertions, 6 deletions
diff --git a/structs.go b/structs.go
index 8d4e9f9..8997887 100644
--- a/structs.go
+++ b/structs.go
@@ -2,17 +2,35 @@ package debugger
import (
"go.wit.com/gui/gui"
+ "go.wit.com/gui/gadgets"
"go.wit.com/gui/gadgets/logsettings"
)
-// main debugging window
-var myGui *gui.Node
-var bugWin *gui.Node
-var bugTab *gui.Node
+var me *debuggerSettings
+
+type debuggerSettings struct {
+ ready bool
+ hidden bool
+ err error
+
+ myGui *gui.Node
-var myLS *logsettings.LogSettings
+ bugWin *gadgets.BasicWindow
+ widgets *gadgets.BasicWindow
+ golang *gadgets.BasicWindow
+ gochan *gadgets.BasicWindow
-var mapWindows map[string]*gui.Node // tracks all windows that exist
+ myLS *logsettings.LogSettings
+
+ mapWindows map[string]*gui.Node // tracks all windows that exist
+}
+
+var bugWin *gui.Node
+/*
+// main debugging window
+var bugTab *gui.Node
+var myGui *gui.Node
+*/
// global var for checking to see if this
// window/tab for debugging a widget exists