summaryrefslogtreecommitdiff
path: root/structs.go
diff options
context:
space:
mode:
Diffstat (limited to 'structs.go')
-rw-r--r--structs.go32
1 files changed, 32 insertions, 0 deletions
diff --git a/structs.go b/structs.go
index 6452f8e..b648572 100644
--- a/structs.go
+++ b/structs.go
@@ -2,6 +2,8 @@ package main
import (
"go.wit.com/dev/alexflint/arg"
+ "go.wit.com/gui"
+ "go.wit.com/lib/gadgets"
"go.wit.com/lib/gui/prep"
"go.wit.com/lib/protobuf/gitpb"
)
@@ -17,3 +19,33 @@ type mainType struct {
repo *gitpb.Repo // this is the repo we are in
myGui *prep.GuiPrep // the gui toolkit handle
}
+
+type controlBox struct {
+ group *gui.Node // the group
+ grid *gui.Node // the grid
+
+ Package *gadgets.OneLiner
+ Source *gadgets.OneLiner
+ Version *gadgets.OneLiner
+ Maintainer *gadgets.OneLiner
+ Packager *gadgets.BasicEntry
+ GoPath *gadgets.BasicEntry
+ URL *gadgets.BasicEntry
+ Architecture *gadgets.BasicDropdown
+ InstallPath *gadgets.BasicCombobox
+ Depends *gadgets.OneLiner
+ BuildDepends *gadgets.OneLiner
+ Recommends *gadgets.OneLiner
+ Conflicts *gadgets.BasicEntry
+ Test gui.Widget
+ Description *gadgets.OneLiner
+
+ // repostatus things
+ pathL *gadgets.OneLiner
+ lastTag *gadgets.OneLiner
+ dirtyL *gadgets.OneLiner
+ currentL *gadgets.OneLiner
+ buildDate *gadgets.OneLiner
+ tagDate *gadgets.BasicEntry
+ // status *repostatus.RepoStatus
+}