summaryrefslogtreecommitdiff
path: root/structs.go
diff options
context:
space:
mode:
Diffstat (limited to 'structs.go')
-rw-r--r--structs.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/structs.go b/structs.go
index ce06d02..3fde7ef 100644
--- a/structs.go
+++ b/structs.go
@@ -101,6 +101,8 @@ type guiWidget struct {
node *tree.Node // the pointer back to the tree
windowFrame *guiWidget // this is the frame for a window widget
internal bool // indicates the widget is internal to gocui and should be treated differently
+ dragW int // when dragging a window, this is the offset to the mouse position
+ dragH int // when dragging a window, this is the offset to the mouse position
hasTabs bool // does the window have tabs?
currentTab bool // the visible tab
value string // ?