add the protobuf to the struct
This commit is contained in:
parent
f36f9cfd0f
commit
57b6efd831
|
@ -18,6 +18,7 @@ import (
|
||||||
|
|
||||||
"github.com/awesome-gocui/gocui"
|
"github.com/awesome-gocui/gocui"
|
||||||
|
|
||||||
|
"go.wit.com/lib/protobuf/guipb"
|
||||||
log "go.wit.com/log"
|
log "go.wit.com/log"
|
||||||
"go.wit.com/toolkits/tree"
|
"go.wit.com/toolkits/tree"
|
||||||
)
|
)
|
||||||
|
@ -186,6 +187,7 @@ type guiWidget struct {
|
||||||
parent *guiWidget // mirrors the binary node tree
|
parent *guiWidget // mirrors the binary node tree
|
||||||
children []*guiWidget // mirrors the binary node tree
|
children []*guiWidget // mirrors the binary node tree
|
||||||
node *tree.Node // the pointer back to the tree
|
node *tree.Node // the pointer back to the tree
|
||||||
|
pb *guipb.Widget // the guipb Widget
|
||||||
windowFrame *guiWidget // this is the frame for a window widget
|
windowFrame *guiWidget // this is the frame for a window widget
|
||||||
internal bool // indicates the widget is internal to gocui and should be treated differently
|
internal bool // indicates the widget is internal to gocui and should be treated differently
|
||||||
hasTabs bool // does the window have tabs?
|
hasTabs bool // does the window have tabs?
|
||||||
|
|
Loading…
Reference in New Issue