From d69a41a295aca9cd40449d4d4840265defb4e3de Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Thu, 4 Jan 2024 22:02:12 -0600 Subject: switch log to BasicWindow() Signed-off-by: Jeff Carr --- logsettings/structs.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'logsettings/structs.go') diff --git a/logsettings/structs.go b/logsettings/structs.go index 35b24ca..0637ac4 100644 --- a/logsettings/structs.go +++ b/logsettings/structs.go @@ -2,7 +2,7 @@ package logsettings import ( "go.wit.com/gui/gui" -// "go.wit.com/gui/gadgets" + "go.wit.com/gui/gadgets" ) var myLogGui *LogSettings @@ -15,8 +15,7 @@ type LogSettings struct { groups map[string]*flagGroup parent *gui.Node // where to draw our window - window *gui.Node // our window for displaying the log package settings - box *gui.Node // the first box in the window + win *gadgets.BasicWindow // our window for displaying the log package settings buttonG *gui.Node // the group of buttons flagG *gui.Node // the group of all the flag checkbox widgets -- cgit v1.2.3