Compare commits

...

2 Commits

Author SHA1 Message Date
Jeff Carr e6e2e7a3bf remove main
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-01-15 21:54:50 -06:00
Jeff Carr bc06a0dba0 remove smartwindow test code
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-01-15 21:51:04 -06:00
3 changed files with 2 additions and 27 deletions

View File

@ -10,6 +10,6 @@ go.wit.com/gui/gadgets/repostatus
go.wit.com/gui/digitalocean
go.wit.com/gui/cloudflare
go.wit.com/apps/control-panel-dns main
go.wit.com/apps/control-panel-dns
go.wit.com/apps/control-panel-vpn
go.wit.com/apps/autotypist

View File

@ -4,10 +4,6 @@ package main
import (
"io/ioutil"
"strings"
"go.wit.com/log"
"go.wit.com/apps/control-panel-dns/smartwindow"
)
func (r *repo) getPath() string {
@ -33,27 +29,6 @@ func splitLine(line string) (string, string, string, string) {
return path, master, devel, user
}
// This creates a window
func hellosmart() {
win := smartwindow.New()
win.SetParent(myGui)
win.InitWindow()
win.Title("hellosmart test")
win.Vertical()
win.SetDraw(smartDraw)
win.Make()
win.Box().NewButton("test smartwindow", func () {
log.Println("smart")
})
}
func smartDraw(sw *smartwindow.SmartWindow) {
sw.Box().NewButton("hello", func () {
log.Println("smart")
})
}
func myrepolist() []string {
content, _ := ioutil.ReadFile("/home/jcarr/.config/myrepolist")
out := string(content)

View File

@ -10,6 +10,6 @@ go.wit.com/gui/gadgets/repostatus
go.wit.com/gui/digitalocean
go.wit.com/gui/cloudflare
go.wit.com/apps/control-panel-dns main
go.wit.com/apps/control-panel-dns
go.wit.com/apps/control-panel-vpn
go.wit.com/apps/autotypist