24 lines
494 B
Go
24 lines
494 B
Go
package logsettings
|
|
|
|
import (
|
|
"go.wit.com/gui"
|
|
"go.wit.com/lib/gadgets"
|
|
)
|
|
|
|
// there can be only one per application
|
|
var myLogGui *LogSettings
|
|
|
|
type LogSettings struct {
|
|
ready bool
|
|
hidden bool
|
|
err error
|
|
|
|
groups map[string]*flagGroup
|
|
|
|
parent *gui.Node // where to draw our 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
|
|
}
|