From 3895519f25a603b6b75b54c0d9ad57b7128045ac Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Mon, 2 Dec 2024 06:59:56 -0600 Subject: start developing this for real --- structs.go | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'structs.go') diff --git a/structs.go b/structs.go index 56391fb..89402c9 100644 --- a/structs.go +++ b/structs.go @@ -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 -- cgit v1.2.3