diff options
Diffstat (limited to 'Godeps/_workspace/src/github.com/gizak/termui/point.go')
-rw-r--r-- | Godeps/_workspace/src/github.com/gizak/termui/point.go | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/Godeps/_workspace/src/github.com/gizak/termui/point.go b/Godeps/_workspace/src/github.com/gizak/termui/point.go deleted file mode 100644 index c381af9a4..000000000 --- a/Godeps/_workspace/src/github.com/gizak/termui/point.go +++ /dev/null @@ -1,28 +0,0 @@ -// Copyright 2015 Zack Guo <gizak@icloud.com>. All rights reserved. -// Use of this source code is governed by a MIT license that can -// be found in the LICENSE file. - -package termui - -// Point stands for a single cell in terminal. -type Point struct { - Ch rune - Bg Attribute - Fg Attribute - X int - Y int -} - -func newPoint(c rune, x, y int) (p Point) { - p.Ch = c - p.X = x - p.Y = y - return -} - -func newPointWithAttrs(c rune, x, y int, fg, bg Attribute) Point { - p := newPoint(c, x, y) - p.Bg = bg - p.Fg = fg - return p -} |