From da5496c32ca9dfa970ea0d42bd7ef6a9c1fc3ea0 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Fri, 26 Sep 2025 13:05:34 -0500 Subject: rm oldstuff --- common.go | 14 ++++++++++++++ init.go | 7 ------- table.proto | 8 -------- widget.common.go | 10 ---------- 4 files changed, 14 insertions(+), 25 deletions(-) create mode 100644 common.go delete mode 100644 init.go delete mode 100644 widget.common.go diff --git a/common.go b/common.go new file mode 100644 index 0000000..acd0084 --- /dev/null +++ b/common.go @@ -0,0 +1,14 @@ +// Copyright 2025 WIT.COM Inc Licensed GPL 3.0 + +package guipb + +func (x *Widget) IsButton() bool { + if _, ok := x.GetType().(*Widget_Button); ok { + return true + } + return false +} + +//func Init() bool { +// return true +//} diff --git a/init.go b/init.go deleted file mode 100644 index 53b58d2..0000000 --- a/init.go +++ /dev/null @@ -1,7 +0,0 @@ -// Copyright 2025 WIT.COM Inc Licensed GPL 3.0 - -package guipb - -func Init() bool { - return true -} diff --git a/table.proto b/table.proto index 3999482..3154568 100644 --- a/table.proto +++ b/table.proto @@ -58,13 +58,6 @@ message TimeCol { repeated google.protobuf.Timestamp vals = 4; // deprecate } -message BoolCol { - Widget header = 1; - repeated Widget widgets = 2; - ColAttr attr = 3; - repeated bool vals = 4; // deprecate -} - message AnyCol { Widget header = 1; repeated Widget widgets = 2; @@ -81,7 +74,6 @@ message Table { // `autogenpb: repeated StringCol stringCols = 6; repeated IntCol intCols = 7; repeated TimeCol timeCols = 8; - repeated BoolCol boolCols = 9; repeated ButtonCol buttonCols = 10; repeated AnyCol anyCols = 11; int64 height = 12; // the number of rows diff --git a/widget.common.go b/widget.common.go deleted file mode 100644 index e338a54..0000000 --- a/widget.common.go +++ /dev/null @@ -1,10 +0,0 @@ -// Copyright 2025 WIT.COM Inc Licensed GPL 3.0 - -package guipb - -func (x *Widget) IsButton() bool { - if _, ok := x.GetType().(*Widget_Button); ok { - return true - } - return false -} -- cgit v1.2.3