diff options
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 20 |
1 files changed, 18 insertions, 2 deletions
@@ -20,6 +20,7 @@ func main() { myGui.InitEmbed(resToolkit) myGui.Default() + autotypistWindow() repoworld() log.Sleep(.3) hidePerfect() @@ -72,11 +73,24 @@ func addRepo(grid *gui.Node, path string, master string, devel string, user stri allrepos = append(allrepos, newRepo) } +func autotypistWindow() { + me.autotypistWindow = gadgets.NewBasicWindow(myGui, "autotypist for GO & git. it types faster than you can.") + me.autotypistWindow.Make() + me.autotypistWindow.StandardExit() + + box := me.autotypistWindow.Box() + globalDisplayOptions(box) + globalBuildOptions(box) + globalResetOptions(box) + me.autotypistWindow.Draw() + +} + // This creates a window func repoworld() { reposwin = gadgets.NewBasicWindow(myGui, "autotypist for GO & git. it types faster than you can.") reposwin.Make() - reposwin.StandardExit() + // reposwin.StandardExit() reposbox = reposwin.Box().NewBox("bw vbox", false) reposgroup = reposbox.NewGroup("go repositories (read from ~/.config/myrepolist)") @@ -105,11 +119,13 @@ func repoworld() { addRepo(reposgrid, path, mbranch, dbranch, ubranch) } + /* box2 := reposwin.Box().NewBox("bw vbox", false) globalDisplayOptions(box2) globalBuildOptions(box2) globalResetOptions(box2) + */ - reposwin.Draw() + // reposwin.Draw() } |
