package repolist import "go.wit.com/gui" // This creates a view of the repos // you can only have one at this point func TempWindowView(parent *gui.Node) *RepoList { tmp := new(RepoList) tmp.viewName = "autotypist" // me.reposbox = gui.RawBox() tmp.reposbox = parent tmp.reposgroup = tmp.reposbox.NewGroup("git repositories that are not merged") tmp.reposgrid = tmp.reposgroup.NewGrid("mergegrid", 0, 0) tmp.reposgrid.NewLabel("") // path goes here tmp.reposgrid.NewLabel("last tag").SetProgName("last tag") tmp.reposgrid.NewLabel("master version") tmp.reposgrid.NewLabel("devel version") tmp.reposgrid.NewLabel("user version") tmp.reposgrid.NewLabel("Status") tmp.reposgrid.NewLabel("Current").SetProgName("CurrentName") tmp.reposgrid.NewLabel("Version").SetProgName("CurrentVersion") tmp.reposgrid.NextRow() tmp.shownCount = me.blind.NewLabel("showCount") tmp.duration = me.blind.NewLabel("duration") return tmp }