diff options
| author | Jeff Carr <[email protected]> | 2024-01-03 11:18:56 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-01-03 11:18:56 -0600 |
| commit | 6b49c4139e0ec885d8790f6dba794f2c7272c074 (patch) | |
| tree | cfea3a863661c7bc6a1dfc9eb4ba9a78c0ab65f6 /structs.go | |
start moving this stuff out
Diffstat (limited to 'structs.go')
| -rw-r--r-- | structs.go | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/structs.go b/structs.go new file mode 100644 index 0000000..c02a12c --- /dev/null +++ b/structs.go @@ -0,0 +1,32 @@ +package debugger + +import ( + "go.wit.com/gui/gui" + // "go.wit.com/gui/gui/toolkit" +) + + +// global var for checking to see if this +// window/tab for debugging a widget exists +// check the binary tree instead (?) for a window called "Widgets" (bad idea) +var bugWidget *gui.Node + +// the widget all these actions are run against +var activeWidget *gui.Node + +// for testing move, this is the node things are put on +var activeJunk *gui.Node + +// the label where the user can see which widget is active +var activeLabel *gui.Node +var activeLabelType *gui.Node +var activeLabelNewName *gui.Node +var activeLabelNewType *gui.Node +var activeLabelNewX *gui.Node +var activeLabelNewY *gui.Node +var activeLabelNewB *gui.Node + +// tmp junk +var debugGrid *gui.Node +var debugGridLabel *gui.Node +var debugWidgetBut1, debugWidgetBut2 *gui.Node |
