summaryrefslogtreecommitdiff
path: root/toolkit/democui/structs.go
blob: a73b9e7a6064044c1484d049fccdbeeb2ae62fb9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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
)