summaryrefslogtreecommitdiff
path: root/structs.go
blob: 54765b753f6ed164084ed158c85b6f3cbcbbf3f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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
}