summaryrefslogtreecommitdiff
path: root/structs.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-09-11 15:23:17 -0500
committerJeff Carr <[email protected]>2025-09-11 15:23:17 -0500
commitec661807da8b201cd51e544aee59e8de21aeb0df (patch)
treee8c8878705d0d5c4051f99878d43f29b2da28ecc /structs.go
parent127f36ca1f82ca9c1945e08802a49e4f9e30d2b7 (diff)
switch over to using gitpb.Repo directly
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
+}