diff options
| author | Jeff Carr <[email protected]> | 2019-06-02 12:14:20 -0700 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2019-06-02 12:14:20 -0700 |
| commit | 74e3334492b9afbe4b619f912523f201affa7b40 (patch) | |
| tree | b2c7e32e9f4c617c502f05020d307a2736ac2264 /misc.go | |
| parent | 908e873d30bb3dd43cd2e010134af8c6ad8aa330 (diff) | |
more code cleanup
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'misc.go')
| -rw-r--r-- | misc.go | 16 |
1 files changed, 0 insertions, 16 deletions
@@ -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 |
