summaryrefslogtreecommitdiff
path: root/smartwindow/structs.go
diff options
context:
space:
mode:
Diffstat (limited to 'smartwindow/structs.go')
-rw-r--r--smartwindow/structs.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/smartwindow/structs.go b/smartwindow/structs.go
index d70ea3c..ac0bea7 100644
--- a/smartwindow/structs.go
+++ b/smartwindow/structs.go
@@ -2,19 +2,19 @@ package smartwindow
import (
"go.wit.com/gui/gui"
- "go.wit.com/gui/gadgets"
)
type SmartWindow struct {
ready bool // track if the window is ready
hidden bool // track if the window is hidden from the toolkits
changed bool // track if something changed in the window
+ vertical bool
title string // what the user sees as the name
name string // the programatic name aka: "CALANDAR"
parent *gui.Node // where to place the window if you try to draw it
- window *gadgets.BasicWindow // the underlying BasicWindow
+ window *gui.Node // the underlying window
box *gui.Node // the box inside the window // get this from BasicWindow() ?
populate func(*SmartWindow) // the function to generate the widgets