summaryrefslogtreecommitdiff
path: root/misc.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2019-06-02 12:14:20 -0700
committerJeff Carr <[email protected]>2019-06-02 12:14:20 -0700
commit74e3334492b9afbe4b619f912523f201affa7b40 (patch)
treeb2c7e32e9f4c617c502f05020d307a2736ac2264 /misc.go
parent908e873d30bb3dd43cd2e010134af8c6ad8aa330 (diff)
more code cleanup
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'misc.go')
-rw-r--r--misc.go16
1 files changed, 0 insertions, 16 deletions
diff --git a/misc.go b/misc.go
index 3e86a88..ed7adc5 100644
--- a/misc.go
+++ b/misc.go
@@ -69,12 +69,6 @@ func StartNewWindow(c *pb.Config, bg bool, action string, maketab func(*GuiWindo
}
}
-func getSplashText(a string) *ui.AttributedString {
- var aText *ui.AttributedString
- aText = ui.NewAttributedString(a)
- return aText
-}
-
func InitTabWindow(gw *GuiWindow) {
log.Println("InitTabWindow() THIS WINDOW IS NOT YET SHOWN")
@@ -100,19 +94,9 @@ func InitTabWindow(gw *GuiWindow) {
log.Println("InitTabWindow() gw =", gw)
gw.MakeWindow(gw)
-
-// abox := gw.MakeWindow(gw)
-// gw.UiTab.Append("WIT Splash", abox.UiBox)
-// gw.UiTab.SetMargined(0, true)
-
gw.UiWindow.Show()
}
-func AddBoxToTab(name string, tab *ui.Tab, box *ui.Box) {
- tab.Append(name, box)
- tab.SetMargined(0, true)
-}
-
/*
// string handling examples that might be helpful for normalizeInt()
isAlpha := regexp.MustCompile(`^[A-Za-z]+$`).MatchString