summaryrefslogtreecommitdiff
path: root/structs.go
diff options
context:
space:
mode:
Diffstat (limited to 'structs.go')
-rw-r--r--structs.go15
1 files changed, 8 insertions, 7 deletions
diff --git a/structs.go b/structs.go
index d6fd2d1..57aa8de 100644
--- a/structs.go
+++ b/structs.go
@@ -3,7 +3,7 @@ package main
import (
"go.wit.com/gui"
"go.wit.com/lib/gadgets"
- "go.wit.com/lib/gui/repostatus"
+ "go.wit.com/lib/gui/repolist"
)
var me *autoType
@@ -18,20 +18,19 @@ func (b *autoType) Enable() {
// this app's variables
type autoType struct {
- allrepos map[string]*repo
- myGui *gui.Node
+ // allrepos map[string]*repo
+ myGui *gui.Node
autotypistWindow *gui.Node
+
// the main box. enable/disable this
mainbox *gui.Node
// the window from the /lib/gui/gowit package
lw *gadgets.BasicWindow
- reposwin *gadgets.BasicWindow
- reposbox *gui.Node
- reposgrid *gui.Node
- reposgroup *gui.Node
+ // our view of the repositories
+ repoView *repolist.RepoList
// #### autotypist Global Display Options
autoHidePerfect *gui.Node
@@ -88,6 +87,7 @@ type autoType struct {
setBranchB *gui.Node
}
+/*
type repo struct {
hidden bool
lasttagrev string
@@ -111,3 +111,4 @@ type repo struct {
status *repostatus.RepoStatus
}
+*/