diff options
Diffstat (limited to 'toolkit/democui/structs.go')
| -rw-r--r-- | toolkit/democui/structs.go | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/toolkit/democui/structs.go b/toolkit/democui/structs.go new file mode 100644 index 0000000..a73b9e7 --- /dev/null +++ b/toolkit/democui/structs.go @@ -0,0 +1,32 @@ +// Copyright 2014 The gocui Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + +package main + +import ( + "os" + "github.com/awesome-gocui/gocui" +) + +const delta = 1 + +var ( + g *gocui.Gui + Custom func(string) + + initialMouseX, initialMouseY, xOffset, yOffset int + globalMouseDown, msgMouseDown, movingMsg bool + + views = []string{} + curView = -1 + idxView = 0 + currentX = 5 + currentY = 2 + groupSize = 0 + baseGui *gocui.Gui + helpLabel *gocui.View + err error + ch chan(func ()) + outf *os.File +) |
