diff options
Diffstat (limited to 'structs.go')
| -rw-r--r-- | structs.go | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -1,8 +1,10 @@ package main import ( + "go.wit.com/dev/alexflint/arg" "go.wit.com/gui" "go.wit.com/lib/gadgets" + "go.wit.com/lib/protobuf/forgepb" ) var me *mainType @@ -17,8 +19,13 @@ func (b *mainType) Enable() { // this app's variables type mainType struct { + pp *arg.Parser + forge *forgepb.Forge myGui *gui.Node + // our view of the repositories + repos *repoWindow + mainWindow *gadgets.BasicWindow // the main box. enable/disable this @@ -27,9 +34,6 @@ type mainType struct { // the window from the /lib/gui/gowit package lw *gadgets.BasicWindow - // our view of the repositories - repos *repoWindow - // #### Sorting options for the repolist autoHidePerfect *gui.Node autoHideReadOnly *gui.Node |
