CLEAN: rename files

Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
Jeff Carr 2021-09-01 13:57:59 -05:00
parent b9994acc49
commit d0990d55f1
10 changed files with 2 additions and 35 deletions

View File

@ -24,9 +24,11 @@ build:
cd example-ui-controlgallery; go install # an example GUI with drop down menus, etc
cd example-ui-radiobutton; go install # slidebars, lists, radio buttons
cd example-ui-table; go install # spreadsheet
cd example-ui-show-hide; go install # toggle hide, show
# misc
cd example-lookupAAAA; go install # nslookup
cd example-json-decode; go install # raw golang byte handling
# golang things
cd example-pprof; go install # dump out go process internals

Binary file not shown.

View File

@ -1,3 +0,0 @@
run:
go build
./test3

View File

@ -1,32 +0,0 @@
package main
import "log"
import "os"
import "github.com/andlabs/ui"
import _ "github.com/andlabs/ui/winmanifest"
import "git.wit.org/wit/gui"
func TestAttributedString() *ui.AttributedString {
newText := ui.NewAttributedString("")
gui.AreaAppendText(newText, "Welcome to the Cloud Control Panel\n", ui.TextSize(16), ui.TextColor{0.0, 0.0, 0.8, .8}) // "RGBT"
return newText
}
func main() {
// THIS CRASHES IF YOU RUN IT HERE
// text := TestAttributedString()
// log.Println("text =", text)
ui.Main(setupUI)
}
func setupUI() {
// this doesn't crash here
text := TestAttributedString()
log.Println("text =", text)
os.Exit(0)
}