From f3bb68396afa7452ecf1c8d4744c825a9d81057c Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Sat, 25 Feb 2023 14:05:25 -0600 Subject: The debugging window is finally useful the gui enabled debugging works --gui-debug works from the command line The debug window can now select things debugging now includes widget types all the debug flags work finally working debugging flags via gui checkboxes add debian packaging rules use log() in the toolkit use a standard log() to simplify debugging flags add reference to 'GO Style Guide' use the same LICENSE from the GO developers. TODO: make this threadsafe TODO: fix plugin stuff Signed-off-by: Jeff Carr --- toolkit/andlabs/demo.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'toolkit/andlabs/demo.go') diff --git a/toolkit/andlabs/demo.go b/toolkit/andlabs/demo.go index 0781f88..1b9a2b1 100644 --- a/toolkit/andlabs/demo.go +++ b/toolkit/andlabs/demo.go @@ -1,7 +1,5 @@ package main -import "log" - import "github.com/andlabs/ui" import _ "github.com/andlabs/ui/winmanifest" @@ -22,7 +20,7 @@ func BlankWindow(w *ui.Window) *ui.Box { func (t *andlabsT) DemoNumbersPage() { var w *ui.Window - log.Println("Starting wit/gui toolkit andlabs/ui DemoNumbersPage()") + log(debugToolkit, "Starting wit/gui toolkit andlabs/ui DemoNumbersPage()") w = t.uiWindow t.uiBox = makeNumbersPage() -- cgit v1.2.3