logsettings/structs.go

24 lines
494 B
Go
Raw Permalink Normal View History

2024-01-15 15:17:51 -06:00
package logsettings
import (
"go.wit.com/gui"
"go.wit.com/lib/gadgets"
2024-01-15 15:17:51 -06:00
)
// there can be only one per application
2024-01-15 15:17:51 -06:00
var myLogGui *LogSettings
type LogSettings struct {
ready bool
hidden bool
err error
2024-01-15 15:17:51 -06:00
groups map[string]*flagGroup
parent *gui.Node // where to draw our window
win *gadgets.BasicWindow // our window for displaying the log package settings
2024-01-15 15:17:51 -06:00
buttonG *gui.Node // the group of buttons
flagG *gui.Node // the group of all the flag checkbox widgets
2024-01-15 15:17:51 -06:00
}