parent
43c4f11352
commit
80c56d12f4
|
@ -2,3 +2,4 @@
|
|||
wit-new-machine
|
||||
/files/*
|
||||
/*.deb
|
||||
/resources/toolkits/
|
||||
|
|
7
Makefile
7
Makefile
|
@ -8,6 +8,7 @@ VERSION = $(shell cat resources/VERSION)
|
|||
build:
|
||||
git pull
|
||||
# reset
|
||||
cp ~/go/src/git.wit.org/wit/gui/toolkit/*.so resources/toolkits/
|
||||
GO111MODULE="off" go build -v
|
||||
./wit-new-machine
|
||||
|
||||
|
@ -85,6 +86,12 @@ deb:
|
|||
cd debian && make
|
||||
-wit mirrors
|
||||
|
||||
init:
|
||||
git config pull.rebase false
|
||||
mkdir ~/go/src/git.wit.org/jcarr/
|
||||
cd ~/go/src/git.wit.org/jcarr/ && git clone https://git.wit.org/jcarr/wit-new-machine.git
|
||||
# cd ~/go/src/git.wit.org/jcarr/wit-new-machine/
|
||||
|
||||
# From: https://github.com/liweiyi88/gosnakego # Sept 11 2022
|
||||
#
|
||||
# .PHONY: install release
|
||||
|
|
12
gui.go
12
gui.go
|
@ -53,6 +53,18 @@ func drawWindow() {
|
|||
resolv.Dump(true)
|
||||
resolv.SetText("hello world\nfoo bar\n")
|
||||
|
||||
g.NewButton("Load 'gocui'", func () {
|
||||
myGui.LoadToolkit("gocui")
|
||||
})
|
||||
|
||||
g.NewButton("Load 'andlabs'", func () {
|
||||
myGui.LoadToolkit("andlabs")
|
||||
})
|
||||
|
||||
g.NewButton("gui.DebugWindow()", func () {
|
||||
gui.DebugWindow()
|
||||
})
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
rn := newTab.NewGroup("Local Linux Settings")
|
||||
|
||||
|
|
BIN
resources/tester
BIN
resources/tester
Binary file not shown.
Loading…
Reference in New Issue