IMG: add screenshots of 2 of the examples
Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
parent
fee0c46ae6
commit
0fa2bc9084
|
@ -0,0 +1,5 @@
|
||||||
|
test1/test1
|
||||||
|
test2/test2
|
||||||
|
test3/test3
|
||||||
|
test4/test4
|
||||||
|
test5/test5
|
Binary file not shown.
After Width: | Height: | Size: 198 KiB |
Binary file not shown.
After Width: | Height: | Size: 142 KiB |
|
@ -15,7 +15,7 @@ import "strings"
|
||||||
import "io/ioutil"
|
import "io/ioutil"
|
||||||
|
|
||||||
import "github.com/golang/protobuf/jsonpb"
|
import "github.com/golang/protobuf/jsonpb"
|
||||||
import pb "git.wit.com/wit/witProtobuf"
|
import pb "git.wit.org/jcarr/witProtobuf"
|
||||||
|
|
||||||
import "github.com/davecgh/go-spew/spew"
|
import "github.com/davecgh/go-spew/spew"
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@ import "os"
|
||||||
import "github.com/andlabs/ui"
|
import "github.com/andlabs/ui"
|
||||||
import _ "github.com/andlabs/ui/winmanifest"
|
import _ "github.com/andlabs/ui/winmanifest"
|
||||||
|
|
||||||
import "git.wit.com/wit/gui"
|
import "git.wit.org/wit/gui"
|
||||||
|
|
||||||
func TestAttributedString() *ui.AttributedString {
|
func TestAttributedString() *ui.AttributedString {
|
||||||
newText := ui.NewAttributedString("")
|
newText := ui.NewAttributedString("")
|
||||||
|
|
|
@ -20,7 +20,7 @@ import "io/ioutil"
|
||||||
import "strings"
|
import "strings"
|
||||||
|
|
||||||
import "github.com/golang/protobuf/jsonpb"
|
import "github.com/golang/protobuf/jsonpb"
|
||||||
import pb "git.wit.com/wit/witProtobuf"
|
import pb "git.wit.org/jcarr/witProtobuf"
|
||||||
|
|
||||||
import "github.com/davecgh/go-spew/spew"
|
import "github.com/davecgh/go-spew/spew"
|
||||||
|
|
||||||
|
|
|
@ -8,9 +8,9 @@ import "time"
|
||||||
// this is the king of dns libraries
|
// this is the king of dns libraries
|
||||||
// import "github.com/miekg/dns"
|
// import "github.com/miekg/dns"
|
||||||
|
|
||||||
import "git.wit.com/wit/gui"
|
import "git.wit.org/wit/gui"
|
||||||
import pb "git.wit.com/wit/witProtobuf"
|
import pb "git.wit.org/jcarr/witProtobuf"
|
||||||
// import "git.wit.com/jcarr/dnssecsocket"
|
// import "git.wit.org/jcarr/dnssecsocket"
|
||||||
|
|
||||||
import "github.com/gobuffalo/packr"
|
import "github.com/gobuffalo/packr"
|
||||||
// import "github.com/davecgh/go-spew/spew"
|
// import "github.com/davecgh/go-spew/spew"
|
||||||
|
@ -60,9 +60,9 @@ func main() {
|
||||||
log.Println("gui.Config.Debug = ", gui.Config.Debug)
|
log.Println("gui.Config.Debug = ", gui.Config.Debug)
|
||||||
log.Println("gui.Config.DebugTable = ", gui.Config.DebugTable)
|
log.Println("gui.Config.DebugTable = ", gui.Config.DebugTable)
|
||||||
|
|
||||||
go gui.StartNewWindow(false, "test4", showBox)
|
go gui.StartNewWindow(false, "test4", 1, showBox)
|
||||||
time.Sleep(time.Second * 2)
|
time.Sleep(time.Second * 2)
|
||||||
gui.StartNewWindow(false, "test5", showBox)
|
gui.StartNewWindow(false, "test5", 2, showBox)
|
||||||
}
|
}
|
||||||
|
|
||||||
func showBox(gw *gui.GuiWindow) *gui.GuiBox {
|
func showBox(gw *gui.GuiWindow) *gui.GuiBox {
|
||||||
|
|
Loading…
Reference in New Issue