diff options
| author | Jeff Carr <[email protected]> | 2024-02-11 20:24:40 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-02-11 20:24:40 -0600 |
| commit | 08436e1a8dbd9d4166d43fef63d5c956a6e7b850 (patch) | |
| tree | fcd078e8ef62c8c1934ef8815abbd62b325df8a9 /structs.go | |
| parent | f7e67a8bf679fb308a2adf14de36a8cab2cb6b8b (diff) | |
move repowindow vars into main struct
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'structs.go')
| -rw-r--r-- | structs.go | 13 |
1 files changed, 6 insertions, 7 deletions
@@ -1,4 +1,3 @@ -// watch all your go git repos package main import ( @@ -7,20 +6,20 @@ import ( "go.wit.com/lib/gui/repostatus" ) -// the main window nodes -var reposwin *gadgets.BasicWindow -var reposbox *gui.Node -var reposgrid *gui.Node -var reposgroup *gui.Node - var me *autoType +// this app's variables type autoType struct { allrepos map[string]*repo myGui *gui.Node autotypistWindow *gui.Node + reposwin *gadgets.BasicWindow + reposbox *gui.Node + reposgrid *gui.Node + reposgroup *gui.Node + // #### autotypist Global Display Options autoHidePerfect *gui.Node autoHideReadOnly *gui.Node |
