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 /main.go | |
| parent | f7e67a8bf679fb308a2adf14de36a8cab2cb6b8b (diff) | |
move repowindow vars into main struct
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 18 |
1 files changed, 7 insertions, 11 deletions
@@ -27,7 +27,13 @@ func main() { // me.myGui.LoadToolkit("nocui") me.myGui.Default() - autotypistWindow() + me.autotypistWindow = me.myGui.NewWindow("autotypist for GO & git. it types faster than you can.") + box := me.autotypistWindow.NewBox("bw hbox", true) + + globalDisplayOptions(box) + globalBuildOptions(box) + globalResetOptions(box) + repolistWindow() // process everything on the command line @@ -69,13 +75,3 @@ func main() { */ }) } - -func autotypistWindow() { - me.autotypistWindow = me.myGui.NewWindow("autotypist for GO & git. it types faster than you can.") - box := me.autotypistWindow.NewBox("bw hbox", true) - - globalDisplayOptions(box) - globalBuildOptions(box) - globalResetOptions(box) - -} |
