diff options
| author | Jeff Carr <[email protected]> | 2024-01-04 23:28:55 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-01-04 23:28:55 -0600 |
| commit | ff32316084e11911462be420dd8310473b3d26fd (patch) | |
| tree | f95e62befdccb40ed4f1b397f71a0d24ca427c3f /structs.go | |
| parent | 1f0e212002c2c5b34ea23d91e504ed59d31cab22 (diff) | |
ah, a much cleaner start to a debugger
Finally there is some sense this debugger can
finally be useful. It can be developed and worked on in
isolation from the 'gui' package therefore it can call
more sophisticated widget collections. 'gadgets'
all moved to gadgets.BasicWindow()
thank goodness all this code is isolated finally
can finally rename the files
first gadgets.BasicWindow()
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'structs.go')
| -rw-r--r-- | structs.go | 30 |
1 files changed, 24 insertions, 6 deletions
@@ -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 |
